Searched refs:expectedPackageName (Results 1 – 2 of 2) sorted by relevance
751 private void validateScanResultsFailureBroadcastSent(String expectedPackageName) { in validateScanResultsFailureBroadcastSent() argument765 assertEquals(expectedPackageName, packageName); in validateScanResultsFailureBroadcastSent()
12442 @NonNull Intent rawIntent, @NonNull String expectedPackageName, in createCrossUserServiceIntent() argument12454 if (!expectedPackageName.equals(info.serviceInfo.packageName)) { in createCrossUserServiceIntent()12455 throw new SecurityException("Only allow to bind service in " + expectedPackageName); in createCrossUserServiceIntent()