/cts/tests/tests/net/src/android/net/cts/ |
D | CredentialsTest.java | 30 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/hostsidetests/incident/src/com/android/server/cts/ |
D | AlarmManagerIncidentTest.java | 74 assertTrue(0 <= r.getUid()); in verifyAlarmManagerServiceDumpProto() 132 assertTrue(0 <= f.getUid()); in verifyAlarmManagerServiceDumpProto() 142 assertTrue(0 <= l.getUid()); in verifyAlarmManagerServiceDumpProto() 147 assertTrue(0 <= ta.getUid()); in verifyAlarmManagerServiceDumpProto() 159 assertTrue(0 <= id.getUid()); in verifyAlarmManagerServiceDumpProto() 168 assertTrue(0 <= we.getUid()); in verifyAlarmManagerServiceDumpProto() 195 assertTrue(0 <= broadcast.getUid()); in testBroadcastStatsProto()
|
D | PowerIncidentTest.java | 79 assertEquals(uid.getUid(), SYSTEM_UID); in verifyPowerManagerServiceDumpProto() 84 assertTrue(0 <= us.getUid()); in verifyPowerManagerServiceDumpProto() 114 assertTrue(0 <= wl.getUid()); in verifyPowerManagerServiceDumpProto()
|
D | PackageIncidentTest.java | 75 assertEquals(testPackage.getUid(), uid); in testPackageServiceDump() 108 if (user.getUid() == 1000) { in verifyPackageServiceDumpProto()
|
D | NotificationIncidentTest.java | 116 assertTrue(rp.getUid() == -10000 || rp.getUid() >= 0); in verifyRecordProto()
|
D | JobSchedulerIncidentTest.java | 58 assertTrue(0 <= po.getUid()); in verifyJobSchedulerServiceDumpProto() 126 assertTrue(0 <= pe.getUid()); in testDataSetProto() 152 assertTrue(0 <= he.getUid()); in testJobPackageHistoryProto()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | UidAtomTests.java | 110 assertEquals(getUid(), atom.getUid()); in testLmkKillOccurred() 298 int uid = getUid(); in testHiddenApiUsed() 299 assertEquals(uid, atom.getUid()); in testHiddenApiUsed() 360 int uid = getUid(); in testCpuTimePerUid() 362 if (atom.getCpuTimePerUid().getUid() == uid) { in testCpuTimePerUid() 395 int uid = getUid(); in testCpuActiveTime() 398 if (atom.getCpuActiveTime().getUid() == uid) { in testCpuActiveTime() 449 int uid = getUid(); in testDeviceCalculatedPowerBlameUid() 453 if (item.getUid() == uid) { in testDeviceCalculatedPowerBlameUid() 993 int uid = getUid(); in testBinderStats() [all …]
|
D | DeviceAtomTestCase.java | 102 int appUid = getUid(); in doDeviceMethod() 143 fvmUid = createFvm(UID_KEY).setEqInt(getUid()); in addAtomEvent() 162 protected int getUid() throws Exception { in getUid() method in DeviceAtomTestCase 179 LogUtil.CLog.i("Installing device-side test app with uid " + getUid()); in installTestApp()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/ |
D | BatteryStatsValidationTests.java | 149 int uid = getUid(); in testPowerBlameUid() 153 if (item.getUid() == uid) { in testPowerBlameUid() 166 if (uidProto.getUid() == uid) { in testPowerBlameUid() 196 int uid = getUid(); in testServiceStartCount() 209 if (uidProto.getUid() == uid) { in testServiceStartCount() 240 int uid = getUid(); in testServiceLaunchCount() 253 if (uidProto.getUid() == uid) { in testServiceLaunchCount()
|
D | ValidationTests.java | 128 int uid = getUid(); in testPartialWakelock() 168 final int EXPECTED_UID = getUid(); 230 final int EXPECTED_UID = getUid(); in testPartialWakelockLoad() 351 if (uidProto.getUid() == uid) { in getBatteryStatsPartialWakelock()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/uidmap/ |
D | UidMapTests.java | 59 if (change.getAppHash() == DEVICE_SIDE_TEST_PKG_HASH && change.getUid() == uid) { in hasMatchingChange() 87 int uid = getUid(); in testChangeFromInstallation() 114 int uid = getUid(); in testChangeFromReinstall() 131 int uid = getUid(); in testChangeFromUninstall()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputBindingTest.java | 50 assertEquals(uid, inputBinding.getUid()); in testInputBinding() 60 assertEquals(uid, target.getUid()); in testInputBinding()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | RemoteSocketFactoryClient.java | 97 public int getUid() throws RemoteException { in getUid() method in RemoteSocketFactoryClient 98 return mService.getUid(); in getUid()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaSession2Test.java | 216 assertEquals(Process.myUid(), token.getUid()); in testSession2Token() 251 assertEquals(Process.myUid(), controllerInfo.getUid()); in testGetConnectedControllers_newController() 298 assertEquals(Process.myUid(), tokenOut.getUid()); in testSession2Token_writeToParcel() 396 assertEquals(Process.myUid(), remoteUserInfo.getUid()); in testCallback_onConnect_onDisconnect() 422 assertEquals(Process.myUid(), sessionCallback.mController.getUid()); in testCallback_onPostConnect_connected() 692 if (controller.getUid() != Process.myUid()) { in onConnect() 704 if (controller.getUid() != Process.myUid()) { in onPostConnect() 715 if (controller.getUid() != Process.myUid()) { in onDisconnected() 727 if (controller.getUid() != Process.myUid()) { in onSessionCommand() 750 if (controller.getUid() != Process.myUid()) { in onCommandResult()
|
D | Utils.java | 143 && a.getUid() == b.getUid(); in compareRemoteUserInfo()
|
D | StubMediaSession2Service.java | 113 if (controller.getUid() == Process.myUid()) { in onGetSession()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/metadata/ |
D | MetadataTests.java | 62 if (stats.getId() == CONFIG_ID && stats.getUid() == getHostUid()) { in testConfigTtl() 81 if (stats.getId() == CONFIG_ID && stats.getUid() == getHostUid()) { in testConfigTtl()
|
/cts/hostsidetests/net/aidl/com/android/cts/net/hostside/ |
D | IRemoteSocketFactory.aidl | 24 int getUid(); in getUid() method
|
/cts/tests/app/src/android/app/cts/ |
D | StatusBarNotificationTest.java | 48 assertEquals(UID, mSbn.getUid()); in testGetUid() 166 assertEquals(UID, clone.getUid()); in testClone()
|
D | ServiceTest.java | 259 public int getUid() { in getUid() method in ServiceTest.IsolatedConnection 1351 int getUid() { in getUid() method in ServiceTest.LruOrderItem 1352 return mInfo != null ? mInfo.getConnection().getUid() : mUid; in getUid() 1443 Log.i("XXXXXXXX", "Expecting uid: " + lru.getUid()); in verifyLruOrder() 1445 if (procUid != lru.getUid()) { in verifyLruOrder() 1452 if (procUid == lru.getUid()) { in verifyLruOrder() 1457 if (procUid != lru.getUid()) { in verifyLruOrder() 1459 fail("Didn't find expected LRU proc uid=" + lru.getUid()); in verifyLruOrder() 1461 fail("Expected proc uid=" + lru.getUid() + " at found proc " in verifyLruOrder()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | NetworkUsageStatsTest.java | 366 assertEquals(bucket.getUid(), UID_ALL); in testDeviceSummary() 401 assertEquals(bucket.getUid(), UID_ALL); in testUserSummary() 446 if (bucket.getUid() == Process.myUid()) { in testAppSummary() 551 assertEquals(bucket.getUid(), Process.myUid()); in testUidDetails() 604 assertEquals(bucket.getUid(), Process.myUid()); in testTagDetails() 681 bucket.getUid(), tagToString(bucket.getTag()), stateToString(bucket.getState()), in assertAlmostNoUnexpectedTraffic() 825 if (bucket.getUid() == Process.myUid()) { in getTotalAndAssertNotEmpty()
|
/cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/ |
D | RemoteSocketFactoryService.java | 54 public int getUid() {
|
D | Common.java | 55 static int getUid(Context context) { in getUid() method in Common
|
D | MyBroadcastReceiver.java | 32 import static com.android.cts.net.hostside.app2.Common.getUid; 162 + Thread.currentThread().getName() + " for UID " + getUid(context) in checkNetworkStatus()
|
/cts/hostsidetests/net/src/com/android/cts/net/ |
D | HostsideRestrictBackgroundNetworkTests.java | 64 final int oldUid = getUid(TEST_APP2_PKG); in testDataSaverMode_reinstall() 74 final int newUid = getUid(TEST_APP2_PKG); in testDataSaverMode_reinstall()
|