Home
last modified time | relevance | path

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

123456

/frameworks/base/tools/apilint/
Dapilint.py54 def __init__(self, clazz, line, raw, blame): argument
57 self.raw = raw.strip(" {;")
60 raw = raw.split()
61 self.split = list(raw)
64 while r in raw: raw.remove(r)
66 self.typ = raw[0]
67 self.name = raw[1].strip(";")
68 if len(raw) >= 4 and raw[2] == "=":
69 self.value = raw[3].strip(';"')
73 self.ident = self.raw.replace(" deprecated ", " ")
[all …]
/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/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()
DVCardParserTests.java94 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_simple_1); in testSimple()
112 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_nest); in testNest()
146 …InputStream inputStream = getContext().getResources().openRawResource(R.raw.v30_ios_613_multiline); in testIosMultiline()
178 getContext().getResources().openRawResource(R.raw.v21_multiple_entry); in testParseOne()
219 inputStream = getContext().getResources().openRawResource(R.raw.v21_multiple_entry); in testParseOne()
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
DObexAppParameters.java34 public ObexAppParameters(byte[] raw) { in ObexAppParameters() argument
37 if (raw != null) { in ObexAppParameters()
38 for (int i = 0; i < raw.length;) { in ObexAppParameters()
39 if (raw.length - i < 2) { in ObexAppParameters()
43 byte tag = raw[i++]; in ObexAppParameters()
44 byte len = raw[i++]; in ObexAppParameters()
46 if (raw.length - i - len < 0) { in ObexAppParameters()
52 System.arraycopy(raw, i, val, 0, len); in ObexAppParameters()
62 byte[] raw = (byte[]) headerset.getHeader(HeaderSet.APPLICATION_PARAMETER); in fromHeaderSet()
63 return new ObexAppParameters(raw); in fromHeaderSet()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java624 return installFromRawResource("install.apk", R.raw.install, flags, cleanUp, false, -1, in sampleInstallFromRawResource()
1355 installFromRawResource("install.apk", R.raw.install_loc_internal, in testManifestInstallLocationInternal()
1366 installFromRawResource("install.apk", R.raw.install_loc_sdcard, in testManifestInstallLocationSdcard()
1372 installFromRawResource("install.apk", R.raw.install_loc_auto, in testManifestInstallLocationAuto()
1378 installFromRawResource("install.apk", R.raw.install_loc_unspecified, in testManifestInstallLocationUnspecified()
1444 int iApk = R.raw.install_loc_internal; in testManifestInstallLocationReplaceInternalSdcard()
1446 int rApk = R.raw.install_loc_sdcard; in testManifestInstallLocationReplaceInternalSdcard()
1472 int iApk = R.raw.install_loc_sdcard; in testManifestInstallLocationReplaceSdcardInternal()
1474 int rApk = R.raw.install_loc_unspecified; in testManifestInstallLocationReplaceSdcardInternal()
1624 R.raw.install, installFlags, moveFlags, true, in sampleMoveFromRawResource()
[all …]
/frameworks/av/media/libstagefright/rtsp/
Drtp_test.cpp82 static const char *raw = in main()
100 static const char *raw = in main() local
115 static const char *raw = in main() local
129 static const char *raw = in main() local
145 static const char *raw = in main() local
162 CHECK(desc->setTo(raw, strlen(raw))); in main()
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerIntegrationTest.java72 mFile = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testMountSingleObb()
88 file1 = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testMountMultipleObb()
93 file2 = createObbFile(OBB_FILE_2, R.raw.obb_file2); in testMountMultipleObb()
98 file3 = createObbFile(OBB_FILE_3, R.raw.obb_file3); in testMountMultipleObb()
124 mFile = createObbFile(OBB_FILE_3_ENCRYPTED, R.raw.obb_enc_file100_orig3); in testMountSingleEncryptedObb()
137 mFile = createObbFile("bad password@$%#@^*(!&)", R.raw.obb_enc_file100_orig3); in testMountSingleEncryptedObbInvalidPassword()
151 file3 = createObbFile(OBB_FILE_3_ENCRYPTED, R.raw.obb_enc_file100_orig3); in testMountTwoEncryptedObb()
156 file1 = createObbFile(OBB_FILE_1_ENCRYPTED, R.raw.obb_enc_file100_orig1); in testMountTwoEncryptedObb()
178 mFile = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testUnmount_DontForce()
222 mFile = createObbFile(OBB_FILE_2_UNSIGNED, R.raw.obb_file2_nosign); in testMountUnsignedObb()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/restore/
DPerformAdbRestoreTaskTest.java53 R.raw.backup_telephony_no_password); in parseBackupFileAndReturnTarStream_backupNotEncrypted_returnsNonNull()
65 R.raw.backup_telephony_with_password); in parseBackupFileAndReturnTarStream_backupEncryptedAndPasswordProvided_returnsNonNull()
77 R.raw.backup_telephony_with_password); in parseBackupFileAndReturnTarStream_backupEncryptedAndPasswordNotProvided_returnsNull()
89 R.raw.backup_telephony_with_password); in parseBackupFileAndReturnTarStream_backupEncryptedAndIncorrectPassword_returnsNull()
/frameworks/av/media/libaudioprocessing/
DBufferProviders.cpp80 copyFrames(pBuffer->raw, pBuffer->raw, pBuffer->frameCount); in getNextBuffer()
94 pBuffer->raw = NULL; in getNextBuffer()
103 pBuffer->raw = mLocalBufferData; in getNextBuffer()
105 copyFrames(pBuffer->raw, (uint8_t*)mBuffer.raw + mConsumed * mInputFrameSize, in getNextBuffer()
124 pBuffer->raw = NULL; in releaseBuffer()
424 pBuffer->raw = mLocalBufferData; in getNextBuffer()
454 pBuffer->raw = NULL; in getNextBuffer()
458 pBuffer->raw = mLocalBufferData; in getNextBuffer()
468 mBuffer.raw, &srcAvailable); in getNextBuffer()
478 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/base/tests/net/java/com/android/internal/net/
DNetworkStatsFactoryTest.java77 final NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_typical); in testNetworkStatsDetail()
102 final NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_typical); in testNetworkStatsWithSet()
110 stageFile(R.raw.xt_qtaguid_iface_typical, file("net/xt_qtaguid/iface_stat_all")); in testNetworkStatsSingle()
120 stageFile(R.raw.xt_qtaguid_iface_fmt_typical, file("net/xt_qtaguid/iface_stat_fmt")); in testNetworkStatsXt()
137 NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_with_clat_simple); in testDoubleClatAccounting()
143 stats = parseDetailedStats(R.raw.xt_qtaguid_with_clat); in testDoubleClatAccounting()
179 stats = parseDetailedStats(R.raw.xt_qtaguid_with_clat_100mb_download_before); in testDoubleClatAccounting100MBDownload()
184 stats = parseDetailedStats(R.raw.xt_qtaguid_with_clat_100mb_download_after); in testDoubleClatAccounting100MBDownload()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DTarBackupReaderTest.java96 R.raw.backup_telephony_with_password); in readTarHeaders_backupEncrypted_correctlyParsesFileMetadata()
113 R.raw.backup_telephony_no_password); in readTarHeaders_backupNotEncrypted_correctlyParsesFileMetadata()
131 R.raw.backup_file_with_long_name); in readTarHeaders_backupNotEncrypted_correctlyReadsPaxHeader()
169 R.raw.backup_telephony_with_password); in readAppManifest_backupEncrypted_correctlyParsesAppManifest()
190 R.raw.backup_telephony_no_password); in readAppManifest_backupNotEncrypted_correctlyParsesAppManifest()
211 R.raw.backup_telephony_no_password); in chooseRestorePolicy_signaturesIsNull_returnsIgnore()
228 R.raw.backup_telephony_no_password); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk()
252 R.raw.backup_telephony_no_password); in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore()
279 R.raw.backup_telephony_no_password); in chooseRestorePolicy_packageDoesNotExistAndDoesNotAllowApks_returnsIgnore()
299 R.raw.backup_telephony_no_password); in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore()
[all …]
/frameworks/av/media/libaudiohal/
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()
DEffectBufferHalLocal.cpp60 return mAudioBuffer.raw; in externalData()
70 mAudioBuffer.raw = external; in setExternalData()
/frameworks/av/media/libaudioclient/include/media/
DAudioBufferProvider.h32 Buffer() : raw(NULL), frameCount(0) { } in Buffer()
34 void* raw; member
/frameworks/av/include/media/
DAudioBufferProvider.h32 Buffer() : raw(NULL), frameCount(0) { } in Buffer()
34 void* raw; member
/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()
223 mountObb(sm, R.raw.test1_nosig, outFile, OnObbStateChangeListener.ERROR_INTERNAL); in testAttemptMountNonObb()
238 mountObb(sm, R.raw.test1_wrongpackage, outFile, in testAttemptMountObbWrongPackage()
255 ObbObserver oo1 = mountObbWithoutWait(sm, R.raw.test1, file1); in testMountAndUnmountTwoObbs()
256 ObbObserver oo2 = mountObbWithoutWait(sm, R.raw.test1, file2); in testMountAndUnmountTwoObbs()
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/
DExportLicensesTask.groovy29 … licenses : ["https://raw.githubusercontent.com/JetBrains/kotlin/master/license/LICENSE.txt",
31 … notices : ["https://raw.githubusercontent.com/JetBrains/kotlin/master/license/NOTICE.txt"]
35 licenses : ["https://raw.githubusercontent.com/antlr/antlr4/master/LICENSE.txt"]
43 licenses : ["https://raw.githubusercontent.com/antlr/antlr4/master/LICENSE.txt"]
47 … licenses : ["https://raw.githubusercontent.com/antlr/stringtemplate4/master/LICENSE.txt"]
55 … licenses : ["https://raw.githubusercontent.com/junit-team/junit/master/LICENSE-junit.txt"],
56 … notices : ["https://raw.githubusercontent.com/junit-team/junit/master/NOTICE.txt"]
79 … licenses : ["https://raw.githubusercontent.com/hamcrest/JavaHamcrest/master/LICENSE.txt"]
/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/opt/net/wifi/tests/wifitests/
Druntests.sh8 -r print raw results
15 Run just the specified test, and show the raw output.
/frameworks/av/services/audioflinger/
DEffects.cpp246 memset(mConfig.inputCfg.buffer.raw, in updateState()
300 if (mConfig.inputCfg.buffer.raw != mConfig.outputCfg.buffer.raw) { in process()
310 memcpy(mConfig.outputCfg.buffer.raw, mConfig.inputCfg.buffer.raw, in process()
323 memset(mConfig.inputCfg.buffer.raw, 0, in process()
327 mConfig.inputCfg.buffer.raw != mConfig.outputCfg.buffer.raw) { in process()
407 if (mConfig.inputCfg.buffer.raw != mConfig.outputCfg.buffer.raw) { in configure()
424 this, thread.get(), mConfig.inputCfg.buffer.raw, mConfig.inputCfg.buffer.frameCount); in configure()
778 mConfig.inputCfg.buffer.raw = buffer->audioBuffer()->raw; in setInBuffer()
781 mConfig.inputCfg.buffer.raw = NULL; in setInBuffer()
789 mConfig.outputCfg.buffer.raw = buffer->audioBuffer()->raw; in setOutBuffer()
[all …]
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp278 if (inBuffer == NULL || inBuffer->raw == NULL || in LE_process()
279 outBuffer == NULL || outBuffer->raw == NULL || in LE_process()
298 if (inBuffer->raw != outBuffer->raw) { in LE_process()
304 memcpy(outBuffer->raw, inBuffer->raw, outBuffer->frameCount * 2 * sizeof(int16_t)); in LE_process()

123456