| Motorola Mobility Confidential Restricted. |
|
/extra/kbs/check_outs/co_356297/STABLE_geranium_lpm_cornsilk_10/dist/idl/js/toi/ToiPlatformService.idl 00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 00002 *-------------------------------------------------------------------- 00003 * 00004 * ToiPlatformService.idl 00005 * 00006 * This file was created by the Motorola IDL backend, 00007 * which is based on the OmniORB IDL parser. 00008 * Please do not modify. 00009 * 00010 * Copyright (c) 2009 Motorola Inc. All Rights Reserved. 00011 * 00012 *-------------------------------------------------------------------- 00013 */ 00014 00015 #ifndef TOIPLATFORMSERVICE_IDL 00016 #define TOIPLATFORMSERVICE_IDL 00017 00018 #include "TToiInvalidArgumentException.idl" 00019 #include "TToiUnhandledValueException.idl" 00020 #include "ToiApplicationService.idl" 00021 #include "TToiInvalidPreconditionException.idl" 00022 #include "TToiPermissionDeniedException.idl" 00023 #include "ToiPowerControl.idl" 00024 #include "TToiOperationNotSupportedException.idl" 00025 #include "ToiEventTarget.idl" 00026 00027 //@ [Struct(Interface=IToiPlatformService,Name=TToiComponentInfo)] 00028 interface ToiPlatformServiceComponentInfo; 00029 00037 //@ [EventTarget(EventObserver=IToiPlatformObserver)] 00038 //@ [Service(Name=PlatformService)] 00041 interface ToiPlatformService : ToiEventTarget { 00042 00045 00049 const long ON_COMPONENT_INFO_CHANGED = 400; 00050 00054 const long ON_PENDING_RESET = 401; 00055 00059 const long ON_POWER_CONTROLLER_STATUS_CHANGED = 402; 00060 00062 00067 //@ [Enum] 00068 typedef long TToiResetFlag; 00071 00078 //@ [Enumerator(Enum=TToiResetFlag,Name=REFORMAT_INTERNAL_HDD)] 00079 const TToiResetFlag REFORMAT_INTERNAL_HDD = 0x1; 00080 00087 //@ [Enumerator(Enum=TToiResetFlag,Name=REMOVE_PERSISTENT_COOKIES)] 00088 const TToiResetFlag REMOVE_PERSISTENT_COOKIES = 0x2; 00089 00097 //@ [Enumerator(Enum=TToiResetFlag,Name=REMOVE_PORTAL_DATABASES)] 00098 const TToiResetFlag REMOVE_PORTAL_DATABASES = 0x4; 00099 00106 //@ [Enumerator(Enum=TToiResetFlag,Name=REMOVE_PERSISTENT_INFORMATION_OBJECTS)] 00107 const TToiResetFlag REMOVE_PERSISTENT_INFORMATION_OBJECTS = 0x8; 00108 00115 //@ [Enumerator(Enum=TToiResetFlag,Name=RESET_TR069_DATA_MODEL)] 00116 const TToiResetFlag RESET_TR069_DATA_MODEL = 0x10; 00117 00125 //@ [Enumerator(Enum=TToiResetFlag,Name=CUSTOM_POST_PROCEDURE)] 00126 const TToiResetFlag CUSTOM_POST_PROCEDURE = 0x20; 00127 00136 //@ [Enumerator(Enum=TToiResetFlag,Name=REMOVE_CHANNELS)] 00137 const TToiResetFlag REMOVE_CHANNELS = 0x40; 00138 00145 //@ [Enumerator(Enum=TToiResetFlag,Name=FULL_RESET)] 00146 const TToiResetFlag FULL_RESET = 0xff; 00147 00149 00155 //@ [Enum] 00156 typedef long TToiResetReason; 00159 00167 //@ [Enumerator(Enum=TToiResetReason,Name=RESET_REASON_LEVEL_0)] 00168 const TToiResetReason RESET_REASON_LEVEL_0 = 0; 00169 00178 //@ [Enumerator(Enum=TToiResetReason,Name=RESET_REASON_LEVEL_1)] 00179 const TToiResetReason RESET_REASON_LEVEL_1 = 1; 00180 00188 //@ [Enumerator(Enum=TToiResetReason,Name=RESET_REASON_LEVEL_2)] 00189 const TToiResetReason RESET_REASON_LEVEL_2 = 2; 00190 00198 //@ [Enumerator(Enum=TToiResetReason,Name=RESET_REASON_LEVEL_3)] 00199 const TToiResetReason RESET_REASON_LEVEL_3 = 3; 00200 00202 00205 //@ [Enum] 00206 typedef long TToiComponentState; 00209 00216 //@ [Enumerator(Enum=TToiComponentState,Name=COMPONENT_STATE_INACTIVE)] 00217 const TToiComponentState COMPONENT_STATE_INACTIVE = 0x1; 00218 00226 //@ [Enumerator(Enum=TToiComponentState,Name=COMPONENT_STATE_PENDING_INACTIVE)] 00227 const TToiComponentState COMPONENT_STATE_PENDING_INACTIVE = 0x2; 00228 00236 //@ [Enumerator(Enum=TToiComponentState,Name=COMPONENT_STATE_PENDING_ACTIVE)] 00237 const TToiComponentState COMPONENT_STATE_PENDING_ACTIVE = 0x3; 00238 00245 //@ [Enumerator(Enum=TToiComponentState,Name=COMPONENT_STATE_ACTIVE)] 00246 const TToiComponentState COMPONENT_STATE_ACTIVE = 0x4; 00247 00249 00250 typedef sequence < ToiPlatformServiceComponentInfo > TToiComponentInfoSequence; 00251 00257 void rebootNow(); 00258 00268 void rebootAtNextStandby(); 00269 00285 void setStandby(in boolean mode); 00286 00302 void factoryReset(in long flags) 00303 raises (TToiOperationNotSupportedException); 00304 00330 //@ [IgnoredApplicationId(Position=1)] 00331 00332 00333 //@ [OutParam(Name=active,Position=3,IsBinary=0, Bound=0)] 00334 boolean registerComponentUsage(in string componentName) 00335 raises (TToiInvalidArgumentException, TToiInvalidPreconditionException); 00336 00362 //@ [IgnoredApplicationId(Position=1)] 00363 00364 00365 //@ [OutParam(Name=active,Position=3,IsBinary=0, Bound=0)] 00366 boolean releaseComponentUsage(in string componentName) 00367 raises (TToiInvalidArgumentException, TToiInvalidPreconditionException); 00368 00377 //@ [OutParam(Name=infoSequence,Position=1,IsBinary=0, Bound=0)] 00378 TToiComponentInfoSequence getComponentsInfo(); 00379 00393 //@ [OutParam(Name=info,Position=2,IsBinary=0, Bound=0)] 00394 ToiPlatformServiceComponentInfo getComponentInfo(in string componentName) 00395 raises (TToiInvalidArgumentException); 00396 00418 //@ [ReturnAddress(Type=IToiPowerControl)] 00419 //@ [IgnoredApplicationId(Position=1)] 00420 00421 00422 //@ [OutParam(Name=address,Position=3,IsBinary=0, Bound=0)] 00423 ToiPowerControl createPowerControlInstance(in ToiPowerControl::TToiPowerProfileAccess access) 00424 raises (TToiInvalidArgumentException, TToiPermissionDeniedException); 00425 00434 //@ [OutParam(Name=infoSequence,Position=1,IsBinary=0, Bound=0)] 00435 ToiPowerControl::TToiPowerControllerInfoSequence getPowerControllerInfo(); 00436 00437 }; 00438 00439 #endif |