/base/powermgr/battery_manager/services/native/src/ |
D | battery_notify.cpp | 109 ….SetParam(BatteryInfo::COMMON_EVENT_KEY_PLUGGED_TYPE, static_cast<int32_t>(info.GetPluggedType())); in PublishChangedEvent() 137 "LEVEL", info.GetCapacity(), "CHARGER", static_cast<int32_t>(info.GetPluggedType()), in PublishChangedEvent() 153 …oString(BatteryInfo::COMMON_EVENT_CODE_PLUGGED_TYPE), static_cast<int32_t>(info.GetPluggedType())); in ChangedEventDeprecated() 231 if ((info.GetPluggedType() == BatteryPluggedType::PLUGGED_TYPE_NONE) || in PublishPowerConnectedEvent() 232 (info.GetPluggedType() == BatteryPluggedType::PLUGGED_TYPE_BUTT)) { in PublishPowerConnectedEvent() 241 data.SetCode(static_cast<int32_t>(info.GetPluggedType())); in PublishPowerConnectedEvent() 243 static_cast<uint32_t>(info.GetPluggedType())); in PublishPowerConnectedEvent() 263 if ((info.GetPluggedType() != BatteryPluggedType::PLUGGED_TYPE_NONE) && in PublishPowerDisconnectedEvent() 264 (info.GetPluggedType() != BatteryPluggedType::PLUGGED_TYPE_BUTT)) { in PublishPowerDisconnectedEvent() 273 data.SetCode(static_cast<int32_t>(info.GetPluggedType())); in PublishPowerDisconnectedEvent() [all …]
|
D | battery_service.cpp | 210 … batteryInfo_.GetHealthState(), batteryInfo_.GetPluggedType(), batteryInfo_.GetPluggedMaxCurrent(), in HandleBatteryInfo() 216 WakeupDevice(batteryInfo_.GetPluggedType()); in HandleBatteryInfo() 450 BatteryPluggedType BatteryService::GetPluggedType() in GetPluggedType() function in OHOS::PowerMgr::BatteryService 459 iBatteryInterface_->GetPluggedType(pluggedType); in GetPluggedType()
|
D | battery_dump.cpp | 80 BatteryPluggedType pluggedType = service->GetPluggedType(); in GetBatteryInfo()
|
/base/powermgr/battery_lite/interfaces/kits/js/ |
D | @system.battery.d.ts | 90 export interface GetPluggedType { interface 193 static PluggedType(options?: GetPluggedType): void;
|
/base/powermgr/battery_lite/frameworks/js/builtin/src/ |
D | battery_impl.c | 36 return GetPluggedType(); in GetPluggedTypeImpl()
|
D | battery_module.cpp | 92 JSIValue BatteryModule::GetPluggedType(const JSIValue thisVal, const JSIValue *args, uint8_t argsNu… in GetPluggedType() function in OHOS::ACELite::BatteryModule 163 JSI::SetModuleAPI(exports, "PluggedType", BatteryModule::GetPluggedType); in InitBatteryModule()
|
/base/powermgr/battery_lite/services/src/ |
D | battery_device.c | 154 .GetPluggedType = GetPluggedTypeImpl, 204 g_device.GetPluggedType = g_batteryFeatureHandle->GetPluggedType; in GetBatteryDeviceMethods()
|
D | battery_manage_feature.c | 84 pluggedType = g_batteryDevice->GetPluggedType(); in PluggedTypeImpl()
|
/base/powermgr/battery_lite/interfaces/kits/ |
D | battery_info.h | 103 BatteryPluggedType GetPluggedType(void);
|
/base/powermgr/battery_lite/services/include/ |
D | battery_device.h | 51 BatteryPluggedType (*GetPluggedType)(void); member
|
D | ibattery.h | 49 BatteryPluggedType (*GetPluggedType)(); member
|
/base/powermgr/battery_lite/frameworks/js/builtin/include/ |
D | battery_module.h | 31 static JSIValue GetPluggedType(const JSIValue thisVal, const JSIValue *args, uint8_t argsNum);
|
/base/powermgr/battery_manager/test/systemtest/src/ |
D | battery_sttest.cpp | 612 auto pluggedType = BatterySrvClient.GetPluggedType(); 617 auto pluggedType = BatterySrvClient.GetPluggedType(); 642 auto pluggedType = BatterySrvClient.GetPluggedType(); 647 auto pluggedType = BatterySrvClient.GetPluggedType(); 671 auto pluggedType = BatterySrvClient.GetPluggedType(); 676 auto pluggedType = BatterySrvClient.GetPluggedType(); 702 auto pluggedType = BatterySrvClient.GetPluggedType(); 707 auto pluggedType = BatterySrvClient.GetPluggedType();
|
/base/powermgr/battery_manager/interfaces/innerkits/native/include/ |
D | ibattery_srv.h | 48 virtual BatteryPluggedType GetPluggedType() = 0;
|
D | battery_srv_client.h | 51 BatteryPluggedType GetPluggedType();
|
D | battery_info.h | 295 BatteryPluggedType GetPluggedType() const in GetPluggedType() function 363 (pluggedType_ == info.GetPluggedType()) &&
|
/base/powermgr/battery_manager/services/zidl/include/ |
D | battery_srv_proxy.h | 42 virtual BatteryPluggedType GetPluggedType() override;
|
/base/powermgr/battery_manager/frameworks/native/src/ |
D | battery_srv_client.cpp | 111 BatteryPluggedType BatterySrvClient::GetPluggedType() in GetPluggedType() function in OHOS::PowerMgr::BatterySrvClient 115 pluggedType = proxy_->GetPluggedType(); in GetPluggedType()
|
/base/powermgr/battery_lite/test/Interface_test/test/unittest/src/ |
D | batterymgr_interfaces_test.cpp | 80 BatteryPluggedType status = GetPluggedType();
|
/base/powermgr/battery_manager/test/fuzztest/battery_fuzzer/ |
D | battery_fuzzer_test.cpp | 76 g_batterySrvClient.GetPluggedType(); in TestGetPluggedType()
|
/base/web/webview/ohos_adapter/battery_mgr_adapter/src/ |
D | battery_mgr_client_adapter_impl.cpp | 110 auto isChangingType = battClient.GetPluggedType(); in RequestBatteryInfo()
|
/base/powermgr/battery_lite/frameworks/native/src/mini/ |
D | battery_framework.c | 77 BatteryPluggedType GetPluggedType(void) in GetPluggedType() function
|
/base/powermgr/battery_manager/services/native/test/unittest/src/ |
D | battery_srv_proxy_mock_test.cpp | 100 BatteryPluggedType pluggedType = g_proxy->GetPluggedType();
|
/base/powermgr/battery_manager/services/native/include/ |
D | battery_service.h | 67 BatteryPluggedType GetPluggedType() override;
|
/base/web/webview/test/unittest/battery_mgr_adapter_impl/ |
D | battery_mgr_adapter_test.cpp | 51 BatteryPluggedType BatterySrvClient::GetPluggedType() in GetPluggedType() function in OHOS::PowerMgr::BatterySrvClient
|