Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/telemetry/sessioncontroller/
DSessionAnnotation.java31 public class SessionAnnotation { class
41 public SessionAnnotation( in SessionAnnotation() method in SessionAnnotation
93 if (!(obj instanceof SessionAnnotation)) { in equals()
96 SessionAnnotation other = (SessionAnnotation) obj; in equals()
DSessionController.java95 void onSessionStateChanged(SessionAnnotation annotation); in onSessionStateChanged()
148 public SessionAnnotation getSessionAnnotation() { in getSessionAnnotation()
149 return new SessionAnnotation( in getSessionAnnotation()
190 SessionAnnotation annotation = getSessionAnnotation(); in notifySessionStateChange()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/publisher/
DConnectivityPublisherTest.java50 import com.android.car.telemetry.sessioncontroller.SessionAnnotation;
122 private static final SessionAnnotation SESSION_ANNOTATION_BEGIN_1 =
123 new SessionAnnotation(1, SessionController.STATE_ENTER_DRIVING_SESSION, 0, 0, "", 0);
124 private static final SessionAnnotation SESSION_ANNOTATION_END_1 =
125 new SessionAnnotation(1, SessionController.STATE_EXIT_DRIVING_SESSION, 0, 0, "", 0);
126 private static final SessionAnnotation SESSION_ANNOTATION_BEGIN_2 =
127 new SessionAnnotation(2, SessionController.STATE_ENTER_DRIVING_SESSION, 0, 0, "", 0);
128 private static final SessionAnnotation SESSION_ANNOTATION_END_2 =
129 new SessionAnnotation(2, SessionController.STATE_EXIT_DRIVING_SESSION, 0, 0, "", 0);
130 private static final SessionAnnotation SESSION_ANNOTATION_BEGIN_3 =
[all …]
DCarTelemetrydPublisherTest.java49 import com.android.car.telemetry.sessioncontroller.SessionAnnotation;
76 private static final SessionAnnotation SESSION_ANNOTATION_BEGIN_1 =
77 new SessionAnnotation(1, SessionController.STATE_ENTER_DRIVING_SESSION, 0, 0, "", 0);
DMemoryPublisherTest.java47 import com.android.car.telemetry.sessioncontroller.SessionAnnotation;
316 SessionAnnotation sessionAnnotation = new SessionAnnotation( in testAddDataSubscriber_annotatesWithDrivingSessionData()
/packages/services/Car/service/src/com/android/car/telemetry/publisher/
DAbstractPublisher.java24 import com.android.car.telemetry.sessioncontroller.SessionAnnotation;
70 protected abstract void handleSessionStateChange(@NonNull SessionAnnotation annotation); in handleSessionStateChange()
DCarTelemetrydPublisher.java36 import com.android.car.telemetry.sessioncontroller.SessionAnnotation;
318 SessionAnnotation sessionAnnotation = mSessionController.getSessionAnnotation(); in processCarData()
327 protected void handleSessionStateChange(SessionAnnotation annotation) { in handleSessionStateChange()
DMemoryPublisher.java36 import com.android.car.telemetry.sessioncontroller.SessionAnnotation;
105 private SessionAnnotation mSessionAnnotation;
140 protected void handleSessionStateChange(@NonNull SessionAnnotation annotation) { in handleSessionStateChange()
DConnectivityPublisher.java45 import com.android.car.telemetry.sessioncontroller.SessionAnnotation;
117 protected void handleSessionStateChange(SessionAnnotation annotation) { in handleSessionStateChange()
DVehiclePropertyPublisher.java44 import com.android.car.telemetry.sessioncontroller.SessionAnnotation;
194 protected void handleSessionStateChange(SessionAnnotation annotation) {} in handleSessionStateChange()
DStatsPublisher.java55 import com.android.car.telemetry.sessioncontroller.SessionAnnotation;
798 protected void handleSessionStateChange(SessionAnnotation annotation) {} in handleSessionStateChange()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/sessioncontroller/
DSessionAnnotationUnitTest.java38 private static final SessionAnnotation sAnnotation = new SessionAnnotation(SESSION_ID,
DSessionControllerUnitTest.java76 public SessionAnnotation annotation;
80 public void onSessionStateChanged(SessionAnnotation annotation) { in onSessionStateChanged()
183 SessionAnnotation annotation = mSessionController.getSessionAnnotation(); in testGetSessionAnnotation_defaultState()