Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 25 of 157) sorted by relevance

1234567

/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java101 doStagefrightTestRawBlob(R.raw.cve_2019_2244, "video/mpeg2", 320, 420); in testStagefright_cve_2019_2244()
106 doStagefrightTest(R.raw.bug_36725407); in testStagefright_bug_36725407()
111 doStagefrightTest(R.raw.cve_2016_3829); in testStagefright_cve_2016_3829()
116 doStagefrightTest(R.raw.cve_2017_0643); in testStagefright_cve_2017_0643()
121 doStagefrightTest(R.raw.cve_2017_0728); in testStagefright_cve_2017_0728()
126 doStagefrightTest(R.raw.bug_62187433); in testStagefright_bug_62187433()
131 doStagefrightTestANR(R.raw.bug_62673844); in testStagefrightANR_bug_62673844()
136 doStagefrightTest(R.raw.bug_37079296); in testStagefright_bug_37079296()
141 doStagefrightTest(R.raw.bug_38342499); in testStagefright_bug_38342499()
146 doStagefrightTest(R.raw.bug_22771132); in testStagefright_bug_22771132()
[all …]
DPackageSignatureTest.java73 wellKnownSignatures.add(getSignature(R.raw.sig_media)); in getWellKnownSignatures()
74 wellKnownSignatures.add(getSignature(R.raw.sig_platform)); in getWellKnownSignatures()
75 wellKnownSignatures.add(getSignature(R.raw.sig_shared)); in getWellKnownSignatures()
76 wellKnownSignatures.add(getSignature(R.raw.sig_testkey)); in getWellKnownSignatures()
77 wellKnownSignatures.add(getSignature(R.raw.sig_devkeys)); in getWellKnownSignatures()
78 wellKnownSignatures.add(getSignature(R.raw.sig_networkstack)); in getWellKnownSignatures()
79 wellKnownSignatures.add(getSignature(R.raw.sig_devkeys_media)); in getWellKnownSignatures()
80 wellKnownSignatures.add(getSignature(R.raw.sig_devkeys_platform)); in getWellKnownSignatures()
81 wellKnownSignatures.add(getSignature(R.raw.sig_devkeys_shared)); in getWellKnownSignatures()
82 wellKnownSignatures.add(getSignature(R.raw.sig_devkeys_networkstack)); in getWellKnownSignatures()
DBitmapFactoryDecodeStreamTest.java39 R.raw.cve_2015_1532)); in testNinePatchHeapOverflow()
47 R.raw.cve_2017_0691)); in testPocCVE_2017_0691()
54 R.raw.b65290323)); in test_b65290323()
DCertBlacklistTest.java42 private static final int BLACKLIST_CA = R.raw.test_blacklist_ca;
43 private static final int BLACKLISTED_CHAIN = R.raw.blacklist_test_chain;
44 private static final int BLACKLIST_FALLBACK_VALID_CA = R.raw.blacklist_test_valid_ca;
45 private static final int BLACKLISTED_VALID_CHAIN = R.raw.blacklist_test_valid_chain;
/cts/tests/tests/media/src/android/media/cts/
DDecoderTest.java95 AssetFileDescriptor masterFd = mResources.openRawResourceFd(R.raw.sinesweepraw); in setUp()
144 decode(R.raw.sinesweepmp3lame, 804.f); in testDecodeMp3Lame()
145 testTimeStampOrdering(R.raw.sinesweepmp3lame); in testDecodeMp3Lame()
148 decode(R.raw.sinesweepmp3smpb, 413.f); in testDecodeMp3Smpb()
149 testTimeStampOrdering(R.raw.sinesweepmp3smpb); in testDecodeMp3Smpb()
152 decode(R.raw.sinesweepm4a, 124.f); in testDecodeM4a()
153 testTimeStampOrdering(R.raw.sinesweepm4a); in testDecodeM4a()
156 decode(R.raw.sinesweepogg, 168.f); in testDecodeOgg()
157 testTimeStampOrdering(R.raw.sinesweepogg); in testDecodeOgg()
160 decode(R.raw.sinesweepoggmkv, 168.f); in testDecodeOggMkv()
[all …]
DMediaScannerTest.java75 writeFile(R.raw.testmp3, fileName); in setUp()
131 writeFile(R.raw.testmp3, unlocalizablePath); in testLocalizeRingtoneTitles()
148 writeFile(R.raw.testmp3_4, localizablePath); in testLocalizeRingtoneTitles()
229 writeFile(R.raw.testmp3, mFileDir + "/testmp3.mp3"); in testMediaScanner()
230 writeFile(R.raw.testmp3_2, mFileDir + "/testmp3_2.mp3"); in testMediaScanner()
231 writeFile(R.raw.playlist1, mFileDir + "/ctsmediascanplaylist1.pls"); in testMediaScanner()
232 writeFile(R.raw.playlist2, mFileDir + "/ctsmediascanplaylist2.m3u"); in testMediaScanner()
299 writeFile(R.raw.testmp3, file1); in testWildcardPaths()
305 writeFile(R.raw.testmp3, file2); in testWildcardPaths()
368 canonicalizeTest(R.raw.testmp3); in testCanonicalize()
[all …]
DNativeDecoderTest.java118 testExtractor(R.raw.sinesweepogg); in testExtractor()
119 testExtractor(R.raw.sinesweepoggmkv); in testExtractor()
120 testExtractor(R.raw.sinesweepoggmp4); in testExtractor()
121 testExtractor(R.raw.sinesweepmp3lame); in testExtractor()
122 testExtractor(R.raw.sinesweepmp3smpb); in testExtractor()
123 testExtractor(R.raw.sinesweepopus); in testExtractor()
124 testExtractor(R.raw.sinesweepopusmp4); in testExtractor()
125 testExtractor(R.raw.sinesweepm4a); in testExtractor()
126 testExtractor(R.raw.sinesweepflacmkv); in testExtractor()
127 testExtractor(R.raw.sinesweepflac); in testExtractor()
[all …]
DSoundPoolMidiTest.java27 return R.raw.midi_a; in getSoundA()
32 return R.raw.midi_cs; in getSoundCs()
37 return R.raw.midi_e; in getSoundE()
42 return R.raw.midi_b; in getSoundB()
47 return R.raw.midi_gs; in getSoundGs()
DSoundPoolOggTest.java27 return R.raw.a_4; in getSoundA()
32 return R.raw.c_sharp_5; in getSoundCs()
37 return R.raw.e_5; in getSoundE()
42 return R.raw.b_5; in getSoundB()
47 return R.raw.g_sharp_5; in getSoundGs()
DSoundPoolAacTest.java27 return R.raw.a_4_aac; in getSoundA()
32 return R.raw.c_sharp_5_aac; in getSoundCs()
37 return R.raw.e_5_aac; in getSoundE()
42 return R.raw.b_5_aac; in getSoundB()
47 return R.raw.g_sharp_5_aac; in getSoundGs()
DSoundPoolHapticTest.java37 return R.raw.a_4_haptic; in getSoundA()
42 return R.raw.c_sharp_5_haptic; in getSoundCs()
47 return R.raw.e_5_haptic; in getSoundE()
52 return R.raw.b_5_haptic; in getSoundB()
57 return R.raw.g_sharp_5_haptic; in getSoundGs()
DMediaPlayerTest.java126 testIfMediaServerDied(R.raw.heap_oob_flac); in testFlacHeapOverflow()
168 AssetFileDescriptor afd2 = mResources.openRawResourceFd(R.raw.testmp3_2); in testVorbisCrash()
177 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.bug13652927); in testVorbisCrash()
207 final int resid = R.raw.testmp3_3; in testPlayAudioFromDataURI()
265 testPlayAudio(R.raw.testmp3_2,
270 testPlayAudio(R.raw.testopus,
275 testPlayAudio(R.raw.testamr,
331 final int resid = R.raw.test1m1s; // MP3 longer than 1m are usualy offloaded
367 final int resid = R.raw.testmp3; in testPlayAudioLooping()
404 final int resid = R.raw.midi8sec; in testPlayMidi()
[all …]
DVideoDecoderPerfTest.java373 R.raw.bbb_s1_320x240_mp4_h264_mp2_800kbps_30fps_aac_lc_5ch_240kbps_44100hz,
385 R.raw.bbb_s1_720x480_mp4_h264_mp3_2mbps_30fps_aac_lc_5ch_320kbps_48000hz,
398 R.raw.bbb_s4_1280x720_mp4_h264_mp31_8mbps_30fps_aac_he_mono_40kbps_44100hz,
399 R.raw.bbb_s3_1280x720_mp4_h264_hp32_8mbps_60fps_aac_he_v2_stereo_48kbps_48000hz,
400 R.raw.bbb_s3_1280x720_mp4_h264_mp32_8mbps_60fps_aac_he_v2_6ch_144kbps_44100hz,
413 R.raw.bbb_s4_1920x1080_wide_mp4_h264_hp4_20mbps_30fps_aac_lc_6ch_384kbps_44100hz,
414 R.raw.bbb_s4_1920x1080_wide_mp4_h264_mp4_20mbps_30fps_aac_he_5ch_200kbps_44100hz,
415 R.raw.bbb_s2_1920x1080_mp4_h264_hp42_20mbps_60fps_aac_lc_6ch_384kbps_48000hz,
416 R.raw.bbb_s2_1920x1080_mp4_h264_mp42_20mbps_60fps_aac_he_v2_5ch_160kbps_48000hz,
430 R.raw.video_176x144_3gp_h263_300kbps_12fps_aac_stereo_128kbps_22050hz,
[all …]
DImageReaderDecoderTest.java161 new MediaAsset(R.raw.swirl_176x144_h263, 176, 144),
162 new MediaAsset(R.raw.swirl_352x288_h263, 352, 288),
163 new MediaAsset(R.raw.swirl_128x96_h263, 128, 96));
167 new MediaAsset(R.raw.swirl_128x128_mpeg4, 128, 128),
168 new MediaAsset(R.raw.swirl_144x136_mpeg4, 144, 136),
169 new MediaAsset(R.raw.swirl_136x144_mpeg4, 136, 144),
170 new MediaAsset(R.raw.swirl_132x130_mpeg4, 132, 130),
171 new MediaAsset(R.raw.swirl_130x132_mpeg4, 130, 132));
175 new MediaAsset(R.raw.swirl_128x128_h264, 128, 128),
176 new MediaAsset(R.raw.swirl_144x136_h264, 144, 136),
[all …]
DMediaExtractorTest.java92 TestMediaDataSource dataSource = setDataSource(R.raw.testvideo); in testMediaDataSourceIsClosedOnRelease()
98 TestMediaDataSource dataSource = getDataSourceFor(R.raw.testvideo); in testExtractorFailsIfMediaDataSourceThrows()
109 TestMediaDataSource dataSource = getDataSourceFor(R.raw.testvideo); in testExtractorFailsIfMediaDataSourceReturnsAnError()
121 TestMediaDataSource dataSource = setDataSource(R.raw.testvideo); in testExtractFromAMediaDataSource()
127 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.testvideo); in testExtractFromAssetFileDescriptor()
185 final int resid = R.raw.MultiLangPerso_1PID_PC0_Select_AC4_H265_DVB_50fps; in testGetAudioPresentations()
287 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.testvideo); in testExtractorHasCacheReachedEndOfStream()
298 setDataSource(R.raw.binary_counter_320x240_30fps_600frames); in testVideoPresentationTimeStampsMatch()
306 R.raw.timestamps_binary_counter_320x240_30fps_600frames))); in testVideoPresentationTimeStampsMatch()
524 AssetFileDescriptor testFd = mResources.openRawResourceFd(R.raw.sinesweepalac); in testFlacMovExtraction()
[all …]
DThumbnailUtilsTest.java66 final File file = stageFile(R.raw.testmp3, new File(mDir, "cts.mp3")); in testCreateAudioThumbnail()
74 final File file = stageFile(R.raw.monotestmp3, new File(mDir, "audio.mp3")); in testCreateAudioThumbnail_SeparateFile()
75 stageFile(R.raw.volantis, new File(mDir, "AlbumArt.jpg")); in testCreateAudioThumbnail_SeparateFile()
84 final File file = stageFile(R.raw.monotestmp3, new File(mDir, "cts.mp3")); in testCreateAudioThumbnail_None()
94 final File file = stageFile(R.raw.volantis, new File(mDir, "cts.jpg")); in testCreateImageThumbnail()
103 R.raw.bbb_s1_720x480_mp4_h264_mp3_2mbps_30fps_aac_lc_5ch_320kbps_48000hz, in testCreateVideoThumbnail()
DMediaMetadataRetrieverTest.java127 setDataSourceCallback(R.raw.testvideo); in test3gppMetadata()
156 … setDataSourceFd(R.raw.video_480x360_mp4_h264_500kbps_25fps_aac_stereo_128kbps_44100hz_id3v2); in testID3v2Metadata()
185 setDataSourceFd(R.raw.testwav_16bit_44100hz); in testBitsPerSampleAndSampleRate()
198 setDataSourceFd(R.raw.largealbumart); in testLargeAlbumArt()
222 TestMediaDataSource dataSource = setDataSourceCallback(R.raw.testvideo); in testMediaDataSourceIsClosedOnRelease()
229 TestMediaDataSource ds = getFaultyDataSource(R.raw.testvideo, true /* throwing */); in testRetrieveFailsIfMediaDataSourceThrows()
239 TestMediaDataSource ds = getFaultyDataSource(R.raw.testvideo, false /* throwing */); in testRetrieveFailsIfMediaDataSourceReturnsAnError()
270 testThumbnail(R.raw.bbb_s4_1280x720_mp4_h264_mp31_8mbps_30fps_aac_he_mono_40kbps_44100hz); in testThumbnailH264()
274 testThumbnail(R.raw.video_176x144_3gp_h263_56kbps_12fps_aac_mono_24kbps_11025hz); in testThumbnailH263()
278 testThumbnail(R.raw.video_1280x720_mp4_mpeg4_1000kbps_25fps_aac_stereo_128kbps_44100hz); in testThumbnailMPEG4()
[all …]
/cts/suite/audio_quality/test_description/
Dprocessing_main.py149 raw = self.conn.recv(length - totalRead)
150 justRead = len(raw)
154 result.append(raw)
158 raw = self.readRaw(4)
159 i32 = struct.unpack("<i", raw)
163 raw = self.readRaw(8)
164 i64 = struct.unpack("<q", raw)
168 raw = self.readRaw(8)
169 val = struct.unpack("<d", raw)
173 raw = self.readRaw(length * 2)
[all …]
/cts/tests/tests/keystore/src/android/keystore/cts/
DRSASignatureTest.java126 R.raw.rsa_key5_512_pkcs8, in testSmallKeyRejected()
127 R.raw.rsa_key5_512_cert, in testSmallKeyRejected()
161 R.raw.rsa_key5_512_pkcs8, R.raw.rsa_key5_512_cert, importParams), in importKatKeyPairs()
163 R.raw.rsa_key6_768_pkcs8, R.raw.rsa_key6_768_cert, importParams), in importKatKeyPairs()
165 R.raw.rsa_key3_1024_pkcs8, R.raw.rsa_key3_1024_cert, importParams), in importKatKeyPairs()
167 R.raw.rsa_key8_2048_pkcs8, R.raw.rsa_key8_2048_cert, importParams), in importKatKeyPairs()
169 R.raw.rsa_key7_3072_pksc8, R.raw.rsa_key7_3072_cert, importParams), in importKatKeyPairs()
171 R.raw.rsa_key4_4096_pkcs8, R.raw.rsa_key4_4096_cert, importParams), in importKatKeyPairs()
DECDSASignatureTest.java124 R.raw.ec_key3_secp224r1_pkcs8, R.raw.ec_key3_secp224r1_cert, importParams), in importKatKeyPairs()
126 R.raw.ec_key4_secp256r1_pkcs8, R.raw.ec_key4_secp256r1_cert, importParams), in importKatKeyPairs()
128 R.raw.ec_key5_secp384r1_pkcs8, R.raw.ec_key5_secp384r1_cert, importParams), in importKatKeyPairs()
130 R.raw.ec_key6_secp521r1_pkcs8, R.raw.ec_key6_secp521r1_cert, importParams), in importKatKeyPairs()
/cts/tests/tests/networksecurityconfig/networksecurityconfig-resourcesrc/src/android/security/net/config/cts/
DResourceSourceTest.java37 Set<X509Certificate> singleDer = loadCertificates(R.raw.der_single); in testSingleDerPresent()
43 Set<X509Certificate> singlePem = loadCertificates(R.raw.pem_single); in testSinglePemPresent()
49 Set<X509Certificate> multipleDer = loadCertificates(R.raw.der_multiple); in testMultipleDerPresent()
56 Set<X509Certificate> multiplePem = loadCertificates(R.raw.pem_multiple); in testMultiplePemPresent()
63 Set<X509Certificate> certs = loadCertificates(R.raw.der_single); in testOnlyResourceCasPresent()
64 certs.addAll(loadCertificates(R.raw.der_multiple)); in testOnlyResourceCasPresent()
65 certs.addAll(loadCertificates(R.raw.pem_single)); in testOnlyResourceCasPresent()
66 certs.addAll(loadCertificates(R.raw.pem_multiple)); in testOnlyResourceCasPresent()
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DAsusGamepadTestCase.java31 super(R.raw.asus_gamepad_register); in AsusGamepadTestCase()
36 testInputEvents(R.raw.asus_gamepad_keyeventtests); in testAllKeys()
41 testInputEvents(R.raw.asus_gamepad_motioneventtests); in testAllMotions()
DSonyDualshock4TestCase.java32 super(R.raw.sony_dualshock4_register); in SonyDualshock4TestCase()
37 testInputEvents(R.raw.sony_dualshock4_keyeventtests); in testAllKeys()
42 testInputEvents(R.raw.sony_dualshock4_motioneventtests); in testAllMotions()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStorePendingTest.java128 try (InputStream in = mContext.getResources().openRawResource(R.raw.scenery); in verifySuccessfulImageInsertion()
167 try (InputStream in = mContext.getResources().openRawResource(R.raw.scenery); in testSimple_Abandoned()
203 final Uri publishUri1 = execPending(params1, R.raw.testmp3); in testDuplicates()
204 final Uri publishUri2 = execPending(params2, R.raw.testmp3_2); in testDuplicates()
212 assertArrayEquals(hash(mContext.getResources().openRawResource(R.raw.testmp3)), in testDuplicates()
214 assertArrayEquals(hash(mContext.getResources().openRawResource(R.raw.testmp3_2)), in testDuplicates()
246 displayName, "image/png"), R.raw.scenery); in testMimeTypes_Forced()
252 displayName, "image/png"), R.raw.scenery); in testMimeTypes_Forced()
258 displayName, "image/png"), R.raw.scenery); in testMimeTypes_Forced()
340 displayName, "image/png"), R.raw.scenery); in testDirectories_Defaults()
[all …]
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DBitmapDrawableTest.java125 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testAccessGravity()
142 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testBitmapDrawableOpticalInset()
159 Bitmap source = BitmapFactory.decodeResource(mContext.getResources(), R.raw.testimage); in testAccessMipMap()
171 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testSetAntiAlias()
185 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testSetFilterBitmap()
199 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testIsFilterBitmap()
216 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testSetDither()
231 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testAccessTileMode()
272 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testGetChangingConfigurations()
286 InputStream source = mContext.getResources().openRawResource(R.raw.testimage); in testSetAlpha()
[all …]

1234567