Motorola Mobility Confidential Restricted.
/extra/kbs/check_outs/co_206438/STABLE_geranium_lpm_cornsilk_1/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   
00265   void rebootAtNextStandby();
00266   
00282   void setStandby(in boolean mode);
00283   
00299   void factoryReset(in long flags)
00300    raises (TToiOperationNotSupportedException);
00301   
00327   //@ [IgnoredApplicationId(Position=1)]
00328   
00329   
00330   //@ [OutParam(Name=active,Position=3,IsBinary=0, Bound=0)]
00331   boolean registerComponentUsage(in string componentName)
00332    raises (TToiInvalidArgumentException, TToiInvalidPreconditionException);
00333   
00359   //@ [IgnoredApplicationId(Position=1)]
00360   
00361   
00362   //@ [OutParam(Name=active,Position=3,IsBinary=0, Bound=0)]
00363   boolean releaseComponentUsage(in string componentName)
00364    raises (TToiInvalidArgumentException, TToiInvalidPreconditionException);
00365   
00374   //@ [OutParam(Name=infoSequence,Position=1,IsBinary=0, Bound=0)]
00375   TToiComponentInfoSequence getComponentsInfo();
00376   
00390   //@ [OutParam(Name=info,Position=2,IsBinary=0, Bound=0)]
00391   ToiPlatformServiceComponentInfo getComponentInfo(in string componentName)
00392    raises (TToiInvalidArgumentException);
00393   
00415   //@ [ReturnAddress(Type=IToiPowerControl)]
00416   //@ [IgnoredApplicationId(Position=1)]
00417   
00418   
00419   //@ [OutParam(Name=address,Position=3,IsBinary=0, Bound=0)]
00420   ToiPowerControl createPowerControlInstance(in ToiPowerControl::TToiPowerProfileAccess access)
00421    raises (TToiInvalidArgumentException, TToiPermissionDeniedException);
00422   
00431   //@ [OutParam(Name=infoSequence,Position=1,IsBinary=0, Bound=0)]
00432   ToiPowerControl::TToiPowerControllerInfoSequence getPowerControllerInfo();
00433   
00434 };
00435 
00436 #endif