Home
last modified time | relevance | path

Searched refs:SOURCE_USER_ID (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java132 private static final int SOURCE_USER_ID = 0; field in QuotaControllerTest
357 when(mUsageStatsManager.getAppStandbyBucket(eq(SOURCE_PACKAGE), eq(SOURCE_USER_ID), in setStandbyBucket()
359 mQuotaController.updateStandbyBucket(SOURCE_USER_ID, SOURCE_PACKAGE, bucketIndex); in setStandbyBucket()
404 jobInfo, callingUid, packageName, SOURCE_USER_ID, "QCTest", testTag); in createJobStatus()
877 SOURCE_USER_ID, SOURCE_PACKAGE, inputStats); in testUpdateExecutionStatsLocked_WithTimer()
880 SOURCE_USER_ID, SOURCE_PACKAGE, RARE_INDEX)); in testUpdateExecutionStatsLocked_WithTimer()
886 mQuotaController.saveTimingSession(SOURCE_USER_ID, SOURCE_PACKAGE, in testUpdateExecutionStatsLocked_WithTimer()
900 mQuotaController.updateExecutionStatsLocked(SOURCE_USER_ID, SOURCE_PACKAGE, inputStats); in testUpdateExecutionStatsLocked_WithTimer()
904 SOURCE_USER_ID, SOURCE_PACKAGE, RARE_INDEX)); in testUpdateExecutionStatsLocked_WithTimer()
925 mQuotaController.updateExecutionStatsLocked(SOURCE_USER_ID, SOURCE_PACKAGE, inputStats); in testUpdateExecutionStatsLocked_WithTimer()
[all …]
DPrefetchControllerTest.java85 private static final int SOURCE_USER_ID = 0; field in PrefetchControllerTest
194 jobInfo, callingUid, packageName, SOURCE_USER_ID, "PCTest", testTag); in createJobStatus()
275 .getEstimatedPackageLaunchTime(SOURCE_PACKAGE, SOURCE_USER_ID)) in testConstantsUpdating_ThresholdChangesAlarms()
301 .getEstimatedPackageLaunchTime(SOURCE_PACKAGE, SOURCE_USER_ID)) in testConstraintNotSatisfiedWhenLaunchLate()
305 .getEstimatedPackageLaunchTime(SOURCE_PACKAGE, SOURCE_USER_ID); in testConstraintNotSatisfiedWhenLaunchLate()
316 .getEstimatedPackageLaunchTime(SOURCE_PACKAGE, SOURCE_USER_ID)) in testConstraintSatisfiedWhenLaunchSoon()
320 .getEstimatedPackageLaunchTime(SOURCE_PACKAGE, SOURCE_USER_ID); in testConstraintSatisfiedWhenLaunchSoon()
338 .getEstimatedPackageLaunchTime(SOURCE_PACKAGE, SOURCE_USER_ID)) in testConstraintSatisfiedWhenTop()
342 .getEstimatedPackageLaunchTime(SOURCE_PACKAGE, SOURCE_USER_ID); in testConstraintSatisfiedWhenTop()
375 .getEstimatedPackageLaunchTime(SOURCE_PACKAGE, SOURCE_USER_ID)) in testConstraintSatisfiedWhenWidget()
[all …]
DStateControllerTest.java63 private static final int SOURCE_USER_ID = 0; field in StateControllerTest
140 jobInfo, CALLING_UID, SOURCE_PACKAGE, SOURCE_USER_ID, "SCTest", testTag); in createJobStatus()
DBackgroundJobsControllerTest.java81 private static final int SOURCE_USER_ID = 0; field in BackgroundJobsControllerTest
205 jobInfo, callingUid, packageName, SOURCE_USER_ID, "BJCTest", testTag); in createJobStatus()
DBatteryControllerTest.java57 private static final int SOURCE_USER_ID = 0; field in BatteryControllerTest
185 jobInfo, callingUid, packageName, SOURCE_USER_ID, "BCTest", testTag); in createJobStatus()
DTimeControllerTest.java75 private static final int SOURCE_USER_ID = 0; field in TimeControllerTest
142 jobInfo, 1000, SOURCE_PACKAGE, SOURCE_USER_ID, "TCTest", testTag); in createJobStatus()
DFlexibilityControllerTest.java120 private static final int SOURCE_USER_ID = 0; field in FlexibilityControllerTest
281 jobInfo, 1000, sourcePackage, SOURCE_USER_ID, "FCTest", testTag); in createJobStatus()
/frameworks/base/tests/JobSchedulerPerfTests/src/com/android/frameworks/perftests/job/
DJobStorePerfTests.java47 private static final int SOURCE_USER_ID = 0; field in JobStorePerfTests
211 jobInfo, callingUid, SOURCE_PACKAGE, SOURCE_USER_ID, null, testTag); in createJobStatus()
/frameworks/base/services/core/java/com/android/server/uri/
DGrantUri.java74 proto.write(GrantUriProto.SOURCE_USER_ID, sourceUserId); in dumpDebug()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DGrantedUriPermissions.java164 proto.write(GrantedUriPermissionsDumpProto.SOURCE_USER_ID, mSourceUserId); in dump()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/
DThermalStatusRestrictionTest.java75 private static final int SOURCE_USER_ID = 0; field in ThermalStatusRestrictionTest
622 jobInfo, CALLING_UID, SOURCE_PACKAGE, SOURCE_USER_ID, "TSRTest", testTag); in createJobStatus()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java3013 proto.write(JobStatusDumpProto.SOURCE_USER_ID, getSourceUserId()); in dump()