Home
last modified time | relevance | path

Searched refs:mCurrentSession (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/media/java/android/media/
DRemoteController.java82 private MediaController mCurrentSession; field in RemoteController
212 if (mCurrentSession != null) { in getEstimatedMediaPosition()
213 PlaybackState state = mCurrentSession.getPlaybackState(); in getEstimatedMediaPosition()
255 if (mCurrentSession != null) { in sendMediaKeyEvent()
256 return mCurrentSession.dispatchMediaButtonEvent(keyEvent); in sendMediaKeyEvent()
279 if (mCurrentSession != null) { in seekTo()
280 mCurrentSession.getTransportControls().seekTo(timeMs); in seekTo()
437 if (mCurrentSession != null) { in apply()
443 mCurrentSession.getTransportControls().setRating(rating); in apply()
595 + mCurrentSession); in updateController()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DDataCollector.java64 private SensorLoggerSession mCurrentSession = null; field in DataCollector
123 if (isEnabled() && mCurrentSession == null) { in sessionEntrypoint()
131 if (mCurrentSession != null) { in sessionExitpoint()
139 mCurrentSession = new SensorLoggerSession(System.currentTimeMillis(), System.nanoTime()); in onSessionStart()
143 SensorLoggerSession session = mCurrentSession; in onSessionEnd()
144 mCurrentSession = null; in onSessionEnd()
153 if (mCurrentSession == null) { in reportRejectedTouch()
158 SensorLoggerSession currentSession = mCurrentSession; in reportRejectedTouch()
208 if (isEnabled() && mCurrentSession != null) { in onSensorChanged()
209 mCurrentSession.addSensorEvent(event, System.nanoTime()); in onSensorChanged()
[all …]
/frameworks/av/camera/ndk/impl/
DACameraDevice.cpp155 if (mCurrentSession != nullptr) { in createCaptureSession()
156 mCurrentSession->closeByDevice(); in createCaptureSession()
172 mCurrentSession = newSession; in createCaptureSession()
331 if (session != mCurrentSession) { in notifySessionEndOfLifeLocked()
335 mCurrentSession = nullptr; in notifySessionEndOfLifeLocked()
364 if (mCurrentSession != nullptr) { in disconnectLocked()
365 mCurrentSession->closeByDevice(); in disconnectLocked()
366 mCurrentSession = nullptr; in disconnectLocked()
407 if (session != mCurrentSession) { in flushLocked()
560 if (!mIdle && mCurrentSession != nullptr) { in configureStreamsLocked()
[all …]
DACameraDevice.h211 ACameraCaptureSession* mCurrentSession = nullptr; variable
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java116 private CameraCaptureSessionCore mCurrentSession; field in CameraDeviceImpl
600 if (mCurrentSession != null) { in createCaptureSessionInternal()
601 mCurrentSession.replaceSessionClose(); in createCaptureSessionInternal()
641 mCurrentSession = newSession; in createCaptureSessionInternal()
647 mSessionStateCallback = mCurrentSession.getDeviceStateCallback(); in createCaptureSessionInternal()
1949 int reason = (mCurrentSession != null && mCurrentSession.isAborting()) ? in onCaptureErrorLocked()