/frameworks/base/cmds/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.h | 52 HashableDimensionKey(const HashableDimensionKey& that) : mValues(that.getValues()){}; in HashableDimensionKey() argument 77 bool operator!=(const HashableDimensionKey& that) const; 79 bool operator==(const HashableDimensionKey& that) const; 81 bool operator<(const HashableDimensionKey& that) const; 83 bool contains(const HashableDimensionKey& that) const; 97 MetricDimensionKey(const MetricDimensionKey& that) in MetricDimensionKey() argument 98 : mDimensionKeyInWhat(that.getDimensionKeyInWhat()), in MetricDimensionKey() 99 mStateValuesKey(that.getStateValuesKey()){}; in MetricDimensionKey() 125 bool operator==(const MetricDimensionKey& that) const; 127 bool operator<(const MetricDimensionKey& that) const;
|
D | HashableDimensionKey.cpp | 305 bool HashableDimensionKey::operator!=(const HashableDimensionKey& that) const { in operator !=() 306 return !((*this) == that); in operator !=() 309 bool HashableDimensionKey::operator==(const HashableDimensionKey& that) const { in operator ==() 310 if (mValues.size() != that.getValues().size()) { in operator ==() 315 if (mValues[i] != (that.getValues())[i]) { in operator ==() 322 bool HashableDimensionKey::operator<(const HashableDimensionKey& that) const { in operator <() 323 return LessThan(getValues(), that.getValues()); in operator <() 326 bool HashableDimensionKey::contains(const HashableDimensionKey& that) const { in contains() 327 if (mValues.size() < that.getValues().size()) { in contains() 331 if (mValues.size() == that.getValues().size()) { in contains() [all …]
|
/frameworks/base/apex/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 …]
|
/frameworks/opt/net/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 …]
|
/frameworks/base/proto/src/ |
D | system_messages.proto | 34 // Notify the user that a screenshot was captured. 46 // Warn the user that the device has gotten warm. 50 // Warn the user that some notifications are hidden. 58 // Notify the user that instant app is running. 62 // Notify the user that they should select an input method 74 // Notification to tell the user that a heavy-weight application is running. 78 // Notification to tell the user that a process has exceeded its memory limit. 82 // Notification that is shown when finishing a system upgrade 86 // Notify the user that tethering is active. 92 // Notify the user that always-on VPN has disconnected. [all …]
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssPositionMode.java | 45 GnssPositionMode that = (GnssPositionMode) other; in equals() local 46 return mode == that.mode && recurrence == that.recurrence in equals() 47 && minInterval == that.minInterval in equals() 48 && preferredAccuracy == that.preferredAccuracy in equals() 49 && preferredTime == that.preferredTime && lowPowerMode == that.lowPowerMode in equals() 50 && this.getClass() == that.getClass(); in equals()
|
/frameworks/base/cmds/statsd/src/config/ |
D | ConfigKey.h | 36 ConfigKey(const ConfigKey& that); 47 inline bool operator<(const ConfigKey& that) const { 48 if (mUid < that.mUid) { 51 if (mUid > that.mUid) { 54 return mId < that.mId; 57 inline bool operator==(const ConfigKey& that) const { 58 return mUid == that.mUid && mId == that.mId;
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProviderInfo.java | 393 AppWidgetProviderInfo that = new AppWidgetProviderInfo(); in clone() local 394 that.provider = this.provider == null ? null : this.provider.clone(); in clone() 395 that.minWidth = this.minWidth; in clone() 396 that.minHeight = this.minHeight; in clone() 397 that.minResizeWidth = this.minResizeHeight; in clone() 398 that.minResizeHeight = this.minResizeHeight; in clone() 399 that.updatePeriodMillis = this.updatePeriodMillis; in clone() 400 that.initialLayout = this.initialLayout; in clone() 401 that.initialKeyguardLayout = this.initialKeyguardLayout; in clone() 402 that.configure = this.configure == null ? null : this.configure.clone(); in clone() [all …]
|
/frameworks/base/tools/stats_log_api_gen/ |
D | Collation.h | 108 inline bool operator<(const Annotation& that) const { 109 return atomId == that.atomId ? annotationId < that.annotationId : atomId < that.atomId; 137 inline AtomField(const AtomField& that) in AtomField() 138 : name(that.name), javaType(that.javaType), enumValues(that.enumValues) { in AtomField() 168 AtomDecl(const AtomDecl& that); 172 inline bool operator<(const AtomDecl& that) const { 173 return (code == that.code) ? (name < that.name) : (code < that.code);
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | WizardManagerHelperTest.java | 60 .that(nextIntent.getAction()) in testGetNextIntent() 63 .that(nextIntent.getStringExtra("scriptUri")) in testGetNextIntent() 66 .that(nextIntent.getStringExtra("actionId")) in testGetNextIntent() 69 .that(nextIntent.getStringExtra("theme")) in testGetNextIntent() 72 .that(nextIntent.hasExtra("ignoreExtra")) in testGetNextIntent() 75 .that(nextIntent.getIntExtra("com.android.setupwizard.ResultCode", 0)) in testGetNextIntent() 78 .that(nextIntent.getStringExtra("extraData")) in testGetNextIntent() 87 .that(WizardManagerHelper.isSetupWizardIntent(intent)) in testIsSetupWizardTrue() 96 .that(WizardManagerHelper.isDeferredSetupWizard(intent)) in testIsDeferredSetupTrue() 105 .that(WizardManagerHelper.isPreDeferredSetupWizard(intent)) in testIsPreDeferredSetupTrue() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CountryDetectorServiceTest.java | 132 expect.that(mCountryDetectorService.isListenerSet()).isFalse(); in addCountryListener_validListener_listenerAdded() 135 expect.that(mCountryDetectorService.isListenerSet()).isTrue(); in addCountryListener_validListener_listenerAdded() 144 expect.that(mCountryDetectorService.isListenerSet()).isTrue(); in removeCountryListener_validListener_listenerRemoved() 147 expect.that(mCountryDetectorService.isListenerSet()).isFalse(); in removeCountryListener_validListener_listenerRemoved() 154 expect.that(mCountryDetectorService.isSystemReady()).isFalse(); in addCountryListener_serviceNotReady_throwsException() 162 expect.that(mCountryDetectorService.isSystemReady()).isFalse(); in removeCountryListener_serviceNotReady_throwsException() 168 expect.that(mCountryDetectorService.isSystemReady()).isFalse(); in detectCountry_serviceNotReady_returnNull() 170 expect.that(mCountryDetectorService.detectCountry()).isNull(); in detectCountry_serviceNotReady_returnNull() 182 expect.that(countryListenerA.isNotified()).isFalse(); in notifyReceivers_twoListenersRegistered_bothNotified() 183 expect.that(countryListenerB.isNotified()).isFalse(); in notifyReceivers_twoListenersRegistered_bothNotified() [all …]
|
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/display/ |
D | DeviceProductInfo.java | 117 DeviceProductInfo that = (DeviceProductInfo) o; in equals() 118 return Objects.equals(mName, that.mName) in equals() 119 && Objects.equals(mManufacturerPnpId, that.mManufacturerPnpId) in equals() 120 && Objects.equals(mProductId, that.mProductId) in equals() 121 && Objects.equals(mModelYear, that.mModelYear) in equals() 122 && Objects.equals(mManufactureDate, that.mManufactureDate) in equals() 123 && Arrays.equals(mRelativeAddress, that.mRelativeAddress); in equals() 161 ManufactureDate that = (ManufactureDate) o; in equals() 162 return Objects.equals(mWeek, that.mWeek) && Objects.equals(mYear, that.mYear); in equals()
|
/frameworks/base/libs/services/src/content/ |
D | ComponentName.cpp | 27 ComponentName::ComponentName(const ComponentName& that) in ComponentName() argument 28 :mPackage(that.mPackage), in ComponentName() 29 mClass(that.mClass) { in ComponentName() 40 bool ComponentName::operator<(const ComponentName& that) const { in operator <() 41 if (mPackage < that.mPackage) { in operator <() 43 } else if (mPackage > that.mPackage) { in operator <() 46 return mClass < that.mClass; in operator <()
|
/frameworks/base/libs/incident/src/ |
D | IncidentReportArgs.cpp | 34 IncidentReportArgs::IncidentReportArgs(const IncidentReportArgs& that) in IncidentReportArgs() argument 35 :mSections(that.mSections), in IncidentReportArgs() 36 mHeaders(that.mHeaders), in IncidentReportArgs() 37 mAll(that.mAll), in IncidentReportArgs() 38 mPrivacyPolicy(that.mPrivacyPolicy), in IncidentReportArgs() 39 mReceiverPkg(that.mReceiverPkg), in IncidentReportArgs() 40 mReceiverCls(that.mReceiverCls), in IncidentReportArgs() 41 mGzip(that.mGzip) in IncidentReportArgs() 229 IncidentReportArgs::merge(const IncidentReportArgs& that) in merge() argument 231 for (const vector<uint8_t>& header: that.mHeaders) { in merge() [all …]
|
/frameworks/base/tools/bit/ |
D | util.cpp | 31 FileInfo::FileInfo(const FileInfo& that) in FileInfo() argument 33 memcpy(this, &that, sizeof(FileInfo)); in FileInfo() 51 FileInfo::operator==(const FileInfo& that) const in operator ==() 53 return exists == that.exists in operator ==() 54 && mtime == that.mtime in operator ==() 55 && ctime == that.ctime in operator ==() 56 && size == that.size; in operator ==() 60 FileInfo::operator!=(const FileInfo& that) const in operator !=() 62 return exists != that.exists in operator !=() 63 || mtime != that.mtime in operator !=() [all …]
|
/frameworks/base/core/proto/android/net/ |
D | networkcapabilities.proto | 50 // Indicates this is a network that has the ability to reach the 53 // Indicates this is a network that has the ability to reach the 56 // Indicates this is a network that has the ability to reach the 59 // Indicates this is a network that has the ability to reach the 62 // Indicates this is a network that has the ability to reach the 65 // Indicates this is a network that has the ability to reach the 68 // Indicates this is a network that has the ability to reach a Wi-Fi 71 // Indicates this is a network that has the ability to reach a carrier's 74 // Indicates this is a network that has the ability to reach a carrier's 77 // Indicates this is a network that has the ability to reach a carrier's [all …]
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | IntentFilterVerificationKey.java | 45 IntentFilterVerificationKey that = (IntentFilterVerificationKey) o; in equals() 47 if (domains != null ? !domains.equals(that.domains) : that.domains != null) return false; in equals() 48 if (className != null ? !className.equals(that.className) : that.className != null) in equals() 50 if (packageName != null ? !packageName.equals(that.packageName) : that.packageName != null) in equals()
|
/frameworks/base/apex/permission/service/java/com/android/permission/persistence/ |
D | RuntimePermissionsState.java | 129 RuntimePermissionsState that = (RuntimePermissionsState) object; in equals() local 130 return mVersion == that.mVersion in equals() 131 && Objects.equals(mFingerprint, that.mFingerprint) in equals() 132 && Objects.equals(mPackagePermissions, that.mPackagePermissions) in equals() 133 && Objects.equals(mSharedUserPermissions, that.mSharedUserPermissions); in equals() 211 PermissionState that = (PermissionState) object; in equals() local 212 return mGranted == that.mGranted in equals() 213 && mFlags == that.mFlags in equals() 214 && Objects.equals(mName, that.mName); in equals()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | LegacyPasspointConfig.java | 49 LegacyPasspointConfig that = (LegacyPasspointConfig) thatObject; in equals() local 50 return TextUtils.equals(mFqdn, that.mFqdn) in equals() 51 && TextUtils.equals(mFriendlyName, that.mFriendlyName) in equals() 52 && Arrays.equals(mRoamingConsortiumOis, that.mRoamingConsortiumOis) in equals() 53 && TextUtils.equals(mRealm, that.mRealm) in equals() 54 && TextUtils.equals(mImsi, that.mImsi); in equals()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | HSWanMetricsElement.java | 150 HSWanMetricsElement that = (HSWanMetricsElement) thatObject; in equals() local 151 return mStatus == that.mStatus in equals() 152 && mSymmetric == that.mSymmetric in equals() 153 && mCapped == that.mCapped in equals() 154 && mDownlinkSpeed == that.mDownlinkSpeed in equals() 155 && mUplinkSpeed == that.mUplinkSpeed in equals() 156 && mDownlinkLoad == that.mDownlinkLoad in equals() 157 && mUplinkLoad == that.mUplinkLoad in equals() 158 && mLMD == that.mLMD; in equals()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageParserTest.java | 531 private static void assertApplicationInfoEqual(ApplicationInfo a, ApplicationInfo that) { in assertApplicationInfoEqual() argument 532 assertEquals(a.descriptionRes, that.descriptionRes); in assertApplicationInfoEqual() 533 assertEquals(a.theme, that.theme); in assertApplicationInfoEqual() 534 assertEquals(a.fullBackupContent, that.fullBackupContent); in assertApplicationInfoEqual() 535 assertEquals(a.uiOptions, that.uiOptions); in assertApplicationInfoEqual() 536 assertEquals(a.flags, that.flags); in assertApplicationInfoEqual() 537 assertEquals(a.privateFlags, that.privateFlags); in assertApplicationInfoEqual() 538 assertEquals(a.requiresSmallestWidthDp, that.requiresSmallestWidthDp); in assertApplicationInfoEqual() 539 assertEquals(a.compatibleWidthLimitDp, that.compatibleWidthLimitDp); in assertApplicationInfoEqual() 540 assertEquals(a.largestWidthLimitDp, that.largestWidthLimitDp); in assertApplicationInfoEqual() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccSlotStatus.java | 100 IccSlotStatus that = (IccSlotStatus) obj; in equals() local 101 return (cardState == that.cardState) in equals() 102 && (slotState == that.slotState) in equals() 103 && (logicalSlotIndex == that.logicalSlotIndex) in equals() 104 && (TextUtils.equals(atr, that.atr)) in equals() 105 && (TextUtils.equals(iccid, that.iccid)) in equals() 106 && (TextUtils.equals(eid, that.eid)); in equals()
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | DataProfile.java | 327 DataProfile that = (DataProfile) o; in equals() 328 return mProfileId == that.mProfileId in equals() 329 && mProtocolType == that.mProtocolType in equals() 330 && mAuthType == that.mAuthType in equals() 331 && mType == that.mType in equals() 332 && mMaxConnectionsTime == that.mMaxConnectionsTime in equals() 333 && mMaxConnections == that.mMaxConnections in equals() 334 && mWaitTime == that.mWaitTime in equals() 335 && mEnabled == that.mEnabled in equals() 336 && mSupportedApnTypesBitmask == that.mSupportedApnTypesBitmask in equals() [all …]
|