Home
last modified time | relevance | path

Searched refs:that (Results 1 – 25 of 803) sorted by relevance

12345678910>>...33

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationConstantsTest.java60 .that(constants.isLocalTextClassifierEnabled()).isTrue(); in testLoadFromString()
62 .that(constants.isSystemTextClassifierEnabled()).isTrue(); in testLoadFromString()
64 .that(constants.isModelDarkLaunchEnabled()).isTrue(); in testLoadFromString()
66 .that(constants.isSmartSelectionEnabled()).isTrue(); in testLoadFromString()
68 .that(constants.isSmartTextShareEnabled()).isTrue(); in testLoadFromString()
70 .that(constants.isSmartLinkifyEnabled()).isTrue(); in testLoadFromString()
72 .that(constants.isSmartSelectionAnimationEnabled()).isTrue(); in testLoadFromString()
74 .that(constants.getSuggestSelectionMaxRangeLength()).isEqualTo(10); in testLoadFromString()
76 .that(constants.getClassifyTextMaxRangeLength()).isEqualTo(11); in testLoadFromString()
78 .that(constants.getGenerateLinksMaxTextLength()).isEqualTo(12); in testLoadFromString()
[all …]
/frameworks/base/cmds/statsd/src/
DFieldValue.cpp216 bool Value::operator==(const Value& that) const { in operator ==()
217 if (type != that.getType()) return false; in operator ==()
221 return int_value == that.int_value; in operator ==()
223 return long_value == that.long_value; in operator ==()
225 return float_value == that.float_value; in operator ==()
227 return double_value == that.double_value; in operator ==()
229 return str_value == that.str_value; in operator ==()
231 return storage_value == that.storage_value; in operator ==()
237 bool Value::operator!=(const Value& that) const { in operator !=()
238 if (type != that.getType()) return true; in operator !=()
[all …]
DFieldValue.h164 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();
183 bool matches(const Matcher& that) const;
[all …]
DHashableDimensionKey.cpp123 bool HashableDimensionKey::operator==(const HashableDimensionKey& that) const { in operator ==()
124 if (mValues.size() != that.getValues().size()) { in operator ==()
129 if (mValues[i] != (that.getValues())[i]) { in operator ==()
136 bool HashableDimensionKey::operator<(const HashableDimensionKey& that) const { in operator <()
137 return LessThan(getValues(), that.getValues()); in operator <()
140 bool HashableDimensionKey::contains(const HashableDimensionKey& that) const { in contains()
141 if (mValues.size() < that.getValues().size()) { in contains()
145 if (mValues.size() == that.getValues().size()) { in contains()
146 return (*this) == that; in contains()
149 for (const auto& value : that.getValues()) { in contains()
[all …]
DHashableDimensionKey.h45 HashableDimensionKey(const HashableDimensionKey& that) : mValues(that.getValues()){}; in HashableDimensionKey() argument
68 bool operator==(const HashableDimensionKey& that) const;
70 bool operator<(const HashableDimensionKey& that) const;
72 bool contains(const HashableDimensionKey& that) const;
87 MetricDimensionKey(const MetricDimensionKey& that) in MetricDimensionKey() argument
88 : mDimensionKeyInWhat(that.getDimensionKeyInWhat()), in MetricDimensionKey()
89 mDimensionKeyInCondition(that.getDimensionKeyInCondition()) {}; in MetricDimensionKey()
111 bool operator==(const MetricDimensionKey& that) const;
113 bool operator<(const MetricDimensionKey& that) const;
/frameworks/base/core/tests/coretests/src/android/util/
DStatsEventTest.java57 .that(buffer.get()).isEqualTo(StatsEvent.TYPE_OBJECT); in testNoFields()
60 .that(buffer.get()).isEqualTo(3); in testNoFields()
63 .that(buffer.get()).isEqualTo(StatsEvent.TYPE_LONG); in testNoFields()
66 .that(buffer.getLong()).isIn(Range.closed(minTimestamp, maxTimestamp)); in testNoFields()
69 .that(buffer.get()).isEqualTo(StatsEvent.TYPE_INT); in testNoFields()
72 .that(buffer.getInt()).isEqualTo(expectedAtomId); in testNoFields()
75 .that(buffer.get()).isEqualTo(StatsEvent.TYPE_ERRORS); in testNoFields()
80 .that(errorMask).isEqualTo(StatsEvent.ERROR_NO_ATOM_ID); in testNoFields()
112 .that(buffer.get()).isEqualTo(StatsEvent.TYPE_OBJECT); in testIntBooleanIntInt()
115 .that(buffer.get()).isEqualTo(6); in testIntBooleanIntInt()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DMatrix.java60 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/
Dsystem_messages.proto34 // 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/core/java/android/appwidget/
DAppWidgetProviderInfo.java393 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/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DWizardManagerHelperTest.java60 .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/core/java/com/android/server/location/
DGnssPositionMode.java29 GnssPositionMode that = (GnssPositionMode) other; in equals() local
30 return mode == that.mode && recurrence == that.recurrence in equals()
31 && minInterval == that.minInterval in equals()
32 && preferredAccuracy == that.preferredAccuracy in equals()
33 && preferredTime == that.preferredTime && lowPowerMode == that.lowPowerMode in equals()
34 && this.getClass() == that.getClass(); in equals()
/frameworks/base/cmds/statsd/src/config/
DConfigKey.h36 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/services/tests/servicestests/src/com/android/server/
DCountryDetectorServiceTest.java132 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/base/tools/stats_log_api_gen/
DCollation.h70 inline AtomField(const AtomField& that) :name(that.name), in AtomField()
71 javaType(that.javaType), in AtomField()
72 enumValues(that.enumValues) {} in AtomField()
100 AtomDecl(const AtomDecl& that);
104 inline bool operator<(const AtomDecl& that) const {
105 return (code == that.code) ? (name < that.name) : (code < that.code);
/frameworks/base/libs/incident/src/
DIncidentReportArgs.cpp33 IncidentReportArgs::IncidentReportArgs(const IncidentReportArgs& that) in IncidentReportArgs() argument
34 :mSections(that.mSections), in IncidentReportArgs()
35 mHeaders(that.mHeaders), in IncidentReportArgs()
36 mAll(that.mAll), in IncidentReportArgs()
37 mPrivacyPolicy(that.mPrivacyPolicy), in IncidentReportArgs()
38 mReceiverPkg(that.mReceiverPkg), in IncidentReportArgs()
39 mReceiverCls(that.mReceiverCls) in IncidentReportArgs()
207 IncidentReportArgs::merge(const IncidentReportArgs& that) in merge() argument
209 for (const vector<uint8_t>& header: that.mHeaders) { in merge()
213 if (that.mAll) { in merge()
[all …]
/frameworks/base/core/proto/android/net/
Dnetworkcapabilities.proto50 // 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/tools/bit/
Dutil.cpp31 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/libs/services/src/content/
DComponentName.cpp27 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/services/core/java/com/android/server/pm/
DIntentFilterVerificationKey.java45 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/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java396 private static void assertApplicationInfoEqual(ApplicationInfo a, ApplicationInfo that) { in assertApplicationInfoEqual() argument
397 assertEquals(a.descriptionRes, that.descriptionRes); in assertApplicationInfoEqual()
398 assertEquals(a.theme, that.theme); in assertApplicationInfoEqual()
399 assertEquals(a.fullBackupContent, that.fullBackupContent); in assertApplicationInfoEqual()
400 assertEquals(a.uiOptions, that.uiOptions); in assertApplicationInfoEqual()
401 assertEquals(a.flags, that.flags); in assertApplicationInfoEqual()
402 assertEquals(a.privateFlags, that.privateFlags); in assertApplicationInfoEqual()
403 assertEquals(a.requiresSmallestWidthDp, that.requiresSmallestWidthDp); in assertApplicationInfoEqual()
404 assertEquals(a.compatibleWidthLimitDp, that.compatibleWidthLimitDp); in assertApplicationInfoEqual()
405 assertEquals(a.largestWidthLimitDp, that.largestWidthLimitDp); in assertApplicationInfoEqual()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DHSWanMetricsElement.java150 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/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DLegacyPasspointConfig.java49 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/base/telephony/java/android/telephony/data/
DDataProfile.java327 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 …]
/frameworks/av/media/extractors/fuzzers/
DREADME.md32 Dict file (dictionary file) is created for MP4 to ensure that the required MP4
33 atoms are present in every input file that goes to the fuzzer.
34 This ensures that larger code gets covered as a range of MP4 atoms will be
51 Create a directory CORPUS_DIR and copy some MP4 files to that folder
80 Create a directory CORPUS_DIR and copy some wav files to that folder
96 Dict file (dictionary file) is created for AMR to ensure that the required start
97 bytes are present in every input file that goes to the fuzzer.
98 This ensures that larger code gets covered.
114 Create a directory CORPUS_DIR and copy some AMR files to that folder
130 Dict file (dictionary file) is created for MKV to ensure that the required element
[all …]
/frameworks/base/wifi/java/android/net/wifi/hotspot2/
DOsuProvider.java230 OsuProvider that = (OsuProvider) thatObject; in equals() local
231 return (mOsuSsid == null ? that.mOsuSsid == null : mOsuSsid.equals(that.mOsuSsid)) in equals()
232 && (mFriendlyNames == null) ? that.mFriendlyNames == null in equals()
233 : mFriendlyNames.equals(that.mFriendlyNames) in equals()
234 && TextUtils.equals(mServiceDescription, that.mServiceDescription) in equals()
235 && (mServerUri == null ? that.mServerUri == null in equals()
236 : mServerUri.equals(that.mServerUri)) in equals()
237 && TextUtils.equals(mNetworkAccessIdentifier, that.mNetworkAccessIdentifier) in equals()
238 && (mMethodList == null ? that.mMethodList == null in equals()
239 : mMethodList.equals(that.mMethodList)) in equals()
[all …]

12345678910>>...33