Searched refs:packageNames (Results 1 – 10 of 10) sorted by relevance
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityServiceInfoTest.java | 126 sentInfo.packageNames = new String[] { in fullyPopulateSentAccessibilityServiceInfo() 147 assertEquals("packageNames not marshalled properly", sentInfo.packageNames.length, in assertAllFieldsProperlyMarshalled() 148 receivedInfo.packageNames.length); in assertAllFieldsProperlyMarshalled() 149 assertEquals("packageNames not marshalled properly", sentInfo.packageNames[0], in assertAllFieldsProperlyMarshalled() 150 receivedInfo.packageNames[0]); in assertAllFieldsProperlyMarshalled()
|
/cts/tests/security/src/android/keystore/cts/ |
D | AttestationApplicationId.java | 43 String[] packageNames = pm.getPackagesForUid(uid); in AttestationApplicationId() local 44 if (packageNames == null || packageNames.length == 0) { in AttestationApplicationId() 48 for (String packageName : packageNames) { in AttestationApplicationId() 59 PackageInfo packageInfo = pm.getPackageInfo(packageNames[0], PackageManager.GET_SIGNATURES); in AttestationApplicationId()
|
/cts/tools/signature-tools/src/signature/converter/doclet/ |
D | DocletFactory.java | 41 Set<String> fileNames, Set<String> packageNames) throws in loadApi() argument 43 for (String packageName : packageNames) { in loadApi() 54 RootDoc root = getRootDoc(visibility, sourcepath, packageNames); in loadApi() 57 packageNames); in loadApi()
|
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/ |
D | CtsGroupCallService.java | 76 String[] packageNames = getPackageManager().getPackagesForUid(packageUid); in initialize() local 77 if (packageNames == null) { in initialize() 80 boolean isUidAllowed = Arrays.stream(packageNames).anyMatch(ALLOWED_PACKAGES::contains); in initialize()
|
D | CtsStreamingService.java | 116 String[] packageNames = getPackageManager().getPackagesForUid(packageUid); 117 if (packageNames == null) { 120 boolean isUidAllowed = Arrays.stream(packageNames).anyMatch(ALLOWED_PACKAGES::contains);
|
D | CtsDownloadService.java | 160 String[] packageNames = getPackageManager().getPackagesForUid(packageUid); 161 if (packageNames == null) { 164 boolean isUidAllowed = Arrays.stream(packageNames).anyMatch(ALLOWED_PACKAGES::contains);
|
/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/ |
D | LauncherCallbackTestsService.java | 223 public void onPackagesAvailable(String[] packageNames, UserHandle user, in onPackagesAvailable() argument 227 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable() argument
|
/cts/tests/accessibility/src/android/view/accessibility/cts/ |
D | AccessibilityServiceInfoTest.java | 74 assertNull(speakingService.packageNames /*all packages*/); in testAccessibilityServiceInfoForEnabledService()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerLauncherCallbackTest.java | 70 public void onPackagesAvailable(String[] packageNames, UserHandle user, boolean replacing) { in onPackagesAvailable() argument 74 public void onPackagesUnavailable(String[] packageNames, UserHandle user, in onPackagesUnavailable() argument
|
/cts/tests/tests/role/src/android/app/role/cts/ |
D | RoleManagerTest.java | 585 List<String> packageNames = getRoleHolders(roleName); in assertIsRoleHolder() local 588 assertThat(packageNames).contains(packageName); in assertIsRoleHolder() 590 assertThat(packageNames).doesNotContain(packageName); in assertIsRoleHolder()
|