Home
last modified time | relevance | path

Searched refs:CONSUMPTION_TYPE_BLUETOOTH (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/clienttest/
H A Dstats_bluetooth_test.cpp107 … double powerMahBefore = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
109 … double powerMahAfter = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
139 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
202 if ((*it).GetConsumptionType() == BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH) {
242 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
281 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
311 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
349 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
439 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
502 if ((*it).GetConsumptionType() == BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH) {
[all …]
H A Dstats_powermgr_test.cpp373 EXPECT_EQ(GET_VARIABLE_NAME(CONSUMPTION_TYPE_BLUETOOTH),
374 BatteryStatsInfo::ConvertConsumptionType(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH));
/ohos5.0/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A Dstats_service_bluetooth_test.cpp138 …owerMahBefore = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
140 …powerMahAfter = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
173 …e actualPower = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
242 if ((*it).GetConsumptionType() == BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH) {
287 …e actualPower = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
331 …e actualPower = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
364 …e actualPower = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
407 …e actualPower = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
506 …e actualPower = g_statsServiceProxy->GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
575 if ((*it).GetConsumptionType() == BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH) {
[all …]
H A Dstats_service_core_test.cpp68 EXPECT_NE(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH));
156 …BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH)->GetActiveTimeMs(uid, StatsUtils::STATS_TYPE_INVALID…
158 … BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH)->GetActiveTimeMs(StatsUtils::STATS_TYPE_INVALID));
160 BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH)->GetEntityPowerMah());
162 …BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH)->GetOrCreateTimer(uid, StatsUtils::STATS_TYPE_INVALI…
164 … BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH)->GetOrCreateTimer(StatsUtils::STATS_TYPE_INVALID));
/ohos5.0/base/powermgr/battery_statistics/frameworks/native/src/
H A Dbattery_stats_info.cpp119 case CONSUMPTION_TYPE_BLUETOOTH: in ConvertTypeForPart()
120 result = GET_VARIABLE_NAME(CONSUMPTION_TYPE_BLUETOOTH); in ConvertTypeForPart()
186 case CONSUMPTION_TYPE_BLUETOOTH: in ConvertConsumptionType()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/
H A Djs-apidiff-battery.md6 …类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_BLUETOOTH<br>旧版本信息:|类名:ConsumptionType;<br>方法or属性:C…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta2/
H A Djs-apidiff-battery.md6 …name: CONSUMPTION_TYPE_BLUETOOTH<br>Old version information: |Class name: ConsumptionType;<br>Meth…
/ohos5.0/base/powermgr/battery_statistics/interfaces/inner_api/include/
H A Dbattery_stats_info.h33 CONSUMPTION_TYPE_BLUETOOTH, enumerator
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/
H A Djs-apidiff-battery.md30 …类名:ConsumptionType;<br>方法or属性:CONSUMPTION_TYPE_BLUETOOTH<br>旧版本信息:|类名:ConsumptionType;<br>方法or属性:C…
/ohos5.0/base/powermgr/battery_statistics/services/native/src/entities/
H A Dbluetooth_entity.cpp37 consumptionType_ = BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH; in BluetoothEntity()
74 statsInfo->SetConsumptioType(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH); in CalculateBtPower()
H A Duid_entity.cpp69 auto bluetoothEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH); in CalculateForConnectivity()
172 auto bluetoothEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH); in GetPowerForConnectivity()
/ohos5.0/base/powermgr/battery_statistics/frameworks/napi/src/
H A Dbattery_stats_module.cpp105 …napi_create_int32(env, (int32_t)BatteryStatsInfo::ConsumptionType::CONSUMPTION_TYPE_BLUETOOTH, &bl… in CreateEnumStatsType()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-batteryStatistics-sys.md292 | CONSUMPTION_TYPE_BLUETOOTH | -15 | 表示蓝牙消耗的电量类型。 |
/ohos5.0/docs/en/release-notes/api-diff/v4.0-Release-vs-v3.2-Release/
H A Djs-apidiff-battery.md30 …name: CONSUMPTION_TYPE_BLUETOOTH<br>Old version information: |Class name: ConsumptionType;<br>Meth…
/ohos5.0/base/powermgr/battery_statistics/test/systemtest/src/
H A Dbatterystats_sys_test.cpp335 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
611 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-batteryStatistics-sys.md292 | CONSUMPTION_TYPE_BLUETOOTH | -15 | Power consumption of Bluetooth. |
/ohos5.0/base/powermgr/battery_statistics/services/native/src/
H A Dbattery_stats_core.cpp176 case BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH: in GetEntity()