Home
last modified time | relevance | path

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

/system/core/storaged/
Dstoraged_service.cpp51 rec.second.bytes[READ][FOREGROUND][CHARGER_OFF], in dumpUidRecords()
52 rec.second.bytes[WRITE][FOREGROUND][CHARGER_OFF], in dumpUidRecords()
53 rec.second.bytes[READ][BACKGROUND][CHARGER_OFF], in dumpUidRecords()
54 rec.second.bytes[WRITE][BACKGROUND][CHARGER_OFF], in dumpUidRecords()
68 uid_usage.bytes[READ][FOREGROUND][CHARGER_OFF], in dumpUidRecordsDebug()
69 uid_usage.bytes[WRITE][FOREGROUND][CHARGER_OFF], in dumpUidRecordsDebug()
70 uid_usage.bytes[READ][BACKGROUND][CHARGER_OFF], in dumpUidRecordsDebug()
71 uid_usage.bytes[WRITE][BACKGROUND][CHARGER_OFF], in dumpUidRecordsDebug()
83 task_usage.bytes[READ][FOREGROUND][CHARGER_OFF], in dumpUidRecordsDebug()
84 task_usage.bytes[WRITE][FOREGROUND][CHARGER_OFF], in dumpUidRecordsDebug()
[all …]
Dstoraged_uid_monitor.cpp284 uid_usage.bytes[READ][FOREGROUND][CHARGER_OFF] + in dump()
286 uid_usage.bytes[READ][BACKGROUND][CHARGER_OFF] + in dump()
288 uid_usage.bytes[WRITE][FOREGROUND][CHARGER_OFF] + in dump()
290 uid_usage.bytes[WRITE][BACKGROUND][CHARGER_OFF] > threshold) { in dump()
388 usage_proto->set_rd_fg_chg_off(usage.bytes[READ][FOREGROUND][CHARGER_OFF]); in set_io_usage_proto()
390 usage_proto->set_rd_bg_chg_off(usage.bytes[READ][BACKGROUND][CHARGER_OFF]); in set_io_usage_proto()
392 usage_proto->set_wr_fg_chg_off(usage.bytes[WRITE][FOREGROUND][CHARGER_OFF]); in set_io_usage_proto()
394 usage_proto->set_wr_bg_chg_off(usage.bytes[WRITE][BACKGROUND][CHARGER_OFF]); in set_io_usage_proto()
400 usage->bytes[READ][FOREGROUND][CHARGER_OFF] = io_proto.rd_fg_chg_off(); in get_io_usage_proto()
402 usage->bytes[READ][BACKGROUND][CHARGER_OFF] = io_proto.rd_bg_chg_off(); in get_io_usage_proto()
[all …]
Dstoraged.cpp80 CHARGER_ON : CHARGER_OFF; in is_charger_on()
/system/core/storaged/tests/
Dstoraged_test.cpp458 .uid_ios.bytes[READ][FOREGROUND][CHARGER_OFF] = 1000, in TEST()
475 .uid_ios.bytes[WRITE][FOREGROUND][CHARGER_OFF] = 1000, in TEST()
480 .uid_ios.bytes[READ][BACKGROUND][CHARGER_OFF] = 1000, in TEST()
570 EXPECT_EQ(entries_0[1].ios.uid_ios.bytes[READ][FOREGROUND][CHARGER_OFF], 1000UL); in TEST()
584 EXPECT_EQ(entries_1[1].ios.uid_ios.bytes[READ][BACKGROUND][CHARGER_OFF], 1000UL); in TEST()
587 EXPECT_EQ(entries_1[2].ios.uid_ios.bytes[WRITE][FOREGROUND][CHARGER_OFF], 1000UL); in TEST()
602 EXPECT_EQ(merged_entries_0["app2"].bytes[READ][FOREGROUND][CHARGER_OFF], 1000UL); in TEST()
608 EXPECT_EQ(merged_entries_1["app1"].bytes[WRITE][FOREGROUND][CHARGER_OFF], 1000UL); in TEST()
610 EXPECT_EQ(merged_entries_1["app3"].bytes[READ][BACKGROUND][CHARGER_OFF], 1000UL); in TEST()
646 .uid_ios.bytes[READ][FOREGROUND][CHARGER_OFF] = 2000, in TEST()
[all …]
/system/core/storaged/include/
Duid_info.h35 CHARGER_OFF = 0, enumerator