Home
last modified time | relevance | path

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

123456

/frameworks/av/media/libeffects/lvm/tests/
Dbuild_and_run_all_unit_tests.sh26 adb push $ANDROID_BUILD_TOP/cts/tests/tests/media/res/raw/sinesweepraw.raw $testdir
96 adb shell $testdir/lvmtest -i:$testdir/sinesweepraw.raw \
97 -o:$testdir/sinesweep_$((chMask))_$((fs)).raw -chMask:$chMask -fs:$fs $flags
111 adb shell cmp $testdir/sinesweep_1_$((fs)).raw \
112 $testdir/sinesweep_$((chMask))_$((fs)).raw
115 adb shell $testdir/snr $testdir/sinesweep_1_$((fs)).raw \
116 $testdir/sinesweep_$((chMask))_$((fs)).raw -thr:90.308998
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardImporterTests.java412 mVerifier.initForImportTest(V21, R.raw.v21_simple_1); in testV21SimpleCase1_Parsing()
418 mVerifier.initForImportTest(VCardConfig.VCARD_TYPE_V21_GENERIC, R.raw.v21_simple_1); in testV21SimpleCase1_Type_Generic()
427 mVerifier.initForImportTest(VCardConfig.VCARD_TYPE_V21_JAPANESE, R.raw.v21_simple_1); in testV21SimpleCase1_Type_Japanese()
439 mVerifier.initForImportTest(VCardConfig.VCARD_TYPE_V21_JAPANESE, R.raw.v21_simple_2); in testV21SimpleCase2()
446 mVerifier.initForImportTest(V21, R.raw.v21_simple_3); in testV21SimpleCase3()
460 mVerifier.initForImportTest(V21, R.raw.v21_backslash); in testV21BackslashCase_Parsing()
473 mVerifier.initForImportTest(V21, R.raw.v21_backslash); in testV21BackslashCase()
485 mVerifier.initForImportTest(V21, R.raw.v21_org_before_title); in testOrgBeforTitle()
497 mVerifier.initForImportTest(V21, R.raw.v21_title_before_org); in testTitleBeforOrg()
513 mVerifier.initForImportTest(V21, R.raw.v21_pref_handling); in testV21PrefToIsPrimary()
[all …]
DVCardImporterNestTests.java25 mVerifier.initForImportTest(V21, R.raw.v21_nest); in testSimpleNest()
37 mVerifier.initForImportTest(V21, R.raw.v21_nest_with_mime); in testSimpleNestWithMime()
/frameworks/av/media/libnbaio/
DAudioBufferProviderSource.cpp36 if (mBuffer.raw != NULL) { in ~AudioBufferProviderSource()
46 return mBuffer.raw != NULL ? mBuffer.frameCount - mConsumed : 0; in availableToRead()
54 if (CC_UNLIKELY(mBuffer.raw == NULL)) { in read()
60 ALOG_ASSERT(mBuffer.raw != NULL); in read()
69 memcpy(buffer, (char *) mBuffer.raw + (mConsumed * mFrameSize), count * mFrameSize); in read()
72 mBuffer.raw = NULL; in read()
100 if (CC_UNLIKELY(mBuffer.raw == NULL)) { in readVia()
104 ALOG_ASSERT(mBuffer.raw != NULL && mBuffer.frameCount <= count); in readVia()
120 ssize_t ret = via(user, (char *) mBuffer.raw + (mConsumed * mFrameSize), count); in readVia()
136 mBuffer.raw = NULL; in readVia()
DSourceAudioBufferProvider.cpp57 buffer->raw = (char *) mAllocated + (mOffset * mFrameSize); in getNextBuffer()
81 buffer->raw = mAllocated; in getNextBuffer()
88 buffer->raw = NULL; in getNextBuffer()
97 (buffer->raw == (char *) mAllocated + (mOffset * mFrameSize)) && in releaseBuffer()
104 buffer->raw = NULL; in releaseBuffer()
/frameworks/av/media/libeffects/downmix/tests/
Dbuild_and_run_all_unit_tests.sh42 adb push $ANDROID_BUILD_TOP/cts/tests/tests/media/res/raw/sinesweepraw.raw \
54 $testdir/downmixtest $testdir/sinesweepraw.raw \
55 $testdir/sinesweep_fmt_$((ch_fmt))_fch_$((f_ch))_$((fs)).raw \
63 $testdir/sinesweep_fmt_$((ch_fmt))_fch_$((f_ch))_8000.raw \
64 $testdir/sinesweep_fmt_$((ch_fmt))_fch_$((f_ch))_$((fs)).raw
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java589 return installFromRawResource("install.apk", R.raw.install, flags, cleanUp, false, -1, in sampleInstallFromRawResource()
1035 installFromRawResource("install.apk", R.raw.install_loc_internal, in testManifestInstallLocationInternal()
1046 installFromRawResource("install.apk", R.raw.install_loc_sdcard, in testManifestInstallLocationSdcard()
1052 installFromRawResource("install.apk", R.raw.install_loc_auto, in testManifestInstallLocationAuto()
1058 installFromRawResource("install.apk", R.raw.install_loc_unspecified, in testManifestInstallLocationUnspecified()
1070 int iApk = R.raw.install_loc_internal; in testManifestInstallLocationReplaceInternalSdcard()
1072 int rApk = R.raw.install_loc_sdcard; in testManifestInstallLocationReplaceInternalSdcard()
1098 int iApk = R.raw.install_loc_sdcard; in testManifestInstallLocationReplaceSdcardInternal()
1100 int rApk = R.raw.install_loc_unspecified; in testManifestInstallLocationReplaceSdcardInternal()
1250 R.raw.install, installFlags, moveFlags, true, in sampleMoveFromRawResource()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerIntegrationTest.java38 final File file = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testMountSingleObb()
54 file1 = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testMountMultipleObb()
59 file2 = createObbFile(OBB_FILE_2, R.raw.obb_file2); in testMountMultipleObb()
64 file3 = createObbFile(OBB_FILE_3, R.raw.obb_file3); in testMountMultipleObb()
90 final File file = createObbFile(OBB_FILE_3_ENCRYPTED, R.raw.obb_enc_file100_orig3); in testMountSingleEncryptedObb()
102 final File file = createObbFile("bad password@$%#@^*(!&)", R.raw.obb_enc_file100_orig3); in testMountSingleEncryptedObbInvalidPassword()
115 file3 = createObbFile(OBB_FILE_3_ENCRYPTED, R.raw.obb_enc_file100_orig3); in testMountTwoEncryptedObb()
120 file1 = createObbFile(OBB_FILE_1_ENCRYPTED, R.raw.obb_enc_file100_orig1); in testMountTwoEncryptedObb()
142 final File file = createObbFile(OBB_FILE_2_UNSIGNED, R.raw.obb_file2_nosign); in testMountUnsignedObb()
157 … final File file = createObbFile(OBB_FILE_3_BAD_PACKAGENAME, R.raw.obb_file3_bad_packagename); in testMountBadPackageNameObb()
[all …]
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/
DDexMetadataHelperTest.java96 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageWithDmFileValid()
110 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageSplitsWithDmFileValid()
111 copyApkToToTmpDir("install_split_feature_a.apk", R.raw.install_split_feature_a); in testParsePackageSplitsWithDmFileValid()
130 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageSplitsNoBaseWithDmFileValid()
131 copyApkToToTmpDir("install_split_feature_a.apk", R.raw.install_split_feature_a); in testParsePackageSplitsNoBaseWithDmFileValid()
145 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageWithDmFileInvalid()
159 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageSplitsWithDmFileInvalid()
160 copyApkToToTmpDir("install_split_feature_a.apk", R.raw.install_split_feature_a); in testParsePackageSplitsWithDmFileInvalid()
175 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testPackageWithDmFileNoMatch()
189 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testPackageSplitsWithDmFileNoMatch()
[all …]
/frameworks/av/media/libstagefright/rtsp/
Drtp_test.cpp81 static const char *raw = in main()
99 static const char *raw = in main() local
114 static const char *raw = in main() local
128 static const char *raw = in main() local
144 static const char *raw = in main() local
161 CHECK(desc->setTo(raw, strlen(raw))); in main()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsFactoryTest.java96 final NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_typical); in testNetworkStatsDetail()
121 final NetworkStats tunStats = parseDetailedStats(R.raw.xt_qtaguid_vpn_rewrite_through_self); in testVpnRewriteTrafficThroughItself()
161 final NetworkStats tunStats = parseDetailedStats(R.raw.xt_qtaguid_vpn_with_clat); in testVpnWithClat()
184 final NetworkStats tunStats = parseDetailedStats(R.raw.xt_qtaguid_vpn_one_underlying); in testVpnWithOneUnderlyingIface()
212 parseDetailedStats(R.raw.xt_qtaguid_vpn_one_underlying_own_traffic); in testVpnWithOneUnderlyingIfaceAndOwnTraffic()
233 parseDetailedStats(R.raw.xt_qtaguid_vpn_one_underlying_compression); in testVpnWithOneUnderlyingIface_withCompression()
256 parseDetailedStats(R.raw.xt_qtaguid_vpn_two_underlying_duplication); in testVpnWithTwoUnderlyingIfaces_packetDuplication()
296 parseDetailedStats(R.raw.xt_qtaguid_vpn_one_underlying_two_vpn); in testConcurrentVpns()
325 final NetworkStats tunStats = parseDetailedStats(R.raw.xt_qtaguid_vpn_two_underlying_split); in testVpnWithTwoUnderlyingIfaces_splitTraffic()
348 parseDetailedStats(R.raw.xt_qtaguid_vpn_two_underlying_split_compression); in testVpnWithTwoUnderlyingIfaces_splitTrafficWithCompression()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/restore/
DPerformAdbRestoreTaskTest.java54 R.raw.backup_telephony_no_password); in parseBackupFileAndReturnTarStream_backupNotEncrypted_returnsNonNull()
66 R.raw.backup_telephony_with_password); in parseBackupFileAndReturnTarStream_backupEncryptedAndPasswordProvided_returnsNonNull()
78 R.raw.backup_telephony_with_password); in parseBackupFileAndReturnTarStream_backupEncryptedAndPasswordNotProvided_returnsNull()
90 R.raw.backup_telephony_with_password); in parseBackupFileAndReturnTarStream_backupEncryptedAndIncorrectPassword_returnsNull()
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbDescriptorParserTests.java87 UsbDescriptorParser parser = loadParser(R.raw.usbdescriptors_headset); in testHeadsetDescriptorParser()
113 UsbDescriptorParser parser = loadParser(R.raw.usbdescriptors_headphones); in testHeadphoneDescriptorParser()
139 UsbDescriptorParser parser = loadParser(R.raw.usbdescriptors_lineout); in testLineoutDescriptorParser()
161 UsbDescriptorParser parser = loadParser(R.raw.usbdescriptors_nothing); in testNothingDescriptorParser()
183 UsbDescriptorParser parser = loadParser(R.raw.usbdescriptors_massstorage); in testMassStorageDescriptorParser()
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp77 copyFrames(pBuffer->raw, pBuffer->raw, pBuffer->frameCount); in getNextBuffer()
91 pBuffer->raw = NULL; in getNextBuffer()
100 pBuffer->raw = mLocalBufferData; in getNextBuffer()
102 copyFrames(pBuffer->raw, (uint8_t*)mBuffer.raw + mConsumed * mInputFrameSize, in getNextBuffer()
121 pBuffer->raw = NULL; in releaseBuffer()
449 pBuffer->raw = mLocalBufferData; in getNextBuffer()
479 pBuffer->raw = NULL; in getNextBuffer()
483 pBuffer->raw = mLocalBufferData; in getNextBuffer()
493 mBuffer.raw, &srcAvailable); in getNextBuffer()
503 pBuffer->raw = mLocalBufferData; in getNextBuffer()
[all …]
DAudioResamplerCubic.cpp70 if (mBuffer.raw == NULL) { in resampleStereo16()
100 if (mBuffer.raw == NULL) { in resampleStereo16()
137 if (mBuffer.raw == NULL) { in resampleMono16()
168 if (mBuffer.raw == NULL) { in resampleMono16()
/frameworks/av/media/libaudiohal/impl/
DEffectBufferHalHidl.cpp87 mAudioBuffer.raw = static_cast<void*>(mMemory->getPointer()); in init()
88 memset(mAudioBuffer.raw, 0, mMemory->getSize()); in init()
136 memcpy(mAudioBuffer.raw, mExternalData, size); in update()
143 memcpy(mExternalData, mAudioBuffer.raw, size); in commit()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java334 byte[] raw = null; in readFileToParcel()
337 raw = file.readFully(); in readFileToParcel()
346 out.unmarshall(raw, 0, raw.length); in readFileToParcel()
378 byte[] raw = new byte[0]; in writeToParcel()
380 raw = file.readFully(); in writeToParcel()
384 out.writeByteArray(raw); in writeToParcel()
/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp45 std::string raw(reinterpret_cast<const char*>(idmap_raw_data), idmap_raw_data_len); in TEST()
46 std::istringstream stream(raw); in TEST()
58 std::string raw(reinterpret_cast<const char*>(idmap_raw_data), idmap_raw_data_len); in TEST()
61 raw[i] = '.'; in TEST()
63 std::istringstream stream(raw); in TEST()
70 std::string raw(reinterpret_cast<const char*>(idmap_raw_data + offset), in TEST()
72 std::istringstream stream(raw); in TEST()
82 std::string raw(reinterpret_cast<const char*>(idmap_raw_data + offset), in TEST()
84 std::istringstream stream(raw); in TEST()
97 std::string raw(reinterpret_cast<const char*>(idmap_raw_data + offset), in TEST()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DTarBackupReaderTest.java105 R.raw.backup_telephony_with_password); in readTarHeaders_backupEncrypted_correctlyParsesFileMetadata()
122 R.raw.backup_telephony_no_password); in readTarHeaders_backupNotEncrypted_correctlyParsesFileMetadata()
140 R.raw.backup_file_with_long_name); in readTarHeaders_backupNotEncrypted_correctlyReadsPaxHeader()
179 R.raw.backup_telephony_with_password); in readAppManifest_backupEncrypted_correctlyParsesAppManifest()
200 R.raw.backup_telephony_no_password); in readAppManifest_backupNotEncrypted_correctlyParsesAppManifest()
221 R.raw.backup_telephony_no_password); in chooseRestorePolicy_signaturesIsNull_returnsIgnore()
239 R.raw.backup_telephony_no_password); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk()
264 R.raw.backup_telephony_no_password); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore()
292 R.raw.backup_telephony_no_password); in chooseRestorePolicy_packageDoesNotExistAndDoesNotAllowApks_returnsIgnore()
313 R.raw.backup_telephony_no_password); in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DAudioBufferProvider.h32 Buffer() : raw(NULL), frameCount(0) { } in Buffer()
34 void* raw; member
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp291 if (inBuffer == NULL || inBuffer->raw == NULL || in LE_process()
292 outBuffer == NULL || outBuffer->raw == NULL || in LE_process()
325 if (inBuffer->raw != outBuffer->raw) { in LE_process()
332 memcpy(outBuffer->raw, inBuffer->raw, outBuffer->frameCount * 2 * sizeof(float)); in LE_process()
340 memcpy(outBuffer->raw, inBuffer->raw, outBuffer->frameCount * 2 * sizeof(int16_t)); in LE_process()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java204 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.MOUNTED); in testMountAndUnmountObbNormal()
206 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED); in testMountAndUnmountObbNormal()
224 mountObb(sm, R.raw.test1_nosig, outFile, OnObbStateChangeListener.ERROR_INTERNAL); in testAttemptMountNonObb()
243 mountObb(sm, R.raw.test1_wrongpackage, outFile, in testAttemptMountObbWrongPackage()
260 ObbObserver oo1 = mountObbWithoutWait(sm, R.raw.test1, file1); in testMountAndUnmountTwoObbs()
261 ObbObserver oo2 = mountObbWithoutWait(sm, R.raw.test1, file2); in testMountAndUnmountTwoObbs()
/frameworks/base/services/tests/servicestests/src/com/android/server/input/
DConfigurationProcessorTest.java53 final int res = com.android.frameworks.servicestests.R.raw.input_port_associations; in testGetInputPortAssociations()
70 com.android.frameworks.servicestests.R.raw.input_port_associations_bad_displayport; in testGetInputPortAssociationsBadDisplayport()
84 final int res = com.android.frameworks.servicestests.R.raw.input_port_associations_bad_xml; in testGetInputPortAssociationsEmptyConfig()
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
DSoundPoolTest.java45 R.raw.organ441,
46 R.raw.sine441,
47 R.raw.test1,
48 R.raw.test2,
49 R.raw.test3,
50 R.raw.test4,
51 R.raw.test5
/frameworks/base/media/java/android/media/
DThumbnailUtils.java157 final byte[] raw = retriever.getEmbeddedPicture(); in createAudioThumbnail()
158 if (raw != null) { in createAudioThumbnail()
159 return ImageDecoder.decodeBitmap(ImageDecoder.createSource(raw), resizer); in createAudioThumbnail()
283 final byte[] raw = exif.getThumbnailBytes(); in createImageThumbnail()
284 if (raw != null) { in createImageThumbnail()
286 bitmap = ImageDecoder.decodeBitmap(ImageDecoder.createSource(raw), resizer); in createImageThumbnail()
354 final byte[] raw = mmr.getEmbeddedPicture(); in createVideoThumbnail()
355 if (raw != null) { in createVideoThumbnail()
356 return ImageDecoder.decodeBitmap(ImageDecoder.createSource(raw), resizer); in createVideoThumbnail()

123456