Searched refs:val (Results 451 - 475 of 886) sorted by relevance

<<11121314151617181920>>

/frameworks/support/room/compiler/src/test/kotlin/androidx/room/solver/query/
H A DQueryWriterTest.kt42 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 DEntityCursorConverterWriterTest.kt32 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 DPublisherWithBookSales.kt24 val publisher: Publisher,
/frameworks/support/work/workmanager-ktx/src/main/java/androidx/work/ktx/
H A DData.kt31 val dataBuilder = Data.Builder()
/frameworks/base/core/jni/
H A Dandroid_util_Binder.h28 extern jobject javaObjectForIBinder(JNIEnv* env, const sp<IBinder>& val);
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DObservableArrayList.java85 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 Dring_buffer.h30 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 DPropertyService.java38 void set(String key, String val); argument
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/type/
H A DJavaType.kt24 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 DCustomRemapper.kt26 class CustomRemapper(private val remapper: CoreRemapper) : Remapper() {
33 val stringMaybe = value as? String
/frameworks/support/lifecycle/compiler/src/tests/kotlin/androidx/lifecycle/
H A DInvalidCasesTest.kt25 class InvalidCasesTest(val name: String, val errorMsg: String) {
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/
H A DRoomProcessor.kt38 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 DBoxedBooleanToBoxedIntConverter.kt28 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 DMediaPlayerInvokeTest.java66 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 Dalloc_supportlib.rs46 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 DMatrixTest.kt25 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 DTransitionTest.kt40 @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 DToastTest.kt32 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 DPomRewriteRuleTest.kt127 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 DLivePagedListBuilderTest.kt39 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 DRLog.kt30 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 DGuavaListenableFutureQueryResultBinder.kt40 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 DLiveDataQueryResultBinder.kt39 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 DEntityCursorConverterWriter.kt34 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 DEntityNameMatchingVariationsTest.kt34 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)

Completed in 697 milliseconds

<<11121314151617181920>>