/packages/modules/ImsMedia/framework/src/android/telephony/imsmedia/ |
D | ImsVideoSession.java | 34 private final IImsVideoSession mSession; field in ImsVideoSession 38 mSession = session; in ImsVideoSession() 44 return mSession.asBinder(); in getBinder() 50 return mSession.getSessionId(); in getSessionId() 63 mSession.modifySession((VideoConfig) config); in modifySession() 77 mSession.setPreviewSurface(surface); in setPreviewSurface() 91 mSession.setDisplaySurface(surface); in setDisplaySurface() 102 mSession.setMediaQualityThreshold(threshold); in setMediaQualityThreshold() 115 mSession.sendHeaderExtension(extensions); in sendHeaderExtension() 127 mSession.requestVideoDataUsage(); in requestVideoDataUsage()
|
D | ImsTextSession.java | 30 private final IImsTextSession mSession; field in ImsTextSession 34 mSession = session; in ImsTextSession() 40 return mSession.asBinder(); in getBinder() 46 return mSession.getSessionId(); in getSessionId() 59 mSession.modifySession((TextConfig) config); in modifySession() 70 mSession.setMediaQualityThreshold(threshold); in setMediaQualityThreshold() 83 mSession.sendRtt(text); in sendRtt()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | BluetoothMediaBrowserService.java | 59 private MediaSessionCompat mSession; field in BluetoothMediaBrowserService 116 mSession = new MediaSessionCompat(this, TAG); in onCreate() 117 setSessionToken(mSession.getSessionToken()); in onCreate() 118 mSession.setFlags( in onCreate() 121 mSession.setQueueTitle(getString(R.string.bluetooth_a2dp_sink_queue_name)); in onCreate() 122 mSession.setQueue(mMediaQueue); in onCreate() 221 mSession.setPlaybackState(errorState); in setErrorPlaybackState() 271 mSession.setQueue(mMediaQueue); in updateNowPlayingQueue() 273 mSession.setQueue(null); in updateNowPlayingQueue() 280 mSession.setQueue(null); in clearNowPlayingQueue() [all …]
|
D | AvrcpBipClient.java | 85 private ClientSession mSession; field in AvrcpBipClient 254 mSession = new ClientSession(mTransport); in connect() 259 headerSet = mSession.connect(headerSet); in connect() 276 if (mSession == null) return; in refreshObexSession() 280 mSession.disconnect(null); in refreshObexSession() 294 headerSet = mSession.connect(headerSet); in refreshObexSession() 319 if (mSession != null) { in disconnect() 323 mSession.disconnect(null); in disconnect() 330 mSession.close(); in disconnect() 338 mSession = null; in disconnect() [all …]
|
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/ |
D | AndroidCameraCaptureSessionProxy.java | 80 private final CameraCaptureSession mSession; field in AndroidCameraCaptureSessionProxy 83 mSession = session; in AndroidCameraCaptureSessionProxy() 89 mSession.abortCaptures(); in abortCaptures() 99 return mSession.capture(request, new AndroidCaptureCallback(listener), handler); in capture() 109 return mSession.captureBurst(requests, new AndroidCaptureCallback(listener), handler); in captureBurst() 117 mSession.close(); in close() 122 return new AndroidCameraDeviceProxy(mSession.getDevice()); in getDevice() 129 … return mSession.setRepeatingBurst(requests, new AndroidCaptureCallback(listener), handler); in setRepeatingBurst() 139 return mSession.setRepeatingRequest(request, new AndroidCaptureCallback(listener), in setRepeatingRequest() 149 mSession.stopRepeating(); in stopRepeating()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/ |
D | YuvImageBackendImageSaver.java | 61 private final CaptureSession mSession; field in YuvImageBackendImageSaver.ImageSaverImpl 68 mSession = session; in ImageSaverImpl() 90 mCrop), mExecutor, taskFlagsSet, mSession, in saveAndCloseImage() 100 private final CaptureSession mSession; field in YuvImageBackendImageSaver.YuvImageProcessorListener 107 mSession = session; in YuvImageProcessorListener() 128 mSession.setProgress(PERCENTAGE_COMPRESSION_DONE); in onResultCompressed() 142 mSession.updateCaptureIndicatorThumbnail(bitmap, mImageRotation.getDegrees()); in onResultUncompressed() 153 mSession.updateThumbnail(bitmapIntermediateRotated); in onResultUncompressed() 154 mSession.setProgressMessage(R.string.session_saving_image); in onResultUncompressed() 155 mSession.setProgress(PERCENTAGE_INTERMEDIATE_THUMBNAIL_DONE); in onResultUncompressed()
|
/packages/apps/Music/kotlin/src/com/android/music/ |
D | MediaPlaybackService.kt | 34 private lateinit var mSession: MediaSession variable in com.android.music.MediaPlaybackService 40 mSession = MediaSession(this, "MediaPlaybackService") in onCreate() 42 mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS in onCreate() 47 mSession.setPlaybackState(stateBuilder.build()) in onCreate() 48 setSessionToken(mSession.getSessionToken()) in onCreate() 53 mSession.setSessionActivity(pi) in onCreate()
|
/packages/modules/AppSearch/service/java/com/android/server/appsearch/appsindexer/ |
D | SyncAppSearchSessionImpl.java | 33 private final AppSearchSession mSession; field in SyncAppSearchSessionImpl 44 mSession = in SyncAppSearchSessionImpl() 57 return new SyncSearchResultsImpl(mSession.search(query, searchSpec), mExecutor); in search() 67 mSession.setSchema(setSchemaRequest, mExecutor, mExecutor, resultHandler)); in setSchema() 78 resultHandler -> mSession.put(request, mExecutor, resultHandler)); in put() 84 mSession.close(); in close()
|
/packages/apps/Music/src/com/android/music/ |
D | MediaPlaybackService.java | 36 private MediaSession mSession; field in MediaPlaybackService 45 mSession = new MediaSession(this, "MediaPlaybackService"); in onCreate() 47 mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS in onCreate() 52 mSession.setPlaybackState(stateBuilder.build()); in onCreate() 53 setSessionToken(mSession.getSessionToken()); in onCreate() 59 mSession.setSessionActivity(pi); in onCreate()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | AppEntryListManager.java | 130 private ApplicationsState.Session mSession; field in AppEntryListManager 159 if (mSession != null) { in init() 165 mSession = mApplicationsState.newSession(mSessionCallbacks); in init() 173 mSession.onResume(); in start() 180 mSession.onPause(); in stop() 188 mSession.onDestroy(); in destroy() 217 mSession.rebuild((mFilterProvider != null) ? mFilterProvider.getAppFilter() in rebuild() 256 outer.loadInfo(outer.mSession.getAllApps()); in handleMessage()
|
/packages/modules/Connectivity/framework-t/src/android/app/usage/ |
D | NetworkStats.java | 82 private INetworkStatsSession mSession; field in NetworkStats 111 mSession = statsService.openSessionForUsageStats(flags, context.getOpPackageName()); in NetworkStats() 509 if (mSession != null) { in close() 511 mSession.close(); in close() 517 mSession = null; in close() 530 mSummary = mSession.getDeviceSummaryForNetwork(mTemplate, mStartTimeStamp, mEndTimeStamp); in getDeviceSummaryForNetwork() 544 mSummary = mSession.getSummaryForAllUid(mTemplate, mStartTimeStamp, mEndTimeStamp, in startSummaryEnumeration() 554 mSummary = mSession.getTaggedSummaryForAllUid(mTemplate, mStartTimeStamp, mEndTimeStamp); in startTaggedSummaryEnumeration() 564 mHistory = mSession.getHistoryIntervalForUid(mTemplate, uid, in startHistoryUidEnumeration() 580 mHistory = mSession.getHistoryIntervalForNetwork( in startHistoryDeviceEnumeration() [all …]
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | LocalPrinter.java | 49 private final LocalDiscoverySession mSession; field in LocalPrinter 61 mSession = session; in LocalPrinter() 134 if (mSession.isDestroyed() || !mSession.isKnown(mPrinterId)) { in onCapabilities() 140 mSession.removePrinters(Collections.singletonList(mPrinterId)); in onCapabilities() 143 mSession.handlePrinter(this); in onCapabilities() 173 mSession.handlePrinter(this); in found() 176 mSession.isPriority(mPrinterId), this); in found()
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | Player.java | 84 private final MediaSession mSession; field in Player 105 mSession = session; in Player() 257 mSession.setPlaybackState(state); in setMissingPermissionError() 332 mSession.setQueueTitle(mContext.getString(R.string.playlist)); in updateSessionQueueState() 333 mSession.setQueue(mQueue); in updateSessionQueueState() 353 mSession.setPlaybackState(mErrorState); in startPlayback() 368 mSession.setPlaybackState(mErrorState); in startPlayback() 393 .setStyle(new Notification.MediaStyle().setMediaSession(mSession.getSessionToken())) in postMediaNotification() 403 if (!mSession.isActive()) { in updatePlaybackStatePlaying() 404 mSession.setActive(true); in updatePlaybackStatePlaying() [all …]
|
D | LocalMediaBrowserService.java | 53 private MediaSession mSession; field in LocalMediaBrowserService 118 mSession = new MediaSession(this, MEDIA_SESSION_TAG); in onCreate() 119 setSessionToken(mSession.getSessionToken()); in onCreate() 120 mPlayer = new Player(this, mSession, mDataModel); in onCreate() 121 mSession.setCallback(mPlayer); in onCreate() 122 mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS in onCreate() 138 mSession.release(); in onDestroy()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | VpnNetworkPreferenceInfo.java | 30 public final String mSession; field in VpnNetworkPreferenceInfo 37 this.mSession = session; in VpnNetworkPreferenceInfo() 49 return mSession; in getKey() 59 return "[VpnNetworkPreference session = " + mSession in toString()
|
/packages/modules/Media/apex/framework/java/android/media/ |
D | Session2Link.java | 53 private final MediaSession2 mSession; field in Session2Link 57 mSession = session; in Session2Link() 62 mSession = null; in Session2Link() 151 mSession.onConnect(caller, pid, uid, seq, connectionRequest); in onConnect() 156 mSession.onDisconnect(caller, seq); in onDisconnect() 162 mSession.onSessionCommand(caller, seq, command, args, resultReceiver); in onSessionCommand() 167 mSession.onCancelCommand(caller, seq); in onCancelCommand()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/ |
D | MasClient.java | 85 private ClientSession mSession; field in MasClient 126 mSession = new ClientSession(mTransport); in connect() 135 headerset = mSession.connect(headerset); in connect() 153 if (mSession != null) { in disconnect() 155 mSession.disconnect(null); in disconnect() 161 mSession.close(); in disconnect() 173 request.execute(mSession); in executeRequest()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/ |
D | DomainAppPreferenceController.java | 78 mSession.rebuild(ApplicationsState.FILTER_WITH_DOMAIN_URLS, 83 private ApplicationsState.Session mSession; field in DomainAppPreferenceController 108 if (mSession == null) { in checkInitialized() 115 mSession = mApplicationsState.newSession(mApplicationStateCallbacks, lifecycle); in setLifecycle() 122 mSession.onResume(); in onStartInternal() 128 mSession.onPause(); in onStopInternal()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerRecordingSessionWorker.java | 166 private final TunerRecordingSession mSession; field in TunerRecordingSessionWorker 213 mSession = session; in TunerRecordingSessionWorker() 292 mSession.onTuned(channelUri); in handleMessage() 301 mSession.onError(TvInputManager.RECORDING_ERROR_RESOURCE_BUSY); in handleMessage() 329 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in handleMessage() 338 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in handleMessage() 357 mSession.onError(TvInputManager.RECORDING_ERROR_INSUFFICIENT_SPACE); in handleMessage() 428 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune() 434 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune() 438 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune() [all …]
|
D | TunerRecordingSessionWorkerExoV2.java | 167 private final TunerRecordingSessionExoV2 mSession; field in TunerRecordingSessionWorkerExoV2 214 mSession = session; in TunerRecordingSessionWorkerExoV2() 293 mSession.onTuned(channelUri); in handleMessage() 302 mSession.onError(TvInputManager.RECORDING_ERROR_RESOURCE_BUSY); in handleMessage() 327 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in handleMessage() 336 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in handleMessage() 355 mSession.onError(TvInputManager.RECORDING_ERROR_INSUFFICIENT_SPACE); in handleMessage() 431 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune() 437 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune() 441 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune() [all …]
|
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/omapi/ |
D | OmapiConnectionImpl.java | 54 @Nullable private Session mSession; field in OmapiConnectionImpl 199 if (mSession == null) { in getSession() 205 mSession = reader.openSession(); in getSession() 208 return mSession; in getSession() 258 if (mSession != null) { in checkFiRaAppletPresence() 259 mSession.close(); in checkFiRaAppletPresence() 261 this.mSession = null; in checkFiRaAppletPresence()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | HeadsetMediaButton.java | 131 mSession = new MediaSessionWrapper(session); 135 if (mSession != null) { 137 if (activate != mSession.isActive()) { 138 mSession.setActive(activate); 152 private MediaSessionAdapter mSession; field in HeadsetMediaButton 173 mSession = adapter; in HeadsetMediaButton()
|
/packages/modules/Uwb/framework/tests/src/android/uwb/ |
D | RangingSessionTest.java | 820 protected RangingSession mSession; field in RangingSessionTest.AdapterAnswer 823 mSession = session; in AdapterAnswer() 836 mSession.onRangingOpened(); in answer() 838 mSession.onRangingOpenFailed(REASON_BAD_PARAMETERS, PARAMS); in answer() 853 mSession.onRangingStarted(PARAMS); in answer() 855 mSession.onRangingStartFailed(REASON_BAD_PARAMETERS, PARAMS); in answer() 870 mSession.onRangingReconfigured(PARAMS); in answer() 872 mSession.onRangingReconfigureFailed(REASON_BAD_PARAMETERS, PARAMS); in answer() 887 mSession.onRangingPaused(PARAMS); in answer() 889 mSession.onRangingPauseFailed(REASON_BAD_PARAMETERS, PARAMS); in answer() [all …]
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskCompressImageToJpeg.java | 111 mSession.getCollector().markProcessingTimeStart(); in run() 139 mSession.finishWithFailure(-1, true); in run() 277 mSession.finishWithFailure(-1, true); in run() 297 mSession.finishWithFailure(-1, true); in run() 344 mSession.getCollector().decorateAtTimeWriteToDisk(exif); in run() 345 ListenableFuture<Optional<Uri>> futureUri = mSession.saveAndFinish(writeOut, in run() 366 mSession.getCollector() in run() 375 mSession.getCollector().photoCaptureDoneEvent(); in run() 379 mSession.getCollector().photoCaptureDoneEvent(); in run() 407 Optional<Location> location = Optional.fromNullable(mSession.getLocation()); in createExif()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | ApplicationListItemManager.java | 61 private ApplicationsState.Session mSession; field in ApplicationListItemManager 108 mSession.onResume(); in onFragmentStart() 116 mSession.onPause(); in onFragmentStop() 130 if (mSession != null) { in startLoading() 136 mSession = mAppState.newSession(this, mLifecycle); in startLoading() 264 mSession.rebuild(finalFilterObj, mAppEntryComparator, /* foreground= */ false); in rebuild()
|