Searched refs:val (Results 326 - 350 of 886) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dm4venc_oscl.h34 #define M4VENC_MEMSET(ptr,val,size) memset(ptr,val,size)
/frameworks/base/tools/aapt2/util/
H A DMaybe_test.cpp82 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 DWifiSsid.java76 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 DGenericConverter.java39 for (T val : values) {
43 vals.append(val);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DSystemPropertyService.java27 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 DMainActivity.java85 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 DSupportAndroidTestAppExtension.kt25 open class SupportAndroidTestAppExtension(val project: Project) {
H A DSupportLibraryExtension.kt27 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 DSupportAndroidTestAppExtension.kt25 open class SupportAndroidTestAppExtension(val project: Project) {
H A DSupportLibraryExtension.kt27 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 DPorterDuffTest.kt26 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 DLocationTest.kt25 val (lat, lon) = Location("").apply {
/frameworks/support/core/ktx/src/main/java/androidx/core/database/sqlite/
H A DSQLiteDatabase.kt36 val result = body()
/frameworks/support/core/ktx/src/main/java/androidx/core/graphics/
H A DShader.kt26 val matrix = Matrix()
/frameworks/support/jetifier/jetifier/core/src/test/kotlin/com/android/tools/build/jetifier/core/rule/
H A DRewriteRuleTest.kt79 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 DTypesMapTest.kt55 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 DJetifierPlugin.kt29 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 DArchive.kt40 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 DByteCodeTransformer.kt29 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 DProGuardClassFilterParser.kt27 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 DProGuardTransformer.kt30 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 DProGuardTester.kt93 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 DNavParserErrors.kt20 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 DDestinationTest.kt33 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 DTestNavigator.kt24 val TestNavigator.backStack: List<Pair<TestNavigator.Destination, Bundle?>>

Completed in 297 milliseconds

<<11121314151617181920>>