Home
last modified time | relevance | path

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

/cts/tests/tests/externalservice/src/android/externalservice/cts/
DExternalServiceTest.java213 RunningServiceInfo serviceId = identifyService(new Messenger(mConnection.service)); in testBindExternalServiceWithRunningOwn() local
214 assertNotNull(serviceId); in testBindExternalServiceWithRunningOwn()
215 assertFalse(serviceId.uid == 0 || serviceId.pid == 0); in testBindExternalServiceWithRunningOwn()
224 assertNotEquals(myUid, serviceId.uid); in testBindExternalServiceWithRunningOwn()
227 assertNotEquals(myPid, serviceId.pid); in testBindExternalServiceWithRunningOwn()
230 assertNotEquals(creatorId.uid, serviceId.uid); in testBindExternalServiceWithRunningOwn()
232 assertNotEquals(creatorId.pid, serviceId.pid); in testBindExternalServiceWithRunningOwn()
234 assertNotEquals(creatorServiceId.uid, serviceId.uid); in testBindExternalServiceWithRunningOwn()
235 assertNotEquals(creatorServiceId.pid, serviceId.pid); in testBindExternalServiceWithRunningOwn()
238 assertEquals(-1, serviceId.zygotePid); in testBindExternalServiceWithRunningOwn()
[all …]
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/
DCtsStreamingService.java156 public int startStreaming(int subscriptionId, String serviceId,
158 mReceivedCalls.add(Arrays.asList(METHOD_START_STREAMING, subscriptionId, serviceId));
170 public Uri getPlaybackUri(int subscriptionId, String serviceId) {
171 mReceivedCalls.add(Arrays.asList(METHOD_GET_PLAYBACK_URI, subscriptionId, serviceId));
176 public void stopStreaming(int subscriptionId, String serviceId) {
177 mReceivedCalls.add(Arrays.asList(METHOD_STOP_STREAMING, subscriptionId, serviceId));
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DInstrumentedAccessibilityService.java188 final String serviceId = serviceInfo.getId(); in enableService() local
189 if (serviceId.endsWith(serviceName)) { in enableService()
193 enabledServices + COMPONENT_NAME_SEPARATOR + serviceId) in enableService()