Home
last modified time | relevance | path

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

1234567

/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.java593 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/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/services/tests/servicestests/src/com/android/server/pm/dex/
DDexMetadataHelperTest.java103 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageWithDmFileValid()
117 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageSplitsWithDmFileValid()
118 copyApkToToTmpDir("install_split_feature_a.apk", R.raw.install_split_feature_a); in testParsePackageSplitsWithDmFileValid()
137 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageSplitsNoBaseWithDmFileValid()
138 copyApkToToTmpDir("install_split_feature_a.apk", R.raw.install_split_feature_a); in testParsePackageSplitsNoBaseWithDmFileValid()
152 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageWithDmFileInvalid()
167 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageSplitsWithDmFileInvalid()
168 copyApkToToTmpDir("install_split_feature_a.apk", R.raw.install_split_feature_a); in testParsePackageSplitsWithDmFileInvalid()
184 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testPackageWithDmFileNoMatch()
198 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testPackageSplitsWithDmFileNoMatch()
[all …]
/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/av/media/codec2/hidl/1.0/vts/functional/
DAndroid.bp30 "res/bbb_g711alaw_1ch_8khz.raw",
32 "res/bbb_g711mulaw_1ch_8khz.raw",
34 "res/bbb_gsm_1ch_8khz_13kbps.raw",
41 "res/bbb_raw_1ch_8khz_s32le.raw",
54 "res/bbb_raw_2ch_48khz_s16le.raw",
55 "res/bbb_raw_1ch_8khz_s16le.raw",
56 "res/bbb_raw_1ch_16khz_s16le.raw",
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
DPackageParsingDeferErrorTest.kt72 val result = parseFile(R.raw.PackageParsingTestAppEmptyActionSdkQ) in <lambda>()
87 val result = parseFile(R.raw.PackageParsingTestAppEmptyActionSdkR) in <lambda>()
93 val result = parseFile(R.raw.PackageParsingTestAppEmptyCategorySdkQ) in <lambda>()
107 val result = parseFile(R.raw.PackageParsingTestAppEmptyCategorySdkR) in <lambda>()
113 val result = parseFile(R.raw.PackageParsingTestAppMissingAppSdkQ) in <lambda>()
122 val result = parseFile(R.raw.PackageParsingTestAppMissingAppSdkR) in <lambda>()
/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/services/core/java/com/android/server/am/
DAppExitInfoTracker.java295 ApplicationExitInfo raw = obtainRawRecordLocked(app); in scheduleNoteAppKill() local
296 raw.setReason(reason); in scheduleNoteAppKill()
297 raw.setSubReason(subReason); in scheduleNoteAppKill()
298 raw.setDescription(msg); in scheduleNoteAppKill()
299 mKillHandler.obtainMessage(KillHandler.MSG_APP_KILL, raw).sendToTarget(); in scheduleNoteAppKill()
364 void handleNoteProcessDiedLocked(final ApplicationExitInfo raw) { in handleNoteProcessDiedLocked() argument
365 if (raw != null) { in handleNoteProcessDiedLocked()
367 Slog.i(TAG, "Update process exit info for " + raw.getPackageName() in handleNoteProcessDiedLocked()
368 + "(" + raw.getPid() + "/u" + raw.getRealUid() + ")"); in handleNoteProcessDiedLocked()
371 ApplicationExitInfo info = getExitInfoLocked(raw.getPackageName(), in handleNoteProcessDiedLocked()
[all …]
/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/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/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java335 byte[] raw = null; in readFileToParcel()
338 raw = file.readFully(); in readFileToParcel()
347 out.unmarshall(raw, 0, raw.length); in readFileToParcel()
379 byte[] raw = new byte[0]; in writeToParcel()
381 raw = file.readFully(); in writeToParcel()
385 out.writeByteArray(raw); in writeToParcel()
/frameworks/base/cmds/idmap2/tests/
DIdmapTests.cpp60 std::string raw(reinterpret_cast<const char*>(idmap_raw_data), idmap_raw_data_len); in TEST()
61 std::istringstream stream(raw); in TEST()
76 std::string raw(reinterpret_cast<const char*>(idmap_raw_data), idmap_raw_data_len); in TEST()
79 raw[i] = '.'; in TEST()
81 std::istringstream stream(raw); in TEST()
88 std::string raw(reinterpret_cast<const char*>(idmap_raw_data + offset), in TEST()
90 std::istringstream stream(raw); in TEST()
100 std::string raw(reinterpret_cast<const char*>(idmap_raw_data + offset), in TEST()
102 std::istringstream stream(raw); in TEST()
124 std::string raw(reinterpret_cast<const char*>(idmap_raw_data), idmap_raw_data_len); in TEST()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/input/
DConfigurationProcessorTest.java51 final int res = com.android.frameworks.servicestests.R.raw.input_port_associations; in testGetInputPortAssociations()
68 com.android.frameworks.servicestests.R.raw.input_port_associations_bad_displayport; in testGetInputPortAssociationsBadDisplayport()
82 final int res = com.android.frameworks.servicestests.R.raw.input_port_associations_bad_xml; in testGetInputPortAssociationsEmptyConfig()
/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()

1234567