/frameworks/base/media/java/android/media/tv/ |
D | TvTrackInfo.java | 79 private final int mType; field in TvTrackInfo 104 mType = type; in TvTrackInfo() 124 mType = in.readInt(); in TvTrackInfo() 149 return mType; in getType() 205 if (mType != TYPE_AUDIO) { in getAudioChannelCount() 217 if (mType != TYPE_AUDIO) { in getAudioSampleRate() 234 if (mType != TYPE_AUDIO) { in isAudioDescription() 251 if (mType != TYPE_AUDIO && mType != TYPE_SUBTITLE) { in isHardOfHearing() 267 if (mType != TYPE_AUDIO) { in isSpokenSubtitle() 280 if (mType != TYPE_VIDEO) { in getVideoWidth() [all …]
|
D | TvInputHardwareInfo.java | 100 private int mType; field in TvInputHardwareInfo 115 return mType; in getType() 127 if (mType != TV_INPUT_TYPE_HDMI) { in getHdmiPortId() 151 b.append(", type=").append(mType); in toString() 154 if (mType == TV_INPUT_TYPE_HDMI) { in toString() 171 dest.writeInt(mType); in writeToParcel() 174 if (mType == TV_INPUT_TYPE_HDMI) { in writeToParcel() 182 mType = source.readInt(); in readFromParcel() 185 if (mType == TV_INPUT_TYPE_HDMI) { in readFromParcel() 195 .type(mType) in toBuilder() [all …]
|
D | TvStreamConfig.java | 39 private int mType; field in TvStreamConfig 79 return mType; in getType() 97 return "TvStreamConfig {mStreamId=" + mStreamId + ";" + "mType=" + mType + ";mGeneration=" in toString() 110 dest.writeInt(mType); in writeToParcel() 121 private Integer mType; field in TvStreamConfig.Builder 135 mType = type; in type() 155 if (mStreamId == null || mType == null || mMaxWidth == null || mMaxHeight == null in build() 162 config.mType = mType; in build() 178 && config.mType == mType in equals() 185 return Objects.hash(mGeneration, mStreamId, mType, mMaxWidth, mMaxHeight); in hashCode()
|
/frameworks/rs/support/java/src/androidx/renderscript/ |
D | Allocation.java | 64 Type mType; field in Allocation 102 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 110 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 118 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 126 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 259 return mType.getElement(); in getElement() 332 if (mType.mDimYuv != 0) { in getBytesSize() 333 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5); in getBytesSize() 335 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize() 375 mType = t; in Allocation() [all …]
|
/frameworks/base/rs/java/android/renderscript/ |
D | Allocation.java | 64 Type mType; field in Allocation 108 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 116 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 124 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 132 return mType.mElement.mType; in validateObjectIsPrimitiveArray() 152 "[] is not compatible with data type " + mType.mElement.mType.name() + in validateObjectIsPrimitiveArray() 279 return mType.getElement(); in getElement() 363 if (mType.mDimYuv != 0) { in getBytesSize() 364 return (int)Math.ceil(mType.getCount() * mType.getElement().getBytesSize() * 1.5); in getBytesSize() 366 return mType.getCount() * mType.getElement().getBytesSize(); in getBytesSize() [all …]
|
/frameworks/base/core/java/android/view/autofill/ |
D | AutofillValue.java | 50 private final @View.AutofillType int mType; field in AutofillValue 54 mType = type; in AutofillValue() 66 Preconditions.checkState(isText(), "value must be a text value, not type=%d", mType); in getTextValue() local 76 return mType == AUTOFILL_TYPE_TEXT; in isText() 87 Preconditions.checkState(isToggle(), "value must be a toggle value, not type=%d", mType); in getToggleValue() local 97 return mType == AUTOFILL_TYPE_TOGGLE; in isToggle() 108 Preconditions.checkState(isList(), "value must be a list value, not type=%d", mType); in getListValue() local 118 return mType == AUTOFILL_TYPE_LIST; in isList() 129 Preconditions.checkState(isDate(), "value must be a date value, not type=%d", mType); in getDateValue() local 139 return mType == AUTOFILL_TYPE_DATE; in isDate() [all …]
|
/frameworks/base/libs/hwui/ |
D | Outline.h | 31 Outline() : mShouldClip(false), mType(Type::None), mRadius(0), mAlpha(0.0f) {} in Outline() 35 if (mType == Type::RoundRect && left == mBounds.left && right == mBounds.right && in setRoundRect() 41 mType = Type::RoundRect; in setRoundRect() 65 mType = Type::Path; in setPath() 72 mType = Type::Empty; in setEmpty() 78 mType = Type::None; in setNone() 83 bool isEmpty() const { return mType == Type::Empty; } in isEmpty() 94 return mShouldClip && (mType != Type::RoundRect || MathUtils::isPositive(mRadius)); in willComplexClip() 98 if (mType == Type::RoundRect) { in getAsRoundRect() 107 if (mType == Type::None || mType == Type::Empty) return nullptr; in getPath() [all …]
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceSpec.java | 49 private final String mType; field in SliceSpec 53 mType = type; in SliceSpec() 61 mType = source.readString(); in SliceSpec() 72 dest.writeString(mType); in writeToParcel() 80 return mType; in getType() 101 if (!mType.equals(candidate.mType)) return false; in canRender() 109 return mType.equals(other.mType) && mRevision == other.mRevision; in equals() 114 return String.format("SliceSpec{%s,%d}", mType, mRevision); in toString()
|
/frameworks/base/core/java/android/service/autofill/ |
D | SavedDatasetsInfo.java | 53 private final String mType; field in SavedDatasetsInfo 97 this.mType = type; in SavedDatasetsInfo() 99 if (!(java.util.Objects.equals(mType, TYPE_OTHER)) in SavedDatasetsInfo() 100 && !(java.util.Objects.equals(mType, TYPE_PASSWORDS))) { in SavedDatasetsInfo() 102 "type was " + mType + " but must be one of: " in SavedDatasetsInfo() 108 NonNull.class, null, mType); in SavedDatasetsInfo() 122 return mType; in getType() 140 "type = " + mType + ", " + in toString() 158 && java.util.Objects.equals(mType, that.mType) in equals() 169 _hash = 31 * _hash + java.util.Objects.hashCode(mType); in hashCode()
|
/frameworks/av/media/libaudiofoundation/ |
D | AudioDeviceTypeAddr.cpp | 57 mType(type), mAddress(address) { in AudioDeviceTypeAddr() 75 return mType == other.mType && mAddress == other.mAddress; in equals() 79 if (mType < other.mType) return true; in operator <() 80 if (mType > other.mType) return false; in operator <() 97 mType = AUDIO_DEVICE_NONE; in reset() 103 sstream << audio_device_to_string(mType); in toString() 105 sstream << "unknown type:0x" << std::hex << mType; in toString() 118 mType = static_cast<audio_devices_t>(rawDeviceType); in readFromParcel() 125 if ((status = parcel->writeUint32(mType)) != NO_ERROR) return status; in writeToParcel() 134 deviceTypes.insert(deviceTypeAddr.mType); in getAudioDeviceTypes() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaSyncEvent.java | 80 private final int mType; field in MediaSyncEvent 84 mType = eventType; in MediaSyncEvent() 115 return mType; in getType() 148 dest.writeInt(mType); in writeToParcel() 153 mType = in.readInt(); in MediaSyncEvent() 178 return ((mType == that.mType) in equals() 184 return Objects.hash(mType, mAudioSession); in hashCode() 190 + " type=" + typeToString(mType) in toString()
|
/frameworks/rs/cpp/ |
D | Allocation.cpp | 66 mType = t; in Allocation() 77 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt64() 85 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt32() 93 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt16() 101 RsDataType dt = mType->getElement()->getDataType(); in validateIsInt8() 109 RsDataType dt = mType->getElement()->getDataType(); in validateIsFloat32() 117 RsDataType dt = mType->getElement()->getDataType(); in validateIsFloat64() 125 RsDataType dt = mType->getElement()->getDataType(); in validateIsObject() 149 mType = t; in updateFromNative() 228 if (mAutoPadding && (mType->getElement()->getVectorSize() == 3)) { in copy1DRangeFrom() [all …]
|
/frameworks/opt/tv/tvsystem/java/com/android/libraries/tv/tvsystem/media/ |
D | AudioDeviceAttributes.java | 64 private final @AudioDeviceInfo.AudioDeviceType int mType; field in AudioDeviceAttributes 86 mType = deviceInfo.getType(); in AudioDeviceAttributes() 107 mType = type; in AudioDeviceAttributes() 113 mType = AudioDeviceInfo.convertInternalDeviceToDeviceType(nativeType); in AudioDeviceAttributes() 135 return mType; in getType() 150 return Objects.hash(mRole, mType, mAddress); in hashCode() 160 && (mType == that.mType) in equals() 174 AudioDeviceInfo.convertDeviceTypeToInternalDevice(mType)) in toString() 176 AudioDeviceInfo.convertDeviceTypeToInternalDevice(mType))) in toString()
|
/frameworks/native/libs/ui/ |
D | Transform.cpp | 35 : mMatrix(other.mMatrix), mType(other.mType) { in Transform() 63 if (CC_LIKELY(mType == IDENTITY)) in operator *() 67 if (rhs.mType == IDENTITY) in operator *() 82 r.mType |= rhs.mType; in operator *() 85 r.mType &= 0xFF; in operator *() 86 r.mType |= UNKNOWN_TYPE; in operator *() 105 mType = other.mType; in operator =() 150 mType = IDENTITY; in reset() 164 mType &= ~TRANSLATE; in set() 166 mType |= TRANSLATE; in set() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | LinkCapacityEstimate.java | 63 private final @LceType int mType; field in LinkCapacityEstimate 78 mType = type; in LinkCapacityEstimate() 87 mType = in.readInt(); in LinkCapacityEstimate() 95 return mType; in getType() 121 .append(mType) in toString() 144 dest.writeInt(mType); in writeToParcel() 160 && mType == that.mType; in equals() 165 return Objects.hash(mDownlinkCapacityKbps, mUplinkCapacityKbps, mType); in hashCode()
|
/frameworks/base/core/java/android/service/timezone/ |
D | TimeZoneProviderEvent.java | 64 private final @EventType int mType; field in TimeZoneProviderEvent 86 mType = validateEventType(type); in TimeZoneProviderEvent() 93 if (mType == EVENT_TYPE_PERMANENT_FAILURE && mTimeZoneProviderStatus != null) { in TimeZoneProviderEvent() 95 "Unexpected status: mType=" + mType in TimeZoneProviderEvent() 138 return mType; in getType() 200 parcel.writeInt(mType); in writeToParcel() 210 + "mType=" + mType in toString() 231 if (other == null || mType != other.mType) { in isEquivalentTo() 234 if (mType == EVENT_TYPE_SUGGESTION) { in isEquivalentTo() 250 return mType == that.mType in equals() [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/tunerresourcemanager/ |
D | FrontendResource.java | 35 @Type private final int mType; field in FrontendResource 49 this.mType = builder.mType; in FrontendResource() 54 return mType; in getType() 94 return "FrontendResource[handle=" + this.mHandle + ", type=" + this.mType in toString() 104 @Type private int mType; field in FrontendResource.Builder 117 this.mType = type; in type()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmFrame.cpp | 42 : mType(kInvalidType), in WebmFrame() 50 : mType(type), in WebmFrame() 59 mType == kVideoType ? kVideoTrackNum : kAudioTrackNum, in SimpleBlock() 81 if (this->mType == kAudioType && other.mType == kVideoType) { in operator <() 84 if (this->mType == kVideoType && other.mType == kAudioType) { in operator <()
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiPortInfo.java | 57 private final int mType; field in HdmiPortInfo 80 mType = type; in HdmiPortInfo() 99 this.mType = builder.mType; in HdmiPortInfo() 119 return mType; in getType() 208 dest.writeInt(mType); in writeToParcel() 221 s.append("type: ").append((mType == PORT_INPUT) ? "HDMI_IN" : "HDMI_OUT").append(", "); in toString() 236 return mId == other.mId && mType == other.mType && mAddress == other.mAddress in equals() 244 mId, mType, mAddress, mCecSupported, mArcSupported, mMhlSupported, mEarcSupported); in hashCode() 253 private int mType; field in HdmiPortInfo.Builder 279 mType = type; in Builder() [all …]
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | Event.java | 116 private final int mType; field in Event 122 mType = type; in Event() 128 mType = builder.mType; in Event() 137 return mType; in getType() 155 protoOutputStream.write(PeopleEventProto.EVENT_TYPE, mType); in writeToProto() 193 && mType == other.mType in equals() 199 return Objects.hash(mTimestamp, mType, mDurationSeconds); in hashCode() 207 sb.append(", type=").append(mType); in toString() 220 private int mType; field in Event.Builder 228 mType = type; in Builder() [all …]
|
/frameworks/base/telephony/java/com/android/ims/ |
D | RcsTypeIdPair.java | 27 private int mType; field in RcsTypeIdPair 31 mType = type; in RcsTypeIdPair() 36 return mType; in getType() 40 mType = type; in setType() 52 mType = in.readInt(); in RcsTypeIdPair() 63 dest.writeInt(mType); in writeToParcel()
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderOperation.java | 57 private final int mType; field in ContentProviderOperation 78 mType = builder.mType; in ContentProviderOperation() 92 mType = source.readInt(); in ContentProviderOperation() 119 mType = cpo.mType; in ContentProviderOperation() 134 dest.writeInt(mType); in writeToParcel() 256 return mType; in getType() 266 return mType == TYPE_INSERT; in isInsert() 276 return mType == TYPE_DELETE; in isDelete() 286 return mType == TYPE_UPDATE; in isUpdate() 295 return mType == TYPE_ASSERT; in isAssertQuery() [all …]
|
D | RestrictionEntry.java | 107 private int mType; field in RestrictionEntry 146 mType = type; in RestrictionEntry() 157 this.mType = TYPE_CHOICE; in RestrictionEntry() 168 this.mType = TYPE_BOOLEAN; in RestrictionEntry() 179 this.mType = TYPE_MULTI_SELECT; in RestrictionEntry() 190 mType = TYPE_INTEGER; in RestrictionEntry() 208 mType = TYPE_BUNDLE_ARRAY; in RestrictionEntry() 218 mType = TYPE_BUNDLE; in RestrictionEntry() 251 this.mType = type; in setType() 259 return mType; in getType() [all …]
|
/frameworks/base/core/java/android/credentials/ |
D | CreateCredentialRequest.java | 56 private final String mType; field in CreateCredentialRequest 89 return mType; in getType() 149 dest.writeString8(mType); in writeToParcel() 165 + "type=" + mType in toString() 204 mType = Preconditions.checkStringNotEmpty(type, "type must not be empty"); in CreateCredentialRequest() 221 mType = type; in CreateCredentialRequest() 222 AnnotationValidations.validate(NonNull.class, null, mType); in CreateCredentialRequest() 250 private String mType; field in CreateCredentialRequest.Builder 275 mType = Preconditions.checkStringNotEmpty(type, in Builder() 335 mType, in build() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/remote/ |
D | RemoteResult.java | 45 @Type private final int mType; field in RemoteResult 49 mType = type; in RemoteResult() 54 return mType == Type.SUCCESS; in isPresent() 73 switch (mType) { in toStringDescription() 96 return mType == that.mType && mValue == that.mValue; in equals() 101 return Objects.hash(mType, mValue); in hashCode()
|