Home
last modified time | relevance | path

Searched refs:sessionState (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/service/src/com/android/car/telemetry/sessioncontroller/
DSessionAnnotation.java33 public final int sessionState; field in SessionAnnotation
43 @SessionController.SessionControllerState int sessionState, in SessionAnnotation() argument
49 this.sessionState = sessionState; in SessionAnnotation()
59 return Objects.hash(sessionId, sessionState, createdAtSinceBootMillis, createdAtMillis, in hashCode()
70 .append(sessionState).append(", ") in toString()
98 && sessionState == other.sessionState in equals()
112 bundle.putInt(Constants.ANNOTATION_BUNDLE_KEY_SESSION_STATE, sessionState); in addAnnotationsToBundle()
DSessionController.java154 private void updateSessionState(@SessionControllerState int sessionState) { in updateSessionState() argument
157 mSessionState = sessionState; in updateSessionState()
158 if (sessionState == STATE_ENTER_DRIVING_SESSION) { in updateSessionState()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/sessioncontroller/
DSessionControllerUnitTest.java132 assertThat(mCallback.annotation.sessionState).isEqualTo( in testRegisterCallback_stateChangeTriggersCallback()
149 assertThat(mCallback.annotation.sessionState).isEqualTo( in testGetSessionAnnotation_sessionOnSessionOffSequence()
169 assertThat(mCallback.annotation.sessionState).isEqualTo( in testGetSessionAnnotation_sessionOnSessionOffSequence()
184 assertThat(annotation.sessionState).isEqualTo(SessionController.STATE_EXIT_DRIVING_SESSION); in testGetSessionAnnotation_defaultState()
197 assertThat(mCallback.annotation.sessionState).isEqualTo( in testInitSession_triggersCallback()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSessionTestBase.java260 int sessionState, in verifyIkeSaMetricsLogged() argument
271 eq(sessionState), in verifyIkeSaMetricsLogged()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DConnectivityPublisher.java118 if (annotation.sessionState == SessionController.STATE_ENTER_DRIVING_SESSION) { in handleSessionStateChange()
121 } else if (annotation.sessionState == SessionController.STATE_EXIT_DRIVING_SESSION) { in handleSessionStateChange()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbSessionManager.java1104 int sessionState = uwbSession.getSessionState(); in suspendRangingPreconditionCheck() local
1107 sessionState != UwbUciConstants.UWB_SESSION_STATE_ACTIVE) { in suspendRangingPreconditionCheck()
1109 " scheduleMode: " + scheduleMode + " sessionState: " + sessionState); in suspendRangingPreconditionCheck()