Home
last modified time | relevance | path

Searched refs:methodName (Results 1 – 7 of 7) sorted by relevance

/lifecycle/lifecycle-runtime-lint/src/test/java/androidx/lifecycle/runtime/lint/
DWhenMethodsTest.kt34 data class TestConfig(val receiver: String, val methodName: String) { constant in androidx.lifecycle.runtime.lint.WhenMethodsTest.TestConfig
35 override fun toString() = "$receiver.$methodName" in toString()
79 private fun error(methodName: String): String { in template()
80 val errorMessage = errorMessage(methodName).replace("`", "") in template()
103 check(input).expect(error(config.methodName)) in basicTryCatch()
/lifecycle/lifecycle-runtime-compose/src/androidMain/kotlin/androidx/lifecycle/compose/
DLocalLifecycleOwner.android.kt46 val methodName = "getLocalLifecycleOwner" in <lambda>() constant
48 val methodRef = classLoader.loadClass(className).getMethod(methodName) in <lambda>()
/lifecycle/lifecycle-compiler/src/main/kotlin/androidx/lifecycle/
Dwriter.kt193 val methodName = method.method.name() in writeMethodCalls() constant
198 methodName in writeMethodCalls()
206 methodName, in writeMethodCalls()
/lifecycle/lifecycle-runtime/src/jvmCommonMain/kotlin/androidx/lifecycle/
DLifecycleRegistry.jvm.kt295 private fun enforceMainThreadIfNeeded(methodName: String) { in enforceMainThreadIfNeeded()
297 check(isMainThread()) { ("Method $methodName must be called on the main thread") } in enforceMainThreadIfNeeded()
/lifecycle/lifecycle-runtime/src/nonJvmCommonMain/kotlin/androidx/lifecycle/
DLifecycleRegistry.nonJvm.kt309 private fun enforceMainThreadIfNeeded(methodName: String) { in <lambda>()
311 check(isMainThread()) { ("Method $methodName must be called on the main thread") } in <lambda>()
/lifecycle/lifecycle-livedata-core/src/main/java/androidx/lifecycle/
DLiveData.java499 static void assertMainThread(String methodName) { in assertMainThread() argument
501 throw new IllegalStateException("Cannot invoke " + methodName + " on a background" in assertMainThread()
/lifecycle/lifecycle-livedata-core-lint/src/main/java/androidx/lifecycle/lint/
DNonNullableMutableLiveDataDetector.kt155 !methods.contains(node.methodName) || in createUastHandler()