Home
last modified time | relevance | path

Searched refs:targetUid (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DAppEnumerationTests.java612 final int targetUid = sPm.getPackageUid(TARGET_FILTERS, PackageInfoFlags.of(0)); in queriesNothing_getPackagesForUid_consistentVisibility() local
614 Assert.assertNull(getPackagesForUid(QUERIES_NOTHING, targetUid)); in queriesNothing_getPackagesForUid_consistentVisibility()
621 final int targetUid = sPm.getPackageUid(TARGET_FILTERS, PackageInfoFlags.of(0)); in queriesNothingHasPermission_getPackagesForUid_consistentVisibility() local
623 Assert.assertNotNull(getPackagesForUid(QUERIES_NOTHING_PERM, targetUid)); in queriesNothingHasPermission_getPackagesForUid_consistentVisibility()
630 final int targetUid = sPm.getPackageUid(TARGET_FILTERS, PackageInfoFlags.of(0)); in queriesNothing_getNameForUid_consistentVisibility() local
632 Assert.assertNull(getNameForUid(QUERIES_NOTHING, targetUid)); in queriesNothing_getNameForUid_consistentVisibility()
639 final int targetUid = sPm.getPackageUid(TARGET_FILTERS, PackageInfoFlags.of(0)); in queriesNothingHasPermission_getNameForUid_consistentVisibility() local
641 Assert.assertNotNull(getNameForUid(QUERIES_NOTHING_PERM, targetUid)); in queriesNothingHasPermission_getNameForUid_consistentVisibility()
652 final int targetUid = sPm.getPackageUid(TARGET_FILTERS, PackageInfoFlags.of(0)); in queriesNothing_getNamesForUids_consistentVisibility() local
654 Assert.assertNull(getNamesForUids(QUERIES_NOTHING, targetUid)[0]); in queriesNothing_getNamesForUids_consistentVisibility()
[all …]
DMediaSessionEnumerationTests.java68 final int targetUid = sPm.getPackageUid( in isTrustedForMediaControl() local
73 targetUid, in isTrustedForMediaControl()
DAppEnumerationTestsBase.java100 int targetUid, @Nullable Parcelable intentExtra, String action, boolean waitForReady) in sendCommand() argument
111 if (targetUid > INVALID_UID) { in sendCommand()
112 intent.putExtra(Intent.EXTRA_UID, targetUid); in sendCommand()
179 Bundle sendCommandBlocking(@NonNull String sourcePackageName, int targetUid, in sendCommandBlocking() argument
183 targetUid, intentExtra, action, false /* waitForReady */); in sendCommandBlocking()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DTestActivity.java354 final int targetUid = intent.getIntExtra(EXTRA_UID, INVALID_UID); in handleIntent() local
358 targetUid); in handleIntent()
361 final int targetUid = intent.getIntExtra(EXTRA_UID, INVALID_UID); in handleIntent() local
365 targetPackageName, targetUid); in handleIntent()
991 String targetPackageName, int targetUid) { in sendCheckUriPermission() argument
993 final int permissionResult = checkUriPermission(uri, 0 /* pid */, targetUid, in sendCheckUriPermission()
999 String sourceAuthority, String targetPackageName, int targetUid) { in sendCheckContentUriPermissionFull() argument
1001 final int permissionResult = checkContentUriPermissionFull(uri, 0 /* pid */, targetUid, in sendCheckContentUriPermissionFull()