/base/powermgr/battery_statistics/test/unittest/src/servicetest/ |
D | stats_service_core_test.cpp | 66 EXPECT_EQ(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_INVALID)); 67 EXPECT_NE(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP)); 68 EXPECT_NE(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH)); 69 EXPECT_NE(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_IDLE)); 70 EXPECT_NE(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_PHONE)); 71 EXPECT_NE(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_SCREEN)); 72 EXPECT_NE(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_USER)); 73 EXPECT_NE(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_WIFI)); 74 EXPECT_NE(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA)); 75 EXPECT_NE(nullptr, statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_FLASHLIGHT)); [all …]
|
D | stats_service_alarm_test.cpp | 217 auto alarmEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_ALARM); 255 auto uidEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP);
|
D | stats_service_powermgr_test.cpp | 409 auto sensorEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_SENSOR); 456 auto wakelockEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK);
|
D | stats_service_audio_test.cpp | 347 auto audioEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO);
|
D | stats_service_camera_test.cpp | 778 auto cameraEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA); 819 auto flashlightEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_FLASHLIGHT);
|
D | stats_service_location_test.cpp | 471 auto gnssEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_GNSS);
|
D | stats_service_bluetooth_test.cpp | 1464 auto bluetoothEntity = statsCore->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH);
|
/base/powermgr/battery_statistics/services/native/src/entities/ |
D | uid_entity.cpp | 65 auto bluetoothEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_BLUETOOTH); in CalculateForConnectivity() 78 auto cameraEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_CAMERA); in CalculateForCommon() 79 auto flashlightEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_FLASHLIGHT); in CalculateForCommon() 80 auto audioEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_AUDIO); in CalculateForCommon() 81 auto sensorEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_SENSOR); in CalculateForCommon() 82 auto gnssEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_GNSS); in CalculateForCommon() 83 auto cpuEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_CPU); in CalculateForCommon() 84 auto wakelockEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_WAKELOCK); in CalculateForCommon() 85 auto alarmEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_ALARM); in CalculateForCommon() 119 auto userEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_USER); in Calculate() [all …]
|
D | bluetooth_entity.cpp | 431 auto uidEntity = core->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP); in GetBluetoothUidPower()
|
/base/notification/common_event_service/frameworks/native/test/unittest/ |
D | matching_skills_test.cpp | 73 EXPECT_EQ(entity, matchSkills.GetEntity(0)); 75 EXPECT_EQ(false, entity == matchSkills.GetEntity(MAX_COUNT)); 240 EXPECT_EQ("", matchSkills.GetEntity(index)); 258 EXPECT_EQ("", matchSkills.GetEntity(index)); 276 EXPECT_EQ("event.unit.test", matchSkills.GetEntity(index));
|
/base/notification/common_event_service/test/systemtest/common/acts/actsCESMatchingSkillsTest/ |
D | actsCESMatchingSkillsTest.cpp | 77 EXPECT_EQ(entity, matchingSkills.GetEntity(0)); 79 EXPECT_EQ(false, entity == matchingSkills.GetEntity(1000)); 120 EXPECT_EQ(entity, matchingSkills.GetEntity(0)); 122 EXPECT_EQ(false, entity == matchingSkills.GetEntity(1000)); 163 EXPECT_EQ(entity, matchingSkills.GetEntity(0)); 165 EXPECT_EQ(false, entity == matchingSkills.GetEntity(1000)); 166 EXPECT_EQ(true, "" == matchingSkills.GetEntity(1000)); 218 EXPECT_EQ(entity, matchingSkills.GetEntity(0)); 220 EXPECT_EQ(false, entity == matchingSkills.GetEntity(1000)); 221 EXPECT_EQ(true, "" == matchingSkills.GetEntity(1000)); [all …]
|
/base/notification/common_event_service/interfaces/inner_api/ |
D | matching_skills.h | 44 std::string GetEntity(size_t index) const;
|
/base/notification/common_event_service/test/fuzztest/matchingskills_fuzzer/ |
D | matchingskills_fuzzer.cpp | 61 matchingSkills.GetEntity(index); in DoSomethingInterestingWithMyAPI()
|
/base/powermgr/battery_statistics/services/native/src/ |
D | cpu_time_reader.cpp | 231 … g_statsService->GetBatteryStatsCore()->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP); in ReadUidCpuActiveTime() 314 …auto uidEntity = g_statsService->GetBatteryStatsCore()->GetEntity(BatteryStatsInfo::CONSUMPTION_TY… in ReadUidCpuClusterTime() 452 … g_statsService->GetBatteryStatsCore()->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP); in ReadUidCpuFreqTime() 536 … g_statsService->GetBatteryStatsCore()->GetEntity(BatteryStatsInfo::CONSUMPTION_TYPE_APP); in ReadUidCpuTime()
|
D | battery_stats_core.cpp | 169 std::shared_ptr<BatteryStatsEntity> BatteryStatsCore::GetEntity(const BatteryStatsInfo::Consumption… in GetEntity() function in OHOS::PowerMgr::BatteryStatsCore
|
/base/powermgr/battery_statistics/services/native/include/ |
D | battery_stats_core.h | 55 std::shared_ptr<BatteryStatsEntity> GetEntity(const BatteryStatsInfo::ConsumptionType& type);
|
/base/notification/common_event_service/frameworks/native/src/ |
D | matching_skills.cpp | 35 std::string MatchingSkills::GetEntity(size_t index) const in GetEntity() function in OHOS::EventFwk::MatchingSkills
|
/base/notification/common_event_service/services/src/ |
D | common_event_subscriber_manager.cpp | 179 …entities = entities + separator + record->eventSubscribeInfo->GetMatchingSkills().GetEntity(entity… in DumpDetailed()
|
/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_system_test/ |
D | common_event_services_system_test.cpp | 2436 EXPECT_EQ(matchingSkills.GetEntity(0), entity);
|
/base/notification/common_event_service/test/systemtest/common/acts/actsCESManagertest/ |
D | actsCESManagertest.cpp | 3019 if (!(matchingSkills.GetEntity(0) == entity)) {
|