/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/ |
D | PhoneAccountHandleMigrationUtils.java | 73 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/ |
D | ColumnSchema.java | 43 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/ |
D | AtomsPulledTestInfo.java | 27 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()
|
D | AtomsSerializablePulledTestInfo.java | 30 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/AdServices/adservices/service-core/java/com/android/adservices/service/measurement/registration/ |
D | AsyncRegistration.java | 50 private final RegistrationType mType; field in AsyncRegistration 74 mType = builder.mType; in AsyncRegistration() 99 && mType == that.mType in equals() 119 mType, in hashCode() 186 return mType; in getType() 231 return mType == RegistrationType.APP_SOURCE || mType == RegistrationType.APP_TRIGGER; in shouldProcessRedirects() 235 return mType == RegistrationType.WEB_SOURCE || mType == RegistrationType.WEB_TRIGGER; in isWebRequest() 239 return mType == RegistrationType.APP_SOURCE in isAppRequest() 240 || mType == RegistrationType.APP_TRIGGER in isAppRequest() 241 || mType == RegistrationType.APP_SOURCES; in isAppRequest() [all …]
|
/packages/modules/Permission/framework-s/java/android/safetycenter/ |
D | SafetyEvent.java | 115 @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/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/ |
D | BipEncoding.java | 74 private final int mType; field in BipEncoding 89 mType = determineEncoding(encoding); in BipEncoding() 92 if (mType == USR_XXX) { in BipEncoding() 98 if (mType == UNKNOWN) { in BipEncoding() 114 mType = encoding; in BipEncoding() 117 if (mType == USR_XXX) { in BipEncoding() 137 return mType; in getType() 157 return mType == BipEncoding.JPEG in isAndroidSupported() 158 || mType == BipEncoding.PNG in isAndroidSupported() 159 || mType == BipEncoding.BMP in isAndroidSupported() [all …]
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/compat/ |
D | SliceSpec.java | 39 String mType; field in SliceSpec 44 mType = type; in SliceSpec() 51 return mType; in getType() 70 if (!mType.equals(candidate.mType)) { in canRender() 82 return mType.equals(other.mType) && mRevision == other.mRevision; in equals() 87 return mType.hashCode() + mRevision; in hashCode() 92 return String.format("SliceSpec{%s,%d}", mType, mRevision); in toString()
|
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/models/ |
D | FormEditRecord.java | 71 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/ |
D | BluetoothPairingController.java | 57 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/ |
D | NetworkIdentity.java | 95 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/ |
D | JoinedLogRecord.java | 45 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 …]
|
D | EventLogRecord.java | 58 private @IntRange(from = 1, to = 127) int mType = 1; field in EventLogRecord 126 this.mType = type; in EventLogRecord() 128 IntRange.class, null, mType, in EventLogRecord() 156 return mType; in getType() 206 && mType == that.mType in equals() 220 _hash = 31 * _hash + mType; in hashCode() 238 dest.writeInt(mType); in writeToParcel() 266 this.mType = type; in EventLogRecord() 268 IntRange.class, null, mType, in EventLogRecord() 300 private @IntRange(from = 1, to = 127) int mType; field in EventLogRecord.Builder [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/state/ |
D | StateView.java | 47 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/ |
D | DebugReport.java | 30 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/ |
D | SafetySource.java | 200 @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/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPairingController.java | 62 int mType; field in BluetoothPairingController 92 mType = intent.getIntExtra(BluetoothDevice.EXTRA_PAIRING_VARIANT, BluetoothDevice.ERROR); in BluetoothPairingController() 154 switch (mType) { in getDialogType() 268 boolean requires16Digits = mType == BluetoothDevice.PAIRING_VARIANT_PIN_16_DIGITS; in isPasskeyValid() 279 switch (mType) { in getDeviceVariantMessageId() 299 switch (mType) { in getDeviceVariantMessageHintId() 318 switch (mType) { in getDeviceMaxPasskeyLength() 338 switch (mType) { in pairingCodeIsAlphanumeric() 353 if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PASSKEY) { in notifyDialogDisplayed() 355 } else if (mType == BluetoothDevice.PAIRING_VARIANT_DISPLAY_PIN) { in notifyDialogDisplayed() [all …]
|
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/ |
D | FhirResource.java | 151 @FhirResourceType private final int mType; field in FhirResource 164 mType = type; in FhirResource() 175 mType = in.readInt(); in FhirResource() 176 validateFhirResourceType(mType); in FhirResource() 207 return mType; in getType() 298 @FhirResourceType private int mType; field in FhirResource.Builder 317 mType = type; in Builder() 325 mType = other.mType; in Builder() 333 mType = other.getType(); in Builder() 348 mType = type; in setType() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/ |
D | BluetoothMapAccountItem.java | 34 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() 193 if (mType == null) { in equals() 194 if (other.mType != null) { in equals() 197 } else if (!mType.equals(other.mType)) { in equals() 229 return mType; in getType()
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsLayer.java | 51 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/ |
D | ImageCacheRequest.java | 33 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/Connectivity/framework/src/android/net/ |
D | VpnTransportInfo.java | 48 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/modules/Nfc/framework/java/android/nfc/ |
D | NdefRecord.java | 285 private final byte[] mType; field in NdefRecord 573 mType = type; in NdefRecord() 603 mType = rs[0].mType; in NdefRecord() 627 return mType.clone(); in getType() 687 if (Arrays.equals(mType, NdefRecord.RTD_TEXT)) { in toMimeType() 692 String mimeType = new String(mType, StandardCharsets.US_ASCII); in toMimeType() 725 if (Arrays.equals(mType, RTD_SMART_POSTER) && !inSmartPoster) { in toUri() 736 } else if (Arrays.equals(mType, RTD_URI)) { in toUri() 743 Uri uri = Uri.parse(new String(mType, StandardCharsets.UTF_8)); in toUri() 750 … return Uri.parse("vnd.android.nfc://ext/" + new String(mType, StandardCharsets.US_ASCII)); in toUri() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/eap/ |
D | CredentialType.java | 49 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/modules/Nfc/framework/java/android/nfc/tech/ |
D | MifareClassic.java | 122 private int mType; field in MifareClassic 155 mType = TYPE_CLASSIC; in MifareClassic() 159 mType = TYPE_CLASSIC; in MifareClassic() 163 mType = TYPE_PLUS; in MifareClassic() 168 mType = TYPE_PLUS; in MifareClassic() 173 mType = TYPE_CLASSIC; in MifareClassic() 177 mType = TYPE_CLASSIC; in MifareClassic() 182 mType = TYPE_CLASSIC; in MifareClassic() 187 mType = TYPE_CLASSIC; in MifareClassic() 193 mType = TYPE_PRO; in MifareClassic() [all …]
|