/frameworks/base/tools/aapt/ |
D | Main.cpp | 323 const char* cp = argv[0] +1; in main() local 325 while (*cp != '\0') { in main() 326 switch (*cp) { in main() 536 if (strcmp(cp, "-debug-mode") == 0) { in main() 538 } else if (strcmp(cp, "-min-sdk-version") == 0) { in main() 547 } else if (strcmp(cp, "-target-sdk-version") == 0) { in main() 556 } else if (strcmp(cp, "-max-sdk-version") == 0) { in main() 565 } else if (strcmp(cp, "-max-res-version") == 0) { in main() 574 } else if (strcmp(cp, "-version-code") == 0) { in main() 583 } else if (strcmp(cp, "-version-name") == 0) { in main() [all …]
|
/frameworks/rs/cpu_ref/ |
D | rsCpuIntrinsicBlur.cpp | 295 RsdCpuScriptIntrinsicBlur *cp = (RsdCpuScriptIntrinsicBlur *)info->usr; in kernelU4() local 296 if (!cp->mAlloc.get()) { in kernelU4() 300 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4() 301 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4() 311 stride, x1, info->current.y, x2 - x1, cp->mIradius, cp->mIp + cp->mIradius); in kernelU4() 317 if ((info->dim.x > cp->mScratchSize[info->lid]) || !cp->mScratch[info->lid]) { in kernelU4() 319 cp->mScratch[info->lid] = realloc(cp->mScratch[info->lid], (info->dim.x + 1) * 16); in kernelU4() 320 cp->mScratchSize[info->lid] = info->dim.x; in kernelU4() 323 buf = (float4 *) ((((intptr_t)cp->mScratch[info->lid]) + 15) & ~0xf); in kernelU4() 327 if ((y > cp->mIradius) && (y < ((int)info->dim.y - cp->mIradius))) { in kernelU4() [all …]
|
D | rsCpuIntrinsicHistogram.cpp | 167 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; in kernelP1U4() local 169 int * sums = &cp->mSums[256 * 4 * info->lid]; in kernelP1U4() 184 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; in kernelP1U3() local 186 int * sums = &cp->mSums[256 * 4 * info->lid]; in kernelP1U3() 200 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; in kernelP1U2() local 202 int * sums = &cp->mSums[256 * 2 * info->lid]; in kernelP1U2() 215 RsdCpuScriptIntrinsicHistogram *cp = (RsdCpuScriptIntrinsicHistogram *)info->usr; in kernelP1L4() local 217 int * sums = &cp->mSums[256 * info->lid]; in kernelP1L4() 220 int t = (cp->mDotI[0] * in[0]) + in kernelP1L4() 221 (cp->mDotI[1] * in[1]) + in kernelP1L4() [all …]
|
D | rsCpuIntrinsicResize.cpp | 324 RsdCpuScriptIntrinsicResize *cp = (RsdCpuScriptIntrinsicResize *)info->usr; in kernelU4() local 326 if (!cp->mAlloc.get()) { in kernelU4() 330 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4() 331 const int srcHeight = cp->mAlloc->mHal.drvState.lod[0].dimY; in kernelU4() 332 const int srcWidth = cp->mAlloc->mHal.drvState.lod[0].dimX; in kernelU4() 333 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4() 337 …float yf = _mm_cvtss_f32(_mm_fmsub_ss(_mm_set1_ps(info->current.y + 0.5f),_mm_set1_ps(cp->scaleY),… in kernelU4() 339 float yf = (info->current.y + 0.5f) * cp->scaleY - 0.5f; in kernelU4() 361 if (gArchUseSIMD && x2 > x1 && cp->scaleX < 4.0f) { in kernelU4() 362 float xf = (x1 + 0.5f) * cp->scaleX - 0.5f; in kernelU4() [all …]
|
D | rsCpuIntrinsicConvolve3x3.cpp | 182 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; in kernelU4() local 184 if (!cp->mAlloc.get()) { in kernelU4() 188 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU4() 189 const size_t stride = cp->mAlloc->mHal.drvState.lod[0].stride; in kernelU4() 201 ConvolveOneU4(info, 0, out, py0, py1, py2, cp->mFp); in kernelU4() 211 rsdIntrinsicConvolve3x3_K(out, &py0[x1-1], &py1[x1-1], &py2[x1-1], cp->mIp, len); in kernelU4() 219 ConvolveOneU4(info, x1, out, py0, py1, py2, cp->mFp); in kernelU4() 229 RsdCpuScriptIntrinsicConvolve3x3 *cp = (RsdCpuScriptIntrinsicConvolve3x3 *)info->usr; in kernelU2() local 231 if (!cp->mAlloc.get()) { in kernelU2() 235 const uchar *pin = (const uchar *)cp->mAlloc->mHal.drvState.lod[0].mallocPtr; in kernelU2() [all …]
|
D | rsCpuIntrinsicConvolve5x5.cpp | 346 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; in kernelU4() local 347 if (!cp->alloc.get()) { in kernelU4() 351 const uchar *pin = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernelU4() 352 const size_t stride = cp->alloc->mHal.drvState.lod[0].stride; in kernelU4() 371 OneU4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelU4() 381 …olve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len); in kernelU4() 390 …olve5x5_K(out, py0 + x1 - 2, py1 + x1 - 2, py2 + x1 - 2, py3 + x1 - 2, py4 + x1 - 2, cp->mIp, len); in kernelU4() 397 OneU4(info, x1, out, py0, py1, py2, py3, py4, cp->mFp); in kernelU4() 406 RsdCpuScriptIntrinsicConvolve5x5 *cp = (RsdCpuScriptIntrinsicConvolve5x5 *)info->usr; in kernelU2() local 407 if (!cp->alloc.get()) { in kernelU2() [all …]
|
D | rsCpuIntrinsicYuvToRGB.cpp | 101 RsdCpuScriptIntrinsicYuvToRGB *cp = (RsdCpuScriptIntrinsicYuvToRGB *)info->usr; in kernel() local 102 if (!cp->alloc.get()) { in kernel() 106 const uchar *pinY = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; in kernel() 112 size_t strideY = cp->alloc->mHal.drvState.lod[0].stride; in kernel() 115 if (cp->alloc->mHal.drvState.lod[0].dimY == 0) { in kernel() 124 size_t cstep = cp->alloc->mHal.drvState.yuv.step; in kernel() 126 const uchar *pinU = (const uchar *)cp->alloc->mHal.drvState.lod[1].mallocPtr; in kernel() 127 const size_t strideU = cp->alloc->mHal.drvState.lod[1].stride; in kernel() 130 const uchar *pinV = (const uchar *)cp->alloc->mHal.drvState.lod[2].mallocPtr; in kernel() 131 const size_t strideV = cp->alloc->mHal.drvState.lod[2].stride; in kernel() [all …]
|
D | rsCpuIntrinsic3DLUT.cpp | 57 RsdCpuScriptIntrinsic3DLUT *cp = (RsdCpuScriptIntrinsic3DLUT *)info->usr; in kernel() local 64 const uchar *bp = (const uchar *)cp->mLUT->mHal.drvState.lod[0].mallocPtr; in kernel() 67 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimX - 1), in kernel() 68 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimY - 1), in kernel() 69 static_cast<int>(cp->mLUT->mHal.drvState.lod[0].dimZ - 1), in kernel() 74 const size_t stride_y = cp->mLUT->mHal.drvState.lod[0].stride; in kernel() 75 const size_t stride_z = stride_y * cp->mLUT->mHal.drvState.lod[0].dimY; in kernel()
|
D | rsCpuIntrinsicColorMatrix.cpp | 885 RsdCpuScriptIntrinsicColorMatrix *cp = (RsdCpuScriptIntrinsicColorMatrix *)info->usr; in kernel() local 894 uint32_t vsin = cp->mLastKey.u.inVecSize; in kernel() 895 uint32_t vsout = cp->mLastKey.u.outVecSize; in kernel() 896 bool floatIn = !!cp->mLastKey.u.inType; in kernel() 897 bool floatOut = !!cp->mLastKey.u.outType; in kernel() 904 if((cp->mOptKernel != nullptr) && (len >= 4)) { in kernel() 907 cp->mOptKernel(out, in, cp->ip, len >> 2); in kernel() 917 … if (cp->mLastKey.u.inType == RS_TYPE_FLOAT_32 || cp->mLastKey.u.outType == RS_TYPE_FLOAT_32) { in kernel() 924 rsdIntrinsicColorMatrix_int_K(out, in, len, &cp->mFnTab, cp->ip, cp->ipa); in kernel() 934 One(info, out, in, cp->tmpFp, cp->tmpFpa, vsin, vsout, floatIn, floatOut); in kernel()
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | AndroidCharacterTest.java | 38 for (int cp = 0; cp <= Character.MAX_VALUE; cp++) { in testGetDirectionalities_nonSupplementaryCharacters() 39 if (cp < Character.MIN_SURROGATE || cp > Character.MAX_SURROGATE) { in testGetDirectionalities_nonSupplementaryCharacters() 40 chars[index] = (char) cp; in testGetDirectionalities_nonSupplementaryCharacters() 41 java_lang_results[index] = Character.getDirectionality(cp); in testGetDirectionalities_nonSupplementaryCharacters() 59 for (int cp = Character.MIN_SUPPLEMENTARY_CODE_POINT; cp <= Character.MAX_CODE_POINT; in testGetDirectionalities_supplementaryCharacters() 60 cp++) { in testGetDirectionalities_supplementaryCharacters() 61 chars[index] = Character.highSurrogate(cp); in testGetDirectionalities_supplementaryCharacters() 62 chars[index + 1] = Character.lowSurrogate(cp); in testGetDirectionalities_supplementaryCharacters() 64 .getDirectionality(cp); in testGetDirectionalities_supplementaryCharacters()
|
/frameworks/base/core/java/android/text/ |
D | TextDirectionHeuristics.java | 210 for (int cp, i = start, end = start + count; in checkRtl() 212 i += Character.charCount(cp)) { in checkRtl() 213 cp = Character.codePointAt(cs, i); in checkRtl() 214 if (0x2066 <= cp && cp <= 0x2068) { // Opening isolates in checkRtl() 216 } else if (cp == 0x2069) { // POP DIRECTIONAL ISOLATE (PDI) in checkRtl() 220 result = isRtlCodePoint(cp); in checkRtl() 245 for (int cp, i = start, end = start + count; i < end; i += Character.charCount(cp)) { in checkRtl() 246 cp = Character.codePointAt(cs, i); in checkRtl() 247 if (0x2066 <= cp && cp <= 0x2068) { // Opening isolates in checkRtl() 249 } else if (cp == 0x2069) { // POP DIRECTIONAL ISOLATE (PDI) in checkRtl() [all …]
|
D | InputFilter.java | 81 for (int i = 0, cp; i < length; i += Character.charCount(cp)) { in filter() 84 cp = Character.codePointAt(wrapper, i); in filter() 85 if (Character.isLowerCase(cp) || Character.isTitleCase(cp)) { in filter()
|
/frameworks/base/packages/CtsShim/build/ |
D | README | 13 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \ 15 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \ 17 $ cp $OUT/system/priv-app/CtsShimPrivUpgradeWrongSHA/CtsShimPrivUpgradeWrongSHA.apk \ 19 $ cp $OUT/system/priv-app/CtsShimPriv/CtsShimPriv.apk \ 21 $ cp $OUT/system/app/CtsShim/CtsShim.apk \ 27 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \ 29 $ cp $OUT/system/priv-app/CtsShimPrivUpgrade/CtsShimPrivUpgrade.apk \ 31 $ cp $OUT/system/priv-app/CtsShimPrivUpgradeWrongSHA/CtsShimPrivUpgradeWrongSHA.apk \ 33 $ cp $OUT/system/priv-app/CtsShimPriv/CtsShimPriv.apk \ 35 $ cp $OUT/system/app/CtsShim/CtsShim.apk \
|
/frameworks/rs/ |
D | update_rs_prebuilts.sh | 196 cp $obj_lib_dir/${name}_intermediates/$file $a || exit 4 201 …cp `find $HOST_LIB_DIR $HOST_LIB64_DIR $sys_lib_dir $obj_lib_dir -name $file | head -1` $a || exit… 207 cp $obj_static_lib_dir/${name}_intermediates/$file $a || exit 4 213 cp $MY_ANDROID_DIR/$RENDERSCRIPT_V8_JAR renderscript/lib/javalib.jar 218 cp $MY_ANDROID_DIR/external/clang/lib/Headers/*.h renderscript/clang-include 219 cp $MY_ANDROID_DIR/frameworks/rs/script_api/include/* renderscript/include 239 cp $ANDROID_HOST_OUT/bin/$a tools/$SHORT_OSNAME/bin 244 cp $HOST_LIB64_DIR/$a tools/$SHORT_OSNAME/lib64 249 cp $HOST_LIB_DIR/$a tools/$SHORT_OSNAME/lib
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DataConnection.java | 857 private @DataFailureCause int connect(ConnectionParams cp) { in connect() argument 862 ApnContext.requestLog(cp.mApnContext, "DataConnection.connect"); in connect() 874 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp); in connect() 889 Message msg = obtainMessage(EVENT_SETUP_DATA_CONNECTION_DONE, cp); in connect() 890 msg.obj = cp; in connect() 894 .setPreferred(cp.mIsPreferredApn) in connect() 904 cp.mApnContext.getApnTypeBitmask(), mPhone); in connect() 915 if (cp.mApnContext.getApnTypeBitmask() == ApnSetting.TYPE_ENTERPRISE) { in connect() 939 if (cp.mRequestType == REQUEST_TYPE_HANDOVER) { in connect() 943 if (srcDcTracker == null || cp.mApnContext == null) { in connect() [all …]
|
/frameworks/rs/tests/java_api/SSHealingBrush/ |
D | cnb | 2 cp -r /media/hoford/hoford2/home/AndroidStudioProjects/SSHealingBrush/app/src/main/res/* res/ 3 cp -r '/media/hoford/hoford2/home/AndroidStudioProjects/SSHealingBrush/app/src/main/java/rs' src/ 4 cp /media/hoford/hoford2/home/AndroidStudioProjects/SSHealingBrush/app/src/main/rs/* src/rs/example…
|
/frameworks/native/opengl/tools/glgen/ |
D | gen | 58 cp static/egl/*.java out/android/opengl/ 61 cp stubs/jsr239/GLHeader.java-if $GLFILE 107 cp ${ANDROID_BUILD_TOP}/tools/platform-compat/java/android/compat/annotation/UnsupportedAppUsage.ja… 139 cp out/com_google_android_gles_jni_GLImpl.cpp generated/C 140 cp -r out/com generated 141 cp -r out/javax generated 143 cp out/android_opengl_*.cpp generated/C 145 cp -r out/android/opengl generated/android
|
/frameworks/layoutlib/bridge/ |
D | update_nav_icons.sh | 42 cp -v "$FB/packages/SystemUI/res/drawable-$density/$icon" "$destination" 49 cp -v "$FB/packages/SystemUI/res/drawable-ldrtl-$density/$icon" "$destination"
|
/frameworks/layoutlib/ |
D | split_universal_binary.sh | 29 cp -r ${OUT_DIR}/${ARM} ${DIST_DIR}/layoutlib_native/darwin 30 cp -r ${OUT_DIR}/${X86} ${DIST_DIR}/layoutlib_native/darwin
|
/frameworks/av/services/audiopolicy/engineconfigurable/tools/ |
D | Android.bp | 51 cmd: "cp $(locations :audio_policy_configuration_files) $(genDir)/. && " + 52 …"cp $(location :audio_policy_configuration_top_file) $(genDir)/audio_policy_configuration.xml && "… 98 "cp $(locations :audio_policy_pfw_structure_files) $(genDir)/Structure/Policy && " + 99 "cp $(location :audio_policy_pfw_toplevel) $(genDir)/top_level && " + 135 cmd: "cp $(locations :audio_policy_engine_configuration_files) $(genDir) && ls -l $(genDir) &&"+
|
/frameworks/base/media/jni/ |
D | android_media_MediaProfiles.cpp | 237 const MediaProfiles::CamcorderProfile *cp = sProfiles->getCamcorderProfile(id, q); in android_media_MediaProfiles_native_get_camcorder_profiles() local 238 if (!cp) { in android_media_MediaProfiles_native_get_camcorder_profiles() 242 int duration = cp->getDuration(); in android_media_MediaProfiles_native_get_camcorder_profiles() 243 int fileFormat = cp->getFileFormat(); in android_media_MediaProfiles_native_get_camcorder_profiles() 266 for (const MediaProfiles::VideoCodec *vc : cp->getVideoCodecs()) { in android_media_MediaProfiles_native_get_camcorder_profiles() 302 cp->getAudioCodecs().size(), audioProfileClazz, nullptr); in android_media_MediaProfiles_native_get_camcorder_profiles() 304 for (const MediaProfiles::AudioCodec *ac : cp->getAudioCodecs()) { in android_media_MediaProfiles_native_get_camcorder_profiles()
|
/frameworks/base/native/ |
D | copy-to-ndk.sh | 37 cp $src $NDK_PLATFORMS/$CURR_PLATFORM/include/android/$i 46 cp $SRC_LIB_ANDROID $DST_LIB_ANDROID
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeConditions.java | 138 final IConditionProvider cp = mConditionProviders.findConditionProvider(rule.component); in evaluateRule() local 139 if (DEBUG) Log.d(TAG, "Ensure external rule exists: " + (cp != null) + " for " + id); in evaluateRule() 140 if (cp != null) { in evaluateRule() 141 mConditionProviders.ensureRecordExists(rule.component, id, cp); in evaluateRule()
|
/frameworks/base/libs/protoutil/src/ |
D | EncodedBuffer.cpp | 339 Pointer cp(mChunkSize); in copy() local 340 cp.move(srcPos); in copy() 342 while (cp.pos() < srcPos + size) { in copy() 343 writeRawByte(*at(cp)); in copy() 344 cp.move(); in copy()
|
/frameworks/layoutlib/bridge/tests/ |
D | run_tests_mac.sh | 28 cp -r ${SDK}/platforms/android* ${PLATFORM} 52 cp -RL ${TMP_DIR}/res ${PLATFORM}/data 62 …-cp ${MISC_COMMON}/tools-common/tools-common-prebuilt.jar:${MISC_COMMON}/ninepatch/ninepatch-prebu…
|