/aosp12/packages/services/Car/car-lib/src/android/car/diagnostic/ |
H A D | CarDiagnosticManager.java | 84 listeners = mActiveListeners.get(event.frameType); in CarDiagnosticManager() 115 private void assertFrameType(@FrameType int frameType) { in assertFrameType() argument 116 switch(frameType) { in assertFrameType() 136 assertFrameType(frameType); in registerListener() 142 mActiveListeners.put(frameType, listeners); in registerListener() 149 if (!registerOrUpdateDiagnosticListener(frameType, rate)) { in registerListener() 163 for (@FrameType int frameType : FRAME_TYPES) { in unregisterListener() 164 doUnregisterListenerLocked(listener, frameType); in unregisterListener() 170 @FrameType int frameType) { in doUnregisterListenerLocked() argument 179 mService.unregisterDiagnosticListener(frameType, in doUnregisterListenerLocked() [all …]
|
H A D | CarDiagnosticEvent.java | 41 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() 330 return CarDiagnosticManager.FRAME_TYPE_LIVE == frameType; in isLiveFrame() 335 return CarDiagnosticManager.FRAME_TYPE_FREEZE == frameType; in isFreezeFrame() 376 if (otherEvent.frameType != frameType) { in equals() [all …]
|
H A D | ICarDiagnostic.aidl | 27 boolean registerOrUpdateDiagnosticListener(int frameType, int rate, in registerOrUpdateDiagnosticListener() argument 53 void unregisterDiagnosticListener(int frameType, in unregisterDiagnosticListener() argument
|
/aosp12/packages/services/Car/service/src/com/android/car/ |
H A D | CarDiagnosticService.java | 223 frameType)); in registerOrUpdateDiagnosticListener() 260 if (!startDiagnostic(frameType, rate)) { in registerOrUpdateDiagnosticListener() 288 switch (frameType) { in startDiagnostic() 364 stopDiagnostic(frameType); in unregisterDiagnosticListener() 366 startDiagnostic(frameType, newRate); in unregisterDiagnosticListener() 370 private void stopDiagnostic(int frameType) { in stopDiagnostic() argument 376 switch (frameType) { in stopDiagnostic() 523 void addDiagnostic(int frameType) { in addDiagnostic() argument 524 mActiveDiagnostics.add(frameType); in addDiagnostic() 527 void removeDiagnostic(int frameType) { in removeDiagnostic() argument [all …]
|
/aosp12/frameworks/av/media/codecs/amrwb/enc/SampleCode/ |
H A D | AMRWB_E_SAMPLE.c | 76 VOAMRWBFRAMETYPE frameType, in encode() argument 187 ret = AudioAPI.SetParam(hCodec, VO_PID_AMRWB_FRAMETYPE, &frameType); in encode() 191 if(frameType == VOAMRWB_RFC3267) in encode() 273 VOAMRWBFRAMETYPE frameType; in main() local 287 frameType = VOAMRWB_RFC3267; in main() 326 case '0': frameType = VOAMRWB_DEFAULT; in main() 328 case '1': frameType = VOAMRWB_ITU; in main() 330 case '2': frameType = VOAMRWB_RFC3267 ; in main() 362 r = encode(mode, allow_dtx, frameType, inFileName, outFileName); in main()
|
/aosp12/frameworks/av/media/codecs/amrnb/dec/test/ |
H A D | amrnbdec_test.cpp | 115 Frame_Type_3GPP frameType = (Frame_Type_3GPP)((mode >> 3) & 0x0f); in main() local 116 if (frameType >= AMR_SID){ in main() 117 fprintf(stderr, "Frame type %d not supported\n",frameType); in main() 123 int32_t frameSize = kFrameSizes[frameType]; in main() 129 decodeStatus = AMRDecode(amrHandle, frameType, (uint8_t*)inputBuf, in main()
|
H A D | AmrnbDecoderTest.cpp | 79 Frame_Type_3GPP frameType = (Frame_Type_3GPP)((mode >> 3) & 0x0f); in DecodeFrames() local 80 int32_t frameSize = kFrameSizes[frameType]; in DecodeFrames() 88 int32_t bytesDecoded = AMRDecode(amrHandle, frameType, inputBuf, outputBuf, MIME_IETF); in DecodeFrames()
|
/aosp12/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/ |
H A D | NalUnitUtil.java | 119 int frameType = -1; in getStandardizedFrameTypesFromAVC() local 130 frameType = parseAVCNALUnitData(dataArray, (pos + startOffset), in getStandardizedFrameTypesFromAVC() 139 return frameType; in getStandardizedFrameTypesFromAVC() 146 int frameType = -1; in getStandardizedFrameTypesFromHEVC() local 157 frameType = parseHEVCNALUnitData(dataArray, (pos + startOffset), in getStandardizedFrameTypesFromHEVC() 166 return frameType; in getStandardizedFrameTypesFromHEVC()
|
/aosp12/frameworks/av/media/codecs/amrnb/fuzzer/ |
H A D | amrnb_dec_fuzzer.cpp | 57 Frame_Type_3GPP frameType = static_cast<Frame_Type_3GPP>((mode >> 3) & 0x0f); in decodeFrames() local 61 frameSize = kLocalIf2DecBytesPerFrame[frameType]; in decodeFrames() 63 frameSize = kLocalWmfDecBytesPerFrame[frameType]; in decodeFrames() 72 AMRDecode(mAmrHandle, frameType, inputBuf, outputBuf, bitsreamFormat); in decodeFrames()
|
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | BackingStore.java | 339 public abstract void allocate(FrameType frameType); in allocate() argument 419 public void allocate(FrameType frameType) { in allocate() argument 492 public void allocate(FrameType frameType) { in allocate() argument 493 assertImageCompatible(frameType); in allocate() 586 public void allocate(FrameType frameType) { in allocate() argument 587 assertImageCompatible(frameType); in allocate() 699 public void allocate(FrameType frameType) { in allocate() argument 700 int size = frameType.getElementSize(); in allocate() 806 public void allocate(FrameType frameType) { in allocate() argument 807 assertCompatible(frameType); in allocate() [all …]
|
/aosp12/frameworks/av/media/codecs/amrwb/dec/fuzzer/ |
H A D | amrwb_dec_fuzzer.cpp | 84 int16 frameType; in decodeFrames() local 85 mime_unsorting(inputBuf, inputSampleBuf, &frameType, &frameMode, quality, &rx_state); in decodeFrames() 90 frameType, mDecoderCookie); in decodeFrames()
|
/aosp12/frameworks/av/media/codecs/amrwb/dec/test/ |
H A D | amrwbdec_test.cpp | 137 int16 frameType, frameMode; in main() local 142 &frameType, &frameMode, 1, &rx_state); in main() 149 decoderBuf, frameType, decoderCookie); in main()
|
H A D | AmrwbDecoderTest.cpp | 101 int16 frameType; in DecodeFrames() local 102 mime_unsorting(inputBuf, inputSampleBuf, &frameType, &frameMode, 1, &rx_state); in DecodeFrames() 106 frameType, decoderCookie); in DecodeFrames()
|
/aosp12/hardware/google/av/media/eco/tests/ |
H A D | EcoSessionTest.cpp | 294 int8_t frameType; in TEST_F() local 295 EXPECT_TRUE(info.findInt8(FRAME_TYPE, &frameType) == ECODataStatus::OK); in TEST_F() 296 EXPECT_EQ(frameType, FrameTypeI); in TEST_F() 339 EXPECT_TRUE(info.findInt8(FRAME_TYPE, &frameType) == ECODataStatus::OK); in TEST_F() 340 EXPECT_EQ(frameType, FrameTypeP); in TEST_F() 375 EXPECT_TRUE(info.findInt8(FRAME_TYPE, &frameType) == ECODataStatus::OK); in TEST_F() 376 EXPECT_EQ(frameType, FrameTypeB); in TEST_F() 399 EXPECT_TRUE(info.findInt8(FRAME_TYPE, &frameType) == ECODataStatus::OK); in TEST_F() 400 EXPECT_EQ(frameType, FrameTypeB); in TEST_F()
|
/aosp12/hardware/google/av/media/eco/include/eco/ |
H A D | ECOUtils.h | 112 SimpleEncodedFrameData(int32_t frameNum, int8_t frameType, int64_t ptsUs, int32_t qp, in SimpleEncodedFrameData() 115 mFrameType(frameType), in SimpleEncodedFrameData()
|
/aosp12/frameworks/av/media/codecs/amrnb/enc/fuzzer/ |
H A D | amrnb_enc_fuzzer.cpp | 77 Frame_Type_3GPP frameType = (Frame_Type_3GPP)mode; in encodeFrames() local 85 AMREncode(mEncState, mSidState, mode, inputBuf, outputBuf, &frameType, outputFormat); in encodeFrames()
|
/aosp12/frameworks/av/media/codecs/amrwb/enc/fuzzer/ |
H A D | amrwb_enc_fuzzer.cpp | 54 VOAMRWBFRAMETYPE frameType = kFrameTypes[startByte % 3]; in initEncoder() local 83 if (VO_ERR_NONE != mApiHandle->SetParam(mEncoderHandle, VO_PID_AMRWB_FRAMETYPE, &frameType)) { in initEncoder()
|
H A D | README.md | 12 1. Frame Type (parameter name: `frameType`) 17 | `frameType` | 0. `VOAMRWB_DEFAULT` 1. `VOAMRWB_ITU` 2. `VOAMRWB_RFC3267` | Bits 0, 1 and 2 of 1st…
|
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
H A D | HdHomeRunUtils.java | 146 static byte[] sealFrame(byte[] data, short frameType) { in sealFrame() argument 149 buffer.putShort(frameType); in sealFrame()
|
/aosp12/frameworks/av/media/libstagefright/codecs/amrnb/dec/ |
H A D | SoftAMR.cpp | 469 int16 frameType; in onQueueFilled() local 473 &frameType, &mode, 1, &mRxState); in onQueueFilled() 480 mDecoderBuf, frameType, mDecoderCookie); in onQueueFilled()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
H A D | FrameParser.java | 52 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()
|
/aosp12/frameworks/av/media/libstagefright/codecs/amrnb/enc/ |
H A D | SoftAMRNBEncoder.cpp | 382 Frame_Type_3GPP frameType; in onQueueFilled() local 385 mInputFrame, outPtr, &frameType, AMR_TX_WMF); in onQueueFilled()
|
/aosp12/frameworks/av/media/codecs/amrwb/enc/inc/ |
H A D | cod_main.h | 90 VOAMRWBFRAMETYPE frameType; member
|
/aosp12/frameworks/av/media/codec2/components/amr_nb_wb/ |
H A D | C2SoftAmrNbEnc.cpp | 249 Frame_Type_3GPP frameType; in process() local 251 wView.data() + outPos, &frameType, in process()
|
/aosp12/frameworks/av/media/codecs/amrwb/enc/src/ |
H A D | bits.c | 44 Word16 bitstreamformat = st->frameType; in PackBits()
|