Home
last modified time | relevance | path

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

/packages/services/Telephony/testapps/EmbmsServiceTestApp/src/com/android/phone/testapps/embmsmw/
DAppActiveStreams.java76 public int getStateForService(String serviceId) { in getStateForService() argument
77 StreamCallbackWithState callbackWithState = mStreamStates.get(serviceId); in getStateForService()
82 public void startStreaming(String serviceId, StreamingServiceCallback callback, int reason) { in startStreaming() argument
83 if (mStreamStates.get(serviceId) != null) { in startStreaming()
93 mStreamStates.put(serviceId, in startStreaming()
97 updateStreamingMethod(serviceId); in startStreaming()
100 public void stopStreaming(String serviceId, int reason) { in stopStreaming() argument
101 StreamCallbackWithState entry = mStreamStates.get(serviceId); in stopStreaming()
111 public void dispose(String serviceId) { in dispose() argument
112 mStreamStates.remove(serviceId); in dispose()
[all …]
DEmbmsTestStreamingService.java124 public int startStreaming(int subscriptionId, String serviceId,
129 checkServiceExists(serviceId);
131 if (StreamStateTracker.getStreamingState(appKey, serviceId) ==
137 () -> StreamStateTracker.startStreaming(appKey, serviceId, callback,
144 public Uri getPlaybackUri(int subscriptionId, String serviceId) {
148 checkServiceExists(serviceId);
150 Uri streamingUri = StreamingServiceRepository.getUriForService(serviceId);
158 public void stopStreaming(int subscriptionId, String serviceId) {
162 checkServiceExists(serviceId);
164 mHandler.post(() -> StreamStateTracker.stopStreaming(appKey, serviceId,
[all …]
DStreamStateTracker.java33 public static int getStreamingState(FrontendAppIdentifier appIdentifier, String serviceId) { in getStreamingState() argument
38 return appStreams.getStateForService(serviceId); in getStreamingState()
41 public static void startStreaming(FrontendAppIdentifier appIdentifier, String serviceId, in startStreaming() argument
49 appStreams.startStreaming(serviceId, callback, reason); in startStreaming()
52 public static void stopStreaming(FrontendAppIdentifier appIdentifier, String serviceId, in stopStreaming() argument
54 Log.i(LOG_TAG, "Stopping stream " + serviceId); in stopStreaming()
60 appStreams.stopStreaming(serviceId, reason); in stopStreaming()
63 public static void dispose(FrontendAppIdentifier appIdentifier, String serviceId) { in dispose() argument
69 appStreams.dispose(serviceId); in dispose()
DStreamingServiceRepository.java50 public static Uri getUriForService(String serviceId) { in getUriForService() argument
51 if (sIdToStreamingUri.containsKey(serviceId)) { in getUriForService()
52 return sIdToStreamingUri.get(serviceId); in getUriForService()
57 public static StreamingServiceInfo getStreamingServiceInfoForId(String serviceId) { in getStreamingServiceInfoForId() argument
58 return sIdToServiceInfo.getOrDefault(serviceId, null); in getStreamingServiceInfoForId()
DEmbmsSampleDownloadService.java432 private void addTempFileInUse(FrontendAppIdentifier appKey, String serviceId, Uri tempFileUri) { in addTempFileInUse() argument
438 Set<Uri> tempFilesInUse = tempFileByService.get(serviceId); in addTempFileInUse()
441 tempFileByService.put(serviceId, tempFilesInUse); in addTempFileInUse()
446 private void removeTempFileInUse(FrontendAppIdentifier appKey, String serviceId, in removeTempFileInUse() argument
449 .getOrDefault(serviceId, Collections.emptySet()); in removeTempFileInUse()
454 appKey + " and service id " + serviceId); in removeTempFileInUse()
DFileServiceRepository.java73 public FileServiceInfo getFileServiceInfoForId(String serviceId) { in getFileServiceInfoForId() argument
74 return mIdToServiceInfo.getOrDefault(serviceId, null); in getFileServiceInfoForId()
/packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/
DEmbmsTestStreamingApp.java114 String serviceId = getItem(position); in getView() local
115 StreamingServiceTracker tracker = mStreamingServiceTrackerById.get(serviceId); in getView()
123 String serviceId = getItem(position); in getDropDownView() local
124 StreamingServiceTracker tracker = mStreamingServiceTrackerById.get(serviceId); in getDropDownView()
183 String serviceId = (String) mStreamSelector.getItemAtPosition(position); in onCreate()
184 StreamingServiceTracker tracker = mStreamingServiceTrackerById.get(serviceId); in onCreate()
250 String serviceId = (String) mStreamSelector.getSelectedItem(); in getSelectedTrackedStream() local
251 return mStreamingServiceTrackerById.get(serviceId); in getSelectedTrackedStream()
/packages/apps/Camera2/src/com/android/camera/
DAccessibilityUtil.java117 String serviceId = enabledService.getId(); in containsGoogleAccessibilityService() local
118 if (serviceId != null && serviceId.startsWith(ACCESSIBILITY_PACKAGE_NAME_PREFIX)) { in containsGoogleAccessibilityService()
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DDownloadCompletionReceiver.java47 private Path getDestinationFile(Context context, String serviceId, FileInfo info) { in getDestinationFile() argument
49 if (serviceId.contains("2")) { in getDestinationFile()
DEmbmsTestDownloadApp.java448 private Uri getDestination(String serviceId) { in getDestination() argument
452 if (serviceId.contains("2")) { in getDestination()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperationService.java208 public int onStartCommand(Intent intent, int flags, int serviceId) { in onStartCommand() argument
216 Log.d(TAG, "onStartCommand: " + jobId + " with serviceId " + serviceId); in onStartCommand()
227 mLastServiceId = serviceId; in onStartCommand()
/packages/apps/TV/tuner/src/com/android/tv/tuner/data/
DPsipData.java244 int serviceId, in SdtItem() argument
249 mServiceId = serviceId; in SdtItem()
DSectionParser.java1089 int serviceId = ((data[pos] & 0xff) << 8) | (data[pos + 1] & 0xff); in parseSDT() local
1108 serviceId, in parseSDT()