Home
last modified time | relevance | path

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

12

/packages/services/Car/car-lib/src/android/car/diagnostic/
DCarDiagnosticManager.java87 listeners = mActiveListeners.get(event.frameType); in CarDiagnosticManager()
118 private void assertFrameType(@FrameType int frameType) { in assertFrameType() argument
119 switch(frameType) { in assertFrameType()
125 "%d is not a valid diagnostic frame type", frameType)); in assertFrameType()
139 OnDiagnosticEventListener listener, @FrameType int frameType, int rate) { in registerListener() argument
140 assertFrameType(frameType); in registerListener()
143 CarDiagnosticListeners listeners = mActiveListeners.get(frameType); in registerListener()
146 mActiveListeners.put(frameType, listeners); in registerListener()
153 if (!registerOrUpdateDiagnosticListener(frameType, rate)) { in registerListener()
170 for (@FrameType int frameType : FRAME_TYPES) { in unregisterListener()
[all …]
DCarDiagnosticEvent.java45 public final int frameType; field in CarDiagnosticEvent
72 frameType = in.readInt(); in CarDiagnosticEvent()
100 dest.writeInt(frameType); in writeToParcel()
135 switch (frameType) { in writeToJson()
143 throw new IllegalStateException("unknown frameType " + frameType); in writeToJson()
185 int frameType, in CarDiagnosticEvent() argument
190 this.frameType = frameType; in CarDiagnosticEvent()
330 return new CarDiagnosticEvent(frameType, timestamp, newFloatValues, newIntValues, dtc); in withVendorSensorsRemoved()
335 return CarDiagnosticManager.FRAME_TYPE_LIVE == frameType; in isLiveFrame()
340 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.java203 public boolean registerOrUpdateDiagnosticListener(int frameType, int rate, in registerOrUpdateDiagnosticListener() argument
219 + "listener for %s", frameType); in registerOrUpdateDiagnosticListener()
224 diagnosticListeners = mDiagnosticListeners.get(frameType); in registerOrUpdateDiagnosticListener()
227 mDiagnosticListeners.put(frameType, diagnosticListeners); in registerOrUpdateDiagnosticListener()
245 diagnosticClient.addDiagnostic(frameType); in registerOrUpdateDiagnosticListener()
248 shouldStartDiagnostics, frameType, rate); in registerOrUpdateDiagnosticListener()
251 if (!startDiagnostic(frameType, rate)) { in registerOrUpdateDiagnosticListener()
255 diagnosticClient.removeDiagnostic(frameType); in registerOrUpdateDiagnosticListener()
259 mDiagnosticListeners.remove(frameType); in registerOrUpdateDiagnosticListener()
268 private boolean startDiagnostic(int frameType, int rate) { in startDiagnostic() argument
[all …]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/util/
DStatsdUtils.java323 int frameType = in getFrameType() local
327 frameType = switch (data[1]) { in getFrameType()
332 default -> frameType; in getFrameType()
335 return frameType; in getFrameType()
340 frameLog.frameType, in writeToStatsd()
346 final int frameType; field in StatsdUtils.PollingFrameLog
349 frameType = getFrameType(data); in PollingFrameLog()
357 return repeatCount == that.repeatCount && frameType == that.frameType; in equals()
362 return Objects.hash(repeatCount, frameType); in hashCode()
369 ", frameType=" + frameType + in toString()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/
DIAudioPlayerNode.cpp376 FrameType frameType = SPEECH; in run() local
381 frameType = SID; in run()
384 frameType = NO_DATA; in run()
388 frameType = SPEECH; in run()
395 frameType == SPEECH ? kAudioTypeVoice : kAudioTypeNoData, 0); in run()
398 if (mAudioPlayer->onDataFrame(data, size, frameType, false, 0)) in run()
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
DNativeNfcManager.java418 @PollingFrame.PollingFrameType int frameType; in notifyPollingLoopFrame() local
434 frameType = p_data[pos + TLV_data_offset] != 0x00 in notifyPollingLoopFrame()
439 frameType = PollingFrame.POLLING_LOOP_TYPE_A; in notifyPollingLoopFrame()
442 frameType = PollingFrame.POLLING_LOOP_TYPE_B; in notifyPollingLoopFrame()
445 frameType = PollingFrame.POLLING_LOOP_TYPE_F; in notifyPollingLoopFrame()
448 frameType = PollingFrame.POLLING_LOOP_TYPE_UNKNOWN; in notifyPollingLoopFrame()
472 frames.add(new PollingFrame(frameType, frameData, gain, timestamp, false)); in notifyPollingLoopFrame()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/nodes/
DVideoRtpPayloadDecoderNode.cpp356 uint8_t frameType = (bNALUnitType & 0x7E) >> 1; in DecodeHevc() local
358 if (frameType >= 32 && frameType <= 34) in DecodeHevc()
362 else if (frameType == 19 || frameType == 20) in DecodeHevc()
DIVideoRendererNode.cpp223 FrameType frameType = GetFrameType(buffer, size); in ProcessData() local
225 if (frameType == SPS) in ProcessData()
247 else if (frameType == PPS) in ProcessData()
252 else if (frameType == VPS) in ProcessData()
258 IMLOGD_PACKET2(IM_PACKET_LOG_VIDEO, "[ProcessData] frame type[%d] size[%d]", frameType, size); in ProcessData()
315 if (frameType == IDR) in ProcessData()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DDiagnosticJsonReaderTest.java73 private JsonReader buildEmptyFrameJsonReader(String frameType, int timestampValue) in buildEmptyFrameJsonReader() argument
79 .value(frameType) in buildEmptyFrameJsonReader()
/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/modules/Wifi/service/java/com/android/server/wifi/util/
DFrameParser.java52 public FrameParser(byte frameType, byte[] frameBytes) { in FrameParser() argument
56 if (frameType == WifiLoggerHal.FRAME_TYPE_ETHERNET_II) { in FrameParser()
58 } else if (frameType == WifiLoggerHal.FRAME_TYPE_80211_MGMT) { in FrameParser()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/android/include/
DImsMediaAudioPlayer.h151 virtual bool onDataFrame(uint8_t* buffer, uint32_t size, FrameType frameType, bool hasNextFrame,
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DImsMediaVideoUtil.cpp818 uint8_t frameType = buf[0] & 0x1F; in GenerateVideoSprop() local
840 if (frameType == FRAME_TYPE_SPS) // Check if SPS in GenerateVideoSprop()
845 else if (frameType == FRAME_TYPE_PPS) // Check if PPS in GenerateVideoSprop()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiStaIfaceAidlImplTest.java189 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.ETHERNET_II; in testGetTxPktFates()
217 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.MGMT_80211; in testGetTxPktFatesExceedsInputArrayLength()
250 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.ETHERNET_II; in testGetRxPktFates()
278 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.MGMT_80211; in testGetRxPktFatesExceedsInputArrayLength()
DWifiStaIfaceHidlImplTest.java715 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.ETHERNET_II; in testGetTxPktFates()
748 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.MGMT_80211; in testGetTxPktFatesExceedsInputArrayLength()
783 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.ETHERNET_II; in testGetRxPktFates()
816 fateReport.frameInfo.frameType = WifiDebugPacketFateFrameType.MGMT_80211; in testGetRxPktFatesExceedsInputArrayLength()
/packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
DCarDiagnosticTest.java82 int prop = DIAGNOSTIC_PROPERTY_MAP.get(event.frameType); in fromCarDiagnosticEvent()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiVendorHalTest.java899 byte frameType = WifiLoggerHal.FRAME_TYPE_ETHERNET_II; in testGetTxPktFates()
901 fate, driverTimestampUsec, frameType, frameContentBytes); in testGetTxPktFates()
916 assertEquals(frameType, retrievedFate.mFrameType); in testGetTxPktFates()
931 byte frameType = WifiLoggerHal.FRAME_TYPE_ETHERNET_II; in testGetRxPktFates()
933 fate, driverTimestampUsec, frameType, frameContentBytes); in testGetRxPktFates()
948 assertEquals(frameType, retrievedFate.mFrameType); in testGetRxPktFates()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiNative.java4452 FateReport(byte fate, long driverTimestampUSec, byte frameType, byte[] frameBytes) {
4457 mFrameType = frameType;
4506 private static String frameTypeToString(byte frameType) {
4507 switch (frameType) {
4515 return Byte.toString(frameType);
4553 public TxFateReport(byte fate, long driverTimestampUSec, byte frameType,
4555 super(fate, driverTimestampUSec, frameType, frameBytes);
4597 public RxFateReport(byte fate, long driverTimestampUSec, byte frameType,
4599 super(fate, driverTimestampUSec, frameType, frameBytes);
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiStaIfaceAidlImpl.java315 byte type = halToFrameworkPktFateFrameType(report.frameInfo.frameType); in getDebugRxPacketFates()
346 byte type = halToFrameworkPktFateFrameType(report.frameInfo.frameType); in getDebugTxPacketFates()
DWifiStaIfaceHidlImpl.java493 byte type = halToFrameworkPktFateFrameType(fate.frameInfo.frameType); in getDebugRxPacketFatesInternal()
515 byte type = halToFrameworkPktFateFrameType(fate.frameInfo.frameType); in getDebugTxPacketFatesInternal()
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt2223 …method TIRAMISU_0 boolean registerListener(OnDiagnosticEventListener listener, int frameType, int …
2311 field TIRAMISU_0 int frameType;
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt680 field public final int frameType;
/packages/services/Car/car-lib/api/
Dsystem-current.txt680 field public final int frameType;
Dtest-current.txt752 field public final int frameType;

12