Searched defs:convert (Results 1 - 25 of 48) sorted by relevance

12

/frameworks/base/services/core/jni/BroadcastRadio/
H A Dconvert.h33 namespace convert { namespace in namespace:android::server::BroadcastRadio
80 } // namespace convert
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
H A DMain.java81 convert(bis, zos, targets);
95 private static void convert(InputStream in, OutputStream out, List<LockTarget> targets) method in class:Main
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
H A DGenericConverter.java26 return convert(values);
31 return convert(values);
34 private static <T> String convert(List<T> values) { method in class:GenericConverter
/frameworks/support/leanback/src/main/java/androidx/leanback/database/
H A DCursorMapper.java19 * Abstract class used to convert the current {@link Cursor} row to a single
43 public Object convert(Cursor cursor) { method in class:CursorMapper
/frameworks/wilhelm/tools/mphtogen/
H A Dmphtogen.c25 static void convert(const signed char MPH_to[MPH_MAX], const char *filename) function
50 #define _(x) convert(MPH_to_##x, "../../src/autogen/MPH_to_" #x ".h");
/frameworks/base/core/java/android/animation/
H A DBidirectionalTypeConverter.java19 * Abstract base class used convert type T to another type V and back again. This
36 * @param value The Object to convert.
43 * The inverted converter uses this convert to call {@link #convertBack(Object)} for
44 * {@link #convert(Object)} calls and {@link #convert(Object)} for
65 return mConverter.convert(value);
69 public To convert(From value) { method in class:BidirectionalTypeConverter.InvertedConverter
H A DTypeConverter.java20 * Abstract base class used convert type T to another type V. This
37 * @return The Class to convert the input to.
52 * @param value The Object to convert.
55 public abstract V convert(T value); method in class:TypeConverter
/frameworks/base/tests/net/java/android/net/apf/
H A DBpf2Apf.java309 public static byte[] convert(String bpf) throws IllegalInstructionException { method in class:Bpf2Apf
/frameworks/av/media/libstagefright/
H A DDataConverter.cpp30 status_t DataConverter::convert(const sp<MediaCodecBuffer> &source, sp<MediaCodecBuffer> &target) { function in class:android::DataConverter
/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DDrmConvertSession.java43 * @param context The context of the application running the convert session.
45 * @return A convert session or null in case an error occurs.
78 * @param buffer Buffer filled with data to convert.
83 public byte [] convert(byte[] inBuffer, int size) { method in class:DrmConvertSession
102 Log.w(TAG, "Buffer with data to convert is illegal. Convertsession: "
105 Log.w(TAG, "Could not convert data. Convertsession: " +
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/background/systemjob/
H A DSystemJobInfoConverter.java65 * @param workSpec The {@link WorkSpec} to convert
69 JobInfo convert(WorkSpec workSpec, int jobId) { method in class:SystemJobInfoConverter
154 "API version too low. Cannot convert network type value %s", networkType));
/frameworks/native/opengl/tools/glgen/src/
H A DJType.java281 public static JType convert(CType ctype, boolean useArray) { method in class:JType
H A DJFunc.java121 public static JFunc convert(CFunc cfunc, boolean useArray) { method in class:JFunc
125 jfunc.setType(JType.convert(cfunc.getType(), false));
140 jfunc.addArgument(cArgName, JType.convert(cArgType, useArray), i);
152 System.err.println("Failed to convert function " + cfunc);
/frameworks/support/work/workmanager-firebase/src/main/java/androidx/work/impl/background/firebase/
H A DFirebaseJobConverter.java54 Job convert(WorkSpec workSpec) { method in class:FirebaseJobConverter
101 return (int) TimeUnit.SECONDS.convert(milliseconds, TimeUnit.MILLISECONDS);
108 .convert(workSpec.backoffDelayDuration, TimeUnit.MILLISECONDS);
110 .convert(WorkRequest.MAX_BACKOFF_MILLIS, TimeUnit.MILLISECONDS);
/frameworks/av/media/libaudioprocessing/
H A DRecordBufferConverter.cpp77 size_t RecordBufferConverter::convert(void *dst, function in class:android::RecordBufferConverter
97 // format convert to destination buffer
117 // format convert to destination buffer
186 // do we need a staging buffer to convert for destination (we can still optimize this)?
253 // convert to destination buffer
268 // must convert to mono
272 // convert to mono channel again for channel mask conversion (could be skipped
278 // convert to destination format (in place, OK as float is larger than other types)
283 // channel convert and save to dst
288 // convert t
[all...]
/frameworks/base/core/java/android/app/
H A DPictureInPictureArgs.java355 public static PictureInPictureArgs convert(PictureInPictureParams params) { method in class:PictureInPictureArgs
360 public static PictureInPictureParams convert(PictureInPictureArgs args) { method in class:PictureInPictureArgs
/frameworks/base/wifi/java/android/net/wifi/aware/
H A DWifiAwareAgentNetworkSpecifier.java56 mNetworkSpecifiers.add(convert(ns));
62 mNetworkSpecifiers.add(convert(ns));
142 ByteArrayWrapper nsBytes = convert(ns);
161 private ByteArrayWrapper convert(WifiAwareNetworkSpecifier ns) { method in class:WifiAwareAgentNetworkSpecifier
/frameworks/native/cmds/lshal/
H A DLshal.cpp88 static hardware::hidl_vec<hardware::hidl_string> convert(const std::vector<std::string> &v) { function in namespace:android::lshal
153 hardware::Return<void> ret = base->debug(fdHandle.get(), convert(options));
/frameworks/base/libs/androidfw/tests/
H A DResTable_test.cpp276 // Gtest can't print UTF-16 strings, so we have to convert to UTF-8 :(
277 std::wstring_convert<std::codecvt_utf8_utf16<char16_t>, char16_t> convert; local
278 std::string s = convert.to_bytes(std::u16string(str, len));
/frameworks/support/paging/common/src/main/java/androidx/paging/
H A DDataSource.java197 static <A, B> List<B> convert(Function<List<A>, List<B>> function, List<A> source) { method in class:DataSource
/frameworks/av/media/libaaudio/src/utility/
H A DAAudioUtilities.cpp72 // Scale and convert to a short.
275 void AAudioDataConverter::convert( function in class:AAudioDataConverter
507 // If not a regular sessionId then convert to a safe value of AUDIO_SESSION_ALLOCATE.
/frameworks/av/media/libaudioprocessing/tests/
H A Dtest-resampler.cpp245 // For float processing, convert input int16_t to float array
466 // For float processing, convert output format from float to Q4.27,
476 int16_t* convert = (int16_t*) malloc(output_frames * channels * sizeof(int16_t)); local
496 convert[i * channels + j] = int16_t(s);
511 (void) sf_writef_short(sf, convert, output_frames);
/frameworks/av/media/libstagefright/colorconversion/
H A DColorConverter.cpp145 status_t ColorConverter::convert( function in class:android::ColorConverter
/frameworks/base/graphics/java/android/graphics/
H A DColor.java197 * for color ints. If you simply need to convert a color int into a color long,
258 * <p>You can convert colors from one color space to another using
263 * <li>{@link #convert(ColorSpace)} to convert a color instance in a color
265 * <li>{@link #convert(float, float, float, float, ColorSpace, ColorSpace)} to
266 * convert a color from a source color space to a destination color space</li>
267 * <li>{@link #convert(long, ColorSpace)} to convert a color long from its
269 * <li>{@link #convert(int, ColorSpace)} to convert
451 public Color convert(@NonNull ColorSpace colorSpace) { method in class:Color
1086 public static long convert(@ColorInt int color, @NonNull ColorSpace colorSpace) { method in class:Color
1110 public static long convert(@ColorLong long color, @NonNull ColorSpace colorSpace) { method in class:Color
1143 public static long convert(float r, float g, float b, float a, method in class:Color
1167 public static long convert(@ColorLong long color, @NonNull ColorSpace.Connector connector) { method in class:Color
1199 public static long convert(float r, float g, float b, float a, method in class:Color
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQSDetailItems.java69 public static QSDetailItems convertOrInflate(Context context, View convert, ViewGroup parent) { argument
70 if (convert instanceof QSDetailItems) {
71 return (QSDetailItems) convert;

Completed in 602 milliseconds

12