Home
last modified time | relevance | path

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

/base/powermgr/battery_statistics/frameworks/native/src/
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()
/base/powermgr/battery_statistics/interfaces/kits/js/
D@ohos.batteryStatistics.d.ts40 CONSUMPTION_TYPE_BLUETOOTH, enumerator
/base/powermgr/battery_statistics/services/native/test/unittest/src/
Dstats_bluetooth_test.cpp106 … double powerMahBefore = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
108 … double powerMahAfter = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
138 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
169 …uble actualPercent = statsClient.GetPartStatsPercent(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
201 if ((*it).GetConsumptionType() == BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH) {
241 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
280 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
310 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
348 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
405 … double powerMahBefore = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
[all …]
Dstats_powermgr_test.cpp376 EXPECT_EQ(GET_VARIABLE_NAME(CONSUMPTION_TYPE_BLUETOOTH),
377 BatteryStatsInfo::ConvertConsumptionType(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH));
/base/powermgr/battery_statistics/interfaces/innerkits/include/
Dbattery_stats_info.h34 CONSUMPTION_TYPE_BLUETOOTH, enumerator
/base/powermgr/battery_statistics/frameworks/js/napi/src/
Dbattery_stats_module.cpp105 …napi_create_int32(env, (int32_t)BatteryStatsInfo::ConsumptionType::CONSUMPTION_TYPE_BLUETOOTH, &bl… in CreateEnumStatsType()
/base/powermgr/battery_statistics/services/native/src/entities/
Duid_entity.cpp65 auto bluetoothEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH); in CalculateForConnectivity()
163 auto bluetoothEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH); in GetPowerForConnectivity()
Dbluetooth_entity.cpp36 consumptionType_ = BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH; in BluetoothEntity()
72 statsInfo->SetConsumptioType(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH); in CalculateBtPower()
/base/powermgr/battery_statistics/test/systemtest/src/
Dbatterystats_sys_test.cpp328 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
600 double actualPower = statsClient.GetPartStatsMah(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
/base/powermgr/battery_statistics/services/native/src/
Dbattery_stats_core.cpp174 case BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH: in GetEntity()