/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
D | ConnectivityBlobStoreTest.java | 105 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/ |
D | AppNotRespondingDialog.java | 67 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/ |
D | MessageUtils.java | 39 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/ |
D | AnnotationBasedFilter.kt | 111 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/ |
D | MediaCodecList.cpp | 327 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/ |
D | ProtoOutputStream_test.cpp | 184 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/ |
D | BrailleDisplayConnectionTest.java | 267 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/ |
D | AllTests.kt | 1189 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/ |
D | SampleDataClass.java | 527 @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()
|