/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
H A D | GenericConverter.java | 26 return convert(values); 31 return convert(values); 34 private static <T> String convert(List<T> values) { method in class:GenericConverter
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/types/ |
H A D | CompositeTypeConverter.kt | 29 override fun convert(inputVarName: String, outputVarName: String, scope: CodeGenScope) { 33 conv1.convert(inputVarName, tmp, scope) 34 conv2.convert(tmp, outputVarName, scope)
|
H A D | TypeConverter.kt | 23 * A code generator that can convert from 1 type to another 26 abstract fun convert(inputVarName: String, outputVarName: String, scope: CodeGenScope)
|
H A D | NoOpConverter.kt | 33 override fun convert(inputVarName: String, outputVarName: String, scope: CodeGenScope) {
|
H A D | BoxedBooleanToBoxedIntConverter.kt | 34 override fun convert(inputVarName: String, outputVarName: String, 41 override fun convert(inputVarName: String, outputVarName: String,
|
H A D | CompositeAdapter.kt | 41 fromCursorConverter.convert(tmpCursorValue, outVarName, scope) 53 intoStatementConverter.convert(valueVarName, tmpVar, scope)
|
H A D | PrimitiveBooleanToIntConverter.kt | 34 override fun convert(inputVarName: String, outputVarName: String, 40 override fun convert(inputVarName: String, outputVarName: String,
|
/frameworks/base/core/java/android/app/usage/ |
H A D | StorageStatsManager.java | 19 import static android.os.storage.StorageManager.convert; 69 return mService.isQuotaSupported(convert(storageUuid), mContext.getOpPackageName()); 78 return isQuotaSupported(convert(uuid)); 85 return mService.isReservedSupported(convert(storageUuid), mContext.getOpPackageName()); 109 return mService.getTotalBytes(convert(storageUuid), mContext.getOpPackageName()); 121 return getTotalBytes(convert(uuid)); 141 return mService.getFreeBytes(convert(storageUuid), mContext.getOpPackageName()); 153 return getFreeBytes(convert(uuid)); 159 return mService.getCacheBytes(convert(storageUuid), mContext.getOpPackageName()); 171 return getCacheBytes(convert(uui [all...] |
/frameworks/support/leanback/src/main/java/androidx/leanback/database/ |
H A D | CursorMapper.java | 19 * Abstract class used to convert the current {@link Cursor} row to a single 43 public Object convert(Cursor cursor) { method in class:CursorMapper
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
H A D | LocationManagerTest.java | 88 String loc1 = Location.convert(-80.075, Location.FORMAT_DEGREES); 92 String loc1b = Location.convert(-80.0, Location.FORMAT_DEGREES); 96 String loc2 = Location.convert(-80.085, Location.FORMAT_DEGREES); 100 String loc3 = Location.convert(-80.085, Location.FORMAT_MINUTES); 104 String loc4 = Location.convert(-80.085, Location.FORMAT_SECONDS); 108 String loc5 = Location.convert(5 + 0.5f / 60.0f, Location.FORMAT_MINUTES); 120 String loc6 = Location.convert(0.1, Location.FORMAT_DEGREES); 124 String loc7 = Location.convert(0.1, Location.FORMAT_MINUTES); 128 String loc8 = Location.convert(0.1, Location.FORMAT_SECONDS);
|
/frameworks/base/core/java/android/animation/ |
H A D | BidirectionalTypeConverter.java | 19 * 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 D | TypeConverter.java | 20 * 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/support/room/compiler/src/main/kotlin/androidx/room/solver/query/result/ |
H A D | QueryResultAdapter.kt | 25 abstract fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope)
|
H A D | RowAdapter.kt | 34 * Called to convert a single row. 36 abstract fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope)
|
H A D | SingleColumnRowAdapter.kt | 26 override fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope) {
|
H A D | GuavaOptionalQueryResultAdapter.kt | 33 override fun convert( 37 resultAdapter.convert(valueVarName, cursorVarName, scope)
|
H A D | OptionalQueryResultAdapter.kt | 35 override fun convert( 39 resultAdapter.convert(valueVarName, cursorVarName, scope)
|
H A D | SingleEntityQueryResultAdapter.kt | 30 override fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope) { 35 rowAdapter?.convert(outVarName, cursorVarName, scope)
|
H A D | ArrayQueryResultAdapter.kt | 28 override fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope) { 40 rowAdapter?.convert(tmpVarName, cursorVarName, scope)
|
H A D | ListQueryResultAdapter.kt | 29 override fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope) { 41 rowAdapter?.convert(tmpVarName, cursorVarName, scope)
|
/frameworks/wilhelm/tools/mphtogen/ |
H A D | mphtogen.c | 25 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/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemjob/ |
H A D | SystemJobInfoConverterTest.java | 74 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID); 84 JobInfo jobInfo = mConverter.convert( 91 * {@link IllegalArgumentException}. This is testing that {@link SystemJobInfoConverter#convert} 99 mConverter.convert(new WorkSpec("id", TestWorker.class.getName()), JOB_ID); 109 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID); 120 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID); 129 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID); 139 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID); 150 JobInfo jobInfo = mConverter.convert(workSpec, JOB_ID); 164 JobInfo jobInfo = mConverter.convert(workSpe [all...] |
/frameworks/support/paging/common/src/main/java/androidx/paging/ |
H A D | WrapperPositionalDataSource.java | 60 callback.onResult(convert(mListFunction, data), position, totalCount); 65 callback.onResult(convert(mListFunction, data), position); 76 callback.onResult(convert(mListFunction, data));
|
H A D | WrapperPageKeyedDataSource.java | 62 callback.onResult(convert(mListFunction, data), position, totalCount, 69 callback.onResult(convert(mListFunction, data), previousPageKey, nextPageKey); 80 callback.onResult(convert(mListFunction, data), adjacentPageKey); 91 callback.onResult(convert(mListFunction, data), adjacentPageKey);
|
/frameworks/support/work/workmanager-firebase/src/androidTest/java/androidx/work/impl/background/firebase/ |
H A D | FirebaseJobConverterTest.java | 79 Job job = mConverter.convert(workSpec); 95 Job job = mConverter.convert(workSpec); 98 .convert(givenBackoffDelayDuration, TimeUnit.MILLISECONDS); 109 Job job = mConverter.convert(workSpec); 128 Job job = mConverter.convert(workSpec); 144 Job job = mConverter.convert(workSpec); 161 Job job = mConverter.convert(workSpec); 179 Job job = mConverter.convert(workSpec); 192 Job job = mConverter.convert(workSpec); 205 Job job = mConverter.convert(workSpe [all...] |