Home
last modified time | relevance | path

Searched refs:setCallingUid (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBinder.java40 setCallingUid(LOCAL_UID); in clearCallingIdentity()
46 setCallingUid(originalCallingUid); in restoreCallingIdentity()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java453 ShadowBinder.setCallingUid(1); in testRestorePackage_whenCallerIsPackage()
476 ShadowBinder.setCallingUid(1); in testRestorePackage_whenPackageNullWhenCreated()
494 ShadowBinder.setCallingUid(uid); in testRestorePackage_whenCallerIsNotPackageAndPermissionGranted()
512 ShadowBinder.setCallingUid(uid); in testRestorePackage_whenCallerIsNotPackageAndPermissionDenied()
529 ShadowBinder.setCallingUid(uid); in testRestorePackage_whenPackageNotFound()
541 ShadowBinder.setCallingUid(1); in testRestorePackage_whenSessionEnded()
555 ShadowBinder.setCallingUid(1); in testRestorePackage_whenTransportNotRegistered()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartController.java203 .setCallingUid(0) in startHomeActivity()
255 .setCallingUid(0) in startSetupActivity()
295 .setCallingUid(uid) in startActivityInPackage()
452 .setCallingUid(callingUid) in startActivities()
DRecentsAnimation.java447 .setCallingUid(mRecentsUid) in startRecentsActivityInBackground()
DActivityTaskManagerService.java1235 .setCallingUid(r.launchedFromUid) in startNextMatchingActivity()
1298 .setCallingUid(callingUid) in startDreamActivity()
1485 .setCallingUid(targetUid) in startActivityAsCaller()
1535 .setCallingUid(callingUid) in startVoiceActivity()
1558 .setCallingUid(callingUid) in startAssistantActivity()
DActivityStarter.java2723 ActivityStarter setCallingUid(int uid) { in setCallingUid() method in ActivityStarter
DActivityStack.java2423 .setCallingUid(callingUid) in navigateUpTo()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DBackupManagerServiceTestUtils.java141 ShadowBinder.setCallingUid(uid); in setUpBinderCallerAndApplicationAsSystem()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java139 mTestInjector.setCallingUid(PACKAGE_ONE_UID); in setupCaller()
596 public void setCallingUid(int uid) { in setCallingUid() method in CrossProfileAppsServiceImplTest.TestInjector
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java485 public void setCallingUid(int uid) { in setCallingUid() method in SipProfile
/frameworks/opt/net/voip/src/java/com/android/server/sip/
DSipService.java152 localProfile.setCallingUid(Binder.getCallingUid()); in open()
169 localProfile.setCallingUid(Binder.getCallingUid()); in open3()
274 localProfile.setCallingUid(Binder.getCallingUid()); in createSession()
/frameworks/base/telephony/common/android/telephony/
DLocationAccessPolicy.java113 public Builder setCallingUid(int callingUid) { in setCallingUid() method in LocationAccessPolicy.LocationPermissionQuery.Builder
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderCallsStatsTest.java701 bcs.setCallingUid(1); in testTrackCallingUidDisabled()
706 bcs.setCallingUid(2); in testTrackCallingUidDisabled()
802 protected void setCallingUid(int uid) { in setCallingUid() method in BinderCallsStatsTest.TestBinderCallsStats
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DBackupManagerServiceRoboTest.java122 ShadowBinder.setCallingUid(Process.SYSTEM_UID); in setUp()
157 ShadowBinder.setCallingUid(Process.SYSTEM_UID); in testStopServiceForUser_forRegisteredUser_unregistersCorrectUser()
186 ShadowBinder.setCallingUid(Process.SYSTEM_UID); in testStopServiceForUser_forUnknownUser_doesNothing()
DUserBackupManagerServiceTest.java990 ShadowBinder.setCallingUid(1); in testBackupNow_clearsCallingIdentityForJobScheduler()
1008 ShadowBinder.setCallingUid(1); in testBackupNow_whenExceptionThrown_restoresCallingIdentity()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java527 .setCallingUid(FAKE_CALLING_UID) in testActivityStartsLogging_logsWhenEnabled()
680 .setCallingUid(callingUid) in runAndVerifyBackgroundActivityStartsSubtest()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkScanRequestTracker.java444 .setCallingUid(nsri.mUid) in receiveResult()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java2625 .setCallingUid(Binder.getCallingUid()); in checkListenerPermission()
2768 .setCallingUid(r.callerUid) in checkFineLocationAccess()
2786 .setCallingUid(r.callerUid) in checkCoarseLocationAccess()
/frameworks/base/config/
Dboot-image-profile.txt18703 HSPLandroid/telephony/LocationAccessPolicy$LocationPermissionQuery$Builder;->setCallingUid(I)Landro…
/frameworks/base/services/
Dart-profile35392 HSPLcom/android/server/wm/ActivityStarter;->setCallingUid(I)Lcom/android/server/wm/ActivityStarter;
/frameworks/base/api/
Dcurrent.txt30992 method public void setCallingUid(int);