Searched refs:myUid (Results 1 – 16 of 16) sorted by relevance
/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 | 198 Method myUid = Class.forName("android.os.Process").getMethod("myUid"); in getProcessUid() local 201 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 | 474 ? Process.myUid() in addUser() 484 userPidMap.put(UserHandle.USER_SYSTEM, Process.myUid()); in reset()
|
D | ShadowActivityManager.java | 108 processInfo.uid = Process.myUid(); in fillInProcessInfo()
|
D | ShadowContextImpl.java | 104 return checkPermission(permission, android.os.Process.myPid(), android.os.Process.myUid()); in checkCallingPermission()
|
D | ShadowInstrumentation.java | 697 grantPermissions(Process.myPid(), Process.myUid(), permissionNames); 710 denyPermissions(Process.myPid(), Process.myUid(), permissionNames);
|
D | ShadowNotificationManager.java | 88 android.os.Process.myUid() /* uid */, in getActiveNotifications()
|
D | LegacyManifestParser.java | 147 pkg.applicationInfo.uid = Process.myUid(); in createPackage()
|
D | ShadowPackageManager.java | 810 packageInfo.applicationInfo.uid = Process.myUid(); in addPackageInternal()
|
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
D | WebRtcAudioUtils.java | 200 Process.myUid()) == PackageManager.PERMISSION_GRANTED; in hasPermission()
|
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/ |
D | AppDataDirGuesserTest.java | 136 assertTrue(guesser.getProcessUid() == Process.myUid()); in testGetProcessUid()
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/ |
D | WifiAwareManagerFacade.java | 186 passphrase, port, transportProtocol, Process.myUid()); in getNetworkSpecifier() 621 Process.myUid()); in wifiAwareCreateNetworkSpecifier() 673 Process.myUid()); in wifiAwareCreateNetworkSpecifierOob()
|