Searched refs:BatteryService (Results 1 – 14 of 14) sorted by relevance
/base/powermgr/battery_manager/services/native/src/ |
D | battery_service.cpp | 54 sptr<BatteryService> g_service; 61 std::atomic_bool BatteryService::isBootCompleted_ = false; 64 DelayedSpSingleton<BatteryService>::GetInstance().GetRefPtr()); 66 BatteryService::BatteryService() in BatteryService() function in OHOS::PowerMgr::BatteryService 71 BatteryService::~BatteryService() {} in ~BatteryService() 83 void BatteryService::OnStart() in OnStart() 102 bool BatteryService::Init() in Init() 112 void BatteryService::RegisterBootCompletedCallback() in RegisterBootCompletedCallback() 120 void BatteryService::OnAddSystemAbility(int32_t systemAbilityId, const std::string& deviceId) in OnAddSystemAbility() 128 bool BatteryService::RegisterBatteryHdiCallback() in RegisterBatteryHdiCallback() [all …]
|
D | battery_dump.cpp | 58 bool BatteryDump::GetBatteryInfo(int32_t fd, sptr<BatteryService> &service, const std::vector<std::… in GetBatteryInfo() 98 bool BatteryDump::MockUnplugged(int32_t fd, sptr<BatteryService>& service, const std::vector<std::u… in MockUnplugged() 109 bool BatteryDump::Reset(int32_t fd, sptr<BatteryService>& service, const std::vector<std::u16string… in Reset() 120 bool BatteryDump::MockCapacity(int32_t fd, sptr<BatteryService> &service, const std::vector<std::u1… in MockCapacity()
|
D | battery_notify.cpp | 147 sptr<BatteryService> batterySrv = DelayedSpSingleton<BatteryService>::GetInstance(); in PublishChangedEvent()
|
/base/powermgr/battery_manager/services/native/include/ |
D | battery_dump.h | 34 …bool GetBatteryInfo(int32_t fd, sptr<BatteryService> &service, const std::vector<std::u16string> &… 35 …bool MockUnplugged(int32_t fd, sptr<BatteryService> &service, const std::vector<std::u16string> &a… 36 bool Reset(int32_t fd, sptr<BatteryService> &service, const std::vector<std::u16string> &args); 37 …bool MockCapacity(int32_t fd, sptr<BatteryService> &service, const std::vector<std::u16string> &ar…
|
D | battery_service.h | 45 class BatteryService final : public SystemAbility, 47 DECLARE_SYSTEM_ABILITY(BatteryService) 49 DECLARE_DELAYED_SP_SINGLETON(BatteryService);
|
/base/powermgr/battery_lite/services/include/ |
D | battery_manage_service.h | 30 typedef struct BatteryService { struct 33 } BatteryService; typedef
|
/base/powermgr/battery_lite/services/src/ |
D | battery_manage_service.c | 39 static BatteryService *BatteryGetInstance(void); 43 BatteryService *batterService = BatteryGetInstance(); in Initialize() 86 static BatteryService g_batteryService = { 94 static BatteryService *BatteryGetInstance(void) in BatteryGetInstance()
|
/base/powermgr/battery_manager/test/unittest/src/ |
D | battery_callback_test.cpp | 27 sptr<BatteryService> g_service; 37 g_service = DelayedSpSingleton<BatteryService>::GetInstance(); in SetUpTestCase()
|
D | battery_srv_stub_test.cpp | 34 sptr<BatteryService> g_service; 42 g_service = DelayedSpSingleton<BatteryService>::GetInstance(); in SetUpTestCase()
|
D | battery_dump_test.cpp | 32 sptr<BatteryService> g_service; 36 g_service = DelayedSpSingleton<BatteryService>::GetInstance(); in SetUpTestCase()
|
D | battery_plugged_wakeup_test.cpp | 34 static sptr<BatteryService> g_service; 40 g_service = DelayedSpSingleton<BatteryService>::GetInstance(); in SetUpTestCase()
|
D | battery_service_test.cpp | 44 sptr<BatteryService> g_service; 64 g_service = DelayedSpSingleton<BatteryService>::GetInstance(); 68 g_service = DelayedSpSingleton<BatteryService>::GetInstance();
|
/base/powermgr/battery_manager/test/fuzztest/battery_fuzzer/ |
D | battery_fuzzer_test.cpp | 116 datas.WriteInterfaceToken(BatteryService::GetDescriptor()); in TestBatteryServiceStub() 121 DelayedSpSingleton<BatteryService>::GetInstance()->OnRemoteRequest(code, datas, reply, option); in TestBatteryServiceStub()
|
/base/powermgr/battery_manager/services/zidl/ |
D | ibattery_srv.zidl | 18 /* the function about BatteryService */
|