Home
last modified time | relevance | path

Searched refs:convertedValue (Results 1 – 6 of 6) sorted by relevance

/expo/packages/expo-modules-core/android/src/test/java/expo/modules/kotlin/types/
H A DAnyTypeConverterTest.kt23 val convertedValue = convert<Any?>(null) in should support nullable values() constant
26 Truth.assertThat(convertedValue).isEqualTo(null) in should support nullable values()
41 val convertedValue = convert<List<Any>>(listOf(1.0, "string")) in should work with collections() constant
51 Truth.assertThat(convertedValue[0]).isInstanceOf(java.lang.Double::class.java) in should work with collections()
54 Truth.assertThat(convertedValue[1]).isInstanceOf(String::class.java) in should work with collections()
57 Truth.assertThat(convertedValue[0] as Double).isEqualTo(1.0) in should work with collections()
58 Truth.assertThat(convertedValue[0] as Double).isEqualTo(1.0) in should work with collections()
60 Truth.assertThat(convertedValue[1] as String).isEqualTo("string") in should work with collections()
61 Truth.assertThat(convertedValue[1] as String).isEqualTo("string") in should work with collections()
/expo/android/versioned-abis/expoview-abi49_0_0/src/main/java/abi49_0_0/expo/modules/kotlin/types/
H A DJSTypeConverterHelper.kt33 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in <lambda>() constant
34 result.putGeneric(jsKey, convertedValue) in <lambda>()
45 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
46 result.putGeneric(key, convertedValue) in toJSValue()
56 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
57 result.putGeneric(key.toString(), convertedValue) in toJSValue()
67 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
68 result.putGeneric(convertedValue) in toJSValue()
78 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
79 result.putGeneric(convertedValue) in toJSValue()
/expo/android/versioned-abis/expoview-abi48_0_0/src/main/java/abi48_0_0/expo/modules/kotlin/types/
H A DJSTypeConverterHelper.kt33 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in <lambda>() constant
34 result.putGeneric(jsKey, convertedValue) in <lambda>()
45 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
46 result.putGeneric(key, convertedValue) in toJSValue()
56 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
57 result.putGeneric(key.toString(), convertedValue) in toJSValue()
67 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
68 result.putGeneric(convertedValue) in toJSValue()
78 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
79 result.putGeneric(convertedValue) in toJSValue()
/expo/packages/expo-modules-core/android/src/main/java/expo/modules/kotlin/types/
H A DJSTypeConverterHelper.kt33 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in <lambda>() constant
34 result.putGeneric(jsKey, convertedValue) in <lambda>()
45 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
46 result.putGeneric(key, convertedValue) in toJSValue()
56 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
57 result.putGeneric(key.toString(), convertedValue) in toJSValue()
67 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
68 result.putGeneric(convertedValue) in toJSValue()
78 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
79 result.putGeneric(convertedValue) in toJSValue()
/expo/android/versioned-abis/expoview-abi47_0_0/src/main/java/abi47_0_0/expo/modules/kotlin/types/
H A DJSTypeConverterHelper.kt33 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in <lambda>() constant
34 result.putGeneric(jsKey, convertedValue) in <lambda>()
45 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
46 result.putGeneric(key, convertedValue) in toJSValue()
56 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
57 result.putGeneric(key.toString(), convertedValue) in toJSValue()
67 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
68 result.putGeneric(convertedValue) in toJSValue()
78 val convertedValue = JSTypeConverter.convertToJSValue(value, containerProvider) in toJSValue() constant
79 result.putGeneric(convertedValue) in toJSValue()
/expo/packages/expo-modules-core/android/src/main/cpp/types/
H A DFrontendConverter.cpp454 auto convertedValue = valueConverter->convert( in convert() local
458 map->put(convertedKey, convertedValue); in convert()
461 env->DeleteLocalRef(convertedValue); in convert()