Home
last modified time | relevance | path

Searched refs:equals (Results 1 – 25 of 38) sorted by relevance

12

/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DTestServiceClient.java167 if (!query.equals(response)) { in checkPrimitiveRepeat()
179 if (!query.equals(response)) { in checkPrimitiveRepeat()
201 if (!Arrays.equals(input, echoed)) { in checkArrayReversal()
220 if (!Arrays.equals(input, echoed)) { in checkArrayReversal()
239 if (!Arrays.equals(input, echoed)) { in checkArrayReversal()
258 if (!Arrays.equals(input, echoed)) { in checkArrayReversal()
277 if (!Arrays.equals(input, echoed)) { in checkArrayReversal()
296 if (!Arrays.equals(input, echoed)) { in checkArrayReversal()
315 if (!Arrays.equals(input, echoed)) { in checkArrayReversal()
334 if (!Arrays.equals(input, echoed)) { in checkArrayReversal()
[all …]
DSimpleParcelable.java44 public boolean equals(Object o) { in equals() method in SimpleParcelable
53 (mName != null && !mName.equals(p.mName))) { in equals()
/system/core/libcutils/
Dhashmap.cpp38 bool (*equals)(void* keyA, void* keyB); member
44 int (*hash)(void* key), bool (*equals)(void* keyA, void* keyB)) { in hashmapCreate()
46 assert(equals != NULL); in hashmapCreate()
70 map->equals = equals; in hashmapCreate()
182 bool (*equals)(void*, void*)) { in equalKeys()
189 return equals(keyA, keyB); in equalKeys()
213 if (equalKeys(current->key, current->hash, key, hash, map->equals)) { in hashmapPut()
230 if (equalKeys(entry->key, entry->hash, key, hash, map->equals)) { in hashmapGet()
247 if (equalKeys(current->key, current->hash, key, hash, map->equals)) { in hashmapRemove()
/system/update_engine/payload_generator/
Dblock_mapping.cc89 bool equals = false; in AddBlock() local
90 if (!existing_block.CompareData(block_data, &equals)) in AddBlock()
92 if (equals) in AddBlock()
115 bool* equals) { in CompareData() argument
117 *equals = block_data == other_block; in CompareData()
127 *equals = blob == other_block; in CompareData()
Dblock_mapping.h91 bool CompareData(const brillo::Blob& other_block, bool* equals);
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DZoneOffsetPeriod.java137 public boolean equals(Object o) { in equals() method in ZoneOffsetPeriod
147 Objects.equals(start, that.start) && in equals()
148 Objects.equals(end, that.end) && in equals()
149 Objects.equals(name, that.name); in equals()
180 public boolean equals(Object o) { in equals() method in ZoneOffsetPeriod.ZonePeriodsKey
188 return Objects.equals(periods, zoneKey.periods); in equals()
DUniqueZonesVisualizer.java49 boolean compressTree = args.length == 3 || !"nocompress".equals(args[3]); in main()
56 if (countryCodeArg.equals("_")) { in main()
DTreeNode.java93 if (toRemove.equals(candidate)) { in removeChild()
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DDeployAgent.java49 if (commandString.equals("extract")) { in main()
56 } else if (commandString.equals("find")) { in main()
65 } else if (commandString.equals("apply")) { in main()
81 if (outputParam.equals("-o")) { in main()
85 if (!outputPath.equals("-")) { in main()
95 } else if (outputParam.equals("-pm")) { in main()
106 } else if (commandString.equals("version")) { in main()
256 if (!PatchUtils.SIGNATURE.equals(signature)) { in readPatchHeader()
/system/timezone/distro/core/src/main/com/android/timezone/distro/
DStagedDistroOperation.java47 public boolean equals(Object o) { in equals() method in StagedDistroOperation
60 return distroVersion != null ? distroVersion.equals(that.distroVersion) in equals()
DDistroVersion.java112 public boolean equals(Object o) { in equals() method in DistroVersion
131 return rulesVersion.equals(that.rulesVersion); in equals()
/system/timezone/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DZoneTabFile.java90 public boolean equals(Object o) { in equals() method in ZoneTabFile.CountryEntry
100 if (!isoCode.equals(that.isoCode)) { in equals()
103 return olsonId.equals(that.olsonId); in equals()
DTzLookupGenerator.java112 if (!icuTzDataVersion.equals(inputIanaVersion)) { in execute()
143 if (!zoneTabCountryIsos.equals(timezonesCountryIsos)) { in execute()
430 return !(zone instanceof BasicTimeZone) || zone.getID().equals(TimeZone.UNKNOWN_ZONE_ID); in invalidTimeZoneId()
/system/tools/xsdc/src/com/android/xsdc/
DXsdHandler.java250 if ("true".equals(isAbstract)) { in makeElement()
262 if (maxOccurs.equals("0")) return null; in makeElement()
263 if (maxOccurs.equals("unbounded") || Integer.parseInt(maxOccurs) > 1) multiple = true; in makeElement()
287 if (use != null && use.equals("prohibited")) return null; in makeAttribute()
308 if ("true".equals(isAbstract)) { in makeComplexType()
311 if ("true".equals(mixed)) { in makeComplexType()
342 if ("true".equals(mixed)) { in makeComplexContent()
356 if (base.getRef() != null && base.getRef().getNamespaceURI().equals( in makeComplexContent()
491 if (maxOccurs != null && (maxOccurs.equals("unbounded") in makeSequence()
508 if (maxOccurs != null && (maxOccurs.equals("unbounded") in makeChoice()
[all …]
/system/apex/tests/src/com/android/tests/apex/
DMediaSwCodecHostTest.java55 if (info.name.equals("com.android.media.swcodec") in testStageActivateUninstallApexPackage()
56 || info.name.equals("com.google.android.media.swcodec")) { in testStageActivateUninstallApexPackage()
DTimezoneDataHostTest.java98 entries.stream().filter(x -> x.getKey().equals(entryKey)).findFirst(); in assertEntryValue()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java63 if (args[0].equals("-c")) { in run()
65 } else if (args[0].equals("-s")) { in run()
124 if (result.equals(s)) { in Expect()
135 ExpectTrue(Objects.equals(l, r)); in ExpectEqual()
136 ExpectTrue(Objects.equals(r, l)); in ExpectEqual()
141 ExpectFalse(Objects.equals(l, r)); in ExpectNotEqual()
142 ExpectFalse(Objects.equals(r, l)); in ExpectNotEqual()
168 @Override public boolean equals(Object other) { in equals() method in HidlTestJava.BazCallback
446 ExpectTrue(one.equals(two)); in runClientSafeUnionTests()
449 ExpectFalse(one.equals(two)); in runClientSafeUnionTests()
[all …]
/system/core/libcutils/include/cutils/
Dhashmap.h45 int (*hash)(void* key), bool (*equals)(void* keyA, void* keyB));
/system/core/libcutils/include_vndk/cutils/
Dhashmap.h45 int (*hash)(void* key), bool (*equals)(void* keyA, void* keyB));
/system/extras/power_profile/camera_flashlight/Application/src/main/java/com/example/android/powerprofile/cameraflashlight/
DFlashlightActivity.java40 if (flashAvailable != null && Boolean.TRUE.equals(flashAvailable)) { in onCreate()
/system/extras/verity/
DVeritySigner.java44 if (args.length > 3 && "-verify".equals(args[3])) { in main()
DBootSignature.java201 if (!Arrays.equals(Arrays.copyOfRange(data, 0, 8), in getSignableImageSize()
330 if ("-verify".equals(args[0])) { in main()
333 if (args.length >= 4 && "-certificate".equals(args[2])) { in main()
/system/extras/simpleperf/app_api/java/com/android/simpleperf/
DProfileSession.java277 if (!startFlag.equals("started")) { in createSimpleperfProcess()
290 if (!readReply().equals("ok")) { in sendCmd()
/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppCodeGenerator.java378 if (elementTypeName.equals("bool")) { in printGetterAndSetter()
490 if (baseRef != null && !baseRef.getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in stackComponents()
503 if (complexType.getBase().getRef().getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in getBaseName()
518 if (baseRef.getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in getValueType()
538 if (type.getRef().getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in parseType()
571 if (typeRef.getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in parseSimpleTypeReference()
/system/tools/xsdc/src/com/android/xsdc/java/
DJavaCodeGenerator.java421 if (baseRef != null && !baseRef.getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in stackComponents()
434 if (complexType.getBase().getRef().getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in getBaseName()
449 if (baseRef.getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in getValueType()
469 if (type.getRef().getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in parseType()
502 if (typeRef.getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in parseSimpleTypeReference()

12