Home
last modified time | relevance | path

Searched refs:name2 (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/net/
DConnectivityBlobStoreTest.java105 final String name2 = TEST_NAME + "2"; in testMultipleNames() local
109 assertNull(connectivityBlobStore.get(name2)); in testMultipleNames()
111 assertFalse(connectivityBlobStore.remove(name2)); in testMultipleNames()
114 assertTrue(connectivityBlobStore.put(name2, TEST_BLOB)); in testMultipleNames()
116 assertArrayEquals(TEST_BLOB, connectivityBlobStore.get(name2)); in testMultipleNames()
125 assertArrayEquals(TEST_BLOB, connectivityBlobStore.get(name2)); in testMultipleNames()
128 assertTrue(connectivityBlobStore.remove(name2)); in testMultipleNames()
129 assertNull(connectivityBlobStore.get(name2)); in testMultipleNames()
130 assertFalse(connectivityBlobStore.remove(name2)); in testMultipleNames()
/frameworks/base/services/core/java/com/android/server/am/
DAppNotRespondingDialog.java67 CharSequence name2 = null; in AppNotRespondingDialog() local
69 && (name2 = context.getPackageManager().getApplicationLabel(mProc.info)) != null) { in AppNotRespondingDialog()
73 name1 = name2; in AppNotRespondingDialog()
74 name2 = mProc.processName; in AppNotRespondingDialog()
79 name2 = mProc.processName; in AppNotRespondingDialog()
89 setTitle(name2 != null in AppNotRespondingDialog()
90 … ? res.getString(resid, bidi.unicodeWrap(name1.toString()), bidi.unicodeWrap(name2.toString())) in AppNotRespondingDialog()
/frameworks/base/core/java/com/android/internal/util/
DMessageUtils.java39 public DuplicateConstantError(String name1, String name2, int value) { in DuplicateConstantError() argument
41 name1, name2, value)); in DuplicateConstantError()
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/filters/
DAnnotationBasedFilter.kt111 name2: String, in <lambda>()
126 val description = if (name2 == "" && name3 == "") { in <lambda>()
166 name2: String = "", in <lambda>()
169 detectInvalidAnnotations(visibles, invisibles, type, name1, name2, name3) in <lambda>()
/frameworks/av/media/libstagefright/
DMediaCodecList.cpp327 static int compareSoftwareCodecsFirst(const AString *name1, const AString *name2) { in compareSoftwareCodecsFirst() argument
330 bool isSoftwareCodec2 = MediaCodecList::isSoftwareCodec(*name2); in compareSoftwareCodecsFirst()
337 bool isC2_2 = name2->startsWithIgnoreCase("c2."); in compareSoftwareCodecsFirst()
344 bool isOMX2 = name2->startsWithIgnoreCase("OMX."); in compareSoftwareCodecsFirst()
/frameworks/base/libs/protoutil/tests/
DProtoOutputStream_test.cpp184 std::string name2 = "dog"; in TEST() local
200 EXPECT_TRUE(proto.write(FIELD_TYPE_STRING | ComplexProto::Log::kNameFieldNumber, name2)); in TEST()
217 EXPECT_THAT(log2.name(), StrEq(name2.c_str())); in TEST()
223 std::string name2 = "dog"; in TEST() local
239 EXPECT_TRUE(proto.write(FIELD_TYPE_STRING | ComplexProto::Log::kNameFieldNumber, name2)); in TEST()
258 EXPECT_THAT(log2.name(), StrEq(name2.c_str())); in TEST()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DBrailleDisplayConnectionTest.java267 String name1 = "name1", name2 = "name2"; in setTestData_scannerReturnsTestData() local
269 bd2.putString(BrailleDisplayController.TEST_BRAILLE_DISPLAY_NAME, name2); in setTestData_scannerReturnsTestData()
286 expect.that(scanner.getName(path2)).isEqualTo(name2); in setTestData_scannerReturnsTestData()
/frameworks/rs/toolkit/test/
DAllTests.kt1189 name2: String, in <lambda>()
1195 println("$task. Sizes don't match: Reference ${in1.size}, $name2 ${in2.size}") in <lambda>()
1209 … "$task. At $i, Reference is ${in1[i].toUByte()}, $name2 is ${in2[i].toUByte()}" in <lambda>()
1227 name2: String, in <lambda>()
1232 println("$task. Sizes don't match: Reference ${in1.size}, $name2 ${in2.size}") in <lambda>()
1238 println("$task. At $i, Reference is ${in1[i]}, $name2 is ${in2[i]}") in <lambda>()
/frameworks/base/tests/Codegen/src/com/android/codegentest/
DSampleDataClass.java527 @NonNull String name2, in SampleDataClass() argument
550 this.mName2 = name2; in SampleDataClass()
1420 String name2 = in.readString(); in SampleDataClass() local
1447 this.mName2 = name2; in SampleDataClass()