Home
last modified time | relevance | path

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

/cts/tests/tests/net/src/android/net/cts/
DCredentialsTest.java30 assertEquals(0, cred.getUid()); in testCredentials()
36 assertEquals(Integer.MAX_VALUE, cred.getUid()); in testCredentials()
42 assertEquals(Integer.MIN_VALUE, cred.getUid()); in testCredentials()
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DInputBindingTest.java39 assertEquals(uid, inputBinding.getUid()); in testInputBinding()
49 assertEquals(uid, target.getUid()); in testInputBinding()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DRemoteSocketFactoryClient.java88 public int getUid() throws RemoteException { in getUid() method in RemoteSocketFactoryClient
89 return mService.getUid(); in getUid()
DDataSaverModeTest.java157 uid = getUid(packageName); in testGetRestrictBackgroundStatus_requiredWhitelistedPackages()
DAbstractRestrictBackgroundNetworkTestCase.java96 mUid = getUid(TEST_APP2_PKG); in setUp()
97 final int myUid = getUid(mContext.getPackageName()); in setUp()
104 protected int getUid(String packageName) throws Exception { in getUid() method in AbstractRestrictBackgroundNetworkTestCase
DVpnTest.java485 mRemoteSocketFactoryClient.getUid(), Os.getuid())); in openSocketFdInOtherApp()
/cts/hostsidetests/net/aidl/com/android/cts/net/hostside/
DIRemoteSocketFactory.aidl24 int getUid(); in getUid() method
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
DCommon.java47 static int getUid(Context context) { in getUid() method in Common
DRemoteSocketFactoryService.java54 public int getUid() {
DMyBroadcastReceiver.java31 import static com.android.cts.net.hostside.app2.Common.getUid;
182 + Thread.currentThread().getName() + " for UID " + getUid(context) in checkNetworkStatus()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideRestrictBackgroundNetworkTests.java64 final int oldUid = getUid(TEST_APP2_PKG); in testDataSaverMode_reinstall()
74 final int newUid = getUid(TEST_APP2_PKG); in testDataSaverMode_reinstall()
DHostsideNetworkTestCase.java169 protected int getUid(String packageName) throws DeviceNotAvailableException { in getUid() method in HostsideNetworkTestCase
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DNetworkUsageStatsTest.java314 assertEquals(bucket.getUid(), NetworkStats.Bucket.UID_ALL); in testDeviceSummary()
346 assertEquals(bucket.getUid(), NetworkStats.Bucket.UID_ALL); in testUserSummary()
381 if (bucket.getUid() == Process.myUid()) { in testAppSummary()
436 if (bucket.getUid() == Process.myUid()) { in testAppDetails()
491 assertEquals(bucket.getUid(), Process.myUid()); in testUidDetails()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/
DFileUtils.java67 public int getUid() { in getUid() method in FileUtils.FileStatus
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/
DSuidFilesActivity.java133 FileUtils.getUserName(status.getUid()), in getMessage()
/cts/tools/dex-tools/dex/
Dclasses.out.dex42934 public int getUid()