Home
last modified time | relevance | path

Searched refs:setCallingUid (Results 1 – 20 of 20) 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.java452 ShadowBinder.setCallingUid(1); in testRestorePackage_whenCallerIsPackage()
475 ShadowBinder.setCallingUid(1); in testRestorePackage_whenPackageNullWhenCreated()
493 ShadowBinder.setCallingUid(uid); in testRestorePackage_whenCallerIsNotPackageAndPermissionGranted()
511 ShadowBinder.setCallingUid(uid); in testRestorePackage_whenCallerIsNotPackageAndPermissionDenied()
528 ShadowBinder.setCallingUid(uid); in testRestorePackage_whenPackageNotFound()
540 ShadowBinder.setCallingUid(1); in testRestorePackage_whenSessionEnded()
554 ShadowBinder.setCallingUid(1); in testRestorePackage_whenTransportNotRegistered()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStartController.java183 .setCallingUid(0) in startHomeActivity()
238 .setCallingUid(0) in startSetupActivity()
277 .setCallingUid(uid) in startActivityInPackage()
415 .setCallingUid(callingUid) in startActivities()
DRecentsAnimation.java158 .setCallingUid(recentsUid) in startRecentsActivity()
DActivityTaskManagerService.java1193 .setCallingUid(r.launchedFromUid) in startNextMatchingActivity()
1377 .setCallingUid(targetUid) in startActivityAsCaller()
1425 .setCallingUid(callingUid) in startVoiceActivity()
1445 .setCallingUid(callingUid) in startAssistantActivity()
DActivityStarter.java2812 ActivityStarter setCallingUid(int uid) { in setCallingUid() method in ActivityStarter
DActivityStack.java4322 .setCallingUid(callingUid) in navigateUpToLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java121 mTestInjector.setCallingUid(PACKAGE_ONE_UID); in setupCaller()
520 public void setCallingUid(int uid) { in setCallingUid() method in CrossProfileAppsServiceImplTest.TestInjector
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DBackupManagerServiceTestUtils.java141 ShadowBinder.setCallingUid(uid); in setUpBinderCallerAndApplicationAsSystem()
/frameworks/base/telephony/java/android/telephony/
DLocationAccessPolicy.java101 public Builder setCallingUid(int callingUid) { in setCallingUid() method in LocationAccessPolicy.LocationPermissionQuery.Builder
/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.java150 localProfile.setCallingUid(Binder.getCallingUid()); in open()
167 localProfile.setCallingUid(Binder.getCallingUid()); in open3()
272 localProfile.setCallingUid(Binder.getCallingUid()); in createSession()
/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/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java532 .setCallingUid(FAKE_CALLING_UID) in testActivityStartsLogging_logsWhenEnabled()
682 .setCallingUid(callingUid) in runAndVerifyBackgroundActivityStartsSubtest()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DUserBackupManagerServiceTest.java958 ShadowBinder.setCallingUid(1); in testBackupNow_clearsCallingIdentityForJobScheduler()
976 ShadowBinder.setCallingUid(1); in testBackupNow_whenExceptionThrown_restoresCallingIdentity()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkScanRequestTracker.java426 .setCallingUid(nsri.mUid) in receiveResult()
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java2222 .setCallingUid(Binder.getCallingUid()); in checkListenerPermission()
2361 .setCallingUid(r.callerUid) in checkFineLocationAccess()
2379 .setCallingUid(r.callerUid) in checkCoarseLocationAccess()
/frameworks/base/services/
Dart-profile15147 HSPLcom/android/server/wm/ActivityStarter;->setCallingUid(I)Lcom/android/server/wm/ActivityStarter;
/frameworks/base/config/
Dboot-image-profile.txt13969 HSPLandroid/telephony/LocationAccessPolicy$LocationPermissionQuery$Builder;->setCallingUid(I)Landro…
Dhiddenapi-greylist-max-o.txt48534 Landroid/net/sip/SipProfile;->setCallingUid(I)V