/cts/hostsidetests/statsd/src/android/cts/statsd/atom/ |
D | UidAtomTests.java | 108 assertEquals(getUid(), atom.getUid()); in testLmkKillOccurred() 296 int uid = getUid(); in testHiddenApiUsed() 297 assertEquals(uid, atom.getUid()); in testHiddenApiUsed() 358 int uid = getUid(); in testCpuTimePerUid() 360 if (atom.getCpuTimePerUid().getUid() == uid) { in testCpuTimePerUid() 411 int uid = getUid(); in testDeviceCalculatedPowerBlameUid() 415 if (item.getUid() == uid) { in testDeviceCalculatedPowerBlameUid() 963 int uid = getUid(); in testBinderStats() 972 if (calls.getUid() == uid && classMatches && methodMatches) { in testBinderStats() 1015 int uid = getUid(); in testLooperStats() [all …]
|
D | DeviceAtomTestCase.java | 103 int appUid = getUid(); in doDeviceMethod() 144 fvmUid = createFvm(UID_KEY).setEqInt(getUid()); in addAtomEvent() 163 protected int getUid() throws Exception { in getUid() method in DeviceAtomTestCase 180 LogUtil.CLog.i("Installing device-side test app with uid " + getUid()); in installTestApp()
|
/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 | 126 assertTrue(rp.getUid() == -10000 || rp.getUid() >= 0 || rp.getUid() == -1); 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/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/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/hostsidetests/statsd/src/android/cts/statsd/validation/ |
D | BatteryStatsValidationTests.java | 139 int uid = getUid(); in testServiceStartCount() 152 if (uidProto.getUid() == uid) { in testServiceStartCount() 183 int uid = getUid(); in testServiceLaunchCount() 196 if (uidProto.getUid() == uid) { in testServiceLaunchCount()
|
/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/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/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 | 302 public int getUid() { in getUid() method in ServiceTest.IsolatedConnection 1452 int getUid() { in getUid() method in ServiceTest.LruOrderItem 1453 return mInfo != null ? mInfo.getConnection().getUid() : mUid; in getUid() 1457 return UserHandle.getUserHandleForUid(getUid()).getIdentifier(); in getUserId() 1461 return UserHandle.getAppId(getUid()); in getAppId() 1560 Log.i("XXXXXXXX", "Expecting uid: " + lru.getUid()); in verifyLruOrder() 1574 fail("Didn't find expected LRU proc uid=" + lru.getUid()); in verifyLruOrder() 1576 fail("Expected proc uid=" + lru.getUid() + " at found proc " in verifyLruOrder()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | NetworkUsageStatsTest.java | 385 assertEquals(bucket.getUid(), UID_ALL); in testDeviceSummary() 420 assertEquals(bucket.getUid(), UID_ALL); in testUserSummary() 470 if (bucket.getUid() == Process.myUid()) { in testAppSummary() 575 assertEquals(bucket.getUid(), Process.myUid()); in testUidDetails() 628 assertEquals(bucket.getUid(), Process.myUid()); in testTagDetails() 705 bucket.getUid(), tagToString(bucket.getTag()), stateToString(bucket.getState()), in assertAlmostNoUnexpectedTraffic() 849 if (bucket.getUid() == Process.myUid()) { in getTotalAndAssertNotEmpty()
|
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/ |
D | CompatChangeGatingTestCase.java | 235 protected int getUid(@Nonnull String packageName) throws DeviceNotAvailableException { in getUid() method in CompatChangeGatingTestCase 289 final int packageUid = getUid(pkgName); in getReportedChanges() 296 .filter(atom -> atom != null && atom.getUid() == packageUid) // Should be redundant in getReportedChanges()
|
/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()
|
/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()
|