/frameworks/base/core/java/android/app/usage/ |
D | StorageStatsManager.java | 19 import static android.os.storage.StorageManager.convert; 72 return mService.isQuotaSupported(convert(storageUuid), mContext.getOpPackageName()); in isQuotaSupported() 81 return isQuotaSupported(convert(uuid)); in isQuotaSupported() 88 return mService.isReservedSupported(convert(storageUuid), mContext.getOpPackageName()); in isReservedSupported() 112 return mService.getTotalBytes(convert(storageUuid), mContext.getOpPackageName()); in getTotalBytes() 124 return getTotalBytes(convert(uuid)); in getTotalBytes() 144 return mService.getFreeBytes(convert(storageUuid), mContext.getOpPackageName()); in getFreeBytes() 156 return getFreeBytes(convert(uuid)); in getFreeBytes() 162 return mService.getCacheBytes(convert(storageUuid), mContext.getOpPackageName()); in getCacheBytes() 174 return getCacheBytes(convert(uuid)); in getCacheBytes() [all …]
|
/frameworks/rs/toolkit/ |
D | Convolve5x5.cpp | 75 ComputationType px = convert<ComputationType>(py0[x0]) * coeff[0] + in ConvolveOneU() 76 convert<ComputationType>(py0[x1]) * coeff[1] + in ConvolveOneU() 77 convert<ComputationType>(py0[x2]) * coeff[2] + in ConvolveOneU() 78 convert<ComputationType>(py0[x3]) * coeff[3] + in ConvolveOneU() 79 convert<ComputationType>(py0[x4]) * coeff[4] + in ConvolveOneU() 81 convert<ComputationType>(py1[x0]) * coeff[5] + in ConvolveOneU() 82 convert<ComputationType>(py1[x1]) * coeff[6] + in ConvolveOneU() 83 convert<ComputationType>(py1[x2]) * coeff[7] + in ConvolveOneU() 84 convert<ComputationType>(py1[x3]) * coeff[8] + in ConvolveOneU() 85 convert<ComputationType>(py1[x4]) * coeff[9] + in ConvolveOneU() [all …]
|
D | Blend.cpp | 126 ushort4 in_s = convert<ushort4>(*in); in blend() 127 ushort4 out_s = convert<ushort4>(*out); in blend() 145 ushort4 in_s = convert<ushort4>(*in); in blend() 146 ushort4 out_s = convert<ushort4>(*out); in blend() 164 ushort4 in_s = convert<ushort4>(*in); in blend() 166 *out = convert<uchar4>(in_s); in blend() 182 ushort4 out_s = convert<ushort4>(*out); in blend() 184 *out = convert<uchar4>(out_s); in blend() 200 ushort4 in_s = convert<ushort4>(*in); in blend() 202 *out = convert<uchar4>(in_s); in blend() [all …]
|
D | Lut3d.cpp | 76 const float4 m = (float4)(1.f / 255.f) * convert<float4>(dims); in kernel() 77 const int4 coordMul = convert<int4>(m * (float4)0x8000); in kernel() 96 int4 baseCoord = convert<int4>(*in) * coordMul; in kernel() 110 uint4 v000 = convert<uint4>(pt_00[0]); in kernel() 111 uint4 v100 = convert<uint4>(pt_00[1]); in kernel() 112 uint4 v010 = convert<uint4>(pt_10[0]); in kernel() 113 uint4 v110 = convert<uint4>(pt_10[1]); in kernel() 114 uint4 v001 = convert<uint4>(pt_01[0]); in kernel() 115 uint4 v101 = convert<uint4>(pt_01[1]); in kernel() 116 uint4 v011 = convert<uint4>(pt_11[0]); in kernel() [all …]
|
D | Resize.cpp | 137 float4 p0 = cubicInterpolate(convert<float4>(yp0[xs0]), in OneBiCubic() 138 convert<float4>(yp0[xs1]), in OneBiCubic() 139 convert<float4>(yp0[xs2]), in OneBiCubic() 140 convert<float4>(yp0[xs3]), xf); in OneBiCubic() 142 float4 p1 = cubicInterpolate(convert<float4>(yp1[xs0]), in OneBiCubic() 143 convert<float4>(yp1[xs1]), in OneBiCubic() 144 convert<float4>(yp1[xs2]), in OneBiCubic() 145 convert<float4>(yp1[xs3]), xf); in OneBiCubic() 147 float4 p2 = cubicInterpolate(convert<float4>(yp2[xs0]), in OneBiCubic() 148 convert<float4>(yp2[xs1]), in OneBiCubic() [all …]
|
D | Convolve3x3.cpp | 84 ComputationType px = convert<ComputationType>(py0[x1]) * coeff[0] + in convolveOneU() 85 convert<ComputationType>(py0[x]) * coeff[1] + in convolveOneU() 86 convert<ComputationType>(py0[x2]) * coeff[2] + in convolveOneU() 87 convert<ComputationType>(py1[x1]) * coeff[3] + in convolveOneU() 88 convert<ComputationType>(py1[x]) * coeff[4] + in convolveOneU() 89 convert<ComputationType>(py1[x2]) * coeff[5] + in convolveOneU() 90 convert<ComputationType>(py2[x1]) * coeff[6] + in convolveOneU() 91 convert<ComputationType>(py2[x]) * coeff[7] + in convolveOneU() 92 convert<ComputationType>(py2[x2]) * coeff[8]; in convolveOneU() 95 *out = convert<InputOutputType>(px); in convolveOneU()
|
D | Utils.h | 72 inline TO convert(TI i) { in convert() function 79 inline uchar convert(float i) { in convert() function 86 inline float convert(uchar i) { in convert() function
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | Tuner.cpp | 237 BandConfig bandConfigHal = convert::BandConfigToHal(env, config, region_unused); in nativeSetConfiguration() 239 if (convert::ThrowIfFailed(env, halTuner->setConfiguration(bandConfigHal))) return; in nativeSetConfiguration() 256 if (convert::ThrowIfFailed(env, hidlResult, halResult)) { in nativeGetConfiguration() 260 return convert::BandConfigFromHal(env, halConfig, region).release(); in nativeGetConfiguration() 269 auto dir = convert::DirectionToHal(directionDown); in nativeStep() 270 convert::ThrowIfFailed(env, halTuner->step(dir, skipSubChannel)); in nativeStep() 279 auto dir = convert::DirectionToHal(directionDown); in nativeScan() 280 convert::ThrowIfFailed(env, halTuner->scan(dir, skipSubChannel)); in nativeScan() 292 auto selector = convert::ProgramSelectorToHal(env, jSelector); in nativeTune() 294 convert::ThrowIfFailed(env, halTuner11->tuneByProgramSelector(selector)); in nativeTune() [all …]
|
D | BroadcastRadioService.cpp | 184 jModule = convert::ModulePropertiesFromHal(env, properties, idx, serviceName); in nativeLoadModules() 192 jModule = convert::ModulePropertiesFromHal(env, properties, idx, serviceName); in nativeLoadModules() 195 if (convert::ThrowIfFailed(env, hidlResult, halResult)) return nullptr; in nativeLoadModules() 226 bandConfigHal = convert::BandConfigToHal(env, bandConfig, region); in nativeOpenTuner()
|
/frameworks/base/libs/hwui/apex/ |
D | android_canvas.cpp | 37 static bool convert(const ANativeWindow_Buffer* buffer, in convert() function 64 return convert(&buffer, HAL_DATASPACE_UNKNOWN, nullptr); in ACanvas_isSupportedPixelFormat() 74 bool isValidBuffer = convert(buffer, dataspace, &bitmap); in ACanvas_createCanvas() 85 bool isValidBuffer = (buffer == nullptr) ? false : convert(buffer, dataspace, &bitmap); in ACanvas_setBuffer()
|
/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
D | ContextHubServiceTransaction.java | 144 return unit.convert(30L, TimeUnit.SECONDS); in getTimeout() 146 return unit.convert(1000L, TimeUnit.MILLISECONDS); in getTimeout() 153 return unit.convert(5L, TimeUnit.SECONDS); in getTimeout()
|
/frameworks/base/core/jni/ |
D | core_jni_converters.h | 23 jobject (*convert)(JNIEnv* env, T)) { in toJavaArray() 28 ScopedLocalRef<jobject> javaObj(env, convert(env, std::move(t))); in toJavaArray()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/ |
D | ComplicationCollectionViewModel.java | 45 mComplications = Transformations.map(complications, collection -> convert(collection)); in ComplicationCollectionViewModel() 49 private Collection<ComplicationViewModel> convert(Collection<Complication> complications) { in convert() method in ComplicationCollectionViewModel
|
/frameworks/wilhelm/tools/mphtogen/ |
D | mphtogen.c | 25 static void convert(const signed char MPH_to[MPH_MAX], const char *filename) in convert() function 50 #define _(x) convert(MPH_to_##x, "../../src/autogen/MPH_to_" #x ".h");
|
/frameworks/base/core/java/android/animation/ |
D | BidirectionalTypeConverter.java | 65 return mConverter.convert(value); in convertBack() 69 public To convert(From value) { in convert() method in BidirectionalTypeConverter.InvertedConverter
|
/frameworks/compile/slang/tests/F_vector_cast/ |
D | stderr.txt.expect | 1 vector_cast.rscript:8:11: error: cannot convert between vector values of different size ('float2' (… 2 vector_cast.rscript:15:11: error: cannot convert between vector values of different size ('int3' (v…
|
/frameworks/base/libs/androidfw/ |
D | LoadedArsc.cpp | 140 auto entry = type.offset(entry_offset).convert<ResTable_entry>(); in VerifyResTableEntry() 171 auto value = entry.offset(entry_size).convert<Res_value>(); in VerifyResTableEntry() 188 auto map = entry.convert<ResTable_map_entry>(); in VerifyResTableEntry() 262 auto sparse_indices = offsets.convert<ResTable_sparseTypeEntry>().iterator(); in GetEntryOffset() 300 const auto entry_offset_ptr = offsets.convert<uint16_t>() + entry_index; in GetEntryOffset() 306 const auto entry_offset_ptr = offsets.convert<uint32_t>() + entry_index; in GetEntryOffset() 406 auto sparse_entry = entry_offsets.convert<ResTable_sparseTypeEntry>() + entry_idx; in FindEntryByName() 413 auto entry = entry_offsets.convert<uint16_t>() + entry_idx; in FindEntryByName() 420 auto entry = entry_offsets.convert<uint32_t>() + entry_idx; in FindEntryByName() 429 auto entry = type.offset(dtohl(type->entriesStart) + offset).convert<ResTable_entry>(); in FindEntryByName() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 453 public Color convert(@NonNull ColorSpace colorSpace) { in convert() method in Color 1088 public static long convert(@ColorInt int color, @NonNull ColorSpace colorSpace) { in convert() method in Color 1094 return convert(r, g, b, a, source, colorSpace); in convert() 1112 public static long convert(@ColorLong long color, @NonNull ColorSpace colorSpace) { in convert() method in Color 1118 return convert(r, g, b, a, source, colorSpace); in convert() 1145 public static long convert(float r, float g, float b, float a, in convert() method in Color 1169 public static long convert(@ColorLong long color, @NonNull ColorSpace.Connector connector) { in convert() method in Color 1174 return convert(r, g, b, a, connector); in convert() 1201 public static long convert(float r, float g, float b, float a, in convert() method in Color
|
/frameworks/native/opengl/tools/glgen/src/ |
D | JFunc.java | 121 public static JFunc convert(CFunc cfunc, boolean useArray) { in convert() method in JFunc 125 jfunc.setType(JType.convert(cfunc.getType(), false)); in convert() 140 jfunc.addArgument(cArgName, JType.convert(cArgType, useArray), i); in convert()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | Chunk.h | 53 return (header_size() >= MinSize) ? device_chunk_.convert<T>() : nullptr; in header() 85 : next_chunk_(data.convert<ResChunk_header>()), in ChunkIterator()
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
D | Android.bp | 39 "android.hardware.sensors-V1-convert", 54 "android.hardware.sensors-V1-convert",
|
/frameworks/native/services/sensorservice/ |
D | Android.bp | 92 "android.hardware.sensors@1.0-convert", 93 "android.hardware.sensors-V1-convert",
|
/frameworks/base/tools/traceinjection/src/com/android/traceinjection/ |
D | Main.java | 99 convert(bis, zos, params); in main() 112 private static void convert(InputStream in, OutputStream out, in convert() method in Main
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | Main.java | 86 convert(bis, zos, targets); in main() 100 private static void convert(InputStream in, OutputStream out, List<LockTarget> targets) in convert() method in Main
|
/frameworks/base/wifi/java/src/android/net/wifi/ |
D | SoftApConfToXmlMigrationUtil.java | 249 public static InputStream convert(InputStream fis) { in convert() method in SoftApConfToXmlMigrationUtil 264 public static InputStream convert() { in convert() method in SoftApConfToXmlMigrationUtil 273 return convert(fis); in convert()
|