Home
last modified time | relevance | path

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

12345678

/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()
56 if (CC_UNLIKELY(mBuffer.raw == NULL)) { in read()
62 ALOG_ASSERT(mBuffer.raw != NULL); in read()
71 memcpy(buffer, (char *) mBuffer.raw + (mConsumed * mFrameSize), count * mFrameSize); in read()
74 mBuffer.raw = NULL; in read()
103 if (CC_UNLIKELY(mBuffer.raw == NULL)) { in readVia()
107 ALOG_ASSERT(mBuffer.raw != NULL && mBuffer.frameCount <= count); in readVia()
123 char* readTgt = (char *) mBuffer.raw + (mConsumed * mFrameSize); in readVia()
139 mBuffer.raw = NULL; in readVia()
DSourceAudioBufferProvider.cpp57 buffer->raw = (char *) mAllocated + (mOffset * mFrameSize); in getNextBuffer()
73 buffer->raw = mAllocated; in getNextBuffer()
78 buffer->raw = NULL; in getNextBuffer()
87 (buffer->raw == (char *) mAllocated + (mOffset * mFrameSize)) && in releaseBuffer()
94 buffer->raw = NULL; in releaseBuffer()
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerIntegrationTest.java66 mFile = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testMountSingleObb()
82 file1 = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testMountMultipleObb()
87 file2 = createObbFile(OBB_FILE_2, R.raw.obb_file2); in testMountMultipleObb()
92 file3 = createObbFile(OBB_FILE_3, R.raw.obb_file3); in testMountMultipleObb()
118 mFile = createObbFile(OBB_FILE_3_ENCRYPTED, R.raw.obb_enc_file100_orig3); in testMountSingleEncryptedObb()
130 mFile = createObbFile("bad password@$%#@^*(!&)", R.raw.obb_enc_file100_orig3); in testMountSingleEncryptedObbInvalidPassword()
144 file3 = createObbFile(OBB_FILE_3_ENCRYPTED, R.raw.obb_enc_file100_orig3); in testMountTwoEncryptedObb()
149 file1 = createObbFile(OBB_FILE_1_ENCRYPTED, R.raw.obb_enc_file100_orig1); in testMountTwoEncryptedObb()
171 mFile = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testUnmount_DontForce()
215 mFile = createObbFile(OBB_FILE_2_UNSIGNED, R.raw.obb_file2_nosign); in testMountUnsignedObb()
[all …]
/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()
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/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/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.java603 return installFromRawResource("install.apk", R.raw.install, flags, cleanUp, false, -1, in sampleInstallFromRawResource()
1379 installFromRawResource("install.apk", R.raw.install_loc_internal, in testManifestInstallLocationInternal()
1390 installFromRawResource("install.apk", R.raw.install_loc_sdcard, in testManifestInstallLocationSdcard()
1396 installFromRawResource("install.apk", R.raw.install_loc_auto, in testManifestInstallLocationAuto()
1402 installFromRawResource("install.apk", R.raw.install_loc_unspecified, in testManifestInstallLocationUnspecified()
1413 installFromRawResource("install.apk", R.raw.install_loc_unspecified, in testManifestInstallLocationFwdLockedFlagSdcard()
1426 installFromRawResource("install.apk", R.raw.install_loc_sdcard, in testManifestInstallLocationFwdLockedSdcard()
1493 int iApk = R.raw.install_loc_internal; in testManifestInstallLocationReplaceInternalSdcard()
1495 int rApk = R.raw.install_loc_sdcard; in testManifestInstallLocationReplaceInternalSdcard()
1521 int iApk = R.raw.install_loc_sdcard; in testManifestInstallLocationReplaceSdcardInternal()
[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.cpp81 copyFrames(pBuffer->raw, pBuffer->raw, pBuffer->frameCount); in getNextBuffer()
95 pBuffer->raw = NULL; in getNextBuffer()
104 pBuffer->raw = mLocalBufferData; in getNextBuffer()
106 copyFrames(pBuffer->raw, (uint8_t*)mBuffer.raw + mConsumed * mInputFrameSize, in getNextBuffer()
125 pBuffer->raw = NULL; in releaseBuffer()
239 mDownmixConfig.inputCfg.buffer.raw = const_cast<void *>(src); in copyFrames()
241 mDownmixConfig.outputCfg.buffer.raw = dst; in copyFrames()
370 pBuffer->raw = mLocalBufferData; in getNextBuffer()
400 pBuffer->raw = NULL; in getNextBuffer()
404 pBuffer->raw = mLocalBufferData; in getNextBuffer()
[all …]
DAudioResamplerCubic.cpp70 if (mBuffer.raw == NULL) { in resampleStereo16()
102 if (mBuffer.raw == NULL) { in resampleStereo16()
139 if (mBuffer.raw == NULL) { in resampleMono16()
171 if (mBuffer.raw == NULL) { in resampleMono16()
DTracks.cpp252 (void) mTeeSink->write(buffer->raw, buffer->frameCount); in releaseBuffer()
258 buf.mRaw = buffer->raw; in releaseBuffer()
260 buffer->raw = NULL; in releaseBuffer()
599 buffer->raw = buf.mRaw; in getNextBuffer()
1367 buffer->raw = NULL; in getNextBuffer()
1382 buffer->raw = NULL; in getNextBuffer()
1409 buffer->raw = NULL; in getNextBuffer()
1418 buffer->raw = NULL; in getNextBuffer()
1528 buffer->raw = (static_cast<uint8_t*>(head.buffer()->pointer()) + in timedYieldSamples_l()
1554 buffer->raw = mTimedSilenceBuffer; in timedYieldSilence_l()
[all …]
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
DTorusTest.java165 pvbCustom.setShader(mRes, R.raw.shaderv); in initCustomShaders()
176 pfbCustom.setShader(mRes, R.raw.shaderf); in initCustomShaders()
186 pvbCustom.setShader(mRes, R.raw.shader2v); in initCustomShaders()
193 pvbCustom.setShader(mRes, R.raw.shader2movev); in initCustomShaders()
200 pfbCustom.setShader(mRes, R.raw.shader2f); in initCustomShaders()
207 pfbCustom.setShader(mRes, R.raw.multitexf); in initCustomShaders()
242 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.torus); in initMesh()
252 mTorusScript = new ScriptC_torus_test(mRS, mRes, R.raw.torus_test); in initTorusScript()
DFillTest.java111 pfbCustom.setShader(mRes, R.raw.multitexf); in initCustomShaders()
118 pfbCustom.setShader(mRes, R.raw.singletexf); in initCustomShaders()
123 pfbCustom.setShader(mRes, R.raw.singletexfm); in initCustomShaders()
145 mFillScript = new ScriptC_fill_test(mRS, mRes, R.raw.fill_test); in initFillScript()
/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.java399 if (!handleNativeEvent(event.code, event.raw, event.cooked)) { in processMessage()
410 private boolean handleNativeEvent(int code, String raw, String[] cooked) { in handleNativeEvent() argument
435 if (DBG) Slog.d(TAG, "SERVICE_FOUND Raw: " + raw); in handleNativeEvent()
442 if (DBG) Slog.d(TAG, "SERVICE_LOST Raw: " + raw); in handleNativeEvent()
449 if (DBG) Slog.d(TAG, "SERVICE_DISC_FAILED Raw: " + raw); in handleNativeEvent()
455 if (DBG) Slog.d(TAG, "SERVICE_REGISTERED Raw: " + raw); in handleNativeEvent()
462 if (DBG) Slog.d(TAG, "SERVICE_REGISTER_FAILED Raw: " + raw); in handleNativeEvent()
474 if (DBG) Slog.d(TAG, "SERVICE_RESOLVED Raw: " + raw); in handleNativeEvent()
483 Slog.e(TAG, "Invalid service found " + raw); in handleNativeEvent()
510 if (DBG) Slog.d(TAG, "SERVICE_RESOLVE_FAILED Raw: " + raw); in handleNativeEvent()
[all …]
/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/
DExportLicensesTask.groovy28 … licenses : ["https://raw.githubusercontent.com/JetBrains/kotlin/master/license/LICENSE.txt",
30 … notices : ["https://raw.githubusercontent.com/JetBrains/kotlin/master/license/NOTICE.txt"]
34 licenses : ["https://raw.githubusercontent.com/antlr/antlr4/master/LICENSE.txt"]
42 licenses : ["https://raw.githubusercontent.com/antlr/antlr4/master/LICENSE.txt"]
46 … licenses : ["https://raw.githubusercontent.com/antlr/stringtemplate4/master/LICENSE.txt"]
54 … licenses : ["https://raw.githubusercontent.com/junit-team/junit/master/LICENSE-junit.txt"],
55 … notices : ["https://raw.githubusercontent.com/junit-team/junit/master/NOTICE.txt"]
78 … 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/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DTestAppRS.java159 mPaintF = createFromResource(R.raw.paintf, true, camParamType); in initPaintShaders()
164 mAluminumF = createFromResource(R.raw.metal, true, camParamType); in initPaintShaders()
168 mPlasticF = createFromResource(R.raw.plastic, false, camParamType); in initPaintShaders()
169 mDiffuseF = createFromResource(R.raw.diffuse, false, camParamType); in initPaintShaders()
174 fb.setShader(mRes, R.raw.plastic_lights); in initPaintShaders()
179 fb.setShader(mRes, R.raw.diffuse_lights); in initPaintShaders()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java217 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.MOUNTED); in testMountAndUnmountObbNormal()
219 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED); in testMountAndUnmountObbNormal()
236 mountObb(sm, R.raw.test1_nosig, outFile, OnObbStateChangeListener.ERROR_INTERNAL); in testAttemptMountNonObb()
251 mountObb(sm, R.raw.test1_wrongpackage, outFile, in testAttemptMountObbWrongPackage()
268 ObbObserver oo1 = mountObbWithoutWait(sm, R.raw.test1, file1); in testMountAndUnmountTwoObbs()
269 ObbObserver oo2 = mountObbWithoutWait(sm, R.raw.test1, file2); in testMountAndUnmountTwoObbs()
/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/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
DRsRenderStatesRS.java235 pvbCustom.setShader(mRes, R.raw.shaderv); in initCustomShaders()
246 pfbCustom.setShader(mRes, R.raw.shaderf); in initCustomShaders()
256 pvbCustom.setShader(mRes, R.raw.shaderarrayv); in initCustomShaders()
263 pfbCustom.setShader(mRes, R.raw.shaderarrayf); in initCustomShaders()
271 pvbCustom.setShader(mRes, R.raw.shadercubev); in initCustomShaders()
278 pfbCustom.setShader(mRes, R.raw.shadercubef); in initCustomShaders()
283 pfbCustom.setShader(mRes, R.raw.multitexf); in initCustomShaders()
351 FileA3D model = FileA3D.createFromResource(mRS, mRes, R.raw.torus); in initMesh()
403 mScript = new ScriptC_rsrenderstates(mRS, mRes, R.raw.rsrenderstates); in initRS()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
DSceneManager.java472 mExportScript = new ScriptC_export(rs, res, R.raw.export); in initRS()
474 mTransformScript = new ScriptC_transform(rs, res, R.raw.transform); in initRS()
477 mCameraScript = new ScriptC_camera(rs, res, R.raw.camera); in initRS()
478 mLightScript = new ScriptC_light(rs, res, R.raw.light); in initRS()
479 mObjectParamsScript = new ScriptC_object_params(rs, res, R.raw.object_params); in initRS()
480 mFragmentParamsScript = new ScriptC_object_params(rs, res, R.raw.fragment_params); in initRS()
481 mVertexParamsScript = new ScriptC_object_params(rs, res, R.raw.vertex_params); in initRS()
482 mCullScript = new ScriptC_cull(rs, res, R.raw.cull); in initRS()
484 mRenderLoop = new ScriptC_render(rs, res, R.raw.render); in initRS()
/frameworks/base/core/tests/coretests/src/com/android/internal/net/
DNetworkStatsFactoryTest.java73 stageFile(R.raw.xt_qtaguid_typical, new File(mTestProc, "net/xt_qtaguid/stats")); in testNetworkStatsDetail()
99 stageFile(R.raw.xt_qtaguid_typical, new File(mTestProc, "net/xt_qtaguid/stats")); in testNetworkStatsWithSet()
108 … stageFile(R.raw.xt_qtaguid_iface_typical, new File(mTestProc, "net/xt_qtaguid/iface_stat_all")); in testNetworkStatsSingle()
118 stageFile(R.raw.xt_qtaguid_iface_fmt_typical, in testNetworkStatsXt()

12345678