Home
last modified time | relevance | path

Searched refs:ios (Results 1 – 18 of 18) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DUidIoStatsTest.cpp55 .ios = {/*fgRdBytes=*/3000, /*bgRdBytes=*/0, /*fgWrBytes=*/500, in TEST()
57 {1005678, {.uid = 1005678, .ios = {30, 100, 50, 200, 45, 60}}}, in TEST()
58 {1009, {.uid = 1009, .ios = {0, 20000, 0, 30000, 0, 300}}}, in TEST()
59 {1001000, {.uid = 1001000, .ios = {2000, 200, 1000, 100, 50, 10}}}}; in TEST()
80 .ios = {/*fgRdBytes=*/4000, /*bgRdBytes=*/0, in TEST()
83 {1005678, {.uid = 1005678, .ios = {10, 900, 0, 400, 5, 10}}}, in TEST()
84 {1003456, {.uid = 1003456, .ios = {200, 0, 300, 0, 50, 0}}}}; in TEST()
DIoPerfCollectionTest.cpp188 {1009, {.uid = 1009, .ios = {0, 14000, 0, 16000, 0, 100}}}, in TEST()
256 {1009, {.uid = 1009, .ios = {0, 14000, 0, 16000, 0, 100}}}, in TEST()
330 {1009, {.uid = 1009, .ios = {0, 14000, 0, 16000, 0, 100}}}, in TEST()
331 {2001, {.uid = 2001, .ios = {0, 3400, 0, 6700, 0, 200}}}, in TEST()
332 {3456, {.uid = 3456, .ios = {0, 4200, 0, 5600, 0, 300}}}, in TEST()
429 {1001234, {.uid = 1001234, .ios = {3000, 0, 500, 0, 20, 0}}}, in TEST()
430 {1005678, {.uid = 1005678, .ios = {30, 100, 50, 200, 45, 60}}}, in TEST()
431 {1009, {.uid = 1009, .ios = {0, 20000, 0, 30000, 0, 300}}}, in TEST()
432 {1001000, {.uid = 1001000, .ios = {2000, 200, 1000, 100, 50, 10}}}, in TEST()
475 {1001234, {.uid = 1001234, .ios = {4000, 0, 450, 0, 25, 0}}}, in TEST()
[all …]
DMockUidIoStats.h43 for (const auto& [uid, ios] : deltaStats) { in expectDeltaStats()
44 stats[uid] = UidIoUsage{.uid = uid, .ios = ios}; in expectDeltaStats()
/packages/services/Car/cpp/watchdog/server/src/
DIoPerfCollection.cpp429 curUsage.ios.metrics[READ_BYTES][FOREGROUND]; in processUidIoPerfData()
431 curUsage.ios.metrics[READ_BYTES][BACKGROUND]; in processUidIoPerfData()
433 curUsage.ios.metrics[WRITE_BYTES][FOREGROUND]; in processUidIoPerfData()
435 curUsage.ios.metrics[WRITE_BYTES][BACKGROUND]; in processUidIoPerfData()
437 curUsage.ios.metrics[FSYNC_COUNT][FOREGROUND]; in processUidIoPerfData()
439 curUsage.ios.metrics[FSYNC_COUNT][BACKGROUND]; in processUidIoPerfData()
443 if (curRead->ios.sumReadBytes() < curUsage.ios.sumReadBytes()) { in processUidIoPerfData()
453 if (curWrite->ios.sumWriteBytes() < curUsage.ios.sumWriteBytes()) { in processUidIoPerfData()
467 if (usage->ios.isZero()) { in processUidIoPerfData()
475 .bytes = {usage->ios.metrics[READ_BYTES][FOREGROUND], in processUidIoPerfData()
[all …]
DUidIoStats.cpp51 !ParseInt(fields[3], &usage->ios.metrics[READ_BYTES][FOREGROUND]) || in parseUidIoStats()
52 !ParseInt(fields[4], &usage->ios.metrics[WRITE_BYTES][FOREGROUND]) || in parseUidIoStats()
53 !ParseInt(fields[7], &usage->ios.metrics[READ_BYTES][BACKGROUND]) || in parseUidIoStats()
54 !ParseInt(fields[8], &usage->ios.metrics[WRITE_BYTES][BACKGROUND]) || in parseUidIoStats()
55 !ParseInt(fields[9], &usage->ios.metrics[FSYNC_COUNT][FOREGROUND]) || in parseUidIoStats()
56 !ParseInt(fields[10], &usage->ios.metrics[FSYNC_COUNT][BACKGROUND])) { in parseUidIoStats()
118 if (curUsage.ios.isZero()) { in collect()
122 if (curUsage -= mLatestUidIoUsages[it.first]; curUsage.ios.isZero()) { in collect()
DUidIoStats.h86 IoUsage ios = {}; member
88 ios -= rhs.ios;
91 bool operator==(const UidIoUsage& rhs) const { return uid == rhs.uid && ios == rhs.ios; }
93 return android::base::StringPrintf("Uid: %d, Usage: {%s}", uid, ios.toString().c_str()); in toString()
DIoOveruseMonitor.cpp205 if (it->second.ios.sumWriteBytes() == 0) { in onPeriodicCollection()
223 UserPackageIoUsage curUsage(packageInfo->second, uidIoStats.ios, isGarageModeActive); in onPeriodicCollection()
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/
DPgmImage.cpp111 ifstream in(filename.c_str(),std::ios::in | std::ios::binary); in ReadPGM()
195 ofstream out(filename.c_str(),std::ios::out |ios::binary); in WritePGM()
Ddbregtest.cpp124 ifstream in(image_list_file_name.c_str(),ios::in); in main()
/packages/services/Car/cpp/evs/manager/1.1/emul/
DVideoCapture.cpp65 std::ifstream source(filename, ios::in | ios::binary); in fillBufferFromPng()
355 std::ifstream fin(mSrcIter->path(), ios::in | ios::binary); in collectFrames()
/packages/modules/Connectivity/tests/cts/net/native/src/
DBpfCompatTest.cpp31 std::ifstream elfFile(elfPath, std::ios::in | std::ios::binary); in doBpfStructSizeTest()
/packages/modules/adb/client/
Dadb_wifi.cpp109 std::ifstream file(path, std::ios::binary); in load_known_hosts_from_file()
/packages/modules/StatsD/statsd/src/storage/
DStorageManager.cpp714 file.seekg(0, ios::end); in trimToFit()
765 file.seekg(0, ios::end); in printDirStats()
/packages/inputmethods/LatinIME/dictionaries/
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dro_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1393228134, ...