| ARRIS Enterprises, Inc. Confidential Information |
|
/extra/kbs/check_outs/co_442229/STABLE_5.0.1/dist/idl/IPlatformService.idl 00001 // Copyright (c) 2011 Motorola, Inc. All rights reserved. 00002 // Copyright (c) 2012-2013 Motorola Mobility, Inc. All rights reserved. 00003 // Copyright (c) 2013-2015 ARRIS Enterprises, Inc. All rights reserved. 00004 // 00005 // This program is confidential and proprietary to ARRIS Enterprises, Inc. 00006 // (ARRIS), and may not be copied, reproduced, modified, disclosed to others, 00007 // published or used, in whole or in part, without the express prior written 00008 // permission of ARRIS. 00009 00010 #ifndef IPLATFORMSERVICE_IDL 00011 #define IPLATFORMSERVICE_IDL 00012 00013 #include "IToiPlatformService.idl" 00014 #include "IToiApplicationService.idl" 00015 #include "TToiInvalidArgumentException.idl" 00016 #include "TToiNotEnoughResourcesException.idl" 00017 00027 interface IPlatformService : IToiPlatformService 00028 { 00029 const string FLASH_APPLICATION_PATH = "/flash/applications"; 00030 00034 enum TStartupType 00035 { 00037 STARTUP_TYPE_POWER_ON, 00038 00040 STARTUP_TYPE_REBOOT, 00041 00045 STARTUP_TYPE_WAKE_UP, 00046 00050 STARTUP_TYPE_PLATFORM_FAILURE, 00051 00053 STARTUP_TYPE_PLATFORM_RESTART, 00054 00058 STARTUP_TYPE_RESET_LEVEL_0, 00059 00064 STARTUP_TYPE_RESET_LEVEL_1, 00065 00068 STARTUP_TYPE_RESET_LEVEL_2, 00069 00073 STARTUP_TYPE_RESET_LEVEL_3 00074 }; 00075 00076 enum TStatusCode 00077 { 00081 STATUS_CODE_OK, 00082 00087 STATUS_CODE_PENDING, 00088 00091 STATUS_CODE_NO_NETWORK, 00092 00095 STATUS_CODE_NO_IP_ADDRESS 00096 }; 00097 00114 void ReportComponent(in long serviceId, in string address) 00115 raises (TToiInvalidArgumentException); 00116 00128 void UnloadDone(in long serviceId) 00129 raises (TToiInvalidArgumentException); 00130 00137 oneway void ReportPing(in long serviceId); 00138 00144 void IsInStandby(out boolean value); 00145 00151 void GetStartupType(out TStartupType type); 00152 00159 oneway void SetStartupType(in TStartupType startupType); 00160 00163 oneway void RestartPlatformNow(); 00164 00168 oneway void ReportApplicationShutdownComplete(); 00169 00187 void RegisterFactoryResetHandler(in string address, out long handlerId) 00188 raises (TToiInvalidArgumentException); 00189 00197 void UnregisterFactoryResetHandler(in long handlerId) 00198 raises (TToiInvalidArgumentException); 00199 00207 oneway void FactoryResetHandlerDone(in long handlerId); 00208 00212 oneway void AddDatabase(in IToiPlatformService::TToiDatabaseInfo report); 00213 00233 void CreatePowerControlInstanceInternal(in IToiPowerControl:: 00234 TToiPowerProfileAccess access, 00235 in string serviceName, 00236 out string address); 00237 00238 00252 void RegisterStartupHandler(out long id); 00253 00267 void ReportStartupStatus(in long id, in TStatusCode statusCode); 00268 00279 void RegisterObserverInternal(in string address) 00280 raises (TToiInvalidArgumentException); 00281 00298 void AddAppDataPathForRemoval(in IToiApplicationService:: 00299 TToiApplicationId appId, 00300 in long flags, 00301 in string path) 00302 raises (TToiInvalidArgumentException, 00303 TToiPermissionDeniedException); 00304 00309 void ClearFastbootFlag() 00310 raises (TToiNotEnoughResourcesException); 00311 }; 00312 00313 #endif |