/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | StatsdAppSecurityAtomTest.java | 78 int testAppId = getAppId(DeviceUtils.getAppUid(getDevice(), STATSD_APP_PKG)); in testRoleHolder() 94 assertThat(getAppId(roleHolder.getUid())).isEqualTo(testAppId); in testRoleHolder() 112 private static int getAppId(int uid) { in getAppId() method in StatsdAppSecurityAtomTest
|
/cts/hostsidetests/securitybulletin/test-apps/BUG-261036568/content-provider/src/android/security/cts/BUG_261036568_provider/ |
D | ImageProvider.java | 79 private static int getAppId(int uid) { in getAppId() method in ImageProvider 159 if (getAppId(callingUid) != getAppId(mChooserUid)) { in maybeRecordUriAccess()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/permissionstate/ |
D | DangerousPermissionStateTests.java | 79 int testAppId = getAppId(DeviceUtils.getStatsdTestAppUid(getDevice())); in testDangerousPermissionState() 88 if (getAppId(permissionState.getUid()) == testAppId) { in testDangerousPermissionState() 187 private static int getAppId(int uid) { in getAppId() method in DangerousPermissionStateTests
|
/cts/tests/tests/os/src/android/os/cts/ |
D | UserHandleTest.java | 100 assertEquals(appId, UserHandle.getAppId(uid)); in assertConsistent()
|
/cts/tests/location/location_none/src/android/location/cts/none/ |
D | LocationDisabledAppOpsTest.java | 82 int appId = UserHandle.getAppId(ai.uid); in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | LocationDisabledAppOpsTest.java | 89 int appId = UserHandle.getAppId(ai.uid); in testLocationAppOpIsIgnoredForAppsWhenLocationIsDisabled()
|
/cts/tests/tests/attributionsource/src/android/attributionsource/cts/ |
D | RenouncedPermissionsTest.kt | 143 Process.myUserHandle().identifier, UserHandle.getAppId(Process.SHELL_UID)) in getShellAttributionSourceWithRenouncedPermissions()
|
D | RuntimePermissionsAppOpTrackingTest.kt | 361 UserHandle.getAppId(Process.SHELL_UID)) in <lambda>()
|
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/ |
D | ListeningPortsTest.java | 166 int appId = UserHandle.getAppId(entry.uid); in testNoAccessibleListeningPorts()
|
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 1771 int getAppId() { in getAppId() method in ServiceTest.LruOrderItem 1772 return UserHandle.getAppId(getUid()); in getAppId() 1776 int procAppId = proc.isolatedAppId != 0 ? proc.isolatedAppId : UserHandle.getAppId( in isEquivalentTo() 1780 return procAppId == getAppId() && proc.userId == getUserId(); in isEquivalentTo()
|
/cts/tests/tests/os/src/android/os/storage/cts/ |
D | StorageStatsManagerTest.java | 174 UserHandle.getAppId(Process.myUid())); in queryCratesForUid_withOtherUid_shouldRiseSecurityIssueException()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | TestAppInterface.java | 325 final String expectedText = "UID=" + UserHandle.getAppId(mTestPackageUid); in isTestAppTempWhitelisted()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | NetworkScanApiTest.java | 546 .filter(uid -> !specialUids.contains(UserHandle.getAppId(uid))) in testNetworkScanPermission()
|
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | CrossUserPackageVisibilityTests.java | 555 final int crossUid = UserHandle.getUid(mOtherUser.id(), UserHandle.getAppId(uid)); in testQueryContentProviders_cannotDetectStubPkg()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | ExactAlarmsTest.java | 509 final String selfAppId = String.valueOf(UserHandle.getAppId(Process.myUid())); in assertTempWhitelistState()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BaseDefaultPermissionGrantPolicyTest.java | 319 properties.put("uid", UserHandle.getAppId(info.applicationInfo.uid)); in getPackageProperties()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AppOpEventCollectionTest.kt | 58 UserHandle.getAppId(Process.SHELL_UID))
|
D | AppOpsTest.kt | 150 UserHandle.getAppId(Process.SHELL_UID))
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerShellCommandIncrementalTest.java | 904 final int appId = UserHandle.getAppId(uid); in testInstallWithIdSigNoDigesting()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | system-current.txt | 6149 method @Deprecated public long getAppId(); 6209 method @Deprecated public long getAppId(); 11222 method public static int getAppId(int);
|