/frameworks/support/room/integration-tests/kotlintestapp/src/main/java/androidx/room/integration/kotlintestapp/vo/ |
H A D | DataClassFromDependency.kt | 28 val id: Int, 29 val name: String
|
H A D | EmbeddedFromDependency.kt | 22 val data: DataClassFromDependency
|
/frameworks/native/libs/binder/ |
H A D | TextOutput.cpp | 45 TextOutput& operator<<(TextOutput& to, const TypeCode& val) argument 47 printTypeCode(val.typeCode(), textOutputPrinter, (void*)&to); 64 TextOutput& operator<<(TextOutput& to, const HexDump& val) argument 66 printHexData(0, val.buffer(), val.size(), val.bytesPerLine(), 67 val.singleLineCutoff(), val.alignment(), val.carrayStyle(),
|
/frameworks/base/libs/protoutil/include/android/util/ |
H A D | ProtoOutputStream.h | 96 bool write(uint64_t fieldId, double val); 97 bool write(uint64_t fieldId, float val); 98 bool write(uint64_t fieldId, int val); 99 bool write(uint64_t fieldId, long long val); 100 bool write(uint64_t fieldId, bool val); 101 bool write(uint64_t fieldId, std::string val); 102 bool write(uint64_t fieldId, const char* val, size_t size); 144 inline void writeDoubleImpl(uint32_t id, double val); 145 inline void writeFloatImpl(uint32_t id, float val); 146 inline void writeInt64Impl(uint32_t id, long long val); [all...] |
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/text/ |
H A D | SpannableStringBuilderTest.kt | 39 val result: SpannedString = buildSpannedString { 47 val bold = StyleSpan(BOLD) 48 val result: SpannedString = buildSpannedString { 56 val spans = result.getSpans<Any>() 59 val boldSpan = spans.filterIsInstance<StyleSpan>().single() 66 val result: SpannedString = buildSpannedString { 74 val spans = result.getSpans<Any>() 77 val bold = spans.filterIsInstance<StyleSpan>().single() 84 val result: SpannedString = buildSpannedString { 92 val span [all...] |
H A D | HtmlTest.kt | 27 private val imageGetter = ImageGetter { null } 28 private val tagHandler = TagHandler { _, _, _, _ -> } 31 val parsed = "<b>Hi</b> © > <".parseAsHtml().toString() 36 val parsed = "<b>Hi</b> © > <".parseAsHtml(FROM_HTML_MODE_COMPACT).toString() 41 val parsed = "<b>Hi</b> © > <" 48 val parsed = "<b>Hi</b> © > <" 55 val html = buildSpannedString {
|
/frameworks/support/navigation/common/ktx/src/androidTest/java/androidx/navigation/ |
H A D | NavGraphTest.kt | 32 private val navGraphNavigator = NavGraphNavigator(InstrumentationRegistry.getTargetContext()) 33 private val navigator = TestNavigator() 37 val graph = NavGraph(navGraphNavigator) 38 val destination = NavDestination(navigator).apply { id = DESTINATION_ID } 46 val graph = NavGraph(navGraphNavigator) 47 val destination = NavDestination(navigator).apply { id = DESTINATION_ID } 58 val graph = NavGraph(navGraphNavigator) 59 val other = NavGraph(navGraphNavigator) 76 val graph = NavGraph(navGraphNavigator) 81 private const val DESTINATION_I [all...] |
H A D | NavOptionsBuilderTest.kt | 33 val navOptions = navOptions { 43 val navOptions = navOptions { 53 val navOptions = navOptions { 62 val navOptions = navOptions { 73 val navOptions = navOptions { 86 val navOptions = navOptions { 105 private const val DESTINATION_ID = 1 107 private const val ENTER_ANIM_ID = 10 108 private const val EXIT_ANIM_ID = 11 109 private const val POP_ENTER_ANIM_I [all...] |
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/ |
H A D | ProGuardClassSpecParser.kt | 27 class ProGuardClassSpecParser(private val mapper: ProGuardTypesMapper) { 30 private const val RULES = "(keep[a-z]*|whyareyoukeeping|assumenosideeffects)" 31 private const val RULES_MODIFIERS = 34 private const val CLASS_NAME = "[\\w.$?*_%]+" 35 private const val CLASS_MODIFIERS = "[!]?(public|final|abstract)" 36 private const val CLASS_TYPES = "[!]?(interface|class|enum)" 38 private const val ANNOTATION_TYPE = CLASS_NAME 40 private const val FIELD_NAME = "[\\w?*_%]+" 41 private const val FIELD_TYPE = CLASS_NAME 42 private const val FIELD_MODIFIER [all...] |
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | Size.java | 93 private final Point val; field in class:Size 99 val = new Point(width, height); 107 val = new Point(0, 0); 109 val = new Point(other.width(), other.height()); 120 val = new Point(0, 0); 122 val = new Point(other.width, other.height); 133 val = new Point(0, 0); 135 val = new Point(other.getWidth(), other.getHeight()); 146 val = new Point(0, 0); 148 val [all...] |
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/ |
H A D | reduce_backward.rs | 29 static void aiAccum(int *accum, int val) { *accum += val; } 37 float val; 46 accum->min.val = posInf; 48 accum->max.val = negInf; 54 me.val = in; 57 if (me.val <= accum->min.val) 59 if (me.val >= accum->max.val) [all...] |
/frameworks/support/navigation/safe-args-gradle-plugin/src/test/kotlin/androidx/navigation/safeargs/gradle/ |
H A D | PluginTest.kt | 34 private const val MAIN_DIR = "androidx/navigation/testapp" 36 private const val NEXT_DIRECTIONS = "$MAIN_DIR/NextFragmentDirections.java" 37 private const val MAIN_DIRECTIONS = "$MAIN_DIR/MainFragmentDirections.java" 38 private const val MODIFIED_NEXT_DIRECTIONS = "$MAIN_DIR/ModifiedNextFragmentDirections.java" 39 private const val ADDITIONAL_DIRECTIONS = "$MAIN_DIR/AdditionalFragmentDirections.java" 40 private const val FOO_DIRECTIONS = "safe/gradle/test/app/foo/FooFragmentDirections.java" 42 private const val NAV_RESOURCES = "src/main/res/navigation" 43 private const val SEC = 1000L 51 val testProjectDir = TemporaryFolder() 64 val generatedFil [all...] |
/frameworks/native/include/binder/ |
H A D | Parcel.h | 111 status_t writeInt32(int32_t val); 112 status_t writeUint32(uint32_t val); 113 status_t writeInt64(int64_t val); 114 status_t writeUint64(uint64_t val); 115 status_t writeFloat(float val); 116 status_t writeDouble(double val); 122 status_t writeStrongBinder(const sp<IBinder>& val); 123 status_t writeWeakBinder(const wp<IBinder>& val); 124 status_t writeInt32Array(size_t len, const int32_t *val); 125 status_t writeByteArray(size_t len, const uint8_t *val); 523 const Flattenable<T>& val; member in class:android::Parcel::FlattenableHelper 571 write(const Flattenable<T>& val) argument 577 write(const LightFlattenable<T>& val) argument 625 writeVectorSize(const std::vector<T>& val) argument 633 writeVectorSize(const std::unique_ptr<std::vector<T>>& val) argument 705 unsafeReadTypedVector( std::vector<T>* val, status_t(Parcel::*read_func)(U*) const) const argument 741 readTypedVector(std::vector<T>* val, status_t(Parcel::*read_func)(T*) const) const argument 747 readNullableTypedVector(std::unique_ptr<std::vector<T>>* val, status_t(Parcel::*read_func)(T*) const) const argument 771 unsafeWriteTypedVector(const std::vector<T>& val, status_t(Parcel::*write_func)(U)) argument 795 writeTypedVector(const std::vector<T>& val, status_t(Parcel::*write_func)(const T&)) argument 801 writeTypedVector(const std::vector<T>& val, status_t(Parcel::*write_func)(T)) argument 807 writeNullableTypedVector(const std::unique_ptr<std::vector<T>>& val, status_t(Parcel::*write_func)(const T&)) argument 817 writeNullableTypedVector(const std::unique_ptr<std::vector<T>>& val, status_t(Parcel::*write_func)(T)) argument 883 writeParcelableVector(const std::vector<T>& val) argument 888 writeParcelableVector(const std::unique_ptr<std::vector<std::unique_ptr<T>>>& val) argument 897 writeParcelableVector(const std::shared_ptr<std::vector<std::unique_ptr<T>>>& val) argument [all...] |
/frameworks/native/libs/binder/include/binder/ |
H A D | Parcel.h | 111 status_t writeInt32(int32_t val); 112 status_t writeUint32(uint32_t val); 113 status_t writeInt64(int64_t val); 114 status_t writeUint64(uint64_t val); 115 status_t writeFloat(float val); 116 status_t writeDouble(double val); 122 status_t writeStrongBinder(const sp<IBinder>& val); 123 status_t writeWeakBinder(const wp<IBinder>& val); 124 status_t writeInt32Array(size_t len, const int32_t *val); 125 status_t writeByteArray(size_t len, const uint8_t *val); 523 const Flattenable<T>& val; member in class:android::Parcel::FlattenableHelper 571 write(const Flattenable<T>& val) argument 577 write(const LightFlattenable<T>& val) argument 625 writeVectorSize(const std::vector<T>& val) argument 633 writeVectorSize(const std::unique_ptr<std::vector<T>>& val) argument 705 unsafeReadTypedVector( std::vector<T>* val, status_t(Parcel::*read_func)(U*) const) const argument 741 readTypedVector(std::vector<T>* val, status_t(Parcel::*read_func)(T*) const) const argument 747 readNullableTypedVector(std::unique_ptr<std::vector<T>>* val, status_t(Parcel::*read_func)(T*) const) const argument 771 unsafeWriteTypedVector(const std::vector<T>& val, status_t(Parcel::*write_func)(U)) argument 795 writeTypedVector(const std::vector<T>& val, status_t(Parcel::*write_func)(const T&)) argument 801 writeTypedVector(const std::vector<T>& val, status_t(Parcel::*write_func)(T)) argument 807 writeNullableTypedVector(const std::unique_ptr<std::vector<T>>& val, status_t(Parcel::*write_func)(const T&)) argument 817 writeNullableTypedVector(const std::unique_ptr<std::vector<T>>& val, status_t(Parcel::*write_func)(T)) argument 883 writeParcelableVector(const std::vector<T>& val) argument 888 writeParcelableVector(const std::unique_ptr<std::vector<std::unique_ptr<T>>>& val) argument 897 writeParcelableVector(const std::shared_ptr<std::vector<std::unique_ptr<T>>>& val) argument [all...] |
/frameworks/av/media/libeffects/loudness/common/core/ |
H A D | math.h | 37 inline float fast_log2(float val) { argument 38 int* const exp_ptr = reinterpret_cast <int *> (&val); 44 val = ((-1.0f / 3) * val + 2) * val - 2.0f / 3; 45 return static_cast<float>(val + log_2); 49 inline float fast_log(float val) { argument 50 return fast_log2(val) *
|
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
H A D | mult3s_16x16.c | 29 const LVM_INT16 val, 38 temp = (LVM_INT32)(*src) * (LVM_INT32)val; 28 Mult3s_16x16( const LVM_INT16 *src, const LVM_INT16 val, LVM_INT16 *dst, LVM_INT16 n) argument
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/ext/ |
H A D | ext.kt | 20 private class LazyExt<K, T>(private val initializer: (k : K) -> T) : ReadOnlyProperty<K, T> { 21 private val mapping = hashMapOf<K, T>() 23 val t = mapping[thisRef] 27 val result = initializer(thisRef) 33 private class VersionedLazyExt<K, T>(private val initializer: (k : K) -> T) : ReadOnlyProperty<K, T> { 34 private val mapping = hashMapOf<K, VersionedResult<T>>() 37 val t = mapping[thisRef] 38 val version = if(thisRef is VersionProvider) thisRef.version else 1 42 val result = initializer(thisRef) 48 data class VersionedResult<T>(val versio [all...] |
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
H A D | BRWriter.kt | 21 class BRWriter(properties: Set<String>, val useFinal : Boolean) { 22 val indexedProps = properties.sorted().withIndex() 24 val klass: String by lazy { 26 val prefix = if (useFinal) "final " else "";
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
H A D | UT_struct.java | 38 int val = 100; 39 i.x = val; 40 i.y = val; 43 s.invoke_struct_test(val); 47 val = 200; 48 p.set_x(0, val, true); 49 p.set_y(0, val, true); 50 s.invoke_struct_test(val);
|
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/rule/ |
H A D | RewriteRule.kt | 34 class RewriteRule(private val from: String, private val to: String) { 37 const val IGNORE_RUNTIME = "ignore" 38 const val IGNORE_PREPROCESSOR_ONLY = "ignoreInPreprocessorOnly" 42 private val inputPattern = Pattern.compile("^${from.replace("$", "\\$")}$") 43 private val outputPattern = to.replace("$", "\$") 71 val matcher = inputPattern.matcher(input.fullName) 89 val newFrom = to.replace("{0}", "(.*)") 90 val newTo = from.replace("(.*)", "{0}") 102 val matche [all...] |
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/utils/ |
H A D | LogLevel.kt | 19 enum class LogLevel(val priority: Int) {
|
/frameworks/support/navigation/runtime/ktx/src/androidTest/java/androidx/navigation/ |
H A D | NavHostTest.kt | 28 private val navController = NavController(InstrumentationRegistry.getTargetContext()).apply { 31 private val navHost = NavHost { this@NavHostTest.navController } 35 val graph = navHost.createGraph(startDestination = DESTINATION_ID) { 43 private const val DESTINATION_ID = 1
|
/frameworks/support/navigation/testing/ktx/src/test/java/androidx/navigation/testing/ |
H A D | TestNavigatorTest.kt | 32 val testNavigator = TestNavigator() 33 val destination = testNavigator.createDestination() 34 val args = Bundle() 39 val (foundDestination, foundArgs) = testNavigator.backStack.last()
|
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/vo/ |
H A D | FieldSetter.kt | 23 data class FieldSetter(val name: String, val type: TypeMirror, val callType: CallType) { 25 val stmt = when (callType) {
|
/frameworks/support/jetifier/jetifier/core/src/main/kotlin/com/android/tools/build/jetifier/core/pom/ |
H A D | PomDependency.kt | 28 val groupId: String?, 31 val artifactId: String?, 37 val classifier: String? = null, 40 val type: String? = null, 43 val scope: String? = null, 46 val systemPath: String? = null, 49 val optional: String? = null) {
|