Home
last modified time | relevance | path

Searched refs:recordUsage (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DNetworkCycleDataLoaderTest.java133 verify(mLoader).recordUsage(nowInMs, nowInMs); in loadPolicyData_shouldRecordUsageFromPolicyCycle()
157 verify(mLoader).recordUsage(fourWeeksAgo, now); in loadFourWeeksData_shouldRecordUsageForLast4Weeks()
176 verify(mLoader).recordUsage(tenDaysAgo, now); in loadDataForSpecificCycles_shouldRecordUsageForSpecifiedTime()
177 verify(mLoader).recordUsage(twentyDaysAgo, tenDaysAgo); in loadDataForSpecificCycles_shouldRecordUsageForSpecifiedTime()
178 verify(mLoader).recordUsage(thirtyDaysAgo, twentyDaysAgo); in loadDataForSpecificCycles_shouldRecordUsageForSpecifiedTime()
210 void recordUsage(long start, long end) { in recordUsage() method in NetworkCycleDataLoaderTest.NetworkCycleDataTestLoader
DNetworkCycleDataForUidLoaderTest.java85 mLoader.recordUsage(start, end); in recordUsage_shouldQueryNetworkDetailsForUidAndForegroundState()
100 mLoader.recordUsage(start, end); in recordUsage_retrieveDetailIsFalse_shouldNotQueryNetworkForegroundState()
117 mLoader.recordUsage(start, end); in recordUsage_multipleUids_shouldQueryNetworkDetailsForEachUid()
DNetworkCycleChartDataLoaderTest.java69 mLoader.recordUsage(start, end); in recordUsage_shouldQueryNetworkSummaryForDevice()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DNetworkCycleDataLoader.java86 recordUsage(cycleStart, cycleEnd); in loadPolicyData()
113 recordUsage(cycleStart, cycleEnd); in loadFourWeeksData()
127 recordUsage(cycleStart, cycleEnd); in loadDataForSpecificCycles()
133 abstract void recordUsage(long start, long end); in recordUsage() method in NetworkCycleDataLoader
DNetworkCycleChartDataLoader.java43 void recordUsage(long start, long end) { in recordUsage() method in NetworkCycleChartDataLoader
DNetworkCycleDataForUidLoader.java51 void recordUsage(long start, long end) { in recordUsage() method in NetworkCycleDataForUidLoader
/frameworks/native/services/inputflinger/
DInputDeviceMetricsCollector.cpp287 sessionIt->second.recordUsage(eventTime, source); in onInputDeviceUsage()
336 void InputDeviceMetricsCollector::ActiveSession::recordUsage(nanoseconds eventTime, in recordUsage() function in android::InputDeviceMetricsCollector::ActiveSession
DInputDeviceMetricsCollector.h152 void recordUsage(std::chrono::nanoseconds eventTime, InputDeviceUsageSource source);
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DAlarmManagerServiceTest.java3474 quotaReserve.recordUsage(package1, user1, startTime + i);
3475 quotaReserve.recordUsage(package1, user1, startTime + i);
3476 quotaReserve.recordUsage(package1, user1, startTime + i);
3477 quotaReserve.recordUsage(package1, user1, startTime + i);
3482 quotaReserve.recordUsage(package1, user1, startTime + quotaDuration);
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java437 void recordUsage(String packageName, int userId, long nowElapsed) { in recordUsage() method in AlarmManagerService.TemporaryQuotaReserve
5496 mTemporaryQuotaReserve.recordUsage(alarm.sourcePackage, userId, nowELAPSED); in deliverLocked()