Home
last modified time | relevance | path

Searched refs:serviceId (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/externalservice/src/android/externalservice/cts/
DExternalServiceTest.java211 RunningServiceInfo serviceId = identifyService(new Messenger(mConnection.service)); in testBindExternalServiceWithRunningOwn() local
212 assertNotNull(serviceId); in testBindExternalServiceWithRunningOwn()
213 assertFalse(serviceId.uid == 0 || serviceId.pid == 0); in testBindExternalServiceWithRunningOwn()
222 assertNotEquals(myUid, serviceId.uid); in testBindExternalServiceWithRunningOwn()
225 assertNotEquals(myPid, serviceId.pid); in testBindExternalServiceWithRunningOwn()
228 assertNotEquals(creatorId.uid, serviceId.uid); in testBindExternalServiceWithRunningOwn()
230 assertNotEquals(creatorId.pid, serviceId.pid); in testBindExternalServiceWithRunningOwn()
232 assertNotEquals(creatorServiceId.uid, serviceId.uid); in testBindExternalServiceWithRunningOwn()
233 assertNotEquals(creatorServiceId.pid, serviceId.pid); in testBindExternalServiceWithRunningOwn()
236 assertEquals(-1, serviceId.zygotePid); in testBindExternalServiceWithRunningOwn()
[all …]
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/
DCtsStreamingService.java148 public int startStreaming(int subscriptionId, String serviceId,
150 mReceivedCalls.add(Arrays.asList(METHOD_START_STREAMING, subscriptionId, serviceId));
162 public Uri getPlaybackUri(int subscriptionId, String serviceId) {
163 mReceivedCalls.add(Arrays.asList(METHOD_GET_PLAYBACK_URI, subscriptionId, serviceId));
168 public void stopStreaming(int subscriptionId, String serviceId) {
169 mReceivedCalls.add(Arrays.asList(METHOD_STOP_STREAMING, subscriptionId, serviceId));
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39808/src/android/security/cts/CVE_2021_39808/
DPocService.java56 int serviceId = getTransactionCode( in createNotificationGroup() local
58 if (serviceId == -1) { in createNotificationGroup()
62 } else if (serviceId == -2) { in createNotificationGroup()
67 createNotificationGroup(binder, serviceId); in createNotificationGroup()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/presence/nan/
DWifiAwarePeer.java69 public void publish(byte serviceId) { in publish() argument
70 this.serviceNameForSession = CTS_V_SERVICE_NAME + serviceId; in publish()
88 String serviceId) { in subscribe() argument
89 this.serviceNameForSession = CTS_V_SERVICE_NAME + serviceId; in subscribe()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DInstrumentedAccessibilityService.java190 final String serviceId = serviceInfo.getId(); in enableServiceWithoutWait() local
191 if (serviceId.endsWith(serviceName)) { in enableServiceWithoutWait()
195 enabledServices + COMPONENT_NAME_SEPARATOR + serviceId) in enableServiceWithoutWait()
/cts/tests/tests/tv/src/android/media/tv/ad/cts/
DTvAdServiceTest.java117 public void onAdServiceAdded(String serviceId) { in onAdServiceAdded() argument
118 super.onAdServiceAdded(serviceId); in onAdServiceAdded()
122 public void onAdServiceRemoved(String serviceId) { in onAdServiceRemoved() argument
123 super.onAdServiceRemoved(serviceId); in onAdServiceRemoved()
127 public void onAdServiceUpdated(String serviceId) { in onAdServiceUpdated() argument
128 super.onAdServiceUpdated(serviceId); in onAdServiceUpdated()
DStubTvAdService.java46 public Session onCreateSession(@NonNull String serviceId, @NonNull String type) { in onCreateSession() argument
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityManagerTest.java677 final String serviceId = info.getId(); in checkServiceEnabled() local
678 if (serviceId.endsWith(serviceName)) { in checkServiceEnabled()