/frameworks/base/services/usage/java/com/android/server/usage/ |
D | BroadcastEvent.java | 30 private int mSourceUid; field in BroadcastEvent 38 mSourceUid = sourceUid; in BroadcastEvent() 46 return mSourceUid; in getSourceUid() 78 return this.mSourceUid == other.mSourceUid in equals() 86 return Objects.hash(mSourceUid, mTargetPackage, mTargetUserId, in hashCode() 93 + "srcUid=" + mSourceUid in toString()
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | AutofillUriGrantsManager.java | 54 private final int mSourceUid; field in AutofillUriGrantsManager 70 mSourceUid = serviceUid; in AutofillUriGrantsManager() 71 mSourceUserId = UserHandle.getUserId(mSourceUid); in AutofillUriGrantsManager() 104 + ", sourceUid=" + mSourceUid + ", sourceUserId=" + sourceUserId in grantUriPermissions() 113 mSourceUid, in grantUriPermissions() 121 + ", sourceUid=" + mSourceUid + ", sourceUserId=" + sourceUserId in grantUriPermissions()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | BatteryControllerTest.java | 62 private int mSourceUid; field in BatteryControllerTest 105 mSourceUid = AppGlobals.getPackageManager().getPackageUid(SOURCE_PACKAGE, 0, 0); in setUp() 108 .when(mJobSchedulerService).getPackagesForUidLocked(mSourceUid); in setUp() 291 final int uid1 = mSourceUid; in testTopPowerConnectedExemption() 292 final int uid2 = mSourceUid + 1; in testTopPowerConnectedExemption() 293 final int uid3 = mSourceUid + 2; in testTopPowerConnectedExemption() 373 SOURCE_PACKAGE, mSourceUid, in testControllerOnlyTracksPowerJobs() 376 SOURCE_PACKAGE, mSourceUid, in testControllerOnlyTracksPowerJobs() 379 SOURCE_PACKAGE, mSourceUid, in testControllerOnlyTracksPowerJobs() 385 SOURCE_PACKAGE, mSourceUid, createBaseJobInfoBuilder(4).build()); in testControllerOnlyTracksPowerJobs() [all …]
|
D | FlexibilityControllerTest.java | 132 private int mSourceUid; field in FlexibilityControllerTest 212 mSourceUid = AppGlobals.getPackageManager().getPackageUid(SOURCE_PACKAGE, 0, 0); in setup() 1299 doReturn(JobInfo.BIAS_DEFAULT).when(mJobSchedulerService).getUidBias(mSourceUid); in testForegroundAppBypass() 1307 setUidBias(mSourceUid, JobInfo.BIAS_BOUND_FOREGROUND_SERVICE); in testForegroundAppBypass() 1315 setUidBias(mSourceUid, JobInfo.BIAS_FOREGROUND_SERVICE); in testForegroundAppBypass() 1331 doReturn(JobInfo.BIAS_DEFAULT).when(mJobSchedulerService).getUidBias(mSourceUid); in testTopAppBypass() 1337 setUidBias(mSourceUid, JobInfo.BIAS_TOP_APP); in testTopAppBypass() 1342 setUidBias(mSourceUid, JobInfo.BIAS_SYNC_INITIALIZATION); in testTopAppBypass() 1803 mFlexibilityController.getScoreLocked(mSourceUid, SOURCE_PACKAGE, nowElapsed)); in testScoreCalculation() 1807 mFlexibilityController.getScoreLocked(mSourceUid, SOURCE_PACKAGE, nowElapsed)); in testScoreCalculation() [all …]
|
D | QuotaControllerTest.java | 137 private int mSourceUid; field in QuotaControllerTest 266 mSourceUid = AppGlobals.getPackageManager().getPackageUid(SOURCE_PACKAGE, 0, 0); in setUp() 269 .when(mJobSchedulerService).getPackagesForUidLocked(mSourceUid); in setUp() 307 setProcessState(procState, mSourceUid); in setProcessState() 2690 mTempAllowlistListener.onAppAdded(mSourceUid); in testIsWithinEJQuotaLocked_TempAllowlisting() 2695 mTempAllowlistListener.onAppRemoved(mSourceUid); in testIsWithinEJQuotaLocked_TempAllowlisting() 2735 mTempAllowlistListener.onAppAdded(mSourceUid); in testIsWithinEJQuotaLocked_TempAllowlisting_Restricted() 2740 mTempAllowlistListener.onAppRemoved(mSourceUid); in testIsWithinEJQuotaLocked_TempAllowlisting_Restricted() 4481 mTempAllowlistListener.onAppAdded(mSourceUid); in testTimerTracking_TempAllowlisting() 4496 mTempAllowlistListener.onAppAdded(mSourceUid); in testTimerTracking_TempAllowlisting() [all …]
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputContentUriTokenHandler.java | 37 private final int mSourceUid; field in InputContentUriTokenHandler 54 mSourceUid = sourceUid; in InputContentUriTokenHandler() 80 permissionOwner, mSourceUid, mTargetPackage, mUri, in doTakeLocked()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DragAndDropPermissionsHandler.java | 41 private final int mSourceUid; field in DragAndDropPermissionsHandler 55 mSourceUid = sourceUid; in DragAndDropPermissionsHandler() 86 permissionOwner, mSourceUid, mTargetPackage, mUris.get(i), mMode, in doTake()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveInstrumentation.java | 77 int mSourceUid; field in ActiveInstrumentation
|
D | AccessCheckDelegateHelper.java | 158 if (instr.mSourceUid != Process.ROOT_UID || instr.mUiAutomationConnection == null) { in addOverridePermissionState()
|
D | ProcessRecord.java | 996 isInstrumenting ? instr.mSourceUid : -1, in setActiveInstrumentation()
|