Home
last modified time | relevance | path

Searched refs:CHARGER_ON (Results 1 – 5 of 5) sorted by relevance

/system/core/storaged/
Dstoraged_service.cpp55 rec.second.bytes[READ][FOREGROUND][CHARGER_ON], in dumpUidRecords()
56 rec.second.bytes[WRITE][FOREGROUND][CHARGER_ON], in dumpUidRecords()
57 rec.second.bytes[READ][BACKGROUND][CHARGER_ON], in dumpUidRecords()
58 rec.second.bytes[WRITE][BACKGROUND][CHARGER_ON]); in dumpUidRecords()
72 uid_usage.bytes[READ][FOREGROUND][CHARGER_ON], in dumpUidRecordsDebug()
73 uid_usage.bytes[WRITE][FOREGROUND][CHARGER_ON], in dumpUidRecordsDebug()
74 uid_usage.bytes[READ][BACKGROUND][CHARGER_ON], in dumpUidRecordsDebug()
75 uid_usage.bytes[WRITE][BACKGROUND][CHARGER_ON]); in dumpUidRecordsDebug()
87 task_usage.bytes[READ][FOREGROUND][CHARGER_ON], in dumpUidRecordsDebug()
88 task_usage.bytes[WRITE][FOREGROUND][CHARGER_ON], in dumpUidRecordsDebug()
[all …]
Dstoraged_uid_monitor.cpp283 if (uid_usage.bytes[READ][FOREGROUND][CHARGER_ON] + in dump()
285 uid_usage.bytes[READ][BACKGROUND][CHARGER_ON] + in dump()
287 uid_usage.bytes[WRITE][FOREGROUND][CHARGER_ON] + in dump()
289 uid_usage.bytes[WRITE][BACKGROUND][CHARGER_ON] + in dump()
387 usage_proto->set_rd_fg_chg_on(usage.bytes[READ][FOREGROUND][CHARGER_ON]); in set_io_usage_proto()
389 usage_proto->set_rd_bg_chg_on(usage.bytes[READ][BACKGROUND][CHARGER_ON]); in set_io_usage_proto()
391 usage_proto->set_wr_fg_chg_on(usage.bytes[WRITE][FOREGROUND][CHARGER_ON]); in set_io_usage_proto()
393 usage_proto->set_wr_bg_chg_on(usage.bytes[WRITE][BACKGROUND][CHARGER_ON]); in set_io_usage_proto()
399 usage->bytes[READ][FOREGROUND][CHARGER_ON] = io_proto.rd_fg_chg_on(); in get_io_usage_proto()
401 usage->bytes[READ][BACKGROUND][CHARGER_ON] = io_proto.rd_bg_chg_on(); in get_io_usage_proto()
[all …]
Dstoraged.cpp80 CHARGER_ON : CHARGER_OFF; in is_charger_on()
/system/core/storaged/tests/
Dstoraged_test.cpp453 .uid_ios.bytes[WRITE][FOREGROUND][CHARGER_ON] = 1000, in TEST()
463 .uid_ios.bytes[WRITE][FOREGROUND][CHARGER_ON] = 1000, in TEST()
464 .uid_ios.bytes[READ][FOREGROUND][CHARGER_ON] = 1000, in TEST()
537 .uid_ios.bytes[WRITE][FOREGROUND][CHARGER_ON] = 1000, in TEST()
548 .uid_ios.bytes[WRITE][FOREGROUND][CHARGER_ON] = 1000, in TEST()
567 EXPECT_EQ(entries_0[0].ios.uid_ios.bytes[WRITE][FOREGROUND][CHARGER_ON], 1000UL); in TEST()
573 EXPECT_EQ(entries_0[2].ios.uid_ios.bytes[WRITE][FOREGROUND][CHARGER_ON], 1000UL); in TEST()
574 EXPECT_EQ(entries_0[2].ios.uid_ios.bytes[READ][FOREGROUND][CHARGER_ON], 1000UL); in TEST()
581 EXPECT_EQ(entries_1[0].ios.uid_ios.bytes[WRITE][FOREGROUND][CHARGER_ON], 1000UL); in TEST()
594 EXPECT_EQ(entries_2[0].ios.uid_ios.bytes[WRITE][FOREGROUND][CHARGER_ON], 1000UL); in TEST()
[all …]
/system/core/storaged/include/
Duid_info.h36 CHARGER_ON = 1, enumerator