Home
last modified time | relevance | path

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

/aosp12/frameworks/base/media/java/android/media/
H A DRemoteController.java83 private MediaController mCurrentSession; field in RemoteController
213 if (mCurrentSession != null) { in getEstimatedMediaPosition()
256 if (mCurrentSession != null) { in sendMediaKeyEvent()
280 if (mCurrentSession != null) { in seekTo()
439 if (mCurrentSession != null) { in apply()
597 + mCurrentSession); in updateController()
601 if (mCurrentSession != null) { in updateController()
603 mCurrentSession = null; in updateController()
607 } else if (mCurrentSession == null in updateController()
610 if (mCurrentSession != null) { in updateController()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
H A DDataCollector.java72 private SensorLoggerSession mCurrentSession = null; field in DataCollector
153 if (isEnabled() && mCurrentSession == null) { in sessionEntrypoint()
161 if (mCurrentSession != null) { in sessionExitpoint()
173 SensorLoggerSession session = mCurrentSession; in onSessionEnd()
174 mCurrentSession = null; in onSessionEnd()
183 if (mCurrentSession == null) { in reportRejectedTouch()
242 if (isEnabled() && mCurrentSession != null) { in onSensorChanged()
483 if (mCurrentSession != null) { in onTouchEvent()
488 mCurrentSession.addMotionEvent(event); in onTouchEvent()
489 mCurrentSession.setTouchArea(width, height); in onTouchEvent()
[all …]
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiWakeMetrics.java41 private Session mCurrentSession; field in WifiWakeMetrics
59 mCurrentSession = new Session(numNetworks, SystemClock.elapsedRealtime()); in recordStartEvent()
78 mCurrentSession.recordInitializeEvent(numScans, numNetworks, in recordInitializeEvent()
99 mCurrentSession.recordUnlockEvent(numScans, SystemClock.elapsedRealtime()); in recordUnlockEvent()
118 mCurrentSession.recordWakeupEvent(numScans, SystemClock.elapsedRealtime()); in recordWakeupEvent()
138 mCurrentSession.recordResetEvent(numScans, SystemClock.elapsedRealtime()); in recordResetEvent()
141 if (mCurrentSession.hasWakeupTriggered()) { in recordResetEvent()
147 mSessions.add(mCurrentSession); in recordResetEvent()
193 if (mCurrentSession != null) { in dump()
195 mCurrentSession.dump(pw); in dump()
H A DWifiMetrics.java256 private SessionData mCurrentSession; field in WifiMetrics
2003 mCurrentSession = new SessionData(currentConnectionEvent.mConfigSsid, in endConnectionEvent()
2066 mCurrentSession != null ? mCurrentSession.mBand : 0, in reportNetworkDisconnect()
2067 mCurrentSession != null ? mCurrentSession.mAuthType : 0); in reportNetworkDisconnect()
2069 if (mCurrentSession != null) { in reportNetworkDisconnect()
2071 int durationSeconds = (int) (mCurrentSession.mSessionEndTimeMillis in reportNetworkDisconnect()
2072 - mCurrentSession.mSessionStartTimeMillis) / 1000; in reportNetworkDisconnect()
2077 mCurrentSession.mBand, in reportNetworkDisconnect()
2078 mCurrentSession.mAuthType, in reportNetworkDisconnect()
2082 mPreviousSession = mCurrentSession; in reportNetworkDisconnect()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
H A DSensor.java88 @Nullable private Session mCurrentSession; field in Sensor
499 () -> mCurrentSession != null ? mCurrentSession.mUserId : UserHandle.USER_NULL, in Sensor()
505 mSensorProperties.sensorId, () -> mCurrentSession = null); in Sensor()
513 mCurrentSession = null; in Sensor()
545 mLazySession = () -> mCurrentSession != null ? mCurrentSession.mSession : null; in Sensor()
557 if (mCurrentSession != null && mCurrentSession.mUserId == userId) { in getSessionForUser()
558 return mCurrentSession; in getSessionForUser()
586 if (mCurrentSession != null && mCurrentSession.mSession != null) { in setTestHalEnabled()
589 mCurrentSession.mSession.close(); in setTestHalEnabled()
594 mCurrentSession = null; in setTestHalEnabled()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
H A DSensor.java89 @Nullable private Session mCurrentSession; field in Sensor
455 () -> mCurrentSession != null ? mCurrentSession.mUserId : UserHandle.USER_NULL, in Sensor()
469 mCurrentSession = null; in Sensor()
480 mCurrentSession = new Session(mTag, in Sensor()
500 mLazySession = () -> mCurrentSession != null ? mCurrentSession.mSession : null; in Sensor()
512 if (mCurrentSession != null && mCurrentSession.mUserId == userId) { in getSessionForUser()
513 return mCurrentSession; in getSessionForUser()
542 if (mCurrentSession != null && mCurrentSession.mSession != null) { in setTestHalEnabled()
545 mCurrentSession.mSession.close(); in setTestHalEnabled()
550 mCurrentSession = null; in setTestHalEnabled()
[all …]
/aosp12/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp70 mCurrentSession(nullptr) { in CameraDevice()
214 mCurrentSession = newSession; in createCaptureSession()
440 if (mCurrentSession != session) { in notifySessionEndOfLifeLocked()
444 mCurrentSession = nullptr; in notifySessionEndOfLifeLocked()
519 if (mCurrentSession != session) { in flushLocked()
670 if (!mIdle && mCurrentSession != nullptr) { in configureStreamsLocked()
671 if (mBusySession != mCurrentSession) { in configureStreamsLocked()
896 mCurrentSession = nullptr; in stopLooperAndDisconnect()
1443 dev->mCurrentSession = nullptr; in onDeviceError()
1512 if (dev->mCurrentSession != nullptr) { in onDeviceIdle()
[all …]
H A DACameraDevice.h261 wp<ACameraCaptureSession> mCurrentSession; variable
/aosp12/frameworks/av/camera/ndk/ndk_vendor/impl/
H A DACameraDevice.cpp91 mCurrentSession(nullptr) { in CameraDevice()
208 mCurrentSession = newSession; in createCaptureSession()
462 if (mCurrentSession != session) { in notifySessionEndOfLifeLocked()
466 mCurrentSession = nullptr; in notifySessionEndOfLifeLocked()
543 if (mCurrentSession != session) { in flushLocked()
659 if (!mIdle && mCurrentSession != nullptr) { in configureStreamsLocked()
660 if (mBusySession != mCurrentSession) { in configureStreamsLocked()
1403 mCurrentSession = nullptr; in stopLooperAndDisconnect()
1440 dev->mCurrentSession = nullptr; in onDeviceError()
1506 if (dev->mCurrentSession != nullptr) { in onDeviceIdle()
[all …]
H A DACameraDevice.h291 wp<ACameraCaptureSession> mCurrentSession; variable
/aosp12/frameworks/av/media/libmediatranscoding/
H A DTranscodingSessionController.cpp338 mCurrentSession(nullptr), in TranscodingSessionController()
447 if (mCurrentSession != nullptr && mCurrentSession->getState() == Session::RUNNING && in getTopSession_l()
448 mCurrentSession->allClientUids.count(topUid) > 0) { in getTopSession_l()
449 return mCurrentSession; in getTopSession_l()
505 Session* curSession = mCurrentSession; in updateCurrentSession_l()
569 mCurrentSession = topSession; in updateCurrentSession_l()
652 if (mCurrentSession == &mSessionMap[sessionKey]) { in removeSession_l()
653 mCurrentSession = nullptr; in removeSession_l()
/aosp12/frameworks/base/core/java/android/hardware/camera2/impl/
H A DCameraDeviceImpl.java148 private CameraCaptureSessionCore mCurrentSession; field in CameraDeviceImpl
703 if (mCurrentSession != null) { in createCaptureSessionInternal()
704 mCurrentSession.replaceSessionClose(); in createCaptureSessionInternal()
757 mCurrentSession = newSession; in createCaptureSessionInternal()
763 mSessionStateCallback = mCurrentSession.getDeviceStateCallback(); in createCaptureSessionInternal()
987 mCurrentSession.closeWithoutDraining(); in switchToOffline()
988 mCurrentSession = null; in switchToOffline()
1877 int reason = (mCurrentSession != null && mCurrentSession.isAborting()) ? in onCaptureErrorLocked()
/aosp12/frameworks/av/media/libmediatranscoding/include/media/
H A DTranscodingSessionController.h174 Session* mCurrentSession; variable
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt21983 Landroid/hardware/camera2/impl/CameraDeviceImpl;->mCurrentSession:Landroid/hardware/camera2/impl/Ca…