Home
last modified time | relevance | path

Searched refs:SessionController (Results 1 – 13 of 13) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/sessioncontroller/
DSessionControllerUnitTest.java68 private SessionController mSessionController;
75 SessionController.SessionControllerCallback {
108 mSessionController = new SessionController( in setUp()
133 SessionController.STATE_ENTER_DRIVING_SESSION); in testRegisterCallback_stateChangeTriggersCallback()
150 SessionController.STATE_ENTER_DRIVING_SESSION); in testGetSessionAnnotation_sessionOnSessionOffSequence()
170 SessionController.STATE_EXIT_DRIVING_SESSION); in testGetSessionAnnotation_sessionOnSessionOffSequence()
184 assertThat(annotation.sessionState).isEqualTo(SessionController.STATE_EXIT_DRIVING_SESSION); in testGetSessionAnnotation_defaultState()
198 SessionController.STATE_ENTER_DRIVING_SESSION); in testInitSession_triggersCallback()
DSessionAnnotationUnitTest.java32 private static final int SESSION_STATE = SessionController.STATE_ENTER_DRIVING_SESSION;
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DPublisherFactory.java30 import com.android.car.telemetry.sessioncontroller.SessionController;
63 private final SessionController mSessionController;
71 @NonNull SessionController sessionController, in PublisherFactory()
DConnectivityPublisher.java46 import com.android.car.telemetry.sessioncontroller.SessionController;
94 @NonNull SessionController sessionController, @NonNull UidPackageMapper uidMapper) { in ConnectivityPublisher()
118 if (annotation.sessionState == SessionController.STATE_ENTER_DRIVING_SESSION) { in handleSessionStateChange()
121 } else if (annotation.sessionState == SessionController.STATE_EXIT_DRIVING_SESSION) { in handleSessionStateChange()
DCarTelemetrydPublisher.java37 import com.android.car.telemetry.sessioncontroller.SessionController;
63 private final SessionController mSessionController;
92 @NonNull SessionController sessionController) { in CarTelemetrydPublisher()
DMemoryPublisher.java37 import com.android.car.telemetry.sessioncontroller.SessionController;
112 @NonNull SessionController sessionController) { in MemoryPublisher()
123 @NonNull SessionController sessionController, in MemoryPublisher()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/
DConnectivityPublisherTest.java51 import com.android.car.telemetry.sessioncontroller.SessionController;
123 new SessionAnnotation(1, SessionController.STATE_ENTER_DRIVING_SESSION, 0, 0, "", 0);
125 new SessionAnnotation(1, SessionController.STATE_EXIT_DRIVING_SESSION, 0, 0, "", 0);
127 new SessionAnnotation(2, SessionController.STATE_ENTER_DRIVING_SESSION, 0, 0, "", 0);
129 new SessionAnnotation(2, SessionController.STATE_EXIT_DRIVING_SESSION, 0, 0, "", 0);
131 new SessionAnnotation(3, SessionController.STATE_ENTER_DRIVING_SESSION, 0, 0, "", 0);
170 private SessionController mMockSessionController;
172 private ArgumentCaptor<SessionController.SessionControllerCallback>
DMemoryPublisherTest.java48 import com.android.car.telemetry.sessioncontroller.SessionController;
118 private ArgumentCaptor<SessionController.SessionControllerCallback> mSessionCallbackCaptor;
128 private SessionController mMockSessionController;
317 2, SessionController.STATE_ENTER_DRIVING_SESSION, 123, 1234, "reboot", 0); in testAddDataSubscriber_annotatesWithDrivingSessionData()
DCarTelemetrydPublisherTest.java50 import com.android.car.telemetry.sessioncontroller.SessionController;
77 new SessionAnnotation(1, SessionController.STATE_ENTER_DRIVING_SESSION, 0, 0, "", 0);
94 private SessionController mMockSessionController;
/packages/services/Car/service/src/com/android/car/telemetry/sessioncontroller/
DSessionController.java41 public class SessionController { class
98 public SessionController( in SessionController() method in SessionController
DSessionAnnotation.java43 @SessionController.SessionControllerState int sessionState, in SessionAnnotation()
/packages/services/Car/service/src/com/android/car/telemetry/
DCarTelemetryService.java68 import com.android.car.telemetry.sessioncontroller.SessionController;
177 private SessionController mSessionController;
188 SessionController sessionController, ResultStore resultStore, in getPublisherFactory()
216 SessionController sessionController) { in CarTelemetryService()
242 mSessionController = new SessionController( in init()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/
DCarTelemetryServiceTest.java65 import com.android.car.telemetry.sessioncontroller.SessionController;
113 @Mock private SessionController mMockSessionController;