/frameworks/support/room/compiler/src/test/kotlin/androidx/room/solver/query/ |
H A D | QueryWriterTest.kt | 42 const val DAO_PREFIX = """ 49 const val DAO_SUFFIX = "}" 50 val QUERY = ROOM_SQL_QUERY.toString() 59 val scope = testCodeGenScope() 74 val scope = testCodeGenScope() 96 val scope = testCodeGenScope() 116 val scope = testCodeGenScope() 140 val collectionOut = """ 169 val scope = testCodeGenScope() 181 val scop [all...] |
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/writer/ |
H A D | EntityCursorConverterWriterTest.kt | 32 val OUT_PREFIX = """ 41 const val OUT_SUFFIX = "}" 95 val className = ClassName.get("foo.bar", "MyContainerClass") 96 val writer = object : ClassWriter(className) {
|
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/vo/ |
H A D | PublisherWithBookSales.kt | 24 val publisher: Publisher,
|
/frameworks/support/work/workmanager-ktx/src/main/java/androidx/work/ktx/ |
H A D | Data.kt | 31 val dataBuilder = Data.Builder()
|
/frameworks/base/core/jni/ |
H A D | android_util_Binder.h | 28 extern jobject javaObjectForIBinder(JNIEnv* env, const sp<IBinder>& val);
|
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
H A D | ObservableArrayList.java | 85 T val = super.remove(index); 87 return val; 103 T val = super.set(index, object); 107 return val;
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
H A D | ring_buffer.h | 30 void Append(const T& val) { argument 33 Get(size_) = val; 37 void Append(T&& val) { argument 40 Get(size_) = std::move(val);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | PropertyService.java | 38 void set(String key, String val); argument
|
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/type/ |
H A D | JavaType.kt | 24 data class JavaType(val fullName: String) { 67 val tokens = fullName.split('$').toMutableList()
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/bytecode/asm/ |
H A D | CustomRemapper.kt | 26 class CustomRemapper(private val remapper: CoreRemapper) : Remapper() { 33 val stringMaybe = value as? String
|
/frameworks/support/lifecycle/compiler/src/tests/kotlin/androidx/lifecycle/ |
H A D | InvalidCasesTest.kt | 25 class InvalidCasesTest(val name: String, val errorMsg: String) {
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/ |
H A D | RoomProcessor.kt | 38 val context = Context(processingEnv) 55 val databases = elementsByAnnotation[Database::class.java] 59 val allDaoMethods = databases?.flatMap { it.daoMethods } 70 val schemaOutFolder = context.schemaOutFolder 78 val qName = db.element.qualifiedName.toString() 79 val dbSchemaFolder = File(schemaOutFolder, qName) 105 val db = databases.first { db -> db.daoMethods.contains(daoMethod) } 123 abstract class ContextBoundProcessingStep(val context: Context) : ProcessingStep
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/types/ |
H A D | BoxedBooleanToBoxedIntConverter.kt | 28 val tBoolean = processingEnvironment.elementUtils.getTypeElement("java.lang.Boolean") 30 val tInt = processingEnvironment.elementUtils.getTypeElement("java.lang.Integer")
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
H A D | MediaPlayerInvokeTest.java | 66 int val = rnd.nextInt(); 67 request.writeInt(val); 69 assertEquals(val, reply.readInt());
|
/frameworks/rs/tests/java_api/RSUnitTests/supportlibonlysrc/com/android/rs/unittest/ |
H A D | alloc_supportlib.rs | 46 int val = *(const int *)p; 47 _RS_ASSERT(val == (i + j * dimX)); 55 int val = *(const int *)p; 56 _RS_ASSERT(val == i); 64 int val = *(const int *)p; 65 _RS_ASSERT(val == (i + j * dimX));
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/ |
H A D | MatrixTest.kt | 25 val r = translationMatrix(2.0f, 3.0f).values() 35 val r = scaleMatrix(2.0f, 3.0f).values() 45 val r = rotationMatrix(90.0f, 2.0f, 3.0f).values() 55 val t = translationMatrix(2.0f, 3.0f) 56 val s = scaleMatrix(2.0f, 3.0f) 57 val r = (s * t).values()
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/transition/ |
H A D | TransitionTest.kt | 40 @JvmField @Rule val rule = ActivityTestRule<TestActivity>(TestActivity::class.java) 49 val called = AtomicBoolean() 59 val called = AtomicBoolean() 64 val latch = CountDownLatch(1) 86 val sceneRoot = rule.activity.findViewById<ViewGroup>(R.id.root) 87 val view = rule.activity.findViewById<ImageView>(R.id.image_view)
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/widget/ |
H A D | ToastTest.kt | 32 private val context = InstrumentationRegistry.getContext() 33 private val instrumentation = InstrumentationRegistry.getInstrumentation() 37 val toast = context.toast("Short Toast") 45 val toast = context.toast("Long Toast", Toast.LENGTH_LONG) 53 val toast = context.toast(R.string.text) 61 val toast = context.toast(R.string.text, Toast.LENGTH_LONG)
|
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/pom/ |
H A D | PomRewriteRuleTest.kt | 127 val from = PomDependency(groupId = "g", artifactId = "a", version = ruleVersion) 128 val pom = PomDependency(groupId = "g", artifactId = "a", version = pomVersion) 130 val rule = PomRewriteRule(from, from) 136 val from = PomDependency(groupId = "g", artifactId = "a", version = ruleVersion) 137 val pom = PomDependency(groupId = "g", artifactId = "a", version = pomVersion) 139 val rule = PomRewriteRule(from, from)
|
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/ |
H A D | LivePagedListBuilderTest.kt | 39 private val backgroundExecutor = TestExecutor() 40 private val lifecycleOwner = object : LifecycleOwner { 41 private val lifecycle = LifecycleRegistry(this) 97 val livePagedList = LivePagedListBuilder( 102 val pagedListHolder: Array<PagedList<String>?> = arrayOfNulls(1) 114 val pagedList = pagedListHolder[0]
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/log/ |
H A D | RLog.kt | 30 class RLog(val messager: Messager, val suppressedWarnings: Set<Warning>, 31 val defaultElement: Element?) { 77 class ProcessingEnvMessager(val processingEnv: ProcessingEnvironment) : Messager { 84 private val messages = mutableMapOf<Diagnostic.Kind, MutableList<Pair<String, Element?>>> () 95 val kind = pair.key
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/query/result/ |
H A D | GuavaListenableFutureQueryResultBinder.kt | 40 val typeArg: TypeMirror, 51 val callableImpl = createCallableOfT( 91 val transactionWrapper = if (inTransaction) { 98 val outVar = scope.getTmpVar("_result") 99 val cursorVar = scope.getTmpVar("_cursor") 104 val adapterScope = scope.fork()
|
H A D | LiveDataQueryResultBinder.kt | 39 class LiveDataQueryResultBinder(val typeArg: TypeMirror, val tableNames: Set<String>, 50 val typeName = typeArg.typeName() 52 val liveDataImpl = TypeSpec.anonymousClassBuilder("").apply { 55 val observerField = FieldSpec.builder(RoomTypeNames.INVALIDATION_OBSERVER, 104 val tableNamesList = tableNames.joinToString(",") { "\"$it\"" }
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/writer/ |
H A D | EntityCursorConverterWriter.kt | 34 class EntityCursorConverterWriter(val entity: Entity) : ClassWriter.SharedMethodSpec( 42 val cursorParam = ParameterSpec 52 val scope = CodeGenScope(writer) 53 val entityVar = scope.getTmpVar("_entity") 56 val fieldsWithIndices = entity.fields.map { 57 val indexVar = scope.getTmpVar(
|
/frameworks/support/room/compiler/src/test/kotlin/androidx/room/processor/ |
H A D | EntityNameMatchingVariationsTest.kt | 34 val fieldName = triple.first 35 val getterName = triple.second 36 val setterName = triple.third 42 val result = arrayListOf<Triple<String, String, String>>() 64 val field = entity.fields.first() 65 val intType = invocation.processingEnv.typeUtils.getPrimitiveType(INT)
|