Searched refs:val (Results 401 - 425 of 886) sorted by relevance

<<11121314151617181920>>

/frameworks/support/buildSrc/src/main/kotlin/androidx/build/
H A DMavenUploadHelper.kt44 val uploadTask = project.tasks.getByName("uploadArchives") as Upload
46 val repo = project.uri(project.rootProject.property("supportRepoOut") as File)
100 val allDeps = HashSet<ProjectDependency>()
111 val getGroupIdMethod =
113 val groupId: String = getGroupIdMethod.invoke(dep) as String
114 val getArtifactIdMethod =
116 val artifactId: String = getArtifactIdMethod.invoke(dep) as String
119 val setTypeMethod = dep::class.java.getDeclaredMethod("setType",
144 val config = project.configurations.findByName(name)
165 private const val ANDROID_GIT_UR
[all...]
H A DSourceJarTaskHelper.kt36 val sourceJar = project.tasks.create("sourceJarRelease", Jar::class.java)
48 val sourceJar = project.tasks.create("sourceJar", Jar::class.java)
51 val convention = project.convention.getPlugin(JavaPluginConvention::class.java)
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/os/
H A DBundleTest.kt38 val bundleValue = Bundle()
39 val charSequenceValue = "hey"
40 val parcelableValue = Rect(1, 2, 3, 4)
41 val serializableValue = AtomicInteger(1)
43 val bundle = bundleOf(
113 val binderValue = Binder()
114 val bundle = bundleOf("binder" to binderValue)
120 val sizeValue = Size(1, 1)
121 val sizeFValue = SizeF(1f, 1f)
123 val bundl
[all...]
H A DHandlerTest.kt33 private val handlerThread = HandlerThread("handler-test")
57 val runnable = handler.postDelayed(10) {
78 val runnable = handler.postAtTime(SystemClock.uptimeMillis() + 10) {
88 val token = Any()
102 val token = Any()
114 val latch = CountDownLatch(1)
118 val wait = unit.toMillis(amount) + SECONDS.toMillis(1)
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/
H A DChangeDetectionTest.kt40 private val prefRewriteConfig = Config.fromOptional(
159 val inputClassPath = "/changeDetectionTest/testPreference.class"
160 val inputFile = File(javaClass.getResource(inputClassPath).file)
171 val inputClassPath = "/changeDetectionTest/testPreference.class"
172 val inputFile = File(javaClass.getResource(inputClassPath).file)
202 val archive = Archive(Paths.get("some/path"), listOf(file))
203 val sourceArchive = archive.writeSelfToFile(Files.createTempFile("test", ".zip"))
205 val expectedFileIfRefactored = Files.createTempFile("testRefactored", ".zip")
206 val processor = Processor.createProcessor(config)
207 val resultFile
[all...]
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/
H A DAsyncPagedListDifferTest.kt41 private val mMainThread = TestExecutor()
42 private val mDiffThread = TestExecutor()
43 private val mPageLoadingThread = TestExecutor()
47 val differ = AsyncPagedListDiffer(listUpdateCallback,
68 val callback = mock(ListUpdateCallback::class.java)
69 val differ = createDiffer(callback, STRING_DIFF_CALLBACK)
77 val callback = mock(ListUpdateCallback::class.java)
78 val differ = createDiffer(callback, STRING_DIFF_CALLBACK)
93 val differ = createDiffer(IGNORE_CALLBACK, STRING_DIFF_CALLBACK)
99 val diffe
[all...]
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/transform/pom/
H A DXmlUtils.kt36 private val variablePattern = Pattern.compile("\\$\\{([^}]*)}")
40 val xmlOutput = XMLOutputter()
50 val builder = SAXBuilder()
65 val element = Element(id)
76 val matcher = variablePattern.matcher(value)
78 val variableName = matcher.group(1)
79 val varValue = properties[variableName]
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/map/
H A DMapGenerationTest.kt142 class Step1(private val rules: List<RewriteRule>) {
146 class Step2(private val rules: List<RewriteRule>, private val prefixes: Set<String>) {
148 private val allTypes: MutableList<JavaType> = mutableListOf()
157 val config = Config.fromOptional(
160 val scanner = MapGeneratorRemapper(config)
164 val typesMap = scanner.createTypesMap().toJson()
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/processor/
H A DDatabaseProcessor.kt42 class DatabaseProcessor(baseContext: Context, val element: TypeElement) {
43 val context = baseContext.fork(element)
45 val baseClassElement: TypeMirror by lazy {
60 val dbAnnotation = MoreElements
63 val entities = processEntities(dbAnnotation, element)
67 val extendsRoomDb = context.processingEnv.typeUtils.isAssignable(
71 val allMembers = context.processingEnv.elementUtils.getAllMembers(element)
73 val dbVerifier = if (element.hasAnnotation(SkipQueryVerification::class)) {
80 val declaredType = MoreTypes.asDeclared(element.asType())
81 val daoMethod
[all...]
/frameworks/av/media/ndk/
H A DNdkMediaFormat.cpp94 int32_t val; local
95 f->findInt32(name, &val);
96 ret.appendFormat("int32(%" PRId32 ")", val);
101 int64_t val; local
102 f->findInt64(name, &val);
103 ret.appendFormat("int64(%" PRId64 ")", val);
108 size_t val; local
109 f->findSize(name, &val);
110 ret.appendFormat("size_t(%zu)", val);
115 float val; local
122 double val; local
137 AString val; local
[all...]
/frameworks/support/app-toolkit/buildSrc/src/main/kotlin/androidx/build/
H A DSourceJarTaskHelper.kt36 val sourceJar = project.tasks.create("sourceJarRelease", Jar::class.java)
48 val sourceJar = project.tasks.create("sourceJar", Jar::class.java)
51 val convention = project.convention.getPlugin(JavaPluginConvention::class.java)
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/text/
H A DSpannedStringTest.kt34 val bold = StyleSpan(BOLD)
35 val underline = UnderlineSpan()
37 val s = "Hello, World".toSpannable()
/frameworks/support/jetifier/jetifier/processor/src/test/kotlin/com/android/tools/build/jetifier/processor/transform/
H A DDependencyMappingTest.kt43 val config = Config.fromOptional(
47 val processor = Processor.createProcessor(config)
48 val result = processor.mapDependency(from)
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/ext/
H A DKotlinMetadataProcessor.kt34 val valueParameterList = this.data.getFunctionOrNull(method)?.valueParameterList
56 val (nameResolver, classProto) = data
57 val jvmSignature = executableElement.jvmMethodSignature
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/binderprovider/
H A DGuavaListenableFutureQueryResultBinderProvider.kt30 class GuavaListenableFutureQueryResultBinderProvider(val context: Context)
33 private val hasGuavaRoom by lazy {
51 val adapter = context.typeAdapterStore.findQueryResultAdapter(
/frameworks/support/room/compiler/src/main/kotlin/androidx/room/solver/query/result/
H A DInstantQueryResultBinder.kt35 val transactionWrapper = if (inTransaction) {
42 val outVar = scope.getTmpVar("_result")
43 val cursorVar = scope.getTmpVar("_cursor")
/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java367 public static @NonNull int[] appendInt(@Nullable int[] cur, int val, argument
370 return new int[] { val };
375 if (cur[i] == val) {
382 ret[N] = val;
390 public static @NonNull int[] appendInt(@Nullable int[] cur, int val) { argument
391 return appendInt(cur, val, false);
397 public static @Nullable int[] removeInt(@Nullable int[] cur, int val) { argument
403 if (cur[i] == val) {
420 public static @Nullable String[] removeString(@Nullable String[] cur, String val) { argument
426 if (Objects.equals(cur[i], val)) {
444 appendLong(@ullable long[] cur, long val, boolean allowDuplicates) argument
467 appendLong(@ullable long[] cur, long val) argument
474 removeLong(@ullable long[] cur, long val) argument
502 add(@ullable ArraySet<T> cur, T val) argument
510 remove(@ullable ArraySet<T> cur, T val) argument
522 add(@ullable ArrayList<T> cur, T val) argument
530 remove(@ullable ArrayList<T> cur, T val) argument
542 contains(@ullable Collection<T> cur, T val) argument
622 defeatNullable(@ullable int[] val) argument
626 defeatNullable(@ullable String[] val) argument
[all...]
/frameworks/av/cmds/screenrecord/
H A DTextRenderer.cpp62 static bool isPowerOfTwo(uint32_t val) { argument
64 return (val & (val -1)) == 0;
67 static uint32_t powerOfTwoCeil(uint32_t val) { argument
69 val--;
70 val |= val >> 1;
71 val |= val >> 2;
72 val |
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastcodemb.cpp486 Int i, val, sav = 0; local
491 val = *block++;
492 if (val > 0) sav += val;
493 else sav -= val;
494 val = *block++;
495 if (val > 0) sav += val;
496 else sav -= val;
497 val
[all...]
/frameworks/base/core/java/android/os/
H A DBatteryProperty.java49 public void setLong(long val) { argument
50 mValueLong = val;
/frameworks/base/graphics/java/android/graphics/
H A DPorterDuff.java380 public static Mode intToMode(int val) { argument
381 switch (val) {
/frameworks/base/telephony/java/android/telephony/
H A DRlog.java106 String val = String.valueOf(pii);
107 if (pii == null || TextUtils.isEmpty(val) || isLoggable(tag, Log.VERBOSE)) {
108 return val;
110 return "[" + secureHash(val.getBytes()) + "]";
121 String val = String.valueOf(pii);
122 if (pii == null || TextUtils.isEmpty(val) || enablePiiLogging) {
123 return val;
125 return "[" + secureHash(val.getBytes()) + "]";
/frameworks/compile/mclinker/lib/LD/
H A DDiagnostic.cpp151 int val = getArgSInt(arg_no); local
152 llvm::raw_string_ostream(pOutStr) << val;
156 unsigned int val = getArgUInt(arg_no); local
157 llvm::raw_string_ostream(pOutStr) << val;
161 unsigned long long val = getArgUInt(arg_no); local
162 llvm::raw_string_ostream(pOutStr) << val;
166 bool val = getArgBool(arg_no); local
167 if (val)
/frameworks/native/include/binder/
H A DTextOutput.h69 TextOutput& operator<<(TextOutput& to, const T& val) argument
72 strbuf << val; local
92 TextOutput& operator<<(TextOutput& to, const TypeCode& val);
121 TextOutput& operator<<(TextOutput& to, const HexDump& val);
125 /*val*/) {
136 inline TextOutput& operator<<(TextOutput& to, const bool &val) argument
138 if (val) to.print("true", 4);
143 inline TextOutput& operator<<(TextOutput& to, const String16& val) argument
145 to << String8(val).string();
/frameworks/native/libs/binder/include/binder/
H A DTextOutput.h69 TextOutput& operator<<(TextOutput& to, const T& val) argument
72 strbuf << val; local
92 TextOutput& operator<<(TextOutput& to, const TypeCode& val);
121 TextOutput& operator<<(TextOutput& to, const HexDump& val);
125 /*val*/) {
136 inline TextOutput& operator<<(TextOutput& to, const bool &val) argument
138 if (val) to.print("true", 4);
143 inline TextOutput& operator<<(TextOutput& to, const String16& val) argument
145 to << String8(val).string();

Completed in 434 milliseconds

<<11121314151617181920>>