Home
last modified time | relevance | path

Searched refs:myUid (Results 1 – 16 of 16) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBinderTest.java86 assertThat(Binder.getCallingUid()).isEqualTo(android.os.Process.myUid()); in testGetCallingUidShouldUseProcessUidByDefault()
100 assertThat(Binder.getCallingUid()).isEqualTo(android.os.Process.myUid()); in testResetUpdatesCallingUidAndPid()
DShadowActivityManagerTest.java86 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()
DShadowProcessTest.java28 assertThat(android.os.Process.myUid()).isEqualTo(123); in shouldGetMyUidAsSet()
/external/dexmaker/dexmaker/src/main/java/com/android/dx/
DAppDataDirGuesser.java198 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/
DShadowBinder.java55 return android.os.Process.myUid(); in getCallingUid()
DShadowProcess.java35 protected static final int myUid() { in myUid() method in ShadowProcess
DShadowUserManager.java474 ? Process.myUid() in addUser()
484 userPidMap.put(UserHandle.USER_SYSTEM, Process.myUid()); in reset()
DShadowActivityManager.java108 processInfo.uid = Process.myUid(); in fillInProcessInfo()
DShadowContextImpl.java104 return checkPermission(permission, android.os.Process.myPid(), android.os.Process.myUid()); in checkCallingPermission()
DShadowInstrumentation.java697 grantPermissions(Process.myPid(), Process.myUid(), permissionNames);
710 denyPermissions(Process.myPid(), Process.myUid(), permissionNames);
DShadowNotificationManager.java88 android.os.Process.myUid() /* uid */, in getActiveNotifications()
DLegacyManifestParser.java147 pkg.applicationInfo.uid = Process.myUid(); in createPackage()
DShadowPackageManager.java810 packageInfo.applicationInfo.uid = Process.myUid(); in addPackageInternal()
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioUtils.java200 Process.myUid()) == PackageManager.PERMISSION_GRANTED; in hasPermission()
/external/dexmaker/dexmaker-tests/src/androidTest/java/com/android/dx/
DAppDataDirGuesserTest.java136 assertTrue(guesser.getProcessUid() == Process.myUid()); in testGetProcessUid()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/wifi/
DWifiAwareManagerFacade.java186 passphrase, port, transportProtocol, Process.myUid()); in getNetworkSpecifier()
621 Process.myUid()); in wifiAwareCreateNetworkSpecifier()
673 Process.myUid()); in wifiAwareCreateNetworkSpecifierOob()