Home
last modified time | relevance | path

Searched refs:SOURCE_PACKAGE (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DQuotaControllerTest.java131 private static final String SOURCE_PACKAGE = "com.android.frameworks.mockingservicestests"; field in QuotaControllerTest
266 mSourceUid = AppGlobals.getPackageManager().getPackageUid(SOURCE_PACKAGE, 0, 0); in setUp()
268 doReturn(new ArraySet<>(new String[]{SOURCE_PACKAGE})) in setUp()
357 when(mUsageStatsManager.getAppStandbyBucket(eq(SOURCE_PACKAGE), eq(SOURCE_USER_ID), in setStandbyBucket()
359 mQuotaController.updateStandbyBucket(SOURCE_USER_ID, SOURCE_PACKAGE, bucketIndex); in setStandbyBucket()
390 return createJobStatus(testTag, SOURCE_PACKAGE, CALLING_UID, jobInfo); in createJobStatus()
398 return createJobStatus(testTag, SOURCE_PACKAGE, CALLING_UID, jobInfo); in createExpeditedJobStatus()
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()
[all …]
DPrefetchControllerTest.java84 private static final String SOURCE_PACKAGE = "com.android.frameworks.mockingservicestests"; field in PrefetchControllerTest
188 return createJobStatus(testTag, SOURCE_PACKAGE, CALLING_UID, createJobInfo(jobId)); 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 …]
DBatteryControllerTest.java56 private static final String SOURCE_PACKAGE = "com.android.frameworks.mockingservicestests"; field in BatteryControllerTest
105 mSourceUid = AppGlobals.getPackageManager().getPackageUid(SOURCE_PACKAGE, 0, 0); in setUp()
107 doReturn(new ArraySet<>(new String[]{SOURCE_PACKAGE})) in setUp()
194 JobStatus job1 = createJobStatus("testBatteryNotLow", SOURCE_PACKAGE, CALLING_UID, in testBatteryNotLow()
196 JobStatus job2 = createJobStatus("testBatteryNotLow", SOURCE_PACKAGE, CALLING_UID, in testBatteryNotLow()
269 JobStatus job1 = createJobStatus("testCharging_BatteryNotLow", SOURCE_PACKAGE, CALLING_UID, in testCharging_BatteryNotLow()
273 JobStatus job2 = createJobStatus("testCharging_BatteryNotLow", SOURCE_PACKAGE, CALLING_UID, in testCharging_BatteryNotLow()
294 JobStatus jobFg = createJobStatus("testTopPowerConnectedExemption", SOURCE_PACKAGE, uid1, in testTopPowerConnectedExemption()
297 SOURCE_PACKAGE, uid1, in testTopPowerConnectedExemption()
299 JobStatus jobFgLow = createJobStatus("testTopPowerConnectedExemption", SOURCE_PACKAGE, uid1, in testTopPowerConnectedExemption()
[all …]
DBackgroundJobsControllerTest.java77 private static final String SOURCE_PACKAGE = "com.android.frameworks.mockingservicestests"; field in BackgroundJobsControllerTest
150 doReturn(new ArraySet<>(new String[]{SOURCE_PACKAGE})) in setUp()
155 setPackageUid(SOURCE_UID, SOURCE_PACKAGE); in setUp()
216 JobStatus directJob1 = createJobStatus("testStopped", SOURCE_PACKAGE, SOURCE_UID, in testRestartedBroadcastWithoutStopping()
217 createBaseJobInfoBuilder(SOURCE_PACKAGE, 1).build()); in testRestartedBroadcastWithoutStopping()
223 JobStatus proxyJob1 = createJobStatus("testStopped", SOURCE_PACKAGE, CALLING_UID, in testRestartedBroadcastWithoutStopping()
257 JobStatus directJob1 = createJobStatus("testStopped", SOURCE_PACKAGE, SOURCE_UID, in testStopped_disabled()
258 createBaseJobInfoBuilder(SOURCE_PACKAGE, 1).build()); in testStopped_disabled()
264 JobStatus proxyJob1 = createJobStatus("testStopped", SOURCE_PACKAGE, CALLING_UID, in testStopped_disabled()
298 JobStatus directJob1 = createJobStatus("testStopped", SOURCE_PACKAGE, SOURCE_UID, in testStopped_enabled()
[all …]
DStateControllerTest.java62 private static final String SOURCE_PACKAGE = "com.android.frameworks.mockingservicestests"; field in StateControllerTest
140 jobInfo, CALLING_UID, SOURCE_PACKAGE, SOURCE_USER_ID, "SCTest", testTag); in createJobStatus()
DFlexibilityControllerTest.java119 private static final String SOURCE_PACKAGE = "com.android.frameworks.mockingservicestests"; field in FlexibilityControllerTest
212 mSourceUid = AppGlobals.getPackageManager().getPackageUid(SOURCE_PACKAGE, 0, 0); in setup()
275 return createJobStatus(testTag, job, SOURCE_PACKAGE); in createJobStatus()
1137 setPowerWhitelistExceptIdle(SOURCE_PACKAGE); in testAllowlistedAppBypass()
1803 mFlexibilityController.getScoreLocked(mSourceUid, SOURCE_PACKAGE, nowElapsed)); in testScoreCalculation()
1807 mFlexibilityController.getScoreLocked(mSourceUid, SOURCE_PACKAGE, nowElapsed)); in testScoreCalculation()
1813 mFlexibilityController.getScoreLocked(mSourceUid, SOURCE_PACKAGE, nowElapsed)); in testScoreCalculation()
1819 mFlexibilityController.getScoreLocked(mSourceUid, SOURCE_PACKAGE, nowElapsed)); in testScoreCalculation()
1825 mFlexibilityController.getScoreLocked(mSourceUid, SOURCE_PACKAGE, nowElapsed)); in testScoreCalculation()
1831 mFlexibilityController.getScoreLocked(mSourceUid, SOURCE_PACKAGE, nowElapsed)); in testScoreCalculation()
[all …]
DTimeControllerTest.java74 private static final String SOURCE_PACKAGE = "com.android.frameworks.mockingservicestests"; field in TimeControllerTest
142 jobInfo, 1000, SOURCE_PACKAGE, SOURCE_USER_ID, "TCTest", testTag); in createJobStatus()
/frameworks/base/core/java/android/provider/
DVoicemailContract.java229 public static final String SOURCE_PACKAGE = SOURCE_PACKAGE_FIELD; field in VoicemailContract.Voicemails
456 contentValues.put(Voicemails.SOURCE_PACKAGE, voicemail.getSourcePackage()); in getContentValues()
492 public static final String SOURCE_PACKAGE = SOURCE_PACKAGE_FIELD; field in VoicemailContract.Status
/frameworks/base/tests/JobSchedulerPerfTests/src/com/android/frameworks/perftests/job/
DJobStorePerfTests.java46 private static final String SOURCE_PACKAGE = "com.android.frameworks.perftests.job"; field in JobStorePerfTests
211 jobInfo, callingUid, SOURCE_PACKAGE, SOURCE_USER_ID, null, testTag); in createJobStatus()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/
DThermalStatusRestrictionTest.java74 private static final String SOURCE_PACKAGE = "com.android.frameworks.mockingservicestests"; field in ThermalStatusRestrictionTest
622 jobInfo, CALLING_UID, SOURCE_PACKAGE, SOURCE_USER_ID, "TSRTest", testTag); in createJobStatus()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt25880 field public static final java.lang.String SOURCE_PACKAGE = "source_package";
25896 field public static final java.lang.String SOURCE_PACKAGE = "source_package";
/frameworks/base/core/api/
Dcurrent.txt38156 field public static final String SOURCE_PACKAGE = "source_package";
38184 field public static final String SOURCE_PACKAGE = "source_package";