Home
last modified time | relevance | path

Searched refs:mSession (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DBluetoothPbapClient.java380 private final BluetoothPbapSession mSession; field in BluetoothPbapClient
529 mSession = new BluetoothPbapSession(device, mSessionHandler); in BluetoothPbapClient()
537 mSession.start(); in connect()
542 if (mSession != null) { in finalize()
543 mSession.stop(); in finalize()
551 mSession.stop(); in disconnect()
558 mSession.abort(); in abort()
575 return mSession.makeRequest(req); in setPhoneBookFolderRoot()
588 return mSession.makeRequest(req); in setPhoneBookFolderUp()
602 return mSession.makeRequest(req); in setPhoneBookFolderDown()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DAndroidCameraCaptureSessionProxy.java80 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/usbtuner/src/com/android/usbtuner/tvinput/
DTunerSessionWorker.java188 private final TunerSession mSession; field in TunerSessionWorker
203 mSession = tunerSession; in TunerSessionWorker()
340 mSession.sendUiMessage(TunerSession.MSG_UI_PROCESS_CAPTION_TRACK, event); in onEmitCaptionEvent()
361 mSession.sendUiMessage(TunerSession.MSG_UI_TOAST_RESCAN_NEEDED); in onRescanNeeded()
492 mSession.notifyVideoUnavailable( in handleMessage()
503 mSession.notifyContentAllowed(); in handleMessage()
522 mSession.notifyVideoUnavailable( in handleMessage()
559 mSession.notifyVideoUnavailable( in handleMessage()
648 mSession.sendUiMessage( in handleMessage()
726 mSession.notifyVideoAvailable(); in handleMessage()
[all …]
DTunerRecordingSessionWorker.java104 private final TunerRecordingSession mSession; field in TunerRecordingSessionWorker
120 mSession = session; in TunerRecordingSessionWorker()
190 mSession.onTuned(channelUri); in handleMessage()
193 mSession.onConnectFailed(); in handleMessage()
203 mSession.onRecordUnexpectedlyStopped(TvInputManager.RECORDING_ERROR_UNKNOWN); in handleMessage()
514 mSession.onRecordFinished(uri); in onRecordingResult()
521 mSession.onRecordUnexpectedlyStopped(TvInputManager.RECORDING_ERROR_UNKNOWN); in onRecordingResult()
/packages/apps/Camera2/src/com/android/camera/one/v2/imagesaver/
DYuvImageBackendImageSaver.java61 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()
DJpegImageBackendImageSaver.java60 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/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/mbs/
DA2dpMediaBrowserService.java67 private MediaSession mSession; field in A2dpMediaBrowserService
123 mSession = new MediaSession(this, TAG); in onCreate()
124 setSessionToken(mSession.getSessionToken()); in onCreate()
125 mSession.setCallback(mSessionCallbacks); in onCreate()
126 mSession.setFlags(MediaSession.FLAG_HANDLES_MEDIA_BUTTONS | in onCreate()
142 mSession.release(); in onDestroy()
322 mSession.setMetadata(mAvrcpProfile.getMetadata(mA2dpDevice)); in refreshInitialPlayingState()
323 mSession.setPlaybackState(playbackState); in refreshInitialPlayingState()
343 mSession.setPlaybackState(pbb.build()); in msgDeviceDisconnect()
358 mSession.setPlaybackState(pbb.build()); in msgProfileDisconnect()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransfer.java97 private BluetoothOppObexSession mSession; field in BluetoothOppTransfer
114 mSession = session; in BluetoothOppTransfer()
189 mSession.stop(); in handleMessage()
211 mSession.stop(); in handleMessage()
413 if (mSession != null) { in stop()
415 mSession.stop(); in stop()
441 mSession = new BluetoothOppObexClientSession(mContext, mTransport); in startObexSession()
448 if (mSession == null) { in startObexSession()
455 if (V) Log.v(TAG, "Transfer has Server session" + mSession.toString()); in startObexSession()
458 mSession.start(mSessionHandler, mBatch.getNumShares()); in startObexSession()
[all …]
DBluetoothOppObexServerSession.java90 private ServerSession mSession; field in BluetoothOppObexServerSession
118 mSession = new ServerSession(mTransport, this, null); in preStart()
144 if (mSession != null) { in stop()
146 mSession.close(); in stop()
153 mSession = null; in stop()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallTonePlayer.java108 private Session mSession; field in InCallTonePlayer
134 if (mSession != null) { in run()
135 Log.continueSession(mSession, "ICTP.r"); in run()
136 mSession = null; in run()
270 if (mSession != null) { in startTone()
271 Log.cancelSubsession(mSession); in startTone()
273 mSession = Log.createSubsession(); in startTone()
DHeadsetMediaButton.java73 mSession = session;
77 if (mSession != null) {
79 if (activate != mSession.isActive()) {
80 mSession.setActive(activate);
94 private MediaSession mSession; field in HeadsetMediaButton
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskCompressImageToJpeg.java110 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()
DTaskImageContainer.java154 final protected CaptureSession mSession; field in TaskImageContainer
167 mSession = otherTask.mSession; in TaskImageContainer()
189 mSession = captureSession; in TaskImageContainer()
DImageBackend.java593 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()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataSaverSummary.java47 private Session mSession; field in DataSaverSummary
62 mSession = mApplicationsState.newSession(this); in onCreate()
79 mSession.resume(); in onResume()
88 mSession.pause(); in onPause()
134 final ArrayList<AppEntry> allApps = mSession.getAllApps(); in onExtraInfoUpdated()
DUnrestrictedDataAccess.java52 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/Settings/src/com/android/settings/applications/
DPremiumSmsAccess.java47 private Session mSession; field in PremiumSmsAccess
54 mSession = mApplicationsState.newSession(this); in onCreate()
67 mSession.resume(); in onResume()
74 mSession.pause(); in onPause()
117 updatePrefs(mSession.rebuild(AppStateSmsPremBridge.FILTER_APP_PREMIUM_SMS, in update()
DAppInfoBase.java62 protected ApplicationsState.Session mSession; field in AppInfoBase
84 mSession = mState.newSession(this); in onCreate()
98 mSession.resume(); in onResume()
111 mSession.pause(); in onPause()
117 mSession.release(); in onDestroy()
DManageApplications.java744 private final ApplicationsState.Session mSession; field in ManageApplications.ApplicationsAdapter
793 mSession = state.newSession(this); in ApplicationsAdapter()
828 mSession.resume(); in resume()
842 mSession.pause(); in pause()
850 mSession.release(); in release()
907 final ArrayList<AppEntry> entries = mSession.rebuild(finalFilterObj, in rebuild()
966 if (mSession.getAllApps().size() != 0 in onRebuildComplete()
1021 mHasReceivedLoadEntries && mSession.getAllApps().size() != 0, false); in updateLoading()
1266 private ApplicationsState.Session mSession; field in ManageApplications.SummaryProvider
DAdvancedAppSettings.java51 private Session mSession; field in AdvancedAppSettings
70 mSession = applicationsState.newSession(this); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DBackupAppsStepFragment.java50 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/
DPictureTakerImpl.java50 private final CaptureSession mSession; field in PictureTakerImpl.PictureTakerCommand
57 mSession = session; in PictureTakerCommand()
66 mSession.cancel(); in run()
/packages/apps/Camera2/src/com/android/camera/processing/
DProcessingTask.java34 public final CaptureSession mSession; field in ProcessingTask.ProcessingResult
42 mSession = session; in ProcessingResult()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppManagementFragment.java53 private ApplicationsState.Session mSession; field in AppManagementFragment
87 mSession = mApplicationsState.newSession(mCallbacks); in onCreate()
96 mSession.resume(); in onResume()
114 mSession.pause(); in onPause()
/packages/experimental/PrintService/src/foo/bar/printservice/
DMyPrintService.java80 private FakePrinterDiscoverySession mSession; field in MyPrintService
103 if (mSession != null) { in onDisconnected()
104 mSession.cancellAddingFakePrinters(); in onDisconnected()

12