Home
last modified time | relevance | path

Searched refs:INVALID_VALUE (Results 1 – 25 of 63) sorted by relevance

123

/base/powermgr/battery_statistics/services/native/include/entities/
Dbattery_stats_entity.h33 virtual double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) = 0;
35 virtual void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) = 0;
36 …nt64_t GetActiveTimeMs(StatsUtils::StatsType statsType, int16_t level = StatsUtils::INVALID_VALUE);
38 int16_t level = StatsUtils::INVALID_VALUE);
39 …l int64_t GetTrafficByte(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE);
40 …64_t GetConsumptionCount(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE);
41 … double GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE);
43 int16_t level = StatsUtils::INVALID_VALUE);
45 int16_t level = StatsUtils::INVALID_VALUE);
47 StatsUtils::StatsType statsType, int16_t level = StatsUtils::INVALID_VALUE);
[all …]
Dwifi_entity.h29 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
30 …tActiveTimeMs(StatsUtils::StatsType statsType, int16_t level = StatsUtils::INVALID_VALUE) override;
31 …onsumptionCount(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
33 …etStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
35 int16_t level = StatsUtils::INVALID_VALUE) override;
37 int32_t uid = StatsUtils::INVALID_VALUE) override;
39 void DumpInfo(std::string& result, int32_t uid = StatsUtils::INVALID_VALUE) override;
Dscreen_entity.h29 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
30 …tActiveTimeMs(StatsUtils::StatsType statsType, int16_t level = StatsUtils::INVALID_VALUE) override;
31 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
32 …etStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
34 void DumpInfo(std::string& result, int32_t uid = StatsUtils::INVALID_VALUE) override;
36 int16_t level = StatsUtils::INVALID_VALUE) override;
Dphone_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
31 …tActiveTimeMs(StatsUtils::StatsType statsType, int16_t level = StatsUtils::INVALID_VALUE) override;
32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
33 …etStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
35 int16_t level = StatsUtils::INVALID_VALUE) override;
37 void DumpInfo(std::string& result, int32_t uid = StatsUtils::INVALID_VALUE) override;
Dbluetooth_entity.h34 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
35 …tActiveTimeMs(StatsUtils::StatsType statsType, int16_t level = StatsUtils::INVALID_VALUE) override;
37 int16_t level = StatsUtils::INVALID_VALUE) override;
38 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
39 …etStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
41 void DumpInfo(std::string& result, int32_t uid = StatsUtils::INVALID_VALUE) override;
43 int16_t level = StatsUtils::INVALID_VALUE) override;
45 int16_t level = StatsUtils::INVALID_VALUE) override;
Didle_entity.h28 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
29 …tActiveTimeMs(StatsUtils::StatsType statsType, int16_t level = StatsUtils::INVALID_VALUE) override;
30 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
31 …etStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
33 void DumpInfo(std::string& result, int32_t uid = StatsUtils::INVALID_VALUE) override;
Dalarm_entity.h29 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
30 …onsumptionCount(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
31 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
32 …etStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
34 int32_t uid = StatsUtils::INVALID_VALUE) override;
Daudio_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
32 int16_t level = StatsUtils::INVALID_VALUE) override;
33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
34 …etStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
36 int16_t level = StatsUtils::INVALID_VALUE) override;
Dgnss_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
32 int16_t level = StatsUtils::INVALID_VALUE) override;
33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
34 …etStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
36 int16_t level = StatsUtils::INVALID_VALUE) override;
Dwakelock_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
32 int16_t level = StatsUtils::INVALID_VALUE) override;
33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
34 …etStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
36 int16_t level = StatsUtils::INVALID_VALUE) override;
Dflashlight_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
32 int16_t level = StatsUtils::INVALID_VALUE) override;
33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
34 …etStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
36 int16_t level = StatsUtils::INVALID_VALUE) override;
Dcamera_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
32 int16_t level = StatsUtils::INVALID_VALUE) override;
33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
34 …etStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
36 StatsUtils::StatsType statsType, int16_t level = StatsUtils::INVALID_VALUE) override;
Dsensor_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
32 int16_t level = StatsUtils::INVALID_VALUE) override;
33 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
34 …etStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
36 int16_t level = StatsUtils::INVALID_VALUE) override;
Dcpu_entity.h31 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
32 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
33 …etStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE) override;
36 void DumpInfo(std::string& result, int32_t uid = StatsUtils::INVALID_VALUE) override;
Duid_entity.h30 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
31 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
32 … double GetStatsPowerMah(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE)
37 void DumpInfo(std::string& result, int32_t uid = StatsUtils::INVALID_VALUE) override;
Duser_entity.h30 double GetEntityPowerMah(int32_t uidOrUserId = StatsUtils::INVALID_VALUE) override;
32 void Calculate(int32_t uid = StatsUtils::INVALID_VALUE) override;
/base/powermgr/battery_statistics/services/native/include/
Dbattery_stats_core.h45 …int64_t GetTotalTimeMs(StatsUtils::StatsType statsType, int16_t level = StatsUtils::INVALID_VALUE);
47 int16_t level = StatsUtils::INVALID_VALUE);
48 …nt64_t GetTotalDataCount(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE);
49 …GetTotalConsumptionCount(StatsUtils::StatsType statsType, int32_t uid = StatsUtils::INVALID_VALUE);
51 int16_t level = StatsUtils::INVALID_VALUE, int32_t uid = StatsUtils::INVALID_VALUE,
54 int32_t uid = StatsUtils::INVALID_VALUE);
81 int32_t lastBrightnessLevel_ = StatsUtils::INVALID_VALUE;
82 int32_t lastCameraUid_ = StatsUtils::INVALID_VALUE;
86 StatsUtils::StatsState state, int32_t uid = StatsUtils::INVALID_VALUE);
88 int64_t time, int32_t uid = StatsUtils::INVALID_VALUE);
[all …]
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
Dinput_method_utils.h27 constexpr int32_t INVALID_VALUE = -1; variable
117 int32_t start = INVALID_VALUE;
118 int32_t end = INVALID_VALUE;
122 int32_t oldBegin = INVALID_VALUE;
123 int32_t oldEnd = INVALID_VALUE;
124 int32_t newBegin = INVALID_VALUE;
125 int32_t newEnd = INVALID_VALUE;
/base/telephony/core_service/utils/common/src/
Dtelephony_config.cpp31 static const int32_t INVALID_VALUE = -1; variable
59 return INVALID_VALUE; in ConvertCharToInt()
62 return INVALID_VALUE; in ConvertCharToInt()
68 return INVALID_VALUE; in ConvertCharToInt()
79 return INVALID_VALUE; in ConvertCharToInt()
/base/powermgr/battery_statistics/utils/native/include/
Dstats_utils.h30 static constexpr int8_t INVALID_VALUE = -1; variable
105 int32_t uid = INVALID_VALUE;
106 int32_t pid = INVALID_VALUE;
109 int32_t eventDataType = INVALID_VALUE;
110 int32_t eventDataExtra = INVALID_VALUE;
111 int16_t level = INVALID_VALUE;
/base/telephony/core_service/services/sim/src/
Dsim_rdb_helper.cpp49 return INVALID_VALUE; in Insert()
73 return INVALID_VALUE; in Update()
85 return INVALID_VALUE; in Delete()
129 int32_t messageCardSlotId = INVALID_VALUE; in GetDefaultMessageCardSlotId()
163 int32_t cellularDataCardSlotId = INVALID_VALUE; in GetDefaultCellularDataCardSlotId()
196 int32_t voiceCardSlotId = INVALID_VALUE; in GetDefaultVoiceCardSlotId()
240 return INVALID_VALUE; in SetDefaultMainCard()
260 return INVALID_VALUE; in SetDefaultVoiceCard()
280 return INVALID_VALUE; in SetDefaultMessageCard()
300 return INVALID_VALUE; in SetDefaultCellularData()
[all …]
/base/hiviewdfx/hidumper/services/native/src/
Ddump_battery_stats_subscriber.cpp28 static constexpr int8_t INVALID_VALUE = -1; variable
35 …city = data.GetWant().GetIntParam(PowerMgr::BatteryInfo::COMMON_EVENT_KEY_CAPACITY, INVALID_VALUE); in OnReceiveEvent()
/base/powermgr/thermal_manager/test/unittest/mock_action/src/
Dmock_socperf_action.cpp22 constexpr int64_t INVALID_VALUE = -1; variable
40 return INVALID_VALUE; in GetLimitValue()
/base/powermgr/battery_statistics/test/unittest/include/servicetest/utils/
Dstats_service_test_proxy.h39 …TimeSecond(const StatsUtils::StatsType& statsType, const int32_t& uid = StatsUtils::INVALID_VALUE);
40 …lDataBytes(const StatsUtils::StatsType& statsType, const int32_t& uid = StatsUtils::INVALID_VALUE);
/base/powermgr/battery_statistics/interfaces/inner_api/include/
Dibattery_stats.h36 const int32_t& uid = StatsUtils::INVALID_VALUE) = 0;
38 const int32_t& uid = StatsUtils::INVALID_VALUE) = 0;

123