Searched refs:serviceA (Results 1 – 3 of 3) sorted by relevance
431 TestServiceClient serviceA = getTestService(APP_A); in testPendingIntentActivityBlocked() local435 PendingIntent pi = generatePendingIntent(serviceA, APP_A.BACKGROUND_ACTIVITY); in testPendingIntentActivityBlocked()468 TestServiceClient serviceA = getTestService(APP_A); in testPI_onlyCreatorAllowsBALInSameTask_isNotBlocked() local470 serviceA.sendPendingIntentWithActivity(pi, Bundle.EMPTY); in testPI_onlyCreatorAllowsBALInSameTask_isNotBlocked()492 TestServiceClient serviceA = getTestService(APP_A); in testPI_onlyCreatorAllowsBALInSameTask_isBlocked() local494 serviceA.sendPendingIntentWithActivity(pi, Bundle.EMPTY); in testPI_onlyCreatorAllowsBALInSameTask_isBlocked()515 TestServiceClient serviceA = getTestService(APP_A); in testPI_onlyCreatorAllowsBALwithOptIn_isNotBlocked() local516 serviceA.sendPendingIntentWithActivity(pi, Bundle.EMPTY); in testPI_onlyCreatorAllowsBALwithOptIn_isNotBlocked()562 TestServiceClient serviceA = getTestService(APP_A); in testPI_onlyCreatorAllowsBALwithOptIn_isStartedInBackground() local563 serviceA.sendPendingIntentWithActivity(pi, Bundle.EMPTY); in testPI_onlyCreatorAllowsBALwithOptIn_isStartedInBackground()[all …]
146 private boolean isServiceTheSame(String serviceA, String serviceB) { in isServiceTheSame() argument147 if (TextUtils.isEmpty(serviceA) && TextUtils.isEmpty(serviceB)) { in isServiceTheSame()150 return TextUtils.equals(serviceA, serviceB); in isServiceTheSame()
144 private boolean isServiceTheSame(String serviceA, String serviceB) { in isServiceTheSame() argument146 if (TextUtils.isEmpty(serviceA) && TextUtils.isEmpty(serviceB)) { in isServiceTheSame()149 return TextUtils.equals(serviceA, serviceB); in isServiceTheSame()