Home
last modified time | relevance | path

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

123456789

/frameworks/base/tests/CoreTests/android/core/
DInetAddrTest.java41 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/services/audioflinger/
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 << mBitShift), count << mBitShift); 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 << mBitShift), count); in readVia()
135 mBuffer.raw = NULL; in readVia()
DSourceAudioBufferProvider.cpp57 buffer->raw = (char *) mAllocated + (mOffset << mFrameBitShift); in getNextBuffer()
73 buffer->raw = mAllocated; in getNextBuffer()
78 buffer->raw = NULL; in getNextBuffer()
87 (buffer->raw == (char *) mAllocated + (mOffset << mFrameBitShift)) && in releaseBuffer()
93 buffer->raw = NULL; in releaseBuffer()
DAudioResamplerCubic.cpp69 if (mBuffer.raw == NULL) in resampleStereo16()
100 if (mBuffer.raw == NULL) in resampleStereo16()
135 if (mBuffer.raw == NULL) in resampleMono16()
166 if (mBuffer.raw == NULL) in resampleMono16()
DAudioBufferProvider.h30 Buffer() : raw(NULL), frameCount(0) { } in Buffer()
32 void* raw; member
/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.java93 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_simple_1); in testSimple()
111 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_nest); in testNest()
145 getContext().getResources().openRawResource(R.raw.v21_multiple_entry); in testParseOne()
186 inputStream = getContext().getResources().openRawResource(R.raw.v21_multiple_entry); in testParseOne()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java483 return installFromRawResource("install.apk", R.raw.install, flags, cleanUp, in sampleInstallFromRawResource()
1196 installFromRawResource("install.apk", R.raw.install_loc_internal, in testManifestInstallLocationInternal()
1207 installFromRawResource("install.apk", R.raw.install_loc_sdcard, in testManifestInstallLocationSdcard()
1213 installFromRawResource("install.apk", R.raw.install_loc_auto, in testManifestInstallLocationAuto()
1219 installFromRawResource("install.apk", R.raw.install_loc_unspecified, in testManifestInstallLocationUnspecified()
1230 installFromRawResource("install.apk", R.raw.install_loc_unspecified, in testManifestInstallLocationFwdLockedFlagSdcard()
1243 installFromRawResource("install.apk", R.raw.install_loc_sdcard, in testManifestInstallLocationFwdLockedSdcard()
1311 int iApk = R.raw.install_loc_internal; in testManifestInstallLocationReplaceInternalSdcard()
1313 int rApk = R.raw.install_loc_sdcard; in testManifestInstallLocationReplaceInternalSdcard()
1339 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/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/services/java/com/android/server/
DNsdService.java391 handleNativeEvent(event.code, event.raw, in processMessage()
392 NativeDaemonEvent.unescapeArgs(event.raw)); in processMessage()
486 String raw; field in NsdService.NativeEvent
488 NativeEvent(int code, String raw) { in NativeEvent() argument
490 this.raw = raw; in NativeEvent()
499 public boolean onEvent(int code, String raw, String[] cooked) { in onEvent() argument
502 NativeEvent event = new NativeEvent(code, raw); in onEvent()
508 private void handleNativeEvent(int code, String raw, String[] cooked) { in handleNativeEvent() argument
526 if (DBG) Slog.d(TAG, "SERVICE_FOUND Raw: " + raw); in handleNativeEvent()
533 if (DBG) Slog.d(TAG, "SERVICE_LOST Raw: " + raw); in handleNativeEvent()
[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/av/libvideoeditor/lvpp/
DVideoEditorSRC.cpp205 pBuffer->raw = malloc(want); in getNextBuffer()
224 free(pBuffer->raw); in getNextBuffer()
225 pBuffer->raw = NULL; in getNextBuffer()
268 memcpy((uint8_t*)pBuffer->raw + done, end - mLeftover, todo); in getNextBuffer()
288 free(pBuffer->raw); in releaseBuffer()
289 pBuffer->raw = NULL; in releaseBuffer()
/frameworks/av/libvideoeditor/vss/src/
DVideoEditorResampler.cpp61 pBuffer->raw = (void*)mTmpInBuffer; in getNextBuffer()
68 if(pBuffer->raw != NULL) { in releaseBuffer()
69 free(pBuffer->raw); in releaseBuffer()
70 pBuffer->raw = NULL; in releaseBuffer()
/frameworks/base/core/tests/coretests/src/com/android/server/
DMountServiceTests.java215 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.MOUNTED); in testMountAndUnmountObbNormal()
217 mountObb(sm, R.raw.test1, outFile, OnObbStateChangeListener.ERROR_ALREADY_MOUNTED); in testMountAndUnmountObbNormal()
234 mountObb(sm, R.raw.test1_nosig, outFile, OnObbStateChangeListener.ERROR_INTERNAL); in testAttemptMountNonObb()
249 mountObb(sm, R.raw.test1_wrongpackage, outFile, in testAttemptMountObbWrongPackage()
266 ObbObserver oo1 = mountObbWithoutWait(sm, R.raw.test1, file1); in testMountAndUnmountTwoObbs()
267 ObbObserver oo2 = mountObbWithoutWait(sm, R.raw.test1, file2); in testMountAndUnmountTwoObbs()
/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()
DFullscreenBlur.java177 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/
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/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/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/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()
/frameworks/base/core/tests/coretests/
DAndroid.mk37 FrameworkCoreTests_all_apks_res := $(addprefix $(FrameworkCoreTests_intermediates)/raw/, \
40 $(FrameworkCoreTests_all_apks_res): $(FrameworkCoreTests_intermediates)/raw/%: $(call intermediates…
/frameworks/base/tests/RenderScriptTests/ComputePerf/src/com/example/android/rs/computeperf/
DLaunchTest.java31 mScript_xlw = new ScriptC_launchtestxlw(mRS, res, R.raw.launchtestxlw); in LaunchTest()
32 mScript_xyw = new ScriptC_launchtestxyw(mRS, res, R.raw.launchtestxyw); in LaunchTest()

123456789