Home
last modified time | relevance | path

Searched refs:kOneMegaByte (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/cpp/watchdog/server/tests/
DOveruseConfigurationXmlHelperTest.cpp76 300 * kOneMegaByte, 150 * kOneMegaByte, in TEST()
77 500 * kOneMegaByte), in TEST()
79 {toPerStateIoOveruseThreshold("system.package.C", 400 * kOneMegaByte, in TEST()
80 100 * kOneMegaByte, 200 * kOneMegaByte), in TEST()
81 toPerStateIoOveruseThreshold("system.package.D", 1024 * kOneMegaByte, in TEST()
82 500 * kOneMegaByte, 2048 * kOneMegaByte)}, in TEST()
105 1024 * kOneMegaByte, 512 * kOneMegaByte, in TEST()
106 3072 * kOneMegaByte), in TEST()
108 {toPerStateIoOveruseThreshold("com.vendor.package.C", 400 * kOneMegaByte, in TEST()
109 100 * kOneMegaByte, 200 * kOneMegaByte), in TEST()
[all …]
/packages/services/Car/cpp/watchdog/server/src/
DOveruseConfigurationXmlHelper.cpp249 perStateBytes.foregroundBytes = megaBytes * kOneMegaByte; in readPerStateBytes()
252 perStateBytes.backgroundBytes = megaBytes * kOneMegaByte; in readPerStateBytes()
255 perStateBytes.garageModeBytes = megaBytes * kOneMegaByte; in readPerStateBytes()
522 perStateBytes.foregroundBytes / kOneMegaByte); in writePerStateBytes()
528 perStateBytes.backgroundBytes / kOneMegaByte); in writePerStateBytes()
534 writeStateElement(kStateIdGarageMode, perStateBytes.garageModeBytes / kOneMegaByte); in writePerStateBytes()
DOveruseConfigurationXmlHelper.h28 constexpr int64_t kOneMegaByte = 1024 * 1024; variable