/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | SignalStrengthControllerTest.java | 90 private static final int CALLING_UID = 12345; field in SignalStrengthControllerTest 198 mSsc.setSignalStrengthUpdateRequest(INVALID_SUB_ID, CALLING_UID, in updateAlwaysReportSignalStrength_requestWithInvalidSubId_shouldBeFalse() 217 mSsc.setSignalStrengthUpdateRequest(ACTIVE_SUB_ID, CALLING_UID, in updateAlwaysReportSignalStrength_requestReportWhileIdle_shouldBeTrue() 236 mSsc.setSignalStrengthUpdateRequest(ACTIVE_SUB_ID, CALLING_UID, in updateAlwaysReportSignalStrength_requestReportSystemWhileIdle_shouldBeTrue() 277 mSsc.setSignalStrengthUpdateRequest(ACTIVE_SUB_ID, CALLING_UID, in shouldHonorSystemThresholds_deviceIdle_systemSignalRequest_returnTrue() 309 mSsc.setSignalStrengthUpdateRequest(ACTIVE_SUB_ID, CALLING_UID, in shouldEnableSignalThresholdForAppRequest_highPowered_matchedRequest_returnTrue() 333 mSsc.setSignalStrengthUpdateRequest(ACTIVE_SUB_ID, CALLING_UID, in enableSignalThresholdForAppRequest_idle_noReportInIdle_returnTrue() 357 mSsc.setSignalStrengthUpdateRequest(ACTIVE_SUB_ID, CALLING_UID, in shouldEnableSignalThresholdForAppRequest_idle_reportInIdle_returnTrue() 381 mSsc.setSignalStrengthUpdateRequest(ACTIVE_SUB_ID, CALLING_UID, in shouldEnableSignalThresholdForAppRequest_idle_reportSystemInIdle_returnTrue() 426 mSsc.setSignalStrengthUpdateRequest(ACTIVE_SUB_ID, CALLING_UID, in getConsolidatedSignalThresholds_consolidateAppsThresholdsWithSystem() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | BackgroundJobsControllerTest.java | 75 private static final int CALLING_UID = 1000; field in BackgroundJobsControllerTest 223 JobStatus proxyJob1 = createJobStatus("testStopped", SOURCE_PACKAGE, CALLING_UID, in testRestartedBroadcastWithoutStopping() 227 ALTERNATE_SOURCE_PACKAGE, CALLING_UID, in testRestartedBroadcastWithoutStopping() 264 JobStatus proxyJob1 = createJobStatus("testStopped", SOURCE_PACKAGE, CALLING_UID, in testStopped_disabled() 268 ALTERNATE_SOURCE_PACKAGE, CALLING_UID, in testStopped_disabled() 305 JobStatus proxyJob1 = createJobStatus("testStopped", SOURCE_PACKAGE, CALLING_UID, in testStopped_enabled() 309 ALTERNATE_SOURCE_PACKAGE, CALLING_UID, in testStopped_enabled()
|
D | BatteryControllerTest.java | 55 private static final int CALLING_UID = 1000; field in BatteryControllerTest 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()
|
D | StateControllerTest.java | 61 private static final int CALLING_UID = 1000; field in StateControllerTest 140 jobInfo, CALLING_UID, SOURCE_PACKAGE, SOURCE_USER_ID, "SCTest", testTag); in createJobStatus()
|
D | PrefetchControllerTest.java | 86 private static final int CALLING_UID = 1000; field in PrefetchControllerTest 188 return createJobStatus(testTag, SOURCE_PACKAGE, CALLING_UID, createJobInfo(jobId)); in createJobStatus()
|
D | QuotaControllerTest.java | 130 private static final int CALLING_UID = 1000; field in QuotaControllerTest 390 return createJobStatus(testTag, SOURCE_PACKAGE, CALLING_UID, jobInfo); in createJobStatus() 398 return createJobStatus(testTag, SOURCE_PACKAGE, CALLING_UID, jobInfo); in createExpeditedJobStatus()
|
/frameworks/base/services/robotests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplRoboTest.java | 93 private static final int CALLING_UID = 1111; field in CrossProfileAppsServiceImplRoboTest 133 when(mPackageManagerInternal.getInstalledApplications(anyInt(), anyInt(), eq(CALLING_UID))) in initializeInstalledApplicationsMock() 614 shadowOf(mContext).grantPermissions(Process.myPid(), CALLING_UID, permissions); in grantPermissions() local 618 shadowOf(mContext).denyPermissions(Process.myPid(), CALLING_UID, permissions); in denyPermissions() local 708 return CALLING_UID; in getCallingUid()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BinderCallsStatsTest.java | 68 private static final int CALLING_UID = 2; field in BinderCallsStatsTest 584 assertEquals(CALLING_UID, stat.callingUid); in testGetExportedStatsWhenDetailedTrackingEnabled() 662 assertEquals(CALLING_UID, callStats.callingUid); in testOverflow_overflowEntry() 1056 public int callingUid = CALLING_UID;
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/restrictions/ |
D | ThermalStatusRestrictionTest.java | 73 private static final int CALLING_UID = 1000; 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/ |
D | JobStatus.java | 2508 proto.write(JobStatusShortInfoProto.CALLING_UID, callingUid); in writeToShortProto() 3010 proto.write(JobStatusDumpProto.CALLING_UID, callingUid); in dump()
|