Home
last modified time | relevance | path

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

123456789

/frameworks/base/tools/apilint/
Ddeprecated_at_birth.py42 def ident(raw): argument
45 raw = raw.replace(" deprecated ", " ")
46 raw = raw.replace(" synchronized ", " ")
47 raw = raw.replace(" abstract ", " ")
48 raw = raw.replace(" final ", " ")
49 raw = re.sub("<.+?>", "", raw)
50 raw = re.sub("@[A-Za-z]+ ", "", raw)
51 raw = re.sub("@[A-Za-z]+\(.+?\) ", "", raw)
52 if " throws " in raw:
53 raw = raw[:raw.index(" throws ")]
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DPromptIconViewModel.kt222 R.raw.fingerprint_dialogue_error_to_success_lottie in <lambda>()
224 R.raw.fingerprint_dialogue_fingerprint_to_success_lottie in <lambda>()
228 R.raw.fingerprint_dialogue_error_to_fingerprint_lottie in <lambda>()
230 R.raw.fingerprint_dialogue_fingerprint_to_error_lottie in <lambda>()
233 R.raw.fingerprint_dialogue_fingerprint_to_error_lottie in <lambda>()
247 R.raw.biometricprompt_rear_portrait_reverse_base in <lambda>()
249 R.raw.biometricprompt_folded_base_topleft in <lambda>()
251 R.raw.biometricprompt_portrait_base_topleft in <lambda>()
255 R.raw.biometricprompt_rear_portrait_base in <lambda>()
257 R.raw.biometricprompt_folded_base_bottomright in <lambda>()
[all …]
DSideFpsOverlayViewModel.kt103 R.raw.sfps_pulse in <lambda>()
105 R.raw.sfps_pulse_landscape in <lambda>()
109 R.raw.sfps_pulse in <lambda>()
111 R.raw.sfps_pulse_landscape in <lambda>()
115 R.raw.sfps_pulse_landscape in <lambda>()
117 R.raw.sfps_pulse in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DPromptIconViewBinder.kt203 if (iconAsset == R.raw.face_dialog_authenticating) { in <lambda>()
275 R.raw.fingerprint_dialogue_error_to_fingerprint_lottie to
277 R.raw.fingerprint_dialogue_error_to_success_lottie to
279 R.raw.fingerprint_dialogue_fingerprint_to_error_lottie to
281 R.raw.fingerprint_dialogue_fingerprint_to_success_lottie to
284 R.raw.biometricprompt_fingerprint_to_error_landscape to
286 R.raw.biometricprompt_folded_base_bottomright to "biometricprompt_folded_base_bottomright",
287 R.raw.biometricprompt_folded_base_default to "biometricprompt_folded_base_default",
288 R.raw.biometricprompt_folded_base_topleft to "biometricprompt_folded_base_topleft",
289 R.raw.biometricprompt_landscape_base to "biometricprompt_landscape_base",
[all …]
/frameworks/av/media/libeffects/lvm/tests/
Dbuild_and_run_all_unit_tests_reverb.sh26 adb push $ANDROID_BUILD_TOP/frameworks/av/media/libeffects/res/raw/sinesweepraw.raw $testdir
65 --input $testdir/sinesweepraw.raw \
66 --output $testdir/sinesweep_$((chMask))_$((fs)).raw \
79 adb shell cmp $testdir/sinesweep_0_$((fs)).raw \
80 $testdir/sinesweep_$((chMask))_$((fs)).raw
85 adb shell cmp $testdir/sinesweep_1_$((fs)).raw \
86 $testdir/sinesweep_$((chMask))_$((fs)).raw
Dbuild_and_run_all_unit_tests.sh26 adb push $ANDROID_BUILD_TOP/frameworks/av/media/libeffects/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
116 adb shell cmp $testdir/sinesweep_1_$((fs)).raw \
117 $testdir/sinesweep_$((chMask))_$((fs)).raw
120 adb shell $testdir/snr $testdir/sinesweep_1_$((fs)).raw \
121 $testdir/sinesweep_$((chMask))_$((fs)).raw -thr:90.308998
/frameworks/base/tools/aapt2/tools/
Dfinalize_res.py56 def finalize_item(raw): argument
57 name = raw.group(1)
70 def finalize_group(raw): argument
72 _type = raw.group(1)
73 id = int(raw.group(2), 16)
75 (res, count) = re.subn(' {0,4}<public name="(.+?)" */>\n', finalize_item, raw.group(3))
77 res = raw.group(0).replace("staging-public-group",
85 def collect_ids(raw): argument
86 for m in re.finditer(r'<public type="(.+?)" name=".+?" id="(.+?)" />', raw):
/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/preprocessing/tests/
Dbuild_and_run_all_unit_tests.sh26 adb push $ANDROID_BUILD_TOP/frameworks/av/media/libeffects/res/raw/sinesweepraw.raw $testdir
85 --i $testdir/sinesweepraw.raw --far $testdir/sinesweepraw.raw \
86 --output $testdir/sinesweep_$((chMask))_$((fs)).raw --ch_mask $chMask \
100 adb shell cmp $testdir/sinesweep_1_$((fs)).raw \
101 $testdir/sinesweep_$((chMask))_$((fs)).raw
/frameworks/av/media/libeffects/downmix/tests/
Dbuild_and_run_all_unit_tests.sh42 adb push $ANDROID_BUILD_TOP/frameworks/av/media/libeffects/res/raw/sinesweepraw.raw $testdir
53 $testdir/downmixtest $testdir/sinesweepraw.raw \
54 $testdir/sinesweep_fmt_$((ch_fmt))_fch_$((f_ch))_$((fs)).raw \
62 $testdir/sinesweep_fmt_$((ch_fmt))_fch_$((f_ch))_8000.raw \
63 $testdir/sinesweep_fmt_$((ch_fmt))_fch_$((f_ch))_$((fs)).raw
/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 …]
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageManagerTests.java607 return installFromRawResource("install.apk", R.raw.install, flags, cleanUp, false, -1, in sampleInstallFromRawResource()
1051 installFromRawResource("install.apk", R.raw.install_loc_internal, in testManifestInstallLocationInternal()
1062 installFromRawResource("install.apk", R.raw.install_loc_sdcard, in testManifestInstallLocationSdcard()
1068 installFromRawResource("install.apk", R.raw.install_loc_auto, in testManifestInstallLocationAuto()
1074 installFromRawResource("install.apk", R.raw.install_loc_unspecified, in testManifestInstallLocationUnspecified()
1086 int iApk = R.raw.install_loc_internal; in testManifestInstallLocationReplaceInternalSdcard()
1088 int rApk = R.raw.install_loc_sdcard; in testManifestInstallLocationReplaceInternalSdcard()
1114 int iApk = R.raw.install_loc_sdcard; in testManifestInstallLocationReplaceSdcardInternal()
1116 int rApk = R.raw.install_loc_unspecified; in testManifestInstallLocationReplaceSdcardInternal()
1266 R.raw.install, installFlags, moveFlags, true, in sampleMoveFromRawResource()
[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.java167 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageWithDmFileValid()
184 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageSplitsWithDmFileValid()
185 copyApkToToTmpDir("install_split_feature_a.apk", R.raw.install_split_feature_a); in testParsePackageSplitsWithDmFileValid()
207 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageSplitsNoBaseWithDmFileValid()
208 copyApkToToTmpDir("install_split_feature_a.apk", R.raw.install_split_feature_a); in testParsePackageSplitsNoBaseWithDmFileValid()
225 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageWithDmFileInvalid()
248 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageSplitsWithDmFileInvalid()
249 copyApkToToTmpDir("install_split_feature_a.apk", R.raw.install_split_feature_a); in testParsePackageSplitsWithDmFileInvalid()
274 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageWithDmFileInvalidManifest()
289 copyApkToToTmpDir("install_split_base.apk", R.raw.install_split_base); in testParsePackageWithDmFileEmptyManifest()
[all …]
/frameworks/av/media/libaudiohal/impl/
DEffectBufferHalAidl.cpp61 if (mAudioBuffer.raw) free(mAudioBuffer.raw); in ~EffectBufferHalAidl()
65 if (0 != posix_memalign(&mAudioBuffer.raw, 32, mBufferSize)) { in init()
111 copy(mAudioBuffer.raw, mExternalData, n); in update()
115 copy(mExternalData, mAudioBuffer.raw, n); in commit()
DEffectBufferHalHidl.cpp85 mAudioBuffer.raw = static_cast<void*>(mMemory->getPointer()); in init()
86 memset(mAudioBuffer.raw, 0, mMemory->getSize()); in init()
134 memcpy(mAudioBuffer.raw, mExternalData, size); in update()
141 memcpy(mExternalData, mAudioBuffer.raw, size); in commit()
/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_2_UNSIGNED, R.raw.obb_file2_nosign); in testMountUnsignedObb()
105 … final File file = createObbFile(OBB_FILE_3_BAD_PACKAGENAME, R.raw.obb_file3_bad_packagename); in testMountBadPackageNameObb()
115 final File file = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testRemountObb()
/frameworks/av/media/codec2/hal/hidl/1.0/vts/functional/
DAndroid.bp38 "res/bbb_g711alaw_1ch_8khz.raw",
40 "res/bbb_g711mulaw_1ch_8khz.raw",
42 "res/bbb_gsm_1ch_8khz_13kbps.raw",
49 "res/bbb_raw_1ch_8khz_s32le.raw",
61 "res/bbb_raw_2ch_48khz_s16le.raw",
62 "res/bbb_raw_1ch_8khz_s16le.raw",
63 "res/bbb_raw_1ch_16khz_s16le.raw",
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
DPackageParsingDeferErrorTest.kt60 val result = parseFile(R.raw.PackageParsingTestAppEmptyActionSdkQ) in <lambda>()
76 val result = parseFile(R.raw.PackageParsingTestAppEmptyActionSdkR) in <lambda>()
82 val result = parseFile(R.raw.PackageParsingTestAppEmptyCategorySdkQ) in <lambda>()
97 val result = parseFile(R.raw.PackageParsingTestAppEmptyCategorySdkR) in <lambda>()
103 val result = parseFile(R.raw.PackageParsingTestAppMissingAppSdkQ) in <lambda>()
112 val result = parseFile(R.raw.PackageParsingTestAppMissingAppSdkR) in <lambda>()
/frameworks/base/services/core/java/com/android/server/am/
DAppExitInfoTracker.java304 ApplicationExitInfo raw = obtainRawRecord(app, System.currentTimeMillis()); in scheduleNoteAppKill() local
305 raw.setReason(reason); in scheduleNoteAppKill()
306 raw.setSubReason(subReason); in scheduleNoteAppKill()
307 raw.setDescription(msg); in scheduleNoteAppKill()
308 mKillHandler.obtainMessage(KillHandler.MSG_APP_KILL, raw).sendToTarget(); in scheduleNoteAppKill()
314 ApplicationExitInfo raw = obtainRawRecord(app, System.currentTimeMillis()); in scheduleNoteAppRecoverableCrash()
315 raw.setReason(ApplicationExitInfo.REASON_CRASH_NATIVE); in scheduleNoteAppRecoverableCrash()
316 raw.setSubReason(ApplicationExitInfo.SUBREASON_UNKNOWN); in scheduleNoteAppRecoverableCrash()
317 raw.setDescription("recoverable_crash"); in scheduleNoteAppRecoverableCrash()
318 mKillHandler.obtainMessage(KillHandler.MSG_APP_RECOVERABLE_CRASH, raw).sendToTarget(); in scheduleNoteAppRecoverableCrash()
[all …]
/frameworks/base/services/tests/mockingservicestests/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/av/media/libaudioprocessing/tests/fuzzer/
Dlibaudioprocessing_fuzz_utils.h44 buffer->raw = (char*)mAddr + mFrameSize * mNextFrame; in getNextBuffer()
47 buffer->raw = nullptr; in getNextBuffer()
60 buffer->raw = nullptr; in releaseBuffer()
/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/libaudioclient/include/media/
DAudioBufferProvider.h32 Buffer() : raw(NULL), frameCount(0) { } in Buffer()
34 void* raw; member

123456789