Home
last modified time | relevance | path

Searched refs:present (Results 1 – 12 of 12) sorted by relevance

/base/powermgr/battery_manager/frameworks/native/test/unittest/src/
Dbattery_client_test.cpp151 auto present = BatterySrvClient.GetPresent(); variable
152 BATTERY_HILOGI(LABEL_TEST, "BatteryClientTest::present=%{public}d", present);
153 GTEST_LOG_(INFO) << "BatteryClient::BatteryClient004 executing, present=" << present;
154 ASSERT_FALSE(present);
156 auto present = BatterySrvClient.GetPresent(); variable
157 BATTERY_HILOGI(LABEL_TEST, "BatteryClientTest::present=%{public}d", present);
158 GTEST_LOG_(INFO) << "BatteryClient::BatteryClient004 executing, present=" << present;
159 ASSERT_TRUE(present);
/base/powermgr/battery_manager/services/native/test/unittest/src/
Dbattery_service_test.cpp136 bool present = false; variable
139 present = g_service->GetPresent();
140 ASSERT_FALSE(present);
142 present = g_service->GetPresent();
143 ASSERT_TRUE(present);
145 GTEST_LOG_(INFO) << "BatteryService::BatteryService004 executing, present=" << present;
/base/powermgr/battery_manager/frameworks/native/src/
Dbattery_srv_client.cpp124 bool present = INVALID_BATT_BOOL_VALUE; in GetPresent() local
125 RETURN_IF_WITH_RET(Connect() != ERR_OK, present); in GetPresent()
126 present = proxy_->GetPresent(); in GetPresent()
127 return present; in GetPresent()
/base/powermgr/battery_manager/services/native/src/
Dbattery_dump.cpp72 bool present = service->GetPresent(); in GetBatteryInfo() local
73 dprintf(fd, "present: %d \n", present); in GetBatteryInfo()
Dbattery_service.cpp165 event.chargeCounter, event.present, event.technology.c_str()); in HandleBatteryCallbackEvent()
176 batteryInfo.SetPresent(event.present); in HandleBatteryCallbackEvent()
415 bool present = false; in GetPresent() local
419 return present; in GetPresent()
422 ibatteryInterface->GetPresent(present); in GetPresent()
423 return present; in GetPresent()
/base/powermgr/battery_manager/interfaces/innerkits/native/include/
Dbattery_info.h228 void SetPresent(const bool present) in SetPresent() argument
230 present_ = present; in SetPresent()
/base/powermgr/battery_manager/test/systemtest/src/
Dbattery_sttest.cpp936 auto present = g_service->GetPresent(); variable
937 HDF_LOGD("%{public}s: enter. BatteryST037::present=%{public}d.", __func__, present);
939 ASSERT_TRUE(present);
953 auto present = g_service->GetPresent(); variable
954 HDF_LOGD("%{public}s: enter. BatteryST038::present=%{public}d.", __func__, present);
956 ASSERT_TRUE(!present);
1205 auto present = BatterySrvClient.GetPresent(); variable
1206 GTEST_LOG_(INFO) << "BatteryST054 executing, present=" << present;
1208 ASSERT_TRUE(present);
1223 auto present = BatterySrvClient.GetPresent(); variable
[all …]
/base/powermgr/battery_manager/services/zidl/src/
Dbattery_srv_proxy.cpp162 bool present = INVALID_BATT_BOOL_VALUE; in GetPresent() local
163 READ_PARCEL_WITH_RET(reply, Bool, present, INVALID_BATT_BOOL_VALUE); in GetPresent()
164 return present; in GetPresent()
/base/powermgr/battery_manager/frameworks/js/napi/
Dbattery_info.cpp115 bool present = g_battClient.GetPresent(); in GetBatteryPresent() local
117 NAPI_CALL(env, napi_get_boolean(env, present, &napiValue)); in GetBatteryPresent()
119 BATTERY_HILOGD(FEATURE_BATT_INFO, "present %{public}d", present); in GetBatteryPresent()
/base/powermgr/battery_lite/
DREADME.md81 …name="p13654123354416"></a><a name="p13654123354416"></a>Checks whether the battery is present.</p>
/base/miscservices/time/
DREADME.md46 …</a><a name="p18761104812149"></a>Set the system time (1970-01-01 to the present in milliseconds),…
51 …></a><a name="p3335145451011"></a>Set the system time (1970-01-01 to the present in milliseconds),…
/base/hiviewdfx/hiappevent/
DREADME.md56 …chronously. A value greater than 0 indicates that invalid parameters are present in the event, and…