• Quick Start
  • Booting
  • Platform
  • Portals
  • References
    • API Reference TOI3
    • IIP Reference
  • Resources
ARRIS Enterprises, Inc. Confidential Information
/extra/builds/11580/build/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   const string FLASH_SERVICE_PATH = "/flash/services";
00031 
00035   enum TStartupType
00036   {
00038     STARTUP_TYPE_POWER_ON,
00039 
00041     STARTUP_TYPE_REBOOT,
00042 
00046     STARTUP_TYPE_WAKE_UP,
00047 
00051     STARTUP_TYPE_PLATFORM_FAILURE,
00052 
00054     STARTUP_TYPE_PLATFORM_RESTART,
00055 
00059     STARTUP_TYPE_RESET_LEVEL_0,
00060 
00065     STARTUP_TYPE_RESET_LEVEL_1,
00066 
00069     STARTUP_TYPE_RESET_LEVEL_2,
00070 
00074     STARTUP_TYPE_RESET_LEVEL_3
00075   };
00076 
00077   enum TStatusCode
00078   {
00082     STATUS_CODE_OK,
00083 
00088     STATUS_CODE_PENDING,
00089 
00092     STATUS_CODE_NO_NETWORK,
00093 
00096     STATUS_CODE_NO_IP_ADDRESS
00097   };
00098 
00115   void ReportComponent(in long serviceId, in string address)
00116     raises (TToiInvalidArgumentException);
00117 
00129   void UnloadDone(in long serviceId)
00130     raises (TToiInvalidArgumentException);
00131 
00138   oneway void ReportPing(in long serviceId);
00139 
00145   void IsInStandby(out boolean value);
00146 
00152   void GetStartupType(out TStartupType type);
00153 
00160   oneway void SetStartupType(in TStartupType startupType);
00161 
00164   oneway void RestartPlatformNow();
00165 
00169   oneway void ReportApplicationShutdownComplete();
00170 
00192   void RegisterFactoryResetHandler(in string storagePath,
00193                                    in string address,
00194                                    out long handlerId)
00195     raises (TToiInvalidArgumentException);
00196 
00204   void UnregisterFactoryResetHandler(in long handlerId)
00205     raises (TToiInvalidArgumentException);
00206 
00214   oneway void FactoryResetHandlerDone(in long handlerId);
00215 
00219   oneway void AddDatabase(in IToiPlatformService::TToiDatabaseInfo report);
00220 
00240   void CreatePowerControlInstanceInternal(in IToiPowerControl::
00241                                           TToiPowerProfileAccess access,
00242                                           in string serviceName,
00243                                           out string address);
00244 
00245 
00259   void RegisterStartupHandler(out long id);
00260 
00274   void ReportStartupStatus(in long id, in TStatusCode statusCode);
00275 
00286   void RegisterObserverInternal(in string address)
00287     raises (TToiInvalidArgumentException);
00288 
00305   void AddAppDataPathForRemoval(in IToiApplicationService::
00306                                 TToiApplicationId appId,
00307                                 in long flags,
00308                                 in string path)
00309     raises (TToiInvalidArgumentException,
00310             TToiPermissionDeniedException);
00311 
00316   void ClearFastbootFlag()
00317     raises (TToiNotEnoughResourcesException);
00318 
00324   void GetUpTime(out long time);
00325 };
00326 
00327 #endif

5.1.p5

Copyright (c) 2017 ARRIS Enterprises, LLC. All Rights Reserved. ARRIS Enterprises, LLC. Confidential Information.