Home
last modified time | relevance | path

Searched refs:mType (Results 1 – 25 of 205) sorted by relevance

123456789

/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DPhoneAccountHandleMigrationUtils.java73 private int mType; field in PhoneAccountHandleMigrationUtils
81 mType = type; in PhoneAccountHandleMigrationUtils()
91 valuesForTelephonyPending.put(PENDING_STATUS_FIELDS[mType], 1); in markAllTelephonyPhoneAccountsPendingMigration()
92 String selection = COMPONENT_NAME_FIELDS[mType] + " = ?"; in markAllTelephonyPhoneAccountsPendingMigration()
97 TABLES[mType], valuesForTelephonyPending, selection, selectionArgs); in markAllTelephonyPhoneAccountsPendingMigration()
98 Log.i(TAGS[mType], "markAllTelephonyPhoneAccountsPendingMigration count: " + count); in markAllTelephonyPhoneAccountsPendingMigration()
111 mSharedPreferences.edit().putBoolean(PENDING_STATUS_FIELDS[mType], status).apply(); in setPhoneAccountMigrationStatusPending()
120 return mSharedPreferences.getBoolean(PENDING_STATUS_FIELDS[mType], false); in isPhoneAccountMigrationPending()
130 + IDS[mType] + ") FROM " + TABLES[mType] + " WHERE " in updatePhoneAccountHandleMigrationPendingStatus()
131 + PENDING_STATUS_FIELDS[mType] + " == 1", null); in updatePhoneAccountHandleMigrationPendingStatus()
[all …]
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DColumnSchema.java43 private final int mType; field in ColumnSchema
48 switch (mType) { in toString()
113 this.mType = type; in ColumnSchema()
115 if (!(mType == SQL_DATA_TYPE_INTEGER) in ColumnSchema()
116 && !(mType == SQL_DATA_TYPE_REAL) in ColumnSchema()
117 && !(mType == SQL_DATA_TYPE_TEXT) in ColumnSchema()
118 && !(mType == SQL_DATA_TYPE_BLOB)) { in ColumnSchema()
120 "type was " + mType + " but must be one of: " in ColumnSchema()
144 return mType; in getType()
161 && mType == that.mType; in equals()
[all …]
/packages/modules/Telephony/libs/TelephonyStatsLib/tests/com/android/telephony/statslib/
DAtomsPulledTestInfo.java27 private int mType; field in AtomsPulledTestInfo
37 mType = type; in AtomsPulledTestInfo()
47 mType = info.mType; in AtomsPulledTestInfo()
58 builder.writeInt(mType); // atom #1 in build()
76 return Integer.toString(mType); in getDimension()
88 return mType; in getType()
92 mType = type; in setType()
105 return "AtomsPulledTestInfo{" + "mType=" + mType + ", mCount=" + mCount + '}'; in toString()
113 return mType == that.mType && mCount == that.mCount; in equals()
118 return Objects.hash(mType, mCount); in hashCode()
DAtomsSerializablePulledTestInfo.java30 private int mType; field in AtomsSerializablePulledTestInfo
43 mType = type; in AtomsSerializablePulledTestInfo()
53 mType = info.mType; in AtomsSerializablePulledTestInfo()
64 builder.writeInt(mType); // atom #1 in build()
82 return Integer.toString(mType); in getDimension()
96 return mType; in getType()
100 mType = type; in setType()
123 + mType in toString()
136 return mType == that.mType && mCount == that.mCount && mTransient == that.mTransient; in equals()
141 return Objects.hash(mType, mCount, mTransient); in hashCode()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DBipEncoding.java72 private final int mType; field in BipEncoding
87 mType = determineEncoding(encoding.toUpperCase()); in BipEncoding()
90 if (mType == USR_XXX) { in BipEncoding()
96 if (mType == UNKNOWN) { in BipEncoding()
112 mType = encoding; in BipEncoding()
115 if (mType == USR_XXX) { in BipEncoding()
135 return mType; in getType()
155 return mType == BipEncoding.JPEG in isAndroidSupported()
156 || mType == BipEncoding.PNG in isAndroidSupported()
157 || mType == BipEncoding.BMP in isAndroidSupported()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/
DAsyncRegistration.java50 private final RegistrationType mType; field in AsyncRegistration
74 mType = builder.mType; in AsyncRegistration()
100 && mType == that.mType in equals()
120 mType, in hashCode()
187 return mType; in getType()
232 return mType == RegistrationType.APP_SOURCE || mType == RegistrationType.APP_TRIGGER; in shouldProcessRedirects()
236 return mType == RegistrationType.WEB_SOURCE || mType == RegistrationType.WEB_TRIGGER; in isWebRequest()
240 return mType == RegistrationType.APP_SOURCE in isAppRequest()
241 || mType == RegistrationType.APP_TRIGGER in isAppRequest()
242 || mType == RegistrationType.APP_SOURCES; in isAppRequest()
[all …]
/packages/modules/Permission/framework-s/java/android/safetycenter/
DSafetyEvent.java115 @Type private final int mType; field in SafetyEvent
125 mType = type; in SafetyEvent()
134 return mType; in getType()
189 dest.writeInt(mType); in writeToParcel()
200 return mType == that.mType in equals()
209 mType, mRefreshBroadcastId, mSafetySourceIssueId, mSafetySourceIssueActionId); in hashCode()
216 + mType in toString()
229 @Type private final int mType; field in SafetyEvent.Builder
236 mType = validateType(type); in Builder()
247 mType = safetyEvent.mType; in Builder()
[all …]
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/models/
DFormEditRecord.java71 private final @EditType int mType; field in FormEditRecord
92 this.mType = type; in FormEditRecord()
101 mType = in.readInt(); in FormEditRecord()
130 return mType; in getType()
169 dest.writeInt(mType); in writeToParcel()
187 && mType == formEditRecord.mType in equals()
195 return Objects.hash(mPageNumber, mWidgetIndex, mType, mClickPoint, in hashCode()
215 private final @EditType int mType; field in FormEditRecord.Builder
243 this.mType = type; in Builder()
258 switch (mType) { in build()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothPairingController.java57 private int mType; field in BluetoothPairingController
82 mType = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, BluetoothDevice.ERROR); in BluetoothPairingController()
119 switch (mType) { in getDialogType()
184 boolean requires16Digits = mType == BluetoothDevice.PAIRING_VARIANT_PIN_16_DIGITS; in isPasskeyValid()
195 switch (mType) { in getDeviceVariantMessageId()
215 switch (mType) { in getDeviceVariantMessageHintId()
234 switch (mType) { in getDeviceMaxPasskeyLength()
254 switch (mType) { in pairingCodeIsAlphanumeric()
269 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in notifyDialogDisplayed()
271 } else if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PIN) { in notifyDialogDisplayed()
[all …]
/packages/modules/Connectivity/framework-t/src/android/net/
DNetworkIdentity.java95 final int mType; field in NetworkIdentity
109 mType = type; in NetworkIdentity()
122 return Objects.hash(mType, mRatType, mSubscriberId, mWifiNetworkKey, mRoaming, mMetered, in hashCode()
130 return mType == ident.mType && mRatType == ident.mRatType && mRoaming == ident.mRoaming in equals()
144 builder.append("type=").append(mType); in toString()
199 proto.write(NetworkIdentityProto.TYPE, mType); in dumpDebug()
213 return mType; in getType()
324 int res = Integer.compare(left.mType, right.mType); in compare()
356 private int mType; field in NetworkIdentity.Builder
371 mType = ConnectivityManager.TYPE_NONE; in Builder()
[all …]
/packages/modules/OnDevicePersonalization/framework/java/android/adservices/ondevicepersonalization/
DJoinedLogRecord.java45 private final int mType; field in JoinedLogRecord
77 this.mType = type; in JoinedLogRecord()
79 IntRange.class, null, mType, in JoinedLogRecord()
110 return mType; in getType()
144 && mType == that.mType in equals()
158 _hash = 31 * _hash + mType; in hashCode()
176 dest.writeInt(mType); in writeToParcel()
201 this.mType = type; in JoinedLogRecord()
203 IntRange.class, null, mType, in JoinedLogRecord()
236 private @IntRange(from = 0, to = 127) int mType; field in JoinedLogRecord.Builder
[all …]
DEventLogRecord.java61 private @IntRange(from = 1, to = 127) int mType = 1; field in EventLogRecord
129 this.mType = type; in EventLogRecord()
131 IntRange.class, null, mType, in EventLogRecord()
159 return mType; in getType()
209 && mType == that.mType in equals()
223 _hash = 31 * _hash + mType; in hashCode()
241 dest.writeInt(mType); in writeToParcel()
269 this.mType = type; in EventLogRecord()
271 IntRange.class, null, mType, in EventLogRecord()
303 private @IntRange(from = 1, to = 127) int mType; field in EventLogRecord.Builder
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/
DStateView.java47 private int mType = DEFAULT; field in StateView
77 mType = type; in StateView()
98 mType = type; in setType()
121 if (mType == BEGIN) { in drawText()
153 if (mType == DEFAULT || mType == END) { in onDraw()
171 if (mType == END) { in drawHorizontalPath()
182 if (mType != BEGIN) { in drawHorizontalPath()
189 if (mType == END) { in drawHorizontalPath()
200 if (mType != BEGIN) { in drawHorizontalPath()
210 if (mType == BEGIN) { in drawVerticalPath()
[all …]
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/reporting/
DDebugReport.java30 private final String mType; field in DebugReport
49 mType = type; in DebugReport()
64 return Objects.equals(mType, key.mType) in equals()
76 mType, in hashCode()
92 return mType; in getType()
124 jsonObject.put("type", mType); in toPayloadJson()
132 private String mType; field in DebugReport.Builder
151 mType = type; in setType()
211 if (mType == null || mBody == null) { in build()
216 mType, in build()
/packages/modules/Permission/framework-s/java/android/safetycenter/config/
DSafetySource.java200 @SafetySourceType private final int mType; field in SafetySource
236 mType = type; in SafetySource()
258 return mType; in getType()
285 if (mType == SAFETY_SOURCE_TYPE_STATIC) { in getPackageName()
327 if (mType == SAFETY_SOURCE_TYPE_ISSUE_ONLY) { in getTitleResId()
347 if (mType == SAFETY_SOURCE_TYPE_ISSUE_ONLY) { in getTitleForWorkResId()
378 if (mType == SAFETY_SOURCE_TYPE_ISSUE_ONLY) { in getTitleForPrivateProfileResId()
401 if (mType == SAFETY_SOURCE_TYPE_ISSUE_ONLY) { in getSummaryResId()
420 if (mType == SAFETY_SOURCE_TYPE_ISSUE_ONLY) { in getIntentAction()
442 if (mType == SAFETY_SOURCE_TYPE_STATIC) { in getInitialDisplayState()
[all …]
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/
DTetheringInterface.java34 private final int mType; field in TetheringInterface
39 mType = type; in TetheringInterface()
49 return mType; in getType()
60 dest.writeInt(mType); in writeToParcel()
66 return Objects.hash(mType, mInterface); in hashCode()
73 return mType == other.mType && mInterface.equals(other.mInterface); in equals()
99 return "TetheringInterface {mType=" + mType in toString()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingController.java64 int mType; field in BluetoothPairingController
95 mType = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, BluetoothDevice.ERROR); in BluetoothPairingController()
164 switch (mType) { in getDialogType()
288 boolean requires16Digits = mType == BluetoothDevice.PAIRING_VARIANT_PIN_16_DIGITS; in isPasskeyValid()
299 switch (mType) { in getDeviceVariantMessageId()
319 switch (mType) { in getDeviceVariantMessageHintId()
338 switch (mType) { in getDeviceMaxPasskeyLength()
358 switch (mType) { in pairingCodeIsAlphanumeric()
373 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in notifyDialogDisplayed()
375 } else if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PIN) { in notifyDialogDisplayed()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapAccountItem.java34 private final BluetoothMapUtils.TYPE mType; field in BluetoothMapAccountItem
54 this.mType = appType; in BluetoothMapAccountItem()
138 if (!other.mType.equals(this.mType)) { in compareTo()
139 Log.v(TAG, "Wrong appType : " + this.mType + " vs " + other.mType); in compareTo()
197 if (mType == null) { in equals()
198 if (other.mType != null) { in equals()
201 } else if (!mType.equals(other.mType)) { in equals()
233 return mType; in getType()
/packages/modules/Connectivity/framework/src/android/net/
DVpnTransportInfo.java48 private final int mType; field in VpnTransportInfo
74 return new VpnTransportInfo(mType, in makeCopy()
101 this.mType = type; in VpnTransportInfo()
167 return mType; in getType()
175 return (this.mType == that.mType) && TextUtils.equals(this.mSessionId, that.mSessionId) in equals()
183 return Objects.hash(mType, mSessionId, mBypassable, mLongLivedTcpConnectionsExpensive); in hashCode()
190 mType, mSessionId, mBypassable, mLongLivedTcpConnectionsExpensive); in toString()
200 dest.writeInt(mType); in writeToParcel()
/packages/services/Car/car-lib/src/android/car/vms/
DVmsLayer.java51 private int mType; field in VmsLayer
104 this.mType = type; in VmsLayer()
116 return mType; in getType()
142 "type = " + mType + ", " + in toString()
161 && mType == that.mType in equals()
173 _hash = 31 * _hash + mType; in hashCode()
185 dest.writeInt(mType); in writeToParcel()
206 this.mType = type; in VmsLayer()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DImageCacheRequest.java33 private int mType; field in ImageCacheRequest
41 mType = type; in ImageCacheRequest()
48 ((mType == MediaItem.TYPE_THUMBNAIL) ? "THUMB" : in debugTag()
49 (mType == MediaItem.TYPE_MICROTHUMBNAIL) ? "MICROTHUMB" : "?"); in debugTag()
58 boolean found = cacheService.getImageData(mPath, mTimeModified, mType, buffer); in run()
64 if (mType == MediaItem.TYPE_MICROTHUMBNAIL) { in run()
79 Bitmap bitmap = onDecodeOriginal(jc, mType); in run()
87 if (mType == MediaItem.TYPE_MICROTHUMBNAIL) { in run()
97 cacheService.putImageData(mPath, mTimeModified, mType, array); in run()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/eap/
DCredentialType.java49 private final int mType; field in CredentialType
54 mType = credType; in CredentialType()
79 return mType; in getType()
91 return mType == that.mType; in equals()
96 return mType; in hashCode()
101 return "CredentialType{mType=" + mType + "}"; in toString()
/packages/apps/Contacts/src/com/android/contacts/model/
DBuilderWrapper.java30 private int mType; field in BuilderWrapper
34 mType = type; in BuilderWrapper()
38 return mType; in getType()
41 public void setType(int mType) { in setType() argument
42 this.mType = mType; in setType()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DBuilderWrapper.java31 private int mType; field in BuilderWrapper
35 mType = type; in BuilderWrapper()
39 return mType; in getType()
42 public void setType(int mType) { in setType() argument
43 this.mType = mType; in setType()
/packages/apps/Settings/src/com/android/settings/accessibility/
DPreferredShortcut.java60 private int mType; field in PreferredShortcut
64 mType = type; in PreferredShortcut()
72 return mType; in getType()
77 return mComponentName + COMPONENT_NAME_SEPARATOR + mType; in toString()
89 return mType == that.mType && Objects.equal(mComponentName, that.mComponentName); in equals()
94 return Objects.hashCode(mComponentName, mType); in hashCode()

123456789