/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/mbs/ |
D | A2dpMediaBrowserService.java | 96 private MediaSession mSession; field in A2dpMediaBrowserService 166 mSession = new MediaSession(this, TAG); in onCreate() 167 setSessionToken(mSession.getSessionToken()); in onCreate() 168 mSession.setCallback(mSessionCallbacks); in onCreate() 169 mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS | in onCreate() 171 mSession.setActive(true); in onCreate() 191 mSession.release(); in onDestroy() 344 if (mSession.isActive()) { 345 mSession.setActive(false); 410 mSession.setMetadata(mAvrcpCtrlSrvc.getMetaData(mA2dpDevice)); in refreshInitialPlayingState() [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/TV/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorker.java | 207 private final TunerSession mSession; field in TunerSessionWorker 227 mSession = tunerSession; in TunerSessionWorker() 509 mSession.sendUiMessage( in onAudioUnplayable() 516 mSession.sendUiMessage(TunerSession.MSG_UI_PROCESS_CAPTION_TRACK, event); in onEmitCaptionEvent() 521 mSession.sendUiMessage(TunerSession.MSG_UI_CLEAR_CAPTION_RENDERER); in onClearCaptionEvent() 542 mSession.sendUiMessage(TunerSession.MSG_UI_TOAST_RESCAN_NEEDED); in onRescanNeeded() 711 mSession.notifyContentAllowed(); in handleMessage() 1013 mSession.notifyTimeShiftStatusChanged(available in handleMessage() 1026 mSession.sendUiMessage(TunerSession.MSG_UI_SET_STATUS_TEXT, in handleMessage() 1041 mSession.sendUiMessage(TunerSession.MSG_UI_HIDE_MESSAGE); in handleMessage() [all …]
|
D | TunerRecordingSessionWorker.java | 120 private final TunerRecordingSession mSession; field in TunerRecordingSessionWorker 144 mSession = session; in TunerRecordingSessionWorker() 230 mSession.onTuned(channelUri); in handleMessage() 238 mSession.onError(TvInputManager.RECORDING_ERROR_RESOURCE_BUSY); in handleMessage() 264 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in handleMessage() 272 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in handleMessage() 290 mSession.onError(TvInputManager.RECORDING_ERROR_INSUFFICIENT_SPACE); in handleMessage() 353 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune() 359 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune() 363 mSession.onError(TvInputManager.RECORDING_ERROR_UNKNOWN); in doTune() [all …]
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | Player.java | 81 private final MediaSession mSession; field in Player 102 mSession = session; in Player() 297 mSession.setQueueTitle(mContext.getString(R.string.playlist)); in updateSessionQueueState() 298 mSession.setQueue(mQueue); in updateSessionQueueState() 318 mSession.setPlaybackState(mErrorState); in startPlayback() 333 mSession.setPlaybackState(mErrorState); in startPlayback() 356 .setStyle(new Notification.MediaStyle().setMediaSession(mSession.getSessionToken())) in postMediaNotification() 366 if (!mSession.isActive()) { in updatePlaybackStatePlaying() 367 mSession.setActive(true); in updatePlaybackStatePlaying() 378 mSession.setPlaybackState(state); in updatePlaybackStatePlaying() [all …]
|
D | LocalMediaBrowserService.java | 53 private MediaSession mSession; field in LocalMediaBrowserService 126 mSession = new MediaSession(this, MEDIA_SESSION_TAG); in onCreate() 127 setSessionToken(mSession.getSessionToken()); in onCreate() 128 mPlayer = new Player(this, mSession, mDataModel); in onCreate() 129 mSession.setCallback(mPlayer); in onCreate() 130 mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS in onCreate() 146 mSession.release(); in onDestroy()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppTransfer.java | 97 private BluetoothOppObexSession mSession; field in BluetoothOppTransfer 182 mSession = session; in BluetoothOppTransfer() 257 mSession.stop(); in handleMessage() 282 if (mSession != null) { in handleMessage() 283 mSession.stop(); in handleMessage() 492 if (mSession != null) { in stop() 494 mSession.stop(); in stop() 523 mSession = new BluetoothOppObexClientSession(mContext, mTransport); in startObexSession() 530 if (mSession == null) { in startObexSession() 537 if (V) Log.v(TAG, "Transfer has Server session" + mSession.toString()); in startObexSession() [all …]
|
/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()
|
D | JpegImageBackendImageSaver.java | 60 private final CaptureSession mSession; field in JpegImageBackendImageSaver.ImageSaverImpl 68 mSession = session; in ImageSaverImpl() 89 mCrop), mExecutor, taskFlagsSet, mSession, in saveAndCloseImage() 100 private final CaptureSession mSession; field in JpegImageBackendImageSaver.JpegImageProcessorListener 109 mSession = session; in JpegImageProcessorListener() 135 mSession.updateCaptureIndicatorThumbnail(bitmap, rotation); in onResultCompressed()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | LocalPrinter.java | 44 private final LocalDiscoverySession mSession; field in LocalPrinter 53 mSession = session; in LocalPrinter() 110 if (mSession.isDestroyed() || !mSession.isKnown(mPrinterId)) return; in onCapabilities() 114 mSession.removePrinters(Collections.singletonList(mPrinterId)); in onCapabilities() 117 mSession.handlePrinter(this); in onCapabilities() 133 mSession.isPriority(mPrinterId), this); in requestCapabilities() 154 mSession.handlePrinter(this); in found()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/ |
D | InstallTask.java | 45 private PackageInstaller.Session mSession; field in InstallTask 60 mSession = session; in InstallTask() 75 sessionStream = mSession.openWrite(mPackageName, 0, -1); in execute() 80 mSession.fsync(sessionStream); in execute() 105 mSession.close(); in execute() 111 mSession.commit(mCommitCallback); in execute() 112 mSession.close(); in execute()
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskCompressImageToJpeg.java | 110 mSession.getCollector().markProcessingTimeStart(); in run() 138 mSession.finishWithFailure(-1, true); in run() 276 mSession.finishWithFailure(-1, true); in run() 296 mSession.finishWithFailure(-1, true); in run() 343 mSession.getCollector().decorateAtTimeWriteToDisk(exif); in run() 344 ListenableFuture<Optional<Uri>> futureUri = mSession.saveAndFinish(writeOut, in run() 365 mSession.getCollector() in run() 374 mSession.getCollector().photoCaptureDoneEvent(); in run() 378 mSession.getCollector().photoCaptureDoneEvent(); in run() 406 Optional<Location> location = Optional.fromNullable(mSession.getLocation()); in createExif()
|
D | ImageBackend.java | 593 sessionSet.add(task.mSession); in initializeTaskDone() 594 Integer currentCount = sessionTaskCount.get(task.mSession); in initializeTaskDone() 596 sessionTaskCount.put(task.mSession, 1); in initializeTaskDone() 598 sessionTaskCount.put(task.mSession, currentCount + 1); in initializeTaskDone() 627 ImageShadowTask shadowTask = mShadowTaskMap.get(task.mSession); in incrementTaskDone() 669 ImageShadowTask shadowTask = mShadowTaskMap.get(task.mSession); in scheduleTasks()
|
D | TaskImageContainer.java | 154 final protected CaptureSession mSession; field in TaskImageContainer 167 mSession = otherTask.mSession; in TaskImageContainer() 189 mSession = captureSession; in TaskImageContainer()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
D | MasClient.java | 60 private ClientSession mSession; field in MasClient 94 mSession = new ClientSession(mTransport); in connect() 104 headerset = mSession.connect(headerset); in connect() 123 if (mSession != null) { in disconnect() 125 mSession.disconnect(null); in disconnect() 131 mSession.close(); in disconnect() 143 request.execute(mSession); in executeRequest()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallTonePlayer.java | 117 private Session mSession; field in InCallTonePlayer 147 if (mSession != null) { in run() 148 Log.continueSession(mSession, "ICTP.r"); in run() 149 mSession = null; in run() 283 if (mSession != null) { in startTone() 284 Log.cancelSubsession(mSession); in startTone() 286 mSession = Log.createSubsession(); in startTone()
|
D | HeadsetMediaButton.java | 75 mSession = session; 79 if (mSession != null) { 81 if (activate != mSession.isActive()) { 82 mSession.setActive(activate); 96 private MediaSession mSession; field in HeadsetMediaButton
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | PremiumSmsAccess.java | 49 private Session mSession; field in PremiumSmsAccess 56 mSession = mApplicationsState.newSession(this); in onCreate() 69 mSession.resume(); in onResume() 76 mSession.pause(); in onPause() 83 mSession.release(); in onDestroy() 148 updatePrefs(mSession.rebuild(AppStateSmsPremBridge.FILTER_APP_PREMIUM_SMS, in update()
|
D | ManageDomainUrls.java | 57 private ApplicationsState.Session mSession; field in ManageDomainUrls 69 mSession = mApplicationsState.newSession(this); in onCreate() 81 mSession.resume(); in onResume() 87 mSession.pause(); in onPause() 93 mSession.release(); in onDestroy() 174 final ArrayList<AppEntry> apps = mSession.rebuild( in rebuild()
|
D | AppInfoBase.java | 71 protected ApplicationsState.Session mSession; field in AppInfoBase 96 mSession = mState.newSession(this); in onCreate() 111 mSession.resume(); in onResume() 124 mSession.pause(); in onPause() 131 mSession.release(); in onDestroy()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataSaverSummary.java | 47 private Session mSession; field in DataSaverSummary 64 mSession = mApplicationsState.newSession(this); in onCreate() 81 mSession.resume(); in onResume() 90 mSession.pause(); in onPause() 136 final ArrayList<AppEntry> allApps = mSession.getAllApps(); in onExtraInfoUpdated()
|
D | UnrestrictedDataAccess.java | 52 private ApplicationsState.Session mSession; field in UnrestrictedDataAccess 67 mSession = mApplicationsState.newSession(this); in onCreate() 112 mSession.resume(); in onResume() 120 mSession.pause(); in onPause() 126 mSession.release(); in onDestroy() 142 ArrayList<AppEntry> apps = mSession.rebuild(mFilter, ApplicationsState.ALPHA_COMPARATOR); in rebuild()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | BackupAppsStepFragment.java | 50 private ApplicationsState.Session mSession; field in BackupAppsStepFragment 97 mSession = mApplicationsState.newSession(this); in onCreate() 105 mSession.resume(); in onResume() 112 mSession.pause(); in onPause() 136 final List<ApplicationsState.AppEntry> entries = mSession.rebuild(mAppFilter, in onCreateActions() 203 final List<ApplicationsState.AppEntry> entries = mSession.rebuild(mAppFilter, in updateActions()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/ |
D | PictureTakerImpl.java | 50 private final CaptureSession mSession; field in PictureTakerImpl.PictureTakerCommand 57 mSession = session; in PictureTakerCommand() 66 mSession.cancel(); in run()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/ |
D | ManageApplicationsTest.java | 83 private ApplicationsState.Session mSession; field in ManageApplicationsTest 95 when(mState.newSession(any())).thenReturn(mSession); in setUp() 182 when(mSession.getAllApps()).thenReturn(appList); in updateLoading_appLoaded_shouldNotDelayCallToHandleLoadingContainer() 241 when(mSession.getAllApps()).thenReturn(appList); in onRebuildComplete_shouldHideLoadingView()
|