Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticManager.java85 listeners = mActiveListeners.get(event.frameType); in CarDiagnosticManager()
117 private void assertFrameType(@FrameType int frameType) { in assertFrameType() argument
118 switch(frameType) { in assertFrameType()
124 "%d is not a valid diagnostic frame type", frameType)); in assertFrameType()
137 OnDiagnosticEventListener listener, @FrameType int frameType, int rate) { in registerListener() argument
138 assertFrameType(frameType); in registerListener()
141 CarDiagnosticListeners listeners = mActiveListeners.get(frameType); in registerListener()
144 mActiveListeners.put(frameType, listeners); in registerListener()
151 if (!registerOrUpdateDiagnosticListener(frameType, rate)) { in registerListener()
165 for(@FrameType int frameType : FRAME_TYPES) { in unregisterListener()
[all …]
DCarDiagnosticEvent.java41 public final int frameType; field in CarDiagnosticEvent
68 frameType = in.readInt(); in CarDiagnosticEvent()
95 dest.writeInt(frameType); in writeToParcel()
130 switch (frameType) { in writeToJson()
138 throw new IllegalStateException("unknown frameType " + frameType); in writeToJson()
180 int frameType, in CarDiagnosticEvent() argument
185 this.frameType = frameType; in CarDiagnosticEvent()
325 return new CarDiagnosticEvent(frameType, timestamp, newFloatValues, newIntValues, dtc); in withVendorSensorsRemoved()
330 return CarDiagnosticManager.FRAME_TYPE_LIVE == frameType; in isLiveFrame()
335 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/service/src/com/android/car/
DCarDiagnosticService.java143 (Integer frameType, Listeners diagnosticListeners) -> in release()
203 public boolean registerOrUpdateDiagnosticListener(int frameType, int rate, in registerOrUpdateDiagnosticListener() argument
223 frameType)); in registerOrUpdateDiagnosticListener()
228 diagnosticListeners = mDiagnosticListeners.get(frameType); in registerOrUpdateDiagnosticListener()
231 mDiagnosticListeners.put(frameType, diagnosticListeners); in registerOrUpdateDiagnosticListener()
249 diagnosticClient.addDiagnostic(frameType); in registerOrUpdateDiagnosticListener()
257 shouldStartDiagnostics, frameType, rate)); in registerOrUpdateDiagnosticListener()
260 if (!startDiagnostic(frameType, rate)) { in registerOrUpdateDiagnosticListener()
265 diagnosticClient.removeDiagnostic(frameType); in registerOrUpdateDiagnosticListener()
269 mDiagnosticListeners.remove(frameType); in registerOrUpdateDiagnosticListener()
[all …]
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/
DHdHomeRunUtils.java146 static byte[] sealFrame(byte[] data, short frameType) { in sealFrame() argument
149 buffer.putShort(frameType); in sealFrame()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DCarDiagnosticTest.java80 int prop = DIAGNOSTIC_PROPERTY_MAP.get(event.frameType); in fromCarDiagnosticEvent()
/packages/services/Car/car-lib/api/
Dsystem-current.txt303 field public final int frameType;