/frameworks/base/tools/apilint/ |
D | apilint.py | 51 def __init__(self, clazz, raw, blame): argument 53 self.raw = raw.strip(" {;") 56 raw = raw.split() 57 self.split = list(raw) 60 while r in raw: raw.remove(r) 62 self.typ = raw[0] 63 self.name = raw[1].strip(";") 64 if len(raw) >= 4 and raw[2] == "=": 65 self.value = raw[3].strip(';"') 69 self.ident = self.raw.replace(" deprecated ", " ") [all …]
|
/frameworks/base/tests/CoreTests/android/core/ |
D | InetAddrTest.java | 41 byte[] raw; in testInetAddr() 45 raw = ia.getAddress(); in testInetAddr() 47 assertEquals(127, raw[0]); in testInetAddr() 48 assertEquals(0, raw[1]); in testInetAddr() 49 assertEquals(0, raw[2]); in testInetAddr() 50 assertEquals(1, raw[3]); in testInetAddr() 54 raw = ia.getAddress(); in testInetAddr() 56 assertEquals(127, raw[0]); in testInetAddr() 57 assertEquals(0, raw[1]); in testInetAddr() 58 assertEquals(0, raw[2]); in testInetAddr() [all …]
|
/frameworks/av/media/libnbaio/ |
D | AudioBufferProviderSource.cpp | 36 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()
|
D | SourceAudioBufferProvider.cpp | 57 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/ |
D | StorageManagerIntegrationTest.java | 66 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/bluetooth/src/android/bluetooth/client/map/utils/ |
D | ObexAppParameters.java | 34 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/pbap/utils/ |
D | ObexAppParameters.java | 34 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/vcard/tests/src/com/android/vcard/tests/ |
D | VCardImporterTests.java | 412 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 …]
|
D | VCardParserTests.java | 94 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/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 610 return installFromRawResource("install.apk", R.raw.install, flags, cleanUp, false, -1, in sampleInstallFromRawResource() 1386 installFromRawResource("install.apk", R.raw.install_loc_internal, in testManifestInstallLocationInternal() 1397 installFromRawResource("install.apk", R.raw.install_loc_sdcard, in testManifestInstallLocationSdcard() 1403 installFromRawResource("install.apk", R.raw.install_loc_auto, in testManifestInstallLocationAuto() 1409 installFromRawResource("install.apk", R.raw.install_loc_unspecified, in testManifestInstallLocationUnspecified() 1420 installFromRawResource("install.apk", R.raw.install_loc_unspecified, in testManifestInstallLocationFwdLockedFlagSdcard() 1433 installFromRawResource("install.apk", R.raw.install_loc_sdcard, in testManifestInstallLocationFwdLockedSdcard() 1500 int iApk = R.raw.install_loc_internal; in testManifestInstallLocationReplaceInternalSdcard() 1502 int rApk = R.raw.install_loc_sdcard; in testManifestInstallLocationReplaceInternalSdcard() 1528 int iApk = R.raw.install_loc_sdcard; in testManifestInstallLocationReplaceSdcardInternal() [all …]
|
/frameworks/av/media/libstagefright/rtsp/ |
D | rtp_test.cpp | 84 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/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | TorusTest.java | 165 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()
|
D | FillTest.java | 111 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/services/core/java/com/android/server/ |
D | NsdService.java | 400 if (!handleNativeEvent(event.code, event.raw, event.cooked)) { in processMessage() 411 private boolean handleNativeEvent(int code, String raw, String[] cooked) { in handleNativeEvent() argument 436 if (DBG) Slog.d(TAG, "SERVICE_FOUND Raw: " + raw); in handleNativeEvent() 443 if (DBG) Slog.d(TAG, "SERVICE_LOST Raw: " + raw); in handleNativeEvent() 450 if (DBG) Slog.d(TAG, "SERVICE_DISC_FAILED Raw: " + raw); in handleNativeEvent() 456 if (DBG) Slog.d(TAG, "SERVICE_REGISTERED Raw: " + raw); in handleNativeEvent() 463 if (DBG) Slog.d(TAG, "SERVICE_REGISTER_FAILED Raw: " + raw); in handleNativeEvent() 475 if (DBG) Slog.d(TAG, "SERVICE_RESOLVED Raw: " + raw); in handleNativeEvent() 484 Slog.e(TAG, "Invalid service found " + raw); in handleNativeEvent() 511 if (DBG) Slog.d(TAG, "SERVICE_RESOLVE_FAILED Raw: " + raw); in handleNativeEvent() [all …]
|
/frameworks/base/docs/html/guide/topics/providers/ |
D | contacts-provider.jd | 141 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/av/include/media/ |
D | AudioBufferProvider.h | 32 Buffer() : raw(NULL), frameCount(0) { } in Buffer() 34 void* raw; member
|
/frameworks/av/services/audioflinger/ |
D | AudioResamplerCubic.cpp | 69 if (mBuffer.raw == NULL) { in resampleStereo16() 101 if (mBuffer.raw == NULL) { in resampleStereo16() 137 if (mBuffer.raw == NULL) { in resampleMono16() 169 if (mBuffer.raw == NULL) { in resampleMono16()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | MountServiceTests.java | 217 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/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
D | TestAppRS.java | 159 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()
|
D | FullscreenBlur.java | 177 vb.setShader(res, R.raw.blur_vertex); in initShaders() 180 mPF_Texture = getShader(res, rs, R.raw.texture, null); in initShaders() 182 mPF_BlurH = getShader(res, rs, R.raw.blur_h, blurConst.getAllocation().getType()); in initShaders() 183 mPF_BlurV = getShader(res, rs, R.raw.blur_v, blurConst.getAllocation().getType()); in initShaders() 184 mPF_SelectColor = getShader(res, rs, R.raw.select_color, null); in initShaders()
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
D | SoundPoolTest.java | 45 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/SceneGraph/src/com/android/scenegraph/ |
D | SceneManager.java | 472 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/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/ |
D | RsRenderStatesRS.java | 235 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/core/tests/coretests/src/com/android/internal/net/ |
D | NetworkStatsFactoryTest.java | 73 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()
|
/frameworks/av/media/libeffects/loudness/ |
D | EffectLoudnessEnhancer.cpp | 275 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()
|