Home
last modified time | relevance | path

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

12

/frameworks/base/telephony/java/com/android/ims/internal/
DIImsService.aidl38 void close(int serviceId); in close() argument
39 boolean isConnected(int serviceId, int serviceType, int callType); in isConnected() argument
40 boolean isOpened(int serviceId); in isOpened() argument
46 void setRegistrationListener(int serviceId, in IImsRegistrationListener listener); in setRegistrationListener() argument
54 ImsCallProfile createCallProfile(int serviceId, int serviceType, int callType); in createCallProfile() argument
56 IImsCallSession createCallSession(int serviceId, in ImsCallProfile profile, in createCallSession() argument
58 IImsCallSession getPendingCallSession(int serviceId, String callId); in getPendingCallSession() argument
63 IImsUt getUtInterface(int serviceId); in getUtInterface() argument
84 IImsEcbm getEcbmInterface(int serviceId); in getEcbmInterface() argument
89 void setUiTTYMode(int serviceId, int uiTtyMode, in Message onComplete); in setUiTTYMode() argument
[all …]
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/
DServicesTests.java111 int serviceId = 1; in testRecoverFromZipCorruption() local
114 startService(serviceId); in testRecoverFromZipCorruption()
115 waitServicesCompletion(serviceId); in testRecoverFromZipCorruption()
126 int serviceId = 1; in testRecoverFromDexCorruption() local
129 startService(serviceId); in testRecoverFromDexCorruption()
130 waitServicesCompletion(serviceId); in testRecoverFromDexCorruption()
218 private void startService(int serviceId) { in startService() argument
219 Log.i(TAG, "start service " + serviceId); in startService()
220 … InstrumentationRegistry.getContext().startService(new Intent(SERVICE_BASE_ACTION + serviceId)); in startService()
254 private void waitServicesCompletion(int serviceId) throws TimeoutException { in waitServicesCompletion() argument
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/
DServiceDescription.java157 public final @NonNull String serviceId; field in ServiceDescription
163 public ServiceDescription(String serviceId, String version, String description) { in ServiceDescription() argument
164 this.serviceId = serviceId; in ServiceDescription()
171 RcsContactPresenceTuple.TUPLE_BASIC_STATUS_OPEN, serviceId, version); in getTupleBuilder()
183 return serviceId.equals(that.serviceId) in equals()
190 return Objects.hash(serviceId, version, description); in hashCode()
195 return "(id=" + serviceId + ", v=" + version + ", d=" + description + ')'; in toString()
DPublishServiceDescTracker.java309 return (a.serviceId.equals(b.serviceId) && a.version.equals(b.version)); in isSimilar()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/omapres/
DServiceIdTest.java60 ServiceId serviceId = new ServiceId(); in testElementName() local
62 assertEquals(OmaPresConstant.NAMESPACE, serviceId.getNamespace()); in testElementName()
63 assertEquals(ServiceId.ELEMENT_NAME, serviceId.getElementName()); in testElementName()
70 ServiceId serviceId = new ServiceId(serviceIdValue); in testSerializing() local
77 serviceId.serialize(serializer); in testSerializing()
110 ServiceId serviceId = null; in testParsing() local
117 serviceId = new ServiceId(); in testParsing()
118 serviceId.parse(parser); in testParsing()
126 assertNotNull(serviceId); in testParsing()
127 assertEquals(serviceIdValue, serviceId.getValue()); in testParsing()
DServiceDescriptionTest.java69 final ServiceId serviceId = new ServiceId("service_id_001"); in testSerializing() local
74 serviceDescription.setServiceId(serviceId); in testSerializing()
89 assertTrue(result.contains(serviceId.getValue())); in testSerializing()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/omapres/
DServiceId.java41 public ServiceId(String serviceId) { in ServiceId() argument
42 mServiceId = serviceId; in ServiceId()
85 String serviceId = parser.getText(); in parse() local
86 if (!TextUtils.isEmpty(serviceId)) { in parse()
87 mServiceId = serviceId; in parse()
DServiceDescription.java51 public void setServiceId(ServiceId serviceId) { in setServiceId() argument
52 mServiceId = serviceId; in setServiceId()
115 ServiceId serviceId = new ServiceId(); in parse() local
116 serviceId.parse(parser); in parse()
117 mServiceId = serviceId; in parse()
/frameworks/base/telephony/java/android/telephony/mbms/
DServiceInfo.java47 private final String serviceId; field in ServiceInfo
70 serviceId = newServiceId; in ServiceInfo()
97 serviceId = in.readString(); in ServiceInfo()
116 dest.writeString(serviceId); in writeToParcel()
166 return serviceId; in getServiceId()
196 Objects.equals(serviceId, that.serviceId) && in equals()
203 return Objects.hash(names, className, locales, serviceId, sessionStartTime, sessionEndTime); in hashCode()
DMbmsDownloadReceiver.java313 String serviceId = intent.getStringExtra(VendorUtils.EXTRA_SERVICE_ID); in generateTempFiles() local
314 if (serviceId == null) { in generateTempFiles()
331 generateFreshTempFiles(context, serviceId, fdCount); in generateTempFiles()
333 generateUrisForPausedFiles(context, serviceId, pausedList); in generateTempFiles()
342 private ArrayList<UriPathPair> generateFreshTempFiles(Context context, String serviceId, in generateFreshTempFiles() argument
344 File tempFileDir = MbmsUtils.getEmbmsTempFileDirForService(context, serviceId); in generateFreshTempFiles()
388 String serviceId, List<Uri> pausedFiles) { in generateUrisForPausedFiles() argument
395 if (!verifyTempFilePath(context, serviceId, fileUri)) { in generateUrisForPausedFiles()
417 String serviceId = intent.getStringExtra(VendorUtils.EXTRA_SERVICE_ID); in cleanupTempFiles() local
418 File tempFileDir = MbmsUtils.getEmbmsTempFileDirForService(context, serviceId); in cleanupTempFiles()
[all …]
DStreamingServiceInfo.java45 List<Locale> locales, String serviceId, Date start, Date end) { in StreamingServiceInfo() argument
46 super(names, className, locales, serviceId, start, end); in StreamingServiceInfo()
DMbmsUtils.java136 public static File getEmbmsTempFileDirForService(Context context, String serviceId) { in getEmbmsTempFileDirForService() argument
139 String sanitizedServiceId = serviceId.replaceAll("[^a-zA-Z0-9_]", "_"); in getEmbmsTempFileDirForService()
DDownloadRequest.java188 public Builder setServiceId(String serviceId) { in setServiceId() argument
189 fileServiceId = serviceId; in setServiceId()
/frameworks/base/telephony/java/android/telephony/mbms/vendor/
DIMbmsStreamingService.aidl36 int startStreaming(int subId, String serviceId, in startStreaming() argument
40 Uri getPlaybackUri(int subId, String serviceId); in getPlaybackUri() argument
42 void stopStreaming(int subId, String serviceId); in stopStreaming() argument
DMbmsStreamingServiceBase.java155 public int startStreaming(int subscriptionId, String serviceId, in startStreaming() argument
166 public int startStreaming(final int subscriptionId, String serviceId, in startStreaming() argument
174 int result = startStreaming(subscriptionId, serviceId, new StreamingServiceCallback() { in startStreaming()
249 public @Nullable Uri getPlaybackUri(int subscriptionId, String serviceId) in getPlaybackUri() argument
269 public void stopStreaming(int subscriptionId, String serviceId) in stopStreaming() argument
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/
DPidfParserTest.java86 final String serviceId = "org.3gpp.urn:urn-7:3gpp-service.ims.icsi.mmtel"; in testConvertFromPidfToRcsContactUceCapability() local
92 String pidfData = getPidfData(contact, serviceId, serviceDescription, isAudioSupported, in testConvertFromPidfToRcsContactUceCapability()
108 assertEquals(serviceId, presenceTuple1.getServiceId()); in testConvertFromPidfToRcsContactUceCapability()
183 String serviceId = tuple.getServiceId(); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability() local
184 RcsContactPresenceTuple expectedTuple = findTuple(serviceId, expectedTupleList); in testConvertFromNewlineIncludedPidfToRcsContactUceCapability()
207 private RcsContactPresenceTuple findTuple(String serviceId, in findTuple() argument
209 if (serviceId == null) { in findTuple()
213 if (serviceId.equalsIgnoreCase(tuple.getServiceId())) { in findTuple()
325 private String getPidfData(String contact, String serviceId, String serviceDescription, in getPidfData() argument
338 .append("<op:service-id>").append(serviceId).append("</op:service-id>") in getPidfData()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/pidfparser/
DPidfParserUtils.java120 private static void handleTupleServiceDescriptionElement(Tuple tupleElement, String serviceId, in handleTupleServiceDescriptionElement() argument
127 if (!TextUtils.isEmpty(serviceId)) { in handleTupleServiceDescriptionElement()
128 serviceIdElement = new ServiceId(serviceId); in handleTupleServiceDescriptionElement()
216 ServiceId serviceId = servDescription.getServiceId(); in getTupleServiceId() local
217 if (serviceId != null) { in getTupleServiceId()
218 return serviceId.getValue(); in getTupleServiceId()
DPidfParser.java226 String serviceId = PidfParserUtils.getTupleServiceId(tuple); in getRcsContactPresenceTuple() local
231 serviceId, serviceVersion); in getRcsContactPresenceTuple()
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DService.java38 public Service(Context context, Transport transport, int serviceId) { in Service() argument
41 mServiceId = serviceId; in Service()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/pidf/
DPresenceTest.java121 final String serviceId = "service_id_01"; in testParsing() local
133 .append("<op:service-id>").append(serviceId).append("</op:service-id>") in testParsing()
168 assertEquals(serviceId, PidfParserUtils.getTupleServiceId(tuple)); in testParsing()
180 ServiceId serviceId = new ServiceId(serviceIdValue); in getTuple() local
184 serviceDescription.setServiceId(serviceId); in getTuple()
DTupleTest.java89 ServiceId serviceId = new ServiceId("service_id_001"); in testSerializing() local
93 serviceDescription.setServiceId(serviceId); in testSerializing()
150 final String serviceId = "service_id_001"; in testParsing() local
165 .append("<op:service-id>").append(serviceId).append("</op:service-id>") in testParsing()
201 assertEquals(serviceId, PidfParserUtils.getTupleServiceId(tuple)); in testParsing()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiRecordSources.java191 public AribData(int transportStreamId, int serviceId, int originalNetworkId) { in AribData() argument
193 mServiceId = serviceId; in AribData()
254 public DvbData(int transportStreamId, int serviceId, int originalNetworkId) { in DvbData() argument
256 mServiceId = serviceId; in DvbData()
/frameworks/base/telephony/java/android/telephony/ims/
DRcsContactPresenceTuple.java373 public Builder(@NonNull @BasicStatus String status, @NonNull @ServiceId String serviceId, in Builder() argument
375 mPresenceTuple = new RcsContactPresenceTuple(status, serviceId, serviceVersion); in Builder()
434 private RcsContactPresenceTuple(@NonNull @BasicStatus String status, @NonNull String serviceId, in RcsContactPresenceTuple() argument
437 mServiceId = serviceId; in RcsContactPresenceTuple()
DRcsContactUceCapability.java329 public @Nullable RcsContactPresenceTuple getCapabilityTuple(@NonNull String serviceId) { in getCapabilityTuple() argument
334 if (tuple.getServiceId() != null && tuple.getServiceId().equals(serviceId)) { in getCapabilityTuple()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/magnification/
DMagnificationController.java220 public void onRequestMagnificationSpec(int displayId, int serviceId) { in onRequestMagnificationSpec() argument
223 if (serviceId == AccessibilityManagerService.MAGNIFICATION_GESTURE_HANDLER_ID) { in onRequestMagnificationSpec()

12