Home
last modified time | relevance | path

Searched refs:name1 (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/net/
DConnectivityBlobStoreTest.java104 final String name1 = TEST_NAME + "1"; in testMultipleNames() local
108 assertNull(connectivityBlobStore.get(name1)); in testMultipleNames()
110 assertFalse(connectivityBlobStore.remove(name1)); in testMultipleNames()
113 assertTrue(connectivityBlobStore.put(name1, TEST_BLOB)); in testMultipleNames()
115 assertArrayEquals(TEST_BLOB, connectivityBlobStore.get(name1)); in testMultipleNames()
120 assertTrue(connectivityBlobStore.put(name1, newBlob)); in testMultipleNames()
121 assertArrayEquals(newBlob, connectivityBlobStore.get(name1)); in testMultipleNames()
123 assertTrue(connectivityBlobStore.remove(name1)); in testMultipleNames()
124 assertNull(connectivityBlobStore.get(name1)); in testMultipleNames()
127 assertFalse(connectivityBlobStore.remove(name1)); in testMultipleNames()
/frameworks/base/services/core/java/com/android/server/am/
DAppNotRespondingDialog.java64 CharSequence name1 = data.aInfo != null in AppNotRespondingDialog() local
70 if (name1 != null) { in AppNotRespondingDialog()
73 name1 = name2; in AppNotRespondingDialog()
78 if (name1 != null) { in AppNotRespondingDialog()
82 name1 = mProc.processName; in AppNotRespondingDialog()
90 … ? res.getString(resid, bidi.unicodeWrap(name1.toString()), bidi.unicodeWrap(name2.toString())) in AppNotRespondingDialog()
91 : res.getString(resid, bidi.unicodeWrap(name1.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.kt110 name1: String, in <lambda>()
127 "$type $name1" in <lambda>()
129 "$type $name1.$name2$name3" in <lambda>()
165 name1: 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
329 bool isSoftwareCodec1 = MediaCodecList::isSoftwareCodec(*name1); in compareSoftwareCodecsFirst()
336 bool isC2_1 = name1->startsWithIgnoreCase("c2."); in compareSoftwareCodecsFirst()
343 bool isOMX1 = name1->startsWithIgnoreCase("OMX."); in compareSoftwareCodecsFirst()
/frameworks/base/libs/protoutil/tests/
DProtoOutputStream_test.cpp183 std::string name1 = "cat"; in TEST() local
194 EXPECT_TRUE(proto.write(FIELD_TYPE_STRING | ComplexProto::Log::kNameFieldNumber, name1)); in TEST()
213 EXPECT_THAT(log1.name(), StrEq(name1.c_str())); in TEST()
222 std::string name1 = "cat"; in TEST() local
233 EXPECT_TRUE(proto.write(FIELD_TYPE_STRING | ComplexProto::Log::kNameFieldNumber, name1)); in TEST()
254 EXPECT_THAT(log1.name(), StrEq(name1.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
268 bd1.putString(BrailleDisplayController.TEST_BRAILLE_DISPLAY_NAME, name1); in setTestData_scannerReturnsTestData()
285 expect.that(scanner.getName(path1)).isEqualTo(name1); in setTestData_scannerReturnsTestData()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Delement.rscript76 static bool equals(const char *name0, const char * name1, uint32_t len) {
78 if (name0[i] != name1[i]) {
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Delement.rscript78 static bool equals(const char *name0, const char * name1, uint32_t len) {
80 if (name0[i] != name1[i]) {
/frameworks/compile/slang/
Dslang_rs_reflection.h290 void genPairwiseDimCheck(const std::string &name0, const std::string &name1);
Dslang_rs_reflection.cpp966 const std::string &name1) { in genPairwiseDimCheck() argument
969 mOut.indent() << "t1 = " << name1 << ".getType();\n"; in genPairwiseDimCheck()
977 << "between parameters " << name0 << " and " << name1 in genPairwiseDimCheck()
/frameworks/base/tools/aapt2/cmd/
DLink_test.cpp939 <locale android:name1="en-US"/> in TEST_F()