/base/powermgr/battery_lite/frameworks/native/src/small/ |
D | battery_framework.c | 47 static int32_t GetBatSocProxy(IUnknown *iUnknown) in GetBatSocProxy() argument 54 if (iUnknown == NULL) { in GetBatSocProxy() 58 BatteryProxyInterface *proxy = (BatteryProxyInterface *)iUnknown; in GetBatSocProxy() 63 static BatteryChargeState GetChargingStatusProxy(IUnknown *iUnknown) in GetChargingStatusProxy() argument 70 if (iUnknown == NULL) { in GetChargingStatusProxy() 74 BatteryProxyInterface *proxy = (BatteryProxyInterface *)iUnknown; in GetChargingStatusProxy() 79 static BatteryHealthState GetHealthStatusProxy(IUnknown *iUnknown) in GetHealthStatusProxy() argument 86 if (iUnknown == NULL) { in GetHealthStatusProxy() 90 BatteryProxyInterface *proxy = (BatteryProxyInterface *)iUnknown; in GetHealthStatusProxy() 95 static BatteryPluggedType GetPluggedTypeProxy(IUnknown *iUnknown) in GetPluggedTypeProxy() argument [all …]
|
/base/powermgr/battery_lite/frameworks/native/include/ |
D | batterymgr_intf_define.h | 27 int32_t (*GetBatSocFunc)(IUnknown *iUnknown); \ 28 BatteryChargeState (*GetChargingStatusFunc)(IUnknown *iUnknown); \ 29 BatteryHealthState (*GetHealthStatusFunc)(IUnknown *iUnknown); \ 30 BatteryPluggedType (*GetPluggedTypeFunc)(IUnknown *iUnknown); \ 31 int32_t (*GetBatVoltageFunc)(IUnknown *iUnknown); \ 32 char* (*GetBatTechnologyFunc)(IUnknown *iUnknown); \ 33 int32_t (*GetBatTemperatureFunc)(IUnknown *iUnknown)
|
D | battery_framework.h | 33 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(BATTERY_SERVICE, BATTERY_INNER); in GetBatteryIUnknown() local 34 if (iUnknown == NULL) { in GetBatteryIUnknown() 38 return iUnknown; in GetBatteryIUnknown()
|
/base/powermgr/powermgr_lite/frameworks/src/small/ |
D | power_manage.c | 40 static int32_t AcquireRunningLockEntryProxy(IUnknown *iUnknown, RunningLockEntry *entry, int32_t ti… 41 static int32_t ReleaseRunningLockEntryProxy(IUnknown *iUnknown, RunningLockEntry *entry); 42 static BOOL IsAnyRunningLockHoldingProxy(IUnknown *iUnknown); 43 static void SuspendDeviceProxy(IUnknown *iUnknown, SuspendDeviceType reason, BOOL suspendImmed); 44 static void WakeupDeviceProxy(IUnknown *iUnknown, WakeupDeviceType reason, const char* details); 60 entry->iUnknown.QueryInterface = IUNKNOWN_QueryInterface; in CreatClient() 61 entry->iUnknown.AddRef = IUNKNOWN_AddRef; in CreatClient() 62 entry->iUnknown.Release = IUNKNOWN_Release; in CreatClient() 63 entry->iUnknown.Invoke = NULL; in CreatClient() 64 entry->iUnknown.AcquireRunningLockEntryFunc = AcquireRunningLockEntryProxy; in CreatClient() [all …]
|
D | power_screen_saver.c | 39 static int32_t SetScreenSaverStateProxy(IUnknown *iUnknown, BOOL enable); 55 entry->iUnknown.QueryInterface = IUNKNOWN_QueryInterface; in CreatClient() 56 entry->iUnknown.AddRef = IUNKNOWN_AddRef; in CreatClient() 57 entry->iUnknown.Release = IUNKNOWN_Release; in CreatClient() 58 entry->iUnknown.Invoke = NULL; in CreatClient() 59 entry->iUnknown.SetScreenSaverStateFunc = SetScreenSaverStateProxy; in CreatClient() 81 …IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(POWER_MANAGE_SERVICE, POWER_SCREEN_SAVER_F… in GetScreenSaverProxyInterface() local 82 if (iUnknown == NULL) { in GetScreenSaverProxyInterface() 88 int ret = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&g_intf); in GetScreenSaverProxyInterface() 112 static int32_t SetScreenSaverStateProxy(IUnknown *iUnknown, BOOL enable) in SetScreenSaverStateProxy() argument [all …]
|
/base/powermgr/powermgr_lite/services/src/ |
D | power_manage_feature.c | 62 int32_t OnAcquireRunningLockEntry(IUnknown *iUnknown, RunningLockEntry *entry, int32_t timeoutMs) in OnAcquireRunningLockEntry() argument 64 (void)iUnknown; in OnAcquireRunningLockEntry() 68 int32_t OnReleaseRunningLockEntry(IUnknown *iUnknown, RunningLockEntry *entry) in OnReleaseRunningLockEntry() argument 70 (void)iUnknown; in OnReleaseRunningLockEntry() 74 BOOL OnIsAnyRunningLockHolding(IUnknown *iUnknown) in OnIsAnyRunningLockHolding() argument 76 (void)iUnknown; in OnIsAnyRunningLockHolding() 80 void OnSuspendDevice(IUnknown *iUnknown, SuspendDeviceType reason, BOOL suspendImmed) in OnSuspendDevice() argument 85 (void)iUnknown; in OnSuspendDevice() 90 void OnWakeupDevice(IUnknown *iUnknown, WakeupDeviceType reason, const char* details) in OnWakeupDevice() argument 95 (void)iUnknown; in OnWakeupDevice()
|
D | screen_saver_feature.c | 65 int32_t OnSetScreenSaverState(IUnknown *iUnknown, BOOL enable) in OnSetScreenSaverState() argument 67 (void)iUnknown; in OnSetScreenSaverState()
|
/base/powermgr/battery_lite/services/include/ |
D | battery_manage_feature.h | 45 int32_t BatterySocImpl(IUnknown *iUnknown); 46 BatteryChargeState ChargingStatusImpl(IUnknown *iUnknown); 47 BatteryHealthState HealthStatusImpl(IUnknown *iUnknown); 48 BatteryPluggedType PluggedTypeImpl(IUnknown *iUnknown); 49 int32_t VoltageImpl(IUnknown *iUnknown); 50 char* TechnologyImpl(IUnknown *iUnknown); 52 int32_t BatteryTemperatureImpl(IUnknown *iUnknown);
|
/base/powermgr/powermgr_lite/frameworks/include/ |
D | power_manage_intf_define.h | 31 …int32_t (*AcquireRunningLockEntryFunc)(IUnknown *iUnknown, RunningLockEntry *entry, int32_t timeou… 32 …int32_t (*ReleaseRunningLockEntryFunc)(IUnknown *iUnknown, RunningLockEntry *entry); … 33 …BOOL (*IsAnyRunningLockHoldingFunc)(IUnknown *iUnknown); … 34 …void (*SuspendDeviceFunc)(IUnknown *iUnknown, SuspendDeviceType reason, BOOL suspendImmed); … 35 void (*WakeupDeviceFunc)(IUnknown *iUnknown, WakeupDeviceType reason, const char* details)
|
D | screen_saver_intf_define.h | 28 int32_t (*SetScreenSaverStateFunc)(IUnknown *iUnknown, BOOL enable)
|
/base/powermgr/powermgr_lite/services/include/ |
D | power_manage_feature.h | 34 int32_t OnAcquireRunningLockEntry(IUnknown *iUnknown, RunningLockEntry *entry, int32_t timeoutMs); 35 int32_t OnReleaseRunningLockEntry(IUnknown *iUnknown, RunningLockEntry *entry); 36 BOOL OnIsAnyRunningLockHolding(IUnknown *iUnknown); 37 void OnSuspendDevice(IUnknown *iUnknown, SuspendDeviceType reason, BOOL suspendImmed); 38 void OnWakeupDevice(IUnknown *iUnknown, WakeupDeviceType reason, const char* details);
|
D | screen_saver_feature.h | 34 int32_t OnSetScreenSaverState(IUnknown *iUnknown, BOOL enable);
|
/base/security/permission_lite/services/pms_client/ |
D | perm_client.c | 100 entry->iUnknown.QueryInterface = IUNKNOWN_QueryInterface; in CreatClient() 101 entry->iUnknown.AddRef = IUNKNOWN_AddRef; in CreatClient() 102 entry->iUnknown.Release = IUNKNOWN_Release; in CreatClient() 103 entry->iUnknown.Invoke = NULL; in CreatClient() 104 entry->iUnknown.CheckSelfPermission = CheckSelfPermission; in CreatClient() 105 entry->iUnknown.QueryPermission = QueryPermission; in CreatClient() 121 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(PERMISSION_SERVICE, PERM_FEATURE); in GetClientApi() local 122 if (iUnknown == NULL) { in GetClientApi() 127 (void)iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&clientApi); in GetClientApi() 159 entry->iUnknown.QueryInterface = IUNKNOWN_QueryInterface; in CreatInnerClient() [all …]
|
/base/powermgr/battery_lite/services/src/ |
D | battery_manage_feature.c | 47 int32_t BatterySocImpl(IUnknown *iUnknown) in BatterySocImpl() argument 57 BatteryChargeState ChargingStatusImpl(IUnknown *iUnknown) in ChargingStatusImpl() argument 67 BatteryHealthState HealthStatusImpl(IUnknown *iUnknown) in HealthStatusImpl() argument 77 BatteryPluggedType PluggedTypeImpl(IUnknown *iUnknown) in PluggedTypeImpl() argument 87 int32_t VoltageImpl(IUnknown *iUnknown) in VoltageImpl() argument 97 char* TechnologyImpl(IUnknown *iUnknown) in TechnologyImpl() argument 107 int32_t BatteryTemperatureImpl(IUnknown *iUnknown) in BatteryTemperatureImpl() argument
|
D | battery_device.c | 172 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(BATTERY_DEVICE); in ChargingApiGet() local 173 if (iUnknown == NULL) { in ChargingApiGet() 176 … int ret = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)(&g_batteryFeatureHandle)); in ChargingApiGet()
|
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/ |
D | hks_samgr_client_proxy.c | 107 static int32_t IpcAsyncCall(IUnknown *iUnknown, enum HksMessage type, const struct HksBlob *inBlob, 112 HksMgrClientApi *proxy = (HksMgrClientApi *)iUnknown; 152 entry->iUnknown.QueryInterface = IUNKNOWN_QueryInterface; in HKS_CreatClient() 153 entry->iUnknown.AddRef = IUNKNOWN_AddRef; in HKS_CreatClient() 154 entry->iUnknown.Release = IUNKNOWN_Release; in HKS_CreatClient() 155 entry->iUnknown.Invoke = NULL; in HKS_CreatClient() 156 entry->iUnknown.IpcAsyncCallBack = IpcAsyncCall; in HKS_CreatClient() 176 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(HKS_SAMGR_SERVICE, HKS_SAMGR_FEATRURE); in HksSendRequestSync() local 177 HKS_IF_NULL_RETURN(iUnknown, HKS_ERROR_NULL_POINTER) in HksSendRequestSync() 179 int32_t ret = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&clientProxy); in HksSendRequestSync()
|
/base/powermgr/powermgr_lite/frameworks/src/mini/ |
D | power_manage.c | 39 …IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(POWER_MANAGE_SERVICE, POWER_MANAGE_FEATURE… in GetPowerManageInterface() local 40 if (iUnknown == NULL) { in GetPowerManageInterface() 46 int ret = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&g_intf); in GetPowerManageInterface()
|
/base/powermgr/battery_lite/frameworks/native/src/mini/ |
D | battery_framework.c | 32 IUnknown *iUnknown = GetBatteryIUnknown(); in GetBatteryInterface() local 33 if (iUnknown == NULL) { in GetBatteryInterface() 38 int ret = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&g_intf); in GetBatteryInterface()
|
/base/security/permission_lite/services/unittest/pms/src/ |
D | acts_pms_check_test.cpp | 101 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(PERMISSION_SERVICE, PERM_INNER); in SetUpTestCase() local 102 iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&g_interface); in SetUpTestCase()
|
/base/security/device_auth/frameworks/src/lite/ |
D | ipc_dev_auth_proxy.c | 33 IUnknown *iUnknown = NULL; in GetProxyInstance() local 36 iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(serviceName); in GetProxyInstance() 37 if (iUnknown == NULL) { in GetProxyInstance() 41 ret = iUnknown->QueryInterface(iUnknown, CLIENT_PROXY_VER, (void **)&clientProxy); in GetProxyInstance()
|
/base/hiviewdfx/hiview_lite/ |
D | hiview_service.c | 29 static void Output(IUnknown *iUnknown, int16 msgId, uint16 type); 95 static void Output(IUnknown *iUnknown, int16 msgId, uint16 type) in Output() argument 97 HiviewService *service = GET_OBJECT(iUnknown, HiviewService, iUnknown); in Output()
|
D | hiview_service.h | 50 void (*Output)(IUnknown *iUnknown, int16 msgId, uint16 type);
|
/base/sensors/sensor_lite/frameworks/src/ |
D | sensor_agent_client.c | 21 IUnknown *iUnknown = SAMGR_GetInstance()->GetDefaultFeatureApi(SENSOR_SERVICE); in GetServiceProxy() local 22 if (iUnknown == NULL) { in GetServiceProxy() 27 int32_t result = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&sensor); in GetServiceProxy()
|
/base/powermgr/powermgr_lite/services/src/screensaver/small/ |
D | screen_saver_handler.cpp | 44 IUnknown *iUnknown = SAMGR_GetInstance()->GetFeatureApi(AMS_SERVICE, AMS_FEATURE); in GetAmsInterface() local 45 if (iUnknown == nullptr) { in GetAmsInterface() 50 int ret = iUnknown->QueryInterface(iUnknown, DEFAULT_VERSION, (void **)&ams); in GetAmsInterface()
|
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/include/ |
D | hks_samgr_client.h | 24 …int32_t (*IpcAsyncCallBack)(IUnknown *iUnknown, enum HksMessageType type, const struct HksBlob *in…
|