Home
last modified time | relevance | path

Searched refs:convert (Results 1 – 25 of 136) sorted by relevance

123456

/frameworks/base/core/java/android/app/usage/
DStorageStatsManager.java19 import static android.os.storage.StorageManager.convert;
69 return mService.isQuotaSupported(convert(storageUuid), mContext.getOpPackageName()); in isQuotaSupported()
78 return isQuotaSupported(convert(uuid)); in isQuotaSupported()
99 return mService.getTotalBytes(convert(storageUuid), mContext.getOpPackageName()); in getTotalBytes()
111 return getTotalBytes(convert(uuid)); in getTotalBytes()
131 return mService.getFreeBytes(convert(storageUuid), mContext.getOpPackageName()); in getFreeBytes()
143 return getFreeBytes(convert(uuid)); in getFreeBytes()
149 return mService.getCacheBytes(convert(storageUuid), mContext.getOpPackageName()); in getCacheBytes()
161 return getCacheBytes(convert(uuid)); in getCacheBytes()
198 return mService.queryStatsForPackage(convert(storageUuid), packageName, in queryStatsForPackage()
[all …]
/frameworks/base/location/tests/locationtests/src/android/location/
DLocationManagerTest.java88 String loc1 = Location.convert(-80.075, Location.FORMAT_DEGREES); in testLocationConversions()
92 String loc1b = Location.convert(-80.0, Location.FORMAT_DEGREES); in testLocationConversions()
96 String loc2 = Location.convert(-80.085, Location.FORMAT_DEGREES); in testLocationConversions()
100 String loc3 = Location.convert(-80.085, Location.FORMAT_MINUTES); in testLocationConversions()
104 String loc4 = Location.convert(-80.085, Location.FORMAT_SECONDS); in testLocationConversions()
108 String loc5 = Location.convert(5 + 0.5f / 60.0f, Location.FORMAT_MINUTES); in testLocationConversions()
120 String loc6 = Location.convert(0.1, Location.FORMAT_DEGREES); in testLocationConversions()
124 String loc7 = Location.convert(0.1, Location.FORMAT_MINUTES); in testLocationConversions()
128 String loc8 = Location.convert(0.1, Location.FORMAT_SECONDS); in testLocationConversions()
DLocationTest.java36 result = Location.convert(testDegreesCoord); in testConvert_DegreesToDouble()
47 result = Location.convert(testMinutesCoord); in testConvert_MinutesToDouble()
58 result = Location.convert(testSecondsCoord); in testConvert_SecondsToDouble()
69 result = Location.convert(testSecondsCoord); in testConvert_SecondsToDouble2()
80 result = Location.convert(-80.075, Location.FORMAT_DEGREES); in testConvert_CoordinateToDegrees()
88 result = Location.convert(-80.0, Location.FORMAT_DEGREES); in testConvert_CoordinateToDegrees2()
97 result = Location.convert(input, Location.FORMAT_MINUTES); in testConvert_CoordinateToMinutes()
107 result = Location.convert(input, Location.FORMAT_MINUTES); in testConvert_CoordinateToMinutes2()
117 result = Location.convert(-80.075, Location.FORMAT_SECONDS); in testConvert_CoordinateToSeconds()
/frameworks/base/services/core/jni/BroadcastRadio/
DTuner.cpp245 BandConfig bandConfigHal = convert::BandConfigToHal(env, config, region_unused); in nativeSetConfiguration()
247 if (convert::ThrowIfFailed(env, halTuner->setConfiguration(bandConfigHal))) return; in nativeSetConfiguration()
264 if (convert::ThrowIfFailed(env, hidlResult, halResult)) { in nativeGetConfiguration()
268 return convert::BandConfigFromHal(env, halConfig, region).release(); in nativeGetConfiguration()
285 auto dir = convert::DirectionToHal(directionDown); in nativeStep()
286 convert::ThrowIfFailed(env, halTuner->step(dir, skipSubChannel)); in nativeStep()
295 auto dir = convert::DirectionToHal(directionDown); in nativeScan()
296 convert::ThrowIfFailed(env, halTuner->scan(dir, skipSubChannel)); in nativeScan()
308 auto selector = convert::ProgramSelectorToHal(env, jSelector); in nativeTune()
310 convert::ThrowIfFailed(env, halTuner11->tuneByProgramSelector(selector)); in nativeTune()
[all …]
DBroadcastRadioService.cpp167 jModule = convert::ModulePropertiesFromHal(env, properties, idx, serviceName); in nativeLoadModules()
174 jModule = convert::ModulePropertiesFromHal(env, properties, idx, serviceName); in nativeLoadModules()
177 if (convert::ThrowIfFailed(env, hidlResult, halResult)) return nullptr; in nativeLoadModules()
213 BandConfig bandConfigHal = convert::BandConfigToHal(env, bandConfig, region); in nativeOpenTuner()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
DGenericConverter.java26 return convert(values); in convertArrayList()
31 return convert(values); in convertLinkedList()
34 private static <T> String convert(List<T> values) { in convert() method in GenericConverter
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/solver/types/
DCompositeTypeConverter.kt29 override fun convert(inputVarName: String, outputVarName: String, scope: CodeGenScope) { in convert() method in android.arch.persistence.room.solver.types.CompositeTypeConverter
33 conv1.convert(inputVarName, tmp, scope) in convert()
34 conv2.convert(tmp, outputVarName, scope) in convert()
DBoxedBooleanToBoxedIntConverter.kt34 override fun convert(inputVarName: String, outputVarName: String, in create() method
41 override fun convert(inputVarName: String, outputVarName: String, in create() method
DPrimitiveBooleanToIntConverter.kt34 override fun convert(inputVarName: String, outputVarName: String, in create() method
40 override fun convert(inputVarName: String, outputVarName: String, in create() method
DCompositeAdapter.kt41 fromCursorConverter.convert(tmpCursorValue, outVarName, scope) in readFromCursor()
53 intoStatementConverter.convert(valueVarName, tmpVar, scope) in bindToStmt()
DTypeConverter.kt27 abstract fun convert(inputVarName: String, outputVarName: String, scope: CodeGenScope) method in android.arch.persistence.room.solver.types.TypeConverter
/frameworks/base/wifi/java/android/net/wifi/aware/
DWifiAwareAgentNetworkSpecifier.java56 mNetworkSpecifiers.add(convert(ns)); in WifiAwareAgentNetworkSpecifier()
62 mNetworkSpecifiers.add(convert(ns)); in WifiAwareAgentNetworkSpecifier()
142 ByteArrayWrapper nsBytes = convert(ns); in satisfiesAwareNetworkSpecifier()
161 private ByteArrayWrapper convert(WifiAwareNetworkSpecifier ns) { in convert() method in WifiAwareAgentNetworkSpecifier
/frameworks/wilhelm/tools/mphtogen/
Dmphtogen.c25 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/compile/slang/tests/F_vector_cast/
Dstderr.txt.expect1 vector_cast.rs:8:11: error: cannot convert between vector values of different size ('float2' (vecto…
2 vector_cast.rs:15:11: error: cannot convert between vector values of different size ('int3' (vector…
/frameworks/base/core/java/android/animation/
DBidirectionalTypeConverter.java65 return mConverter.convert(value); in convertBack()
69 public To convert(From value) { in convert() method in BidirectionalTypeConverter.InvertedConverter
/frameworks/support/room/compiler/src/main/kotlin/android/arch/persistence/room/solver/query/result/
DSingleEntityQueryResultAdapter.kt30 override fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope) { in convert() method
35 rowAdapter?.convert(outVarName, cursorVarName, scope) in convert()
DArrayQueryResultAdapter.kt28 override fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope) { in convert() method
40 rowAdapter?.convert(tmpVarName, cursorVarName, scope) in convert()
DListQueryResultAdapter.kt29 override fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope) { in convert() method
41 rowAdapter?.convert(tmpVarName, cursorVarName, scope) in convert()
DQueryResultAdapter.kt25 abstract fun convert(outVarName: String, cursorVarName: String, scope: CodeGenScope) in convert() method
/frameworks/base/graphics/java/android/graphics/
DColor.java451 public Color convert(@NonNull ColorSpace colorSpace) { in convert() method in Color
1086 public static long convert(@ColorInt int color, @NonNull ColorSpace colorSpace) { in convert() method in Color
1092 return convert(r, g, b, a, source, colorSpace); in convert()
1110 public static long convert(@ColorLong long color, @NonNull ColorSpace colorSpace) { in convert() method in Color
1116 return convert(r, g, b, a, source, colorSpace); in convert()
1143 public static long convert(float r, float g, float b, float a, in convert() method in Color
1167 public static long convert(@ColorLong long color, @NonNull ColorSpace.Connector connector) { in convert() method in Color
1172 return convert(r, g, b, a, connector); in convert()
1199 public static long convert(float r, float g, float b, float a, in convert() method in Color
/frameworks/native/opengl/tools/glgen/src/
DJFunc.java121 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/data-binding/integration-tests/App With Spaces/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/support/room/compiler/src/test/kotlin/android/arch/persistence/room/solver/
DTypeAdapterStoreTest.kt300 override fun convert(inputVarName: String, outputVarName: String, in <lambda>() method
311 override fun convert(inputVarName: String, outputVarName: String, in <lambda>() method
365 override fun convert(inputVarName: String, outputVarName: String, in <lambda>() method
374 override fun convert(inputVarName: String, outputVarName: String, in <lambda>() method
390 override fun convert(inputVarName: String, outputVarName: String, in <lambda>() method
399 override fun convert(inputVarName: String, outputVarName: String, in <lambda>() method
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DMain.java81 convert(bis, zos, targets); in main()
95 private static void convert(InputStream in, OutputStream out, List<LockTarget> targets) in convert() method in Main
/frameworks/support/v17/leanback/src/android/support/v17/leanback/database/
DCursorMapper.java43 public Object convert(Cursor cursor) { in convert() method in CursorMapper

123456