Home
last modified time | relevance | path

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

123456789

/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 …]
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()
DVCardTestUtilsTests.java40 verifier.initForImportTest(VCardConfig.VCARD_TYPE_V21_GENERIC, R.raw.v21_backslash); in testShouldFailAtPropertyNodeVerification()
58 verifier.initForImportTest(VCardConfig.VCARD_TYPE_V21_GENERIC, R.raw.v21_backslash); in testShouldFailAtContentValueVerification()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java596 return installFromRawResource("install.apk", R.raw.install, flags, cleanUp, false, -1, in sampleInstallFromRawResource()
1367 installFromRawResource("install.apk", R.raw.install_loc_internal, in testManifestInstallLocationInternal()
1378 installFromRawResource("install.apk", R.raw.install_loc_sdcard, in testManifestInstallLocationSdcard()
1384 installFromRawResource("install.apk", R.raw.install_loc_auto, in testManifestInstallLocationAuto()
1390 installFromRawResource("install.apk", R.raw.install_loc_unspecified, in testManifestInstallLocationUnspecified()
1401 installFromRawResource("install.apk", R.raw.install_loc_unspecified, in testManifestInstallLocationFwdLockedFlagSdcard()
1414 installFromRawResource("install.apk", R.raw.install_loc_sdcard, in testManifestInstallLocationFwdLockedSdcard()
1481 int iApk = R.raw.install_loc_internal; in testManifestInstallLocationReplaceInternalSdcard()
1483 int rApk = R.raw.install_loc_sdcard; in testManifestInstallLocationReplaceInternalSdcard()
1509 int iApk = R.raw.install_loc_sdcard; in testManifestInstallLocationReplaceSdcardInternal()
[all …]
/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/os/storage/
DStorageManagerIntegrationTest.java67 mFile = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testMountSingleObb()
83 file1 = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testMountMultipleObb()
88 file2 = createObbFile(OBB_FILE_2, R.raw.obb_file2); in testMountMultipleObb()
93 file3 = createObbFile(OBB_FILE_3, R.raw.obb_file3); in testMountMultipleObb()
119 mFile = createObbFile(OBB_FILE_3_ENCRYPTED, R.raw.obb_enc_file100_orig3); in testMountSingleEncryptedObb()
132 mFile = createObbFile("bad password@$%#@^*(!&)", R.raw.obb_enc_file100_orig3); in testMountSingleEncryptedObbInvalidPassword()
146 file3 = createObbFile(OBB_FILE_3_ENCRYPTED, R.raw.obb_enc_file100_orig3); in testMountTwoEncryptedObb()
151 file1 = createObbFile(OBB_FILE_1_ENCRYPTED, R.raw.obb_enc_file100_orig1); in testMountTwoEncryptedObb()
173 mFile = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testUnmount_DontForce()
217 mFile = createObbFile(OBB_FILE_2_UNSIGNED, R.raw.obb_file2_nosign); in testMountUnsignedObb()
[all …]
/frameworks/av/media/libstagefright/rtsp/
Drtp_test.cpp84 static const char *raw = in main()
102 static const char *raw = in main() local
117 static const char *raw = in main() local
131 static const char *raw = in main() local
147 static const char *raw = in main() local
164 CHECK(desc->setTo(raw, strlen(raw))); in main()
/frameworks/av/services/audioflinger/
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()
238 mDownmixConfig.inputCfg.buffer.raw = const_cast<void *>(src); in copyFrames()
240 mDownmixConfig.outputCfg.buffer.raw = dst; in copyFrames()
369 pBuffer->raw = mLocalBufferData; in getNextBuffer()
399 pBuffer->raw = NULL; in getNextBuffer()
403 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()
DTracks.cpp249 (void) mTeeSink->write(buffer->raw, buffer->frameCount); in releaseBuffer()
255 buf.mRaw = buffer->raw; in releaseBuffer()
257 buffer->raw = NULL; in releaseBuffer()
565 buffer->raw = buf.mRaw; in getNextBuffer()
1193 inBuffer.raw = data; in write()
1237 memcpy(mOutBuffer.raw, pInBuffer->raw, outFrames * mFrameSize); in write()
1244 pInBuffer->raw = (int8_t *)pInBuffer->raw + outFrames * mFrameSize; in write()
1246 mOutBuffer.raw = (int8_t *)mOutBuffer.raw + outFrames * mFrameSize; in write()
1269 pInBuffer->raw = pInBuffer->mBuffer; in write()
1270 memcpy(pInBuffer->raw, inBuffer.raw, inBuffer.frameCount * mFrameSize); in write()
[all …]
/frameworks/base/docs/html/guide/topics/providers/
Dcontacts-provider.jd141 Rows representing different people, based on aggregations of raw contact rows.
153 Rows containing the details for raw contact, such as email addresses or phone numbers.
163 A raw contact represents a person's data coming from a single account type and account
165 data for a person, the Contacts Provider allows multiple raw contacts for the same person.
166 Multiple raw contacts also allow a user to combine a person's data from more than one account
170 Most of the data for a raw contact isn't stored in the
177 <h3 id="RawContactsColumns">Important raw contact columns</h3>
183 <strong>Table 1.</strong> Important raw contact columns.
196 The account name for the account type that's the source of this raw contact.
212 The account type that's the source of this raw contact. For example, the account
[all …]
/frameworks/base/services/core/java/com/android/server/
DNsdService.java397 if (!handleNativeEvent(event.code, event.raw, event.cooked)) { in processMessage()
408 private boolean handleNativeEvent(int code, String raw, String[] cooked) { in handleNativeEvent() argument
433 if (DBG) Slog.d(TAG, "SERVICE_FOUND Raw: " + raw); in handleNativeEvent()
440 if (DBG) Slog.d(TAG, "SERVICE_LOST Raw: " + raw); in handleNativeEvent()
447 if (DBG) Slog.d(TAG, "SERVICE_DISC_FAILED Raw: " + raw); in handleNativeEvent()
453 if (DBG) Slog.d(TAG, "SERVICE_REGISTERED Raw: " + raw); in handleNativeEvent()
460 if (DBG) Slog.d(TAG, "SERVICE_REGISTER_FAILED Raw: " + raw); in handleNativeEvent()
472 if (DBG) Slog.d(TAG, "SERVICE_RESOLVED Raw: " + raw); in handleNativeEvent()
481 Slog.e(TAG, "Invalid service found " + raw); in handleNativeEvent()
509 if (DBG) Slog.d(TAG, "SERVICE_RESOLVE_FAILED Raw: " + raw); in handleNativeEvent()
[all …]
/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/support/documents-archive/tests/src/android/support/provider/
DDocumentArchiveTest.java89 loadArchive(R.raw.archive); in testQueryChildDocument()
142 loadArchive(R.raw.no_dirs); in testQueryChildDocument_NoDirs()
183 loadArchive(R.raw.empty_dirs); in testQueryChildDocument_EmptyDirs()
236 loadArchive(R.raw.archive); in testGetDocumentType()
242 loadArchive(R.raw.archive); in testIsChildDocument()
250 loadArchive(R.raw.archive); in testQueryDocument()
265 loadArchive(R.raw.archive); in testOpenDocument()
/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/av/include/media/
DAudioBufferProvider.h32 Buffer() : raw(NULL), frameCount(0) { } in Buffer()
34 void* raw; member
/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/core/tests/coretests/src/com/android/internal/net/
DNetworkStatsFactoryTest.java74 stageFile(R.raw.xt_qtaguid_typical, new File(mTestProc, "net/xt_qtaguid/stats")); in testNetworkStatsDetail()
100 stageFile(R.raw.xt_qtaguid_typical, new File(mTestProc, "net/xt_qtaguid/stats")); in testNetworkStatsWithSet()
109 … stageFile(R.raw.xt_qtaguid_iface_typical, new File(mTestProc, "net/xt_qtaguid/iface_stat_all")); in testNetworkStatsSingle()
119 stageFile(R.raw.xt_qtaguid_iface_fmt_typical, in testNetworkStatsXt()
/frameworks/av/media/libeffects/loudness/
DEffectLoudnessEnhancer.cpp275 if (inBuffer == NULL || inBuffer->raw == NULL || in LE_process()
276 outBuffer == NULL || outBuffer->raw == NULL || in LE_process()
295 if (inBuffer->raw != outBuffer->raw) { in LE_process()
301 memcpy(outBuffer->raw, inBuffer->raw, outBuffer->frameCount * 2 * sizeof(int16_t)); in LE_process()
/frameworks/base/core/tests/coretests/
DAndroid.mk48 FrameworkCoreTests_all_apks_res := $(addprefix $(FrameworkCoreTests_intermediates)/raw/, \
51 $(FrameworkCoreTests_all_apks_res): $(FrameworkCoreTests_intermediates)/raw/%: $(call intermediates…
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
DSamplesList.java46 add(makeSample("GIF animation", FrameSequenceTest.class, R.raw.animated_gif));
47 add(makeSample("WEBP animation", FrameSequenceTest.class, R.raw.animated_webp));
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchBar.java775 R.raw.lb_voice_failure, in loadSounds()
776 R.raw.lb_voice_open, in loadSounds()
777 R.raw.lb_voice_no_input, in loadSounds()
778 R.raw.lb_voice_success, in loadSounds()
797 play(R.raw.lb_voice_open); in playSearchOpen()
801 play(R.raw.lb_voice_failure); in playSearchFailure()
805 play(R.raw.lb_voice_no_input); in playSearchNoInput()
809 play(R.raw.lb_voice_success); in playSearchSuccess()

123456789