Home
last modified time | relevance | path

Searched refs:mSessionController (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/sessioncontroller/
DSessionControllerUnitTest.java68 private SessionController mSessionController; field in SessionControllerUnitTest
108 mSessionController = new SessionController( in setUp()
116 if (mSessionController != null) { in tearDown()
117 mSessionController.release(); in tearDown()
124 mSessionController.registerCallback(mCallback); in testRegisterCallback_stateChangeTriggersCallback()
140 mSessionController.registerCallback(mCallback); in testGetSessionAnnotation_sessionOnSessionOffSequence()
158 assertThat(mSessionController.getSessionAnnotation()).isEqualTo(mCallback.annotation); in testGetSessionAnnotation_sessionOnSessionOffSequence()
178 assertThat(mSessionController.getSessionAnnotation()).isEqualTo(mCallback.annotation); in testGetSessionAnnotation_sessionOnSessionOffSequence()
183 SessionAnnotation annotation = mSessionController.getSessionAnnotation(); in testGetSessionAnnotation_defaultState()
193 mSessionController.registerCallback(mCallback); in testInitSession_triggersCallback()
[all …]
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DPublisherFactory.java63 private final SessionController mSessionController; field in PublisherFactory
77 mSessionController = sessionController; in PublisherFactory()
98 mPublisherListener, mTelemetryHandler, mSessionController); in getPublisher()
119 mTelemetryHandler, mResultStore, mSessionController, in getPublisher()
127 mSessionController); in getPublisher()
DCarTelemetrydPublisher.java63 private final SessionController mSessionController; field in CarTelemetrydPublisher
95 this.mSessionController = sessionController; in CarTelemetrydPublisher()
318 SessionAnnotation sessionAnnotation = mSessionController.getSessionAnnotation(); in processCarData()
/packages/services/Car/service/src/com/android/car/telemetry/
DCarTelemetryService.java177 private SessionController mSessionController; field in CarTelemetryService
223 mSessionController = sessionController; in CarTelemetryService()
241 if (mSessionController == null) { in init()
242 mSessionController = new SessionController( in init()
246 mTelemetryHandler, mContext, mSessionController, mResultStore, mUidMapper); in init()
278 mSessionController.release(); in release()
666 mSessionController.initSession(); in startMetricsCollection()