Home
last modified time | relevance | path

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

12

/system/tools/xsdc/src/com/android/xsdc/cpp/
DCppSimpleType.java69 this.name.equals("std::string") ? "&" : "", in getParsingExpression()
84 } else if (this.name.equals("char") || this.name.equals("unsigned char")) { in getWritingExpression()
86 } else if (this.name.equals("bool")) { in getWritingExpression()
98 } else if (this.name.equals("char") || this.name.equals("unsigned char")) { in getWritingExpression()
100 } else if (this.name.equals("bool")) { in getWritingExpression()
DCppCodeGenerator.java179 if ("".equals(value)) { in printEnum()
366 if (type.getName().equals("bool")) { in printParser()
368 } else if (type.getName().equals("std::string")) { in printParser()
541 if (elementTypeName.equals("bool")) { in printGetter()
754 if (baseRef != null && !baseRef.getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in stackComponents()
792 if (complexType.getBase().getRef().getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in getBaseName()
807 if (baseRef.getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in getValueType()
827 if (type.getRef().getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in parseType()
860 if (typeRef.getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in parseSimpleTypeReference()
/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/input_tools/android/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/timezone/apex/tests/src/java/android/tzdata/mts/
DTimeZoneRulesTest.java118 if (longDst.equals(longStd)) { in checkDisplayNames()
123 if (shortDst.equals(shortStd)) { in checkDisplayNames()
131 if (shortStd.equals(longDst)) { in checkDisplayNames()
135 if (longStd.equals(shortDst)) { in checkDisplayNames()
141 if (longDst.equals(shortDst) && !longDst.startsWith("GMT")) { in checkDisplayNames()
151 if (isGmtString(longDst) && !longDst.equals(gmtDst)) { in checkDisplayNames()
154 if (isGmtString(longStd) && !longStd.equals(gmtStd)) { in checkDisplayNames()
157 if (isGmtString(shortDst) && !shortDst.equals(gmtDst)) { in checkDisplayNames()
160 if (isGmtString(shortStd) && !shortStd.equals(gmtStd)) { in checkDisplayNames()
337 if (icuTimeZone.getID().equals(android.icu.util.TimeZone.UNKNOWN_ZONE_ID)) { in checkZoneIdsAreKnownToIcu()
/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/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DZoneTabFile.java94 public boolean equals(Object o) { in equals() method in ZoneTabFile.CountryEntry
104 if (!isoCode.equals(that.isoCode)) { in equals()
107 return olsonId.equals(that.olsonId); in equals()
DBackwardFile.java56 if (fields.length < 3 || !fields[0].equals("Link")) { in parse()
92 if (fromId.equals(searchId)) { in getAllAlternativeIds()
96 } else if (toId.equals(searchId)) { in getAllAlternativeIds()
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DSimpleParcelable.java44 public boolean equals(Object o) { in equals() method in SimpleParcelable
53 (mName != null && !mName.equals(p.mName))) { in equals()
/system/tools/xsdc/src/com/android/xsdc/
DXsdHandler.java274 if ("true".equals(isAbstract)) { in makeElement()
286 if (maxOccurs.equals("0")) return null; in makeElement()
287 if (maxOccurs.equals("unbounded") || Integer.parseInt(maxOccurs) > 1) multiple = true; in makeElement()
312 if (use != null && use.equals("prohibited")) return null; in makeAttribute()
315 if (use != null && use.equals("required")) { in makeAttribute()
376 if ("true".equals(isAbstract)) { in makeComplexType()
379 if ("true".equals(mixed)) { in makeComplexType()
420 if ("true".equals(mixed)) { in makeComplexContent()
435 if (base.getRef() != null && base.getRef().getNamespaceURI().equals( in makeComplexContent()
593 if (maxOccurs != null && (maxOccurs.equals("unbounded") in makeSequence()
[all …]
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java81 if (args[0].equals("-c")) { in run()
83 } else if (args[0].equals("-s")) { in run()
142 if (result.equals(s)) { in Expect()
153 ExpectTrue(Objects.equals(l, r)); in ExpectEqual()
154 ExpectTrue(Objects.equals(r, l)); in ExpectEqual()
159 ExpectFalse(Objects.equals(l, r)); in ExpectNotEqual()
160 ExpectFalse(Objects.equals(r, l)); in ExpectNotEqual()
186 @Override public boolean equals(Object other) { in equals() method in HidlTestJava.BazCallback
257 ExpectTrue(Arrays.equals(result, in runClientMemoryTests()
277 ExpectTrue(Arrays.equals(HidlMemoryUtil.hidlMemoryToByteArray(out.mem1), in runClientMemoryTests()
[all …]
/system/apex/tests/util/com/android/tests/util/
DModuleTestUtils.java129 result.getStatus().equals(CommandStatus.SUCCESS)); in runCmd()
179 if (activeSessionId != null && !activeSessionId.equals("")) { in abandonActiveStagedSession()
182 if (!res.getStderr().equals("") || res.getStatus() != CommandStatus.SUCCESS) { in abandonActiveStagedSession()
216 apex -> apex.name.equals(SHIM)).findAny().orElseThrow( in getShimApex()
/system/extras/simpleperf/app_api/java/com/android/simpleperf/
DProfileSession.java130 if (arg.equals("--trace-offcpu")) { in startRecording()
175 && mSimpleperfPath.equals(SIMPLEPERF_PATH_IN_IMAGE)) { in stopRecording()
325 if (!startFlag.equals("started")) { in createSimpleperfProcess()
338 if (!readReply().equals("ok")) { in sendCmd()
/system/core/libcutils/include_vndk/cutils/
Dhashmap.h45 int (*hash)(void* key), bool (*equals)(void* keyA, void* keyB));
/system/core/libcutils/include/cutils/
Dhashmap.h45 int (*hash)(void* key), bool (*equals)(void* keyA, void* keyB));
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DDeployAgent.java88 if (outputParam.equals("-o")) { in main()
92 if (!outputPath.equals("-")) { in main()
100 } else if (outputParam.equals("-pm")) { in main()
263 if (!PatchUtils.SIGNATURE.equals(signature)) { in readPatchHeader()
/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/tools/xsdc/src/com/android/xsdc/java/
DJavaCodeGenerator.java138 if ("".equals(value)) { in printEnumClass()
448 if (typeName.equals("boolean")) { in printGetterAndSetter()
635 if (baseRef != null && !baseRef.getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in stackComponents()
672 if (complexType.getBase().getRef().getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in getBaseName()
687 if (baseRef.getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in getValueType()
707 if (type.getRef().getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in parseType()
740 if (typeRef.getNamespaceURI().equals(XsdConstants.XSD_NAMESPACE)) { in parseSimpleTypeReference()

12