/packages/modules/StatsD/framework/test/src/android/util/ |
D | StatsEventTest.java | 58 .that(buffer.get()).isEqualTo(StatsEvent.TYPE_OBJECT); in testNoFields() 61 .that(buffer.get()).isEqualTo(3); in testNoFields() 64 .that(buffer.get()).isEqualTo(StatsEvent.TYPE_LONG); in testNoFields() 67 .that(buffer.getLong()).isIn(Range.closed(minTimestamp, maxTimestamp)); in testNoFields() 70 .that(buffer.get()).isEqualTo(StatsEvent.TYPE_INT); in testNoFields() 73 .that(buffer.getInt()).isEqualTo(expectedAtomId); in testNoFields() 76 .that(buffer.get()).isEqualTo(StatsEvent.TYPE_ERRORS); in testNoFields() 81 .that(errorMask).isEqualTo(StatsEvent.ERROR_NO_ATOM_ID); in testNoFields() 105 .that(buffer.get()).isEqualTo(StatsEvent.TYPE_OBJECT); in testOnlyAtomId() 108 .that(buffer.get()).isEqualTo(2); in testOnlyAtomId() [all …]
|
/packages/modules/StatsD/statsd/src/ |
D | FieldValue.cpp | 204 bool Value::operator==(const Value& that) const { in operator ==() 205 if (type != that.getType()) return false; in operator ==() 209 return int_value == that.int_value; in operator ==() 211 return long_value == that.long_value; in operator ==() 213 return float_value == that.float_value; in operator ==() 215 return double_value == that.double_value; in operator ==() 217 return str_value == that.str_value; in operator ==() 219 return storage_value == that.storage_value; in operator ==() 225 bool Value::operator!=(const Value& that) const { in operator !=() 226 if (type != that.getType()) return true; in operator !=() [all …]
|
D | FieldValue.h | 164 inline bool operator==(const Field& that) const { 165 return mTag == that.getTag() && mField == that.getField(); 168 inline bool operator!=(const Field& that) const { 169 return mTag != that.getTag() || mField != that.getField(); 172 bool operator<(const Field& that) const { 173 if (mTag != that.getTag()) { 174 return mTag < that.getTag(); 177 if (mField != that.getField()) { 178 return mField < that.getField(); 184 bool matches(const Matcher& that) const; [all …]
|
D | HashableDimensionKey.cpp | 296 bool HashableDimensionKey::operator!=(const HashableDimensionKey& that) const { in operator !=() 297 return !((*this) == that); in operator !=() 300 bool HashableDimensionKey::operator==(const HashableDimensionKey& that) const { in operator ==() 301 if (mValues.size() != that.getValues().size()) { in operator ==() 306 if (mValues[i] != (that.getValues())[i]) { in operator ==() 313 bool HashableDimensionKey::operator<(const HashableDimensionKey& that) const { in operator <() 314 return LessThan(getValues(), that.getValues()); in operator <() 317 bool HashableDimensionKey::contains(const HashableDimensionKey& that) const { in contains() 318 if (mValues.size() < that.getValues().size()) { in contains() 322 if (mValues.size() == that.getValues().size()) { in contains() [all …]
|
D | HashableDimensionKey.h | 61 HashableDimensionKey(const HashableDimensionKey& that) : mValues(that.getValues()){}; in HashableDimensionKey() argument 86 bool operator!=(const HashableDimensionKey& that) const; 88 bool operator==(const HashableDimensionKey& that) const; 90 bool operator<(const HashableDimensionKey& that) const; 92 bool contains(const HashableDimensionKey& that) const; 106 MetricDimensionKey(const MetricDimensionKey& that) in MetricDimensionKey() argument 107 : mDimensionKeyInWhat(that.getDimensionKeyInWhat()), in MetricDimensionKey() 108 mStateValuesKey(that.getStateValuesKey()){}; in MetricDimensionKey() 134 bool operator==(const MetricDimensionKey& that) const; 136 bool operator<(const MetricDimensionKey& that) const;
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | Matrix.java | 60 public Matrix(Matrix that) { in Matrix() argument 61 n = that.n; in Matrix() 62 m = that.m; in Matrix() 63 mem = new double[that.mem.length]; in Matrix() 65 mem[i] = that.mem[i]; in Matrix() 102 public Matrix plus(Matrix that) { in plus() argument 103 return plus(that, new Matrix(n, m)); in plus() 115 public Matrix plus(Matrix that, Matrix result) { in plus() argument 116 if (!(this.n == that.n && this.m == that.m && this.n == result.n && this.m == result.m)) { in plus() 120 result.mem[i] = this.mem[i] + that.mem[i]; in plus() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenRuleInfo.java | 12 ZenRuleInfo that = (ZenRuleInfo) o; in equals() 14 if (isSystem != that.isSystem) return false; in equals() 15 if (ruleInstanceLimit != that.ruleInstanceLimit) return false; in equals() 16 if (packageName != null ? !packageName.equals(that.packageName) : that.packageName != null) in equals() 18 if (title != null ? !title.equals(that.title) : that.title != null) return false; in equals() 20 that.settingsAction) : that.settingsAction != null) return false; in equals() 22 that.configurationActivity) : that.configurationActivity != null) return false; in equals() 24 that.defaultConditionId) : that.defaultConditionId != null) return false; in equals() 26 that.serviceComponent) : that.serviceComponent != null) return false; in equals() 27 if (id != null ? !id.equals(that.id) : that.id != null) in equals() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
D | LedConfiguration.java | 55 public LedConfiguration(LedConfiguration that) { in LedConfiguration() argument 56 this.color0 = that.color0; in LedConfiguration() 57 this.color1 = that.color1; in LedConfiguration() 58 this.pulse = that.pulse; in LedConfiguration() 66 final LedConfiguration that = (LedConfiguration)o; in equals() local 67 return areColorsEqual(that) in equals() 68 && this.pulse == that.pulse in equals() 69 && this.isTransient == that.isTransient; in equals() 72 public boolean areColorsEqual(LedConfiguration that) { in areColorsEqual() argument 73 if (that == null) { in areColorsEqual() [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/ |
D | PasspointConfiguration.java | 767 PasspointConfiguration that = (PasspointConfiguration) thatObject; in equals() local 768 return (mHomeSp == null ? that.mHomeSp == null : mHomeSp.equals(that.mHomeSp)) in equals() 769 && (mAaaServerTrustedNames == null ? that.mAaaServerTrustedNames == null in equals() 770 : Arrays.equals(mAaaServerTrustedNames, that.mAaaServerTrustedNames)) in equals() 771 && (mCredential == null ? that.mCredential == null in equals() 772 : mCredential.equals(that.mCredential)) in equals() 773 && (mPolicy == null ? that.mPolicy == null : mPolicy.equals(that.mPolicy)) in equals() 774 && (mSubscriptionUpdate == null ? that.mSubscriptionUpdate == null in equals() 775 : mSubscriptionUpdate.equals(that.mSubscriptionUpdate)) in equals() 776 && isTrustRootCertListEquals(mTrustRootCertList, that.mTrustRootCertList) in equals() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeGroupMutingTest.java | 112 .that(thrown).hasMessageThat().contains("Car Audio Zones"); in constructor_withNullZones_fails() 122 .that(thrown).hasMessageThat().contains("zone must be present"); in constructor_withEmptyZonesList_fails() 132 .that(thrown).hasMessageThat().contains("Audio Control Wrapper"); in constructor_withNullAudioControlWrapper_fails() 146 .that(thrown).hasMessageThat().contains("IAudioControl"); in constructor_withGroupMutingFeatureNotSupported_fails() 160 .that(carGroupMuting.getLastMutingInformation()).isEmpty(); in constructor_withZoneList_initializedWithEmptyInfoList() 177 .that(info.deviceAddressesToMute).asList().isEmpty(); in carMuteChanged_withNoGroupMuted_forSingleZone_setsEmptyMutedDevices() 194 .that(info.deviceAddressesToUnmute).asList().containsExactly(PRIMARY_MEDIA_ADDRESS, in carMuteChanged_withNoGroupMuted_forSingleZone_setsAllDeviceUnMuted() 212 .that(info.deviceAddressesToMute).asList().containsExactly(PRIMARY_MEDIA_ADDRESS); in carMuteChanged_withMusicGroupMuted_forSingleZone_setsMusicDeviceToMuted() 229 .that(info.deviceAddressesToUnmute).asList().containsExactly( in carMuteChanged_withMusicGroupMuted_forSingleZone_setOtherDeviceToUnMuted() 247 .that(info.deviceAddressesToMute).asList().containsExactly(PRIMARY_MEDIA_ADDRESS, in carMuteChanged_withAllGroupsMuted_forSingleZone_setsAllDevicesMuted() [all …]
|
D | CarAudioContextTest.java | 134 .that(isCriticalAudioContext(CarAudioContext.INVALID)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse() 136 .that(isCriticalAudioContext(CarAudioContext.MUSIC)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse() 138 .that(isCriticalAudioContext(CarAudioContext.NAVIGATION)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse() 140 .that(isCriticalAudioContext(CarAudioContext.VOICE_COMMAND)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse() 142 .that(isCriticalAudioContext(CarAudioContext.CALL_RING)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse() 144 .that(isCriticalAudioContext(CarAudioContext.CALL)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse() 146 .that(isCriticalAudioContext(CarAudioContext.ALARM)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse() 148 .that(isCriticalAudioContext(CarAudioContext.NOTIFICATION)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse() 150 .that(isCriticalAudioContext(CarAudioContext.SYSTEM_SOUND)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse() 152 .that(isCriticalAudioContext(CarAudioContext.VEHICLE_STATUS)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse() [all …]
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | Doxyfile.in | 14 # Values that contain spaces should be placed between quotes (\" \"). 21 # that follow. The default is UTF-8 which is also the encoding used for all text 30 # double-quotes, unless you are using Doxywizard) that should identify the 44 # for a project that appears at the top of each page and should give viewer a 49 # With the PROJECT_LOGO tag one can specify an logo or icon that is included in 97 # descriptions after the members that are listed in the file and class 112 # This tag implements a quasi-intelligent brief description abbreviator that is 141 # inherited members of a class in the documentation of that class as if those 150 # shortest path that makes the file name unique will be used 161 # Note that you can specify absolute paths here, but also relative paths, which [all …]
|
/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/ |
D | Credential.java | 362 UserCredential that = (UserCredential) thatObject; in equals() local 363 return TextUtils.equals(mUsername, that.mUsername) in equals() 364 && TextUtils.equals(mPassword, that.mPassword) in equals() 365 && mMachineManaged == that.mMachineManaged in equals() 366 && TextUtils.equals(mSoftTokenApp, that.mSoftTokenApp) in equals() 367 && mAbleToShare == that.mAbleToShare in equals() 368 && mEapType == that.mEapType in equals() 369 && TextUtils.equals(mNonEapInnerMethod, that.mNonEapInnerMethod); in equals() 578 CertificateCredential that = (CertificateCredential) thatObject; in equals() local 579 return TextUtils.equals(mCertType, that.mCertType) in equals() [all …]
|
D | Policy.java | 242 RoamingPartner that = (RoamingPartner) thatObject; in equals() local 243 return TextUtils.equals(mFqdn, that.mFqdn) in equals() 244 && mFqdnExactMatch == that.mFqdnExactMatch in equals() 245 && mPriority == that.mPriority in equals() 246 && TextUtils.equals(mCountries, that.mCountries); in equals() 380 Policy that = (Policy) thatObject; in equals() local 382 return mMinHomeDownlinkBandwidth == that.mMinHomeDownlinkBandwidth in equals() 383 && mMinHomeUplinkBandwidth == that.mMinHomeUplinkBandwidth in equals() 384 && mMinRoamingDownlinkBandwidth == that.mMinRoamingDownlinkBandwidth in equals() 385 && mMinRoamingUplinkBandwidth == that.mMinRoamingUplinkBandwidth in equals() [all …]
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/ |
D | ChannelInfo.java | 194 ChannelInfo that = (ChannelInfo) o; in equals() local 195 return Objects.equals(originalNetworkId, that.originalNetworkId) in equals() 196 && Objects.equals(videoWidth, that.videoWidth) in equals() 197 && Objects.equals(videoHeight, that.videoHeight) in equals() 198 && Objects.equals(audioChannel, that.audioChannel) in equals() 199 && Objects.equals(audioLanguageCount, that.audioLanguageCount) in equals() 200 && Objects.equals(hasClosedCaption, that.hasClosedCaption) in equals() 201 && Objects.equals(appLinkColor, that.appLinkColor) in equals() 202 && Objects.equals(number, that.number) in equals() 203 && Objects.equals(name, that.name) in equals() [all …]
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
D | RelationDataItem.java | 47 final RelationDataItem that = (RelationDataItem) t; in shouldCollapseWith() local 49 if (!TextUtils.equals(getName(), that.getName())) { in shouldCollapseWith() 51 } else if (!hasKindTypeColumn(mKind) || !that.hasKindTypeColumn(that.getDataKind())) { in shouldCollapseWith() 52 return hasKindTypeColumn(mKind) == that.hasKindTypeColumn(that.getDataKind()); in shouldCollapseWith() 53 } else if (getKindTypeColumn(mKind) != that.getKindTypeColumn(that.getDataKind())) { in shouldCollapseWith() 56 && !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
|
D | EventDataItem.java | 47 final EventDataItem that = (EventDataItem) t; in shouldCollapseWith() local 49 if (!TextUtils.equals(getStartDate(), that.getStartDate())) { in shouldCollapseWith() 51 } else if (!hasKindTypeColumn(mKind) || !that.hasKindTypeColumn(that.getDataKind())) { in shouldCollapseWith() 52 return hasKindTypeColumn(mKind) == that.hasKindTypeColumn(that.getDataKind()); in shouldCollapseWith() 53 } else if (getKindTypeColumn(mKind) != that.getKindTypeColumn(that.getDataKind())) { in shouldCollapseWith() 56 && !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
|
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
D | Utils.java | 66 BaseProgram that = (BaseProgram) obj; in equals() local 67 return Objects.equals(id, that.id) in equals() 68 && Objects.equals(packageName, that.packageName); in equals() 96 Program that = (Program) obj; in equals() local 97 return Objects.equals(id, that.id) in equals() 98 && Objects.equals(packageName, that.packageName); in equals() 116 PreviewProgram that = (PreviewProgram) obj; in equals() local 117 return Objects.equals(id, that.id) in equals() 118 && Objects.equals(packageName, that.packageName); in equals() 138 RecordedProgram that = (RecordedProgram) obj; in equals() local [all …]
|
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/ |
D | CarDevicePolicyManagerTest.java | 72 .that(result.isSuccess()).isTrue(); in testRemoveUser() 98 .that(result.getStatus()) in testRemoveUser_currentUserSetEphemeral() 101 assertWithMessage("User %s still exist", user).that(hasUser(user.id)).isTrue(); in testRemoveUser_currentUserSetEphemeral() 103 .that(getUser(user.id).isEphemeral()) in testRemoveUser_currentUserSetEphemeral() 115 .that(hasUser(user.id)) in testRemoveUser_currentUserSetEphemeral() 132 result).that(result.isSuccess()).isTrue(); in testCreateUser() 151 .that(result.isSuccess()).isTrue(); in testStartUserInBackground() 170 .that(result.isSuccess()).isTrue(); in testStopUser() 237 assertWithMessage("device is locked").that(mKeyguardManager.isDeviceLocked()).isFalse(); in assertUnlocked() 238 assertWithMessage("keyguard is locked").that(mKeyguardManager.isKeyguardLocked()).isFalse(); in assertUnlocked() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | EventDataItem.java | 48 final EventDataItem that = (EventDataItem) t; in shouldCollapseWith() local 50 if (!TextUtils.equals(getStartDate(), that.getStartDate())) { in shouldCollapseWith() 52 } else if (!hasKindTypeColumn(mKind) || !that.hasKindTypeColumn(that.getDataKind())) { in shouldCollapseWith() 53 return hasKindTypeColumn(mKind) == that.hasKindTypeColumn(that.getDataKind()); in shouldCollapseWith() 54 } else if (getKindTypeColumn(mKind) != that.getKindTypeColumn(that.getDataKind())) { in shouldCollapseWith() 57 !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
|
D | RelationDataItem.java | 48 final RelationDataItem that = (RelationDataItem) t; in shouldCollapseWith() local 50 if (!TextUtils.equals(getName(), that.getName())) { in shouldCollapseWith() 52 } else if (!hasKindTypeColumn(mKind) || !that.hasKindTypeColumn(that.getDataKind())) { in shouldCollapseWith() 53 return hasKindTypeColumn(mKind) == that.hasKindTypeColumn(that.getDataKind()); in shouldCollapseWith() 54 } else if (getKindTypeColumn(mKind) != that.getKindTypeColumn(that.getDataKind())) { in shouldCollapseWith() 57 !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
|
/packages/apps/Dialer/java/com/android/dialer/about/res/raw/ |
D | third_party_licenses | 30 the copyright owner that is granting the License. 33 other entities that control, are controlled by, or are under common 34 control with that entity. For the purposes of this definition, 54 copyright notice that is included in or attached to the work 58 form, that is based on (or derived from) the Work and for which the 61 of this License, Derivative Works shall not include works that remain 67 to that Work or Derivative Works thereof, that is intentionally 74 and issue tracking systems that are managed by, or on behalf of, the 76 excluding communication that is conspicuously marked or otherwise 96 by such Contributor that are necessarily infringed by their [all …]
|
/packages/modules/StatsD/statsd/src/external/ |
D | StatsPullerManager.h | 47 bool operator<(const PullerKey& that) const { 48 if (uid < that.uid) { 51 if (uid > that.uid) { 54 return atomTag < that.atomTag; 57 bool operator==(const PullerKey& that) const { 58 return uid == that.uid && atomTag == that.atomTag; 137 inline bool operator<(const ReceiverKey& that) const { 138 return atomTag == that.atomTag ? configKey < that.configKey : atomTag < that.atomTag;
|
/packages/modules/GeoTZ/s2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/ |
D | TzS2RangeFileFormat.java | 393 TzS2RangeFileFormat that = (TzS2RangeFileFormat) o; in equals() local 394 return mDataS2Level == that.mDataS2Level in equals() 395 && mPrefixBitCount == that.mPrefixBitCount in equals() 396 && mMaxPrefixValue == that.mMaxPrefixValue in equals() 397 && mSuffixBitCount == that.mSuffixBitCount in equals() 398 && mMaxSuffixValue == that.mMaxSuffixValue in equals() 399 && mTableEntryBitCount == that.mTableEntryBitCount in equals() 400 && mTableEntryRangeLengthBitCount == that.mTableEntryRangeLengthBitCount in equals() 401 && mTableEntryMaxRangeLengthValue == that.mTableEntryMaxRangeLengthValue in equals() 402 && mTableEntryTzIdSetIdBitCount == that.mTableEntryTzIdSetIdBitCount in equals() [all …]
|
/packages/apps/TV/res/raw/ |
D | third_party_licenses | 43 the copyright owner that is granting the License. 46 other entities that control, are controlled by, or are under common 47 control with that entity. For the purposes of this definition, 67 copyright notice that is included in or attached to the work 71 form, that is based on (or derived from) the Work and for which the 74 of this License, Derivative Works shall not include works that remain 80 to that Work or Derivative Works thereof, that is intentionally 87 and issue tracking systems that are managed by, or on behalf of, the 89 excluding communication that is conspicuously marked or otherwise 109 by such Contributor that are necessarily infringed by their [all …]
|