Searched refs:getCallingUid (Results 1 – 5 of 5) sorted by relevance
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBinderTest.java | 75 assertThat(Binder.getCallingUid()).isEqualTo(37); in testSetCallingUid() 86 assertThat(Binder.getCallingUid()).isEqualTo(android.os.Process.myUid()); in testGetCallingUidShouldUseProcessUidByDefault() 100 assertThat(Binder.getCallingUid()).isEqualTo(android.os.Process.myUid()); in testResetUpdatesCallingUidAndPid()
|
D | ShadowAppOpsManagerTest.java | 112 appOps.setMode(OP_GPS, Binder.getCallingUid(), PACKAGE_NAME1, MODE_DEFAULT); in setMode_withModeDefault_atLeastO_noteProxyOpNoThrow_shouldReturnModeDefault() 120 appOps.setMode(OP_GPS, Binder.getCallingUid(), PACKAGE_NAME1, MODE_ERRORED); in setMode_noteProxyOpNoThrow_atLeastO()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBinder.java | 51 protected static final int getCallingUid() { in getCallingUid() method in ShadowBinder
|
D | ShadowAppOpsManager.java | 165 mStoredOps.put(getInternalKey(Binder.getCallingUid(), proxiedPackageName), op); in noteProxyOpNoThrow() 166 return checkOpNoThrow(op, Binder.getCallingUid(), proxiedPackageName); in noteProxyOpNoThrow()
|
D | ShadowPackageManager.java | 558 packagesForUid.put(Binder.getCallingUid(), packagesForCallingUid); in setPackagesForCallingUid() 560 uidForPackage.put(packageName, Binder.getCallingUid()); in setPackagesForCallingUid()
|