/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 120 doStagefrightTestRawBlob(R.raw.cve_2019_2244, "video/mpeg2", 320, 420); in testStagefright_cve_2019_2244() 126 doStagefrightTest(R.raw.bug_36725407); in testStagefright_bug_36725407() 132 doStagefrightTest(R.raw.cve_2016_3829, new CrashUtils.Config().checkMinAddress(false)); in testStagefright_cve_2016_3829() 138 doStagefrightTest(R.raw.cve_2017_0643, new CrashUtils.Config().checkMinAddress(false)); in testStagefright_cve_2017_0643() 144 doStagefrightTest(R.raw.cve_2017_0728, new CrashUtils.Config().checkMinAddress(false)); in testStagefright_cve_2017_0728() 150 doStagefrightTest(R.raw.bug_62187433); in testStagefright_bug_62187433() 156 doStagefrightTestANR(R.raw.bug_62673844); in testStagefrightANR_bug_62673844() 162 doStagefrightTest(R.raw.bug_37079296); in testStagefright_bug_37079296() 168 doStagefrightTest(R.raw.bug_38342499); in testStagefright_bug_38342499() 174 doStagefrightTest(R.raw.bug_22771132); in testStagefright_bug_22771132() [all …]
|
D | PackageSignatureTest.java | 73 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()
|
D | SkiaICORecursiveDecodingTest.java | 34 doSkiaIcoRecursiveDecodingTest(R.raw.cve_2017_13318); in testAndroid_cve_2017_13318() 39 doSkiaIcoRecursiveDecodingTest(R.raw.bug_17262540); in test_android_bug_17262540() 44 doSkiaIcoRecursiveDecodingTest(R.raw.bug_17265466); in test_android_bug_17265466()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecoderTest.java | 97 AssetFileDescriptor masterFd = mResources.openRawResourceFd(R.raw.sinesweepraw); in setUp() 146 decode(R.raw.sinesweepmp3lame, 804.f); in testDecodeMp3Lame() 147 testTimeStampOrdering(R.raw.sinesweepmp3lame); in testDecodeMp3Lame() 150 decode(R.raw.sinesweepmp3smpb, 413.f); in testDecodeMp3Smpb() 151 testTimeStampOrdering(R.raw.sinesweepmp3smpb); in testDecodeMp3Smpb() 154 decode(R.raw.sinesweepm4a, 124.f); in testDecodeM4a() 155 testTimeStampOrdering(R.raw.sinesweepm4a); in testDecodeM4a() 158 decode(R.raw.sinesweepogg, 168.f); in testDecodeOgg() 159 testTimeStampOrdering(R.raw.sinesweepogg); in testDecodeOgg() 162 decode(R.raw.sinesweepoggmkv, 168.f); in testDecodeOggMkv() [all …]
|
D | MediaScannerTest.java | 76 writeFile(R.raw.testmp3, fileName); in setUp() 132 writeFile(R.raw.testmp3, unlocalizablePath); in testLocalizeRingtoneTitles() 149 writeFile(R.raw.testmp3_4, localizablePath); in testLocalizeRingtoneTitles() 230 writeFile(R.raw.testmp3, mFileDir + "/testmp3.mp3"); in testMediaScanner() 231 writeFile(R.raw.testmp3_2, mFileDir + "/testmp3_2.mp3"); in testMediaScanner() 232 writeFile(R.raw.playlist1, mFileDir + "/ctsmediascanplaylist1.pls"); in testMediaScanner() 233 writeFile(R.raw.playlist2, mFileDir + "/ctsmediascanplaylist2.m3u"); in testMediaScanner() 300 writeFile(R.raw.testmp3, file1); in testWildcardPaths() 306 writeFile(R.raw.testmp3, file2); in testWildcardPaths() 369 canonicalizeTest(R.raw.testmp3); in testCanonicalize() [all …]
|
D | NativeDecoderTest.java | 118 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 …]
|
D | MediaPlayerTest.java | 126 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 …]
|
D | VideoDecoderPerfTest.java | 379 R.raw.bbb_s1_320x240_mp4_h264_mp2_800kbps_30fps_aac_lc_5ch_240kbps_44100hz, 391 R.raw.bbb_s1_720x480_mp4_h264_mp3_2mbps_30fps_aac_lc_5ch_320kbps_48000hz, 404 R.raw.bbb_s4_1280x720_mp4_h264_mp31_8mbps_30fps_aac_he_mono_40kbps_44100hz, 405 R.raw.bbb_s3_1280x720_mp4_h264_hp32_8mbps_60fps_aac_he_v2_stereo_48kbps_48000hz, 406 R.raw.bbb_s3_1280x720_mp4_h264_mp32_8mbps_60fps_aac_he_v2_6ch_144kbps_44100hz, 419 R.raw.bbb_s4_1920x1080_wide_mp4_h264_hp4_20mbps_30fps_aac_lc_6ch_384kbps_44100hz, 420 R.raw.bbb_s4_1920x1080_wide_mp4_h264_mp4_20mbps_30fps_aac_he_5ch_200kbps_44100hz, 421 R.raw.bbb_s2_1920x1080_mp4_h264_hp42_20mbps_60fps_aac_lc_6ch_384kbps_48000hz, 422 R.raw.bbb_s2_1920x1080_mp4_h264_mp42_20mbps_60fps_aac_he_v2_5ch_160kbps_48000hz, 436 R.raw.video_176x144_3gp_h263_300kbps_12fps_aac_stereo_128kbps_22050hz, [all …]
|
D | SoundPoolAacTest.java | 27 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()
|
D | SoundPoolOggTest.java | 27 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()
|
D | SoundPoolMidiTest.java | 27 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()
|
D | ImageReaderDecoderTest.java | 161 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 …]
|
D | SoundPoolHapticTest.java | 37 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()
|
D | MediaExtractorTest.java | 96 TestMediaDataSource dataSource = setDataSource(R.raw.testvideo); in testMediaDataSourceIsClosedOnRelease() 102 TestMediaDataSource dataSource = getDataSourceFor(R.raw.testvideo); in testExtractorFailsIfMediaDataSourceThrows() 113 TestMediaDataSource dataSource = getDataSourceFor(R.raw.testvideo); in testExtractorFailsIfMediaDataSourceReturnsAnError() 125 TestMediaDataSource dataSource = setDataSource(R.raw.testvideo); in testExtractFromAMediaDataSource() 131 AssetFileDescriptor afd = mResources.openRawResourceFd(R.raw.testvideo); in testExtractFromAssetFileDescriptor() 139 TestMediaDataSource dataSource = setDataSource(R.raw.video_dovi_1920x1080_30fps_dvhe_04); in testDolbyVisionMediaExtractorProfileDvheDtr() 186 TestMediaDataSource dataSource = setDataSource(R.raw.video_dovi_1920x1080_60fps_dvhe_05); in testDolbyVisionMediaExtractorProfileDvheStn() 208 TestMediaDataSource dataSource = setDataSource(R.raw.video_dovi_1920x1080_60fps_dvhe_08); in testDolbyVisionMediaExtractorProfileDvheSt() 255 TestMediaDataSource dataSource = setDataSource(R.raw.video_dovi_1920x1080_60fps_dvav_09); in testDolbyVisionMediaExtractorProfileDvavSe() 352 final int resid = R.raw.MultiLangPerso_1PID_PC0_Select_AC4_H265_DVB_50fps_Audio_Only; in testGetAudioPresentations() [all …]
|
D | ThumbnailUtilsTest.java | 66 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()
|
D | MediaMetadataRetrieverTest.java | 127 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/ |
D | processing_main.py | 149 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/ |
D | RSASignatureTest.java | 126 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()
|
D | ECDSASignatureTest.java | 124 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/ |
D | ResourceSourceTest.java | 37 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/provider/src/android/provider/cts/ |
D | MediaStorePendingTest.java | 128 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/ |
D | BitmapDrawableTest.java | 125 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 …]
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | SonyDualshock4Test.java | 32 super(R.raw.sony_dualshock4_register); in SonyDualshock4Test() 37 testInputEvents(R.raw.sony_dualshock4_keyeventtests); in testAllKeys() 42 testInputEvents(R.raw.sony_dualshock4_motioneventtests); in testAllMotions()
|
D | AsusGamepadTest.java | 31 super(R.raw.asus_gamepad_register); in AsusGamepadTest() 36 testInputEvents(R.raw.asus_gamepad_keyeventtests); in testAllKeys() 41 testInputEvents(R.raw.asus_gamepad_motioneventtests); in testAllMotions()
|
D | MicrosoftXboxOneSTest.java | 33 super(R.raw.microsoft_xboxones_register); in MicrosoftXboxOneSTest() 38 testInputEvents(R.raw.microsoft_xboxones_keyeventtests); in testAllKeys() 43 testInputEvents(R.raw.microsoft_xboxones_motioneventtests); in testAllMotions()
|