/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | m4venc_oscl.h | 34 #define M4VENC_MEMSET(ptr,val,size) memset(ptr,val,size)
|
/frameworks/base/tools/aapt2/util/ |
H A D | Maybe_test.cpp | 82 Maybe<int> val = make_nothing<int>(); local 83 EXPECT_FALSE(val); 93 Maybe<int> val = make_value(23); local 94 ASSERT_TRUE(val); 95 EXPECT_EQ(23, val.value()); 103 Maybe<Dummy> val = make_nothing<Dummy>(); local 109 Maybe<Dummy> val; local 112 val = std::move(val2);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiSsid.java | 76 int val; 78 val = Integer.parseInt(hexStr.substring(i, i + 2), HEX_RADIX); 80 val = 0; 82 a.octets.write(val); 91 int val = 0; 125 val = Integer.parseInt(asciiEncoded.substring(i, i + 2), HEX_RADIX); 127 val = -1; 129 if (val < 0) { 130 val = Character.digit(asciiEncoded.charAt(i), HEX_RADIX); 131 if (val < [all...] |
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
H A D | GenericConverter.java | 39 for (T val : values) { 43 vals.append(val);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | SystemPropertyService.java | 27 public void set(String key, String val) { argument 28 android.os.SystemProperties.set(key, val);
|
/frameworks/rs/tests/lldb/java/Reduction/src/com/android/rs/lldbreductiontest/ |
H A D | MainActivity.java | 85 ScriptField_MinUserType.Item val = new ScriptField_MinUserType.Item(); 86 val.a = i + idxOffset; 87 val.b = i + idxOffset; 88 minUserType.set(val, i, true); 99 ScriptField_MinUserType.Item val = new ScriptField_MinUserType.Item(); 100 val.a = i + idxOffset; 101 val.b = i + idxOffset; 102 minUserType.set(val, i, true);
|
/frameworks/support/app-toolkit/buildSrc/src/main/kotlin/androidx/build/ |
H A D | SupportAndroidTestAppExtension.kt | 25 open class SupportAndroidTestAppExtension(val project: Project) {
|
H A D | SupportLibraryExtension.kt | 27 open class SupportLibraryExtension(val project: Project) { 53 val license = project.configure(License(), closure) as License 64 val ARCHITECTURE_URL 67 val SUPPORT_URL = "http://developer.android.com/tools/extras/support-library.html"
|
/frameworks/support/buildSrc/src/main/kotlin/androidx/build/ |
H A D | SupportAndroidTestAppExtension.kt | 25 open class SupportAndroidTestAppExtension(val project: Project) {
|
H A D | SupportLibraryExtension.kt | 27 open class SupportLibraryExtension(val project: Project) { 53 val license = project.configure(License(), closure) as License 64 val ARCHITECTURE_URL 67 val SUPPORT_URL = "http://developer.android.com/tools/extras/support-library.html"
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/graphics/ |
H A D | PorterDuffTest.kt | 26 val p = createBitmap(1, 1).applyCanvas { 27 val p = Paint().apply { color = 0xffffffff.toInt() } 39 val p = createBitmap(1, 1).applyCanvas { 40 val p = Paint().apply { color = 0xffffffff.toInt() }
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/location/ |
H A D | LocationTest.kt | 25 val (lat, lon) = Location("").apply {
|
/frameworks/support/core/ktx/src/main/java/androidx/core/database/sqlite/ |
H A D | SQLiteDatabase.kt | 36 val result = body()
|
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/ |
H A D | Shader.kt | 26 val matrix = Matrix()
|
/frameworks/support/jetifier/jetifier/core/src/test/kotlin/com/android/tools/build/jetifier/core/rule/ |
H A D | RewriteRuleTest.kt | 79 class RuleTesterStep1(val from: String, val to: String) { 85 val fromType: String, 86 val toType: String, 87 val inputType: String 91 val fieldRule = RewriteRule(fromType, toType) 92 val result = fieldRule.apply(JavaType(inputType)) 99 val fieldRule = RewriteRule(fromType, toType) 100 val result = fieldRule.apply(JavaType(inputType))
|
/frameworks/support/jetifier/jetifier/core/src/test/kotlin/com/android/tools/build/jetifier/core/type/ |
H A D | TypesMapTest.kt | 55 val typesMap = TypesMap.EMPTY 56 val result = typesMap.mapType(JavaType.fromDotVersion("test.Class")) 61 val typesMap = TypesMap(map 64 val result = typesMap.mapType(JavaType.fromDotVersion(from))
|
/frameworks/support/jetifier/jetifier/gradle-plugin/src/main/kotlin/com/android/tools/build/jetifier/plugin/gradle/ |
H A D | JetifierPlugin.kt | 29 const val GROOVY_OBJECT_NAME: String = "jetifier" 36 val jetifyLibs = it.tasks.findByName(JetifyLibsTask.TASK_NAME) 37 val jetifyGlobal = it.tasks.findByName(JetifyGlobalTask.TASK_NAME) 47 val preBuildTask = it.tasks.findByName("preBuild")
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/archive/ |
H A D | Archive.kt | 40 override val relativePath: Path, 41 val files: List<ArchiveItem> 46 val ARCHIVE_EXTENSIONS = listOf(".jar", ".zip", ".aar") 48 const val TAG = "Archive" 51 override val fileName: String = relativePath.fileName.toString() 55 override val wasChanged: Boolean 71 val outputPath = Paths.get(outputDirPath.toString(), fileName) 93 val file = outputPath.toFile() 95 val stream = BufferedOutputStream(FileOutputStream(file)) 103 val ou [all...] |
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/bytecode/ |
H A D | ByteCodeTransformer.kt | 29 private val context: TransformationContext 35 val reader = ClassReader(file.data) 36 val writer = ClassWriter(0 /* flags */) 38 val remapper = CoreRemapperImpl(context, writer)
|
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/ |
H A D | ProGuardClassFilterParser.kt | 27 class ProGuardClassFilterParser(private val mapper: ProGuardTypesMapper) { 30 private const val RULES = "(adaptclassstrings|dontnote|dontwarn)" 33 val replacer = GroupsReplacer( 62 val withoutNegation = type.substring(1, type.length)
|
H A D | ProGuardTransformer.kt | 30 private val mapper = ProGuardTypesMapper( 33 val replacer = ReplacersRunner( 44 val content = StringBuilder(file.data.toString(StandardCharsets.UTF_8)).toString() 45 val result = replacer.applyReplacers(content)
|
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/proguard/ |
H A D | ProGuardTester.kt | 93 class ProGuardTesterForFile(private val config: Config, private val given: String) { 96 val context = TransformationContext(config) 97 val transformer = ProGuardTransformer(context) 98 val file = ArchiveFile(Paths.get("proguard.txt"), given.toByteArray()) 101 val result = file.data.toString(StandardCharsets.UTF_8) 108 class ProGuardTesterForType(private val config: Config, private val given: String) { 111 val context = TransformationContext(config, useFallbackIfTypeIsMissing = false) 112 val mappe [all...] |
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/ |
H A D | NavParserErrors.kt | 20 val UNNAMED_DESTINATION = "Destination with arguments or actions must have " +
|
/frameworks/support/navigation/safe-args-generator/src/tests/kotlin/androidx/navigation/safe/args/generator/ |
H A D | DestinationTest.kt | 33 val name = Destination.createName(id("main"), "foo.sub.ClassName", "some.app") 39 val name = Destination.createName(id("main"), ".sub.ClassName", "some.app") 45 val name = Destination.createName(id("main"), "ClassName", "some.app") 51 val name = Destination.createName(id("main"), "", "some.app")
|
/frameworks/support/navigation/testing/ktx/src/main/java/androidx/navigation/testing/ |
H A D | TestNavigator.kt | 24 val TestNavigator.backStack: List<Pair<TestNavigator.Destination, Bundle?>>
|