/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBinderTest.java | 86 assertThat(Binder.getCallingUid()).isEqualTo(android.os.Process.myUid()); in testGetCallingUidShouldUseProcessUidByDefault() 100 assertThat(Binder.getCallingUid()).isEqualTo(android.os.Process.myUid()); in testResetUpdatesCallingUidAndPid()
|
D | ShadowActivityManagerTest.java | 86 assertThat(myInfo.uid).isEqualTo(android.os.Process.myUid()); in getRunningAppProcesses_shouldReturnProcessList() 158 assertThat(inState.uid).isEqualTo(Process.myUid()); in getMyMemoryState() 162 setState.uid = Process.myUid(); in getMyMemoryState()
|
D | ShadowProcessTest.java | 28 assertThat(android.os.Process.myUid()).isEqualTo(123); in shouldGetMyUidAsSet()
|
/external/dexmaker/dexmaker/src/main/java/com/android/dx/ |
D | AppDataDirGuesser.java | 209 Method myUid = Class.forName("android.os.Process").getMethod("myUid"); in getProcessUid() local 212 return (Integer) myUid.invoke(/* instance= */ null); in getProcessUid()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowBinder.java | 55 return android.os.Process.myUid(); in getCallingUid()
|
D | ShadowProcess.java | 35 protected static final int myUid() { in myUid() method in ShadowProcess
|
D | ShadowUserManager.java | 620 ? Process.myUid() in addUser() 630 userPidMap.put(UserHandle.USER_SYSTEM, Process.myUid()); in reset()
|
D | ShadowActivityManager.java | 108 processInfo.uid = Process.myUid(); in fillInProcessInfo()
|
D | ShadowNotificationManager.java | 88 android.os.Process.myUid() /* uid */, in getActiveNotifications()
|
D | ShadowInstrumentation.java | 702 grantPermissions(Process.myPid(), Process.myUid(), permissionNames); 715 denyPermissions(Process.myPid(), Process.myUid(), permissionNames);
|
D | ShadowContextImpl.java | 105 return checkPermission(permission, android.os.Process.myPid(), android.os.Process.myUid()); in checkCallingPermission()
|
D | LegacyManifestParser.java | 147 pkg.applicationInfo.uid = Process.myUid(); in createPackage()
|
D | ShadowPackageManager.java | 818 packageInfo.applicationInfo.uid = Process.myUid(); in addPackageInternal()
|
/external/connectedappssdk/tests/shared/src/main/java/com/google/android/enterprise/connectedapps/testapp/types/ |
D | TestCrossProfileTypeWhichNeedsContext.java | 148 return android.os.Process.myUid() / 100000; in getUserId()
|
D | TestCrossProfileType.java | 548 return android.os.Process.myUid() / 100000; in getUserId()
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
D | AppDataDirGuesserTest.java | 171 assertTrue(guesser.getProcessUid() == Process.myUid()); in testGetProcessUid()
|
/external/setupcompat/main/java/com/google/android/setupcompat/portal/ |
D | PortalHelper.java | 222 return UserHandle.getUserHandleForUid(Process.myUid()); in getCurrentUserHandle()
|
/external/webrtc/examples/androidapp/src/org/appspot/apprtc/ |
D | AppRTCBluetoothManager.java | 417 return apprtcContext.checkPermission(permission, Process.myPid(), Process.myUid()) in hasPermission()
|
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/ |
D | Camera2BasicFragment.java | 638 if (getActivity().checkPermission(permission, Process.myPid(), Process.myUid()) in allPermissionsGranted()
|