Home
last modified time | relevance | path

Searched refs:frameType (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DCarDiagnosticService.java141 (Integer frameType, Listeners diagnosticListeners) -> in release()
201 public boolean registerOrUpdateDiagnosticListener(int frameType, int rate, in registerOrUpdateDiagnosticListener() argument
221 frameType)); in registerOrUpdateDiagnosticListener()
226 diagnosticListeners = mDiagnosticListeners.get(frameType); in registerOrUpdateDiagnosticListener()
229 mDiagnosticListeners.put(frameType, diagnosticListeners); in registerOrUpdateDiagnosticListener()
247 diagnosticClient.addDiagnostic(frameType); in registerOrUpdateDiagnosticListener()
255 shouldStartDiagnostics, frameType, rate)); in registerOrUpdateDiagnosticListener()
258 if (!startDiagnostic(frameType, rate)) { in registerOrUpdateDiagnosticListener()
263 diagnosticClient.removeDiagnostic(frameType); in registerOrUpdateDiagnosticListener()
267 mDiagnosticListeners.remove(frameType); in registerOrUpdateDiagnosticListener()
[all …]
/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticManager.java88 listeners = mActiveListeners.get(event.frameType); in CarDiagnosticManager()
119 private void assertFrameType(@FrameType int frameType) { in assertFrameType() argument
120 switch(frameType) { in assertFrameType()
126 "%d is not a valid diagnostic frame type", frameType)); in assertFrameType()
140 @FrameType int frameType, in registerListener() argument
143 assertFrameType(frameType); in registerListener()
149 CarDiagnosticListeners listeners = mActiveListeners.get(frameType); in registerListener()
152 mActiveListeners.put(frameType, listeners); in registerListener()
159 if (!registerOrUpdateDiagnosticListener(frameType, rate)) { in registerListener()
173 for(@FrameType int frameType : FRAME_TYPES) { in unregisterListener()
[all …]
DCarDiagnosticEvent.java40 public final int frameType; field in CarDiagnosticEvent
67 frameType = in.readInt(); in CarDiagnosticEvent()
94 dest.writeInt(frameType); in writeToParcel()
129 switch (frameType) { in writeToJson()
137 throw new IllegalStateException("unknown frameType " + frameType); in writeToJson()
179 int frameType, in CarDiagnosticEvent() argument
184 this.frameType = frameType; in CarDiagnosticEvent()
266 return new CarDiagnosticEvent(frameType, timestamp, newFloatValues, newIntValues, dtc); in withVendorSensorsRemoved()
271 return CarDiagnosticManager.FRAME_TYPE_LIVE == frameType; in isLiveFrame()
276 return CarDiagnosticManager.FRAME_TYPE_FREEZE == frameType; in isFreezeFrame()
[all …]
DICarDiagnostic.aidl27 boolean registerOrUpdateDiagnosticListener(int frameType, int rate, in registerOrUpdateDiagnosticListener() argument
53 void unregisterDiagnosticListener(int frameType, in unregisterDiagnosticListener() argument
/packages/services/Car/car-lib/api/
Dsystem-current.txt381 field public final int frameType;