Home
last modified time | relevance | path

Searched refs:decoder (Results 1 – 25 of 73) sorted by relevance

123

/packages/modules/Bluetooth/system/embdrv/sbc/
DBUILD.gn19 "decoder/srce/alloc.c",
20 "decoder/srce/bitalloc.c",
21 "decoder/srce/bitalloc-sbc.c",
22 "decoder/srce/bitstream-decode.c",
23 "decoder/srce/decoder-oina.c",
24 "decoder/srce/decoder-private.c",
25 "decoder/srce/decoder-sbc.c",
26 "decoder/srce/dequant.c",
27 "decoder/srce/framing.c",
28 "decoder/srce/framing-sbc.c",
[all …]
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/audio/nodes/
DAudioRtpPayloadNodeTest.cpp107 decoder = nullptr; in AudioRtpPayloadNodeTest()
118 AudioRtpPayloadDecoderNode* decoder; member in __anon49c173380111::AudioRtpPayloadNodeTest
152 decoder = new AudioRtpPayloadDecoderNode(); in setupNodes()
153 decoder->SetMediaType(IMS_MEDIA_AUDIO); in setupNodes()
154 decoder->SetConfig(config); in setupNodes()
155 nodes.push_back(decoder); in setupNodes()
156 encoder->ConnectRearNode(decoder); in setupNodes()
162 decoder->ConnectRearNode(fakeNode); in setupNodes()
201 EXPECT_EQ(decoder->Start(), RESULT_SUCCESS); in TEST_F()
205 EXPECT_EQ(decoder->UpdateConfig(&audioConfig), RESULT_SUCCESS); in TEST_F()
[all …]
/packages/modules/ImsMedia/tests/native/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/nodes/
DRtpDecoderNodeTests.cpp180 decoder = nullptr; in RtpDecoderNodeTest()
193 RtpDecoderNode* decoder; member in RtpDecoderNodeTest
226 decoder = new RtpDecoderNode(&callback); in setupNodes()
227 decoder->SetMediaType(type); in setupNodes()
228 decoder->SetConfig(config); in setupNodes()
230 nodes.push_back(decoder); in setupNodes()
231 encoder->ConnectRearNode(decoder); in setupNodes()
237 decoder->ConnectRearNode(fakeNode); in setupNodes()
328 decoder->SetConfig(&audioConfig); in TEST_F()
329 EXPECT_EQ(decoder->Start(), RESULT_INVALID_PARAM); in TEST_F()
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsResponseDecoderTests.java215 MdnsResponseDecoder decoder = new MdnsResponseDecoder(mClock, CAST_SERVICE_TYPE); in setUp() local
217 responses = decode(decoder, data); in setUp()
223 MdnsResponseDecoder decoder = new MdnsResponseDecoder(mClock, null); in testDecodeWithNullServiceType() local
224 responses = decode(decoder, data); in testDecodeWithNullServiceType()
290 MdnsResponseDecoder decoder = new MdnsResponseDecoder(mClock, CAST_SERVICE_TYPE); in testDecodeIPv6AnswerPacket() local
292 verifyResponse(decode(decoder, data6)); in testDecodeIPv6AnswerPacket()
299 MdnsResponseDecoder decoder = new MdnsResponseDecoder(mClock, castServiceTypeUpperCase); in testDecodeCaseInsensitiveMatch() local
301 verifyResponse(decode(decoder, data6)); in testDecodeCaseInsensitiveMatch()
336 MdnsResponseDecoder decoder = new MdnsResponseDecoder(mClock, CAST_SERVICE_TYPE); in decode_withInterfaceIndex_populatesInterfaceIndex() local
347 responses = new ArraySet<>(decoder.augmentResponses(parsedPacket, in decode_withInterfaceIndex_populatesInterfaceIndex()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSinglePhotoDataAdapter.java78 public final BitmapRegionDecoder decoder; field in SinglePhotoDataAdapter.ImageBundle
81 public ImageBundle(BitmapRegionDecoder decoder, Bitmap backupImage) { in ImageBundle() argument
82 this.decoder = decoder; in ImageBundle()
91 BitmapRegionDecoder decoder = future.get();
92 if (decoder == null) return;
93 int width = decoder.getWidth();
94 int height = decoder.getHeight();
98 Bitmap bitmap = decoder.decodeRegion(new Rect(0, 0, width, height), options);
100 MSG_UPDATE_IMAGE, new ImageBundle(decoder, bitmap)));
126 bundle.decoder.getWidth(), bundle.decoder.getHeight()); in onDecodeLargeComplete()
[all …]
/packages/modules/Bluetooth/system/embdrv/sbc/decoder/
DAndroid.bp1 // Bluetooth SBC decoder static library for target
12 name: "libbt-sbc-decoder",
19 "srce/decoder-oina.c",
20 "srce/decoder-private.c",
21 "srce/decoder-sbc.c",
47 "libbt-sbc-decoder",
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/android/
DImsMediaPauseImageSource.cpp81 AImageDecoder* decoder; in Initialize() local
82 int result = AImageDecoder_createFromAAsset(asset, &decoder); in Initialize()
89 const AImageDecoderHeaderInfo* info = AImageDecoder_getHeaderInfo(decoder); in Initialize()
96 AImageDecoder_delete(decoder); in Initialize()
109 size_t decStride = AImageDecoder_getMinimumStride(decoder); // Image decoder does not in Initialize()
114 result = AImageDecoder_decodeImage(decoder, pixels, decStride, size); in Initialize()
118 AImageDecoder_delete(decoder); in Initialize()
125 AImageDecoder_delete(decoder); in Initialize()
/packages/modules/Bluetooth/system/stack/mmc/proto/
Dmmc_config.proto25 // encoder/decoder config
81 // decoder config
100 // This determines the codec type and whether it is an encoder or a decoder.
102 // HFP LC3 encoder and decoder have same parameter type.
/packages/modules/Bluetooth/system/stack/mmc/test/mock/
Dmock_embdrv_lc3.h43 std::function<int(struct lc3_decoder* decoder, const void* in, int nbytes,
45 body{[](struct lc3_decoder* decoder, const void* in, int nbytes,
48 int operator()(struct lc3_decoder* decoder, const void* in, int nbytes, in operator()
50 return body(decoder, in, nbytes, fmt, pcm, stride); in operator()
Dmock_embdrv_lc3.cc76 int lc3_decode(struct lc3_decoder* decoder, const void* in, int nbytes, in lc3_decode() argument
79 return test::mock::embdrv_lc3::lc3_decode(decoder, in, nbytes, fmt, pcm, in lc3_decode()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DTileImageViewAdapter.java62 public synchronized void setRegionDecoder(BitmapRegionDecoder decoder) { in setRegionDecoder() argument
63 mRegionDecoder = Utils.checkNotNull(decoder); in setRegionDecoder()
64 mImageWidth = decoder.getWidth(); in setRegionDecoder()
65 mImageHeight = decoder.getHeight(); in setRegionDecoder()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/video/
DVideoStreamGraphRtpRx.cpp218 RtpDecoderNode* decoder = reinterpret_cast<RtpDecoderNode*>(node); in setMediaQualityThreshold() local
219 decoder->SetInactivityTimerSec(threshold->getRtpInactivityTimerMillis().empty() in setMediaQualityThreshold()
229 IVideoRendererNode* decoder = reinterpret_cast<IVideoRendererNode*>(node); in setMediaQualityThreshold() local
230 decoder->SetPacketLossParam(threshold->getRtpPacketLossDurationMillis(), in setMediaQualityThreshold()
DVideoStreamGraphRtcp.cpp176 RtcpDecoderNode* decoder = reinterpret_cast<RtcpDecoderNode*>(node); in setMediaQualityThreshold() local
177 decoder->SetInactivityTimerSec(threshold->getRtcpInactivityTimerMillis() / 1000); in setMediaQualityThreshold()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DUriImage.java176 BitmapRegionDecoder decoder = DecodeUtils.createBitmapRegionDecoder( in run()
178 mWidth = decoder.getWidth(); in run()
179 mHeight = decoder.getHeight(); in run()
180 return decoder; in run()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
DImageLoader.java265 BitmapRegionDecoder decoder = BitmapRegionDecoder.newInstance(is, false); in loadRegionBitmap() local
266 Rect r = new Rect(0, 0, decoder.getWidth(), decoder.getHeight()); in loadRegionBitmap()
267 w = decoder.getWidth(); in loadRegionBitmap()
268 h = decoder.getHeight(); in loadRegionBitmap()
279 Bitmap bitmap = decoder.decodeRegion(imageBounds, options); in loadRegionBitmap()
/packages/modules/adb/daemon/
Dfile_sync_service.cpp285 Decoder* decoder = nullptr; in handle_send_file_data() local
289 decoder = &decoder_storage.emplace<NullDecoder>(buffer_span); in handle_send_file_data()
293 decoder = &decoder_storage.emplace<BrotliDecoder>(buffer_span); in handle_send_file_data()
297 decoder = &decoder_storage.emplace<LZ4Decoder>(buffer_span); in handle_send_file_data()
301 decoder = &decoder_storage.emplace<ZstdDecoder>(buffer_span); in handle_send_file_data()
313 decoder->Finish(); in handle_send_file_data()
317 decoder->Append(std::move(block)); in handle_send_file_data()
325 DecodeResult result = decoder->Decode(&output); in handle_send_file_data()
/packages/modules/Uwb/service/java/com/android/server/uwb/
DUwbConfigurationManager.java128 TlvDecoder decoder = TlvDecoder.getDecoder(protocolName, mUwbInjector); in decodeTLV() local
129 if (decoder == null) { in decodeTLV()
142 params = decoder.getParams(tlvs, paramType, protocolVersion); in decodeTLV()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/signature/
DProtectedAudienceSignatureManager.java150 Base64.Decoder decoder = Base64.getDecoder(); in fetchPublicKeyForAdTech() local
154 Collections.singletonList(decoder.decode(PUBLIC_TEST_KEY_STRING)); in fetchPublicKeyForAdTech()
180 .map(key -> decoder.decode(key.getBody())) in fetchPublicKeyForAdTech()
/packages/modules/Bluetooth/pandora/server/bumble_experimental/
Dasha.py21 from bumble.decoder import G722Decoder
232 decoder = G722Decoder() # type: ignore
252 decoded_data = decoder.decode_frame(input_data) # type: ignore
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/text/
DTextStreamGraphRtcp.cpp177 RtcpDecoderNode* decoder = reinterpret_cast<RtcpDecoderNode*>(node); in setMediaQualityThreshold() local
178 decoder->SetInactivityTimerSec(threshold->getRtcpInactivityTimerMillis() / 1000); in setMediaQualityThreshold()
DTextStreamGraphRtpRx.cpp204 RtpDecoderNode* decoder = reinterpret_cast<RtpDecoderNode*>(node); in setMediaQualityThreshold() local
205 decoder->SetInactivityTimerSec(threshold->getRtpInactivityTimerMillis().empty() in setMediaQualityThreshold()
/packages/modules/Wifi/framework/java/android/net/wifi/
DWifiSsid.java146 CharsetDecoder decoder = charset.newDecoder() in decodeSsid() local
150 CoderResult result = decoder.decode(ByteBuffer.wrap(ssidBytes), out, true); in decodeSsid()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
DCropActivity.java481 BitmapRegionDecoder decoder = null; in doInBackground() local
483 decoder = BitmapRegionDecoder.newInstance(mInStream, true); in doInBackground()
489 if (decoder != null) { in doInBackground()
493 crop = decoder.decodeRegion(roundedTrueCrop, options); in doInBackground()
494 decoder.recycle(); in doInBackground()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaNetworkCallbackAidlImpl.java130 CharsetDecoder decoder = StandardCharsets.UTF_8.newDecoder(); in byteArrayToString()
132 CharBuffer decoded = decoder.decode(ByteBuffer.wrap(byteArray)); in byteArrayToString()
/packages/modules/Bluetooth/system/test/suite/
DAndroid.bp23 "packages/modules/Bluetooth/system/embdrv/sbc/decoder/include",
82 "libbt-sbc-decoder",

123