Home
last modified time | relevance | path

Searched refs:getDataType (Results 1 – 25 of 68) sorted by relevance

123

/packages/modules/Connectivity/nearby/tests/unit/src/com/android/server/nearby/presence/
DDataElementHeaderTest.java50 assertThat(afterConversionHeader.getDataType()).isEqualTo(12); in test_singeByteConversion()
59 assertThat(afterConversionHeader.getDataType()).isEqualTo(6); in test_multipleBytesConversion()
68 assertThat(singeByteHeader.getDataType()).isEqualTo(13); in test_fromBytes()
74 assertThat(twoBytesHeader.getDataType()).isEqualTo(93); in test_fromBytes()
80 assertThat(threeBytesHeader.getDataType()).isEqualTo(16349); in test_fromBytes()
88 assertThat(fourBytesHeader.getDataType()).isEqualTo(2097117); in test_fromBytes()
124 assertThat(afterConversionHeader.getDataType()).isEqualTo(22213546); in test_multipleBytesConversion_largeNumber()
DExtendedAdvertisementUtilsTest.java61 assertThat(header.getDataType()).isEqualTo(DATA_TYPE_SALT); in test_getDataElementHeader_salt()
71 assertThat(header.getDataType()).isEqualTo(DATA_TYPE_PRIVATE_IDENTITY); in test_getDataElementHeader_identity()
/packages/modules/Permission/SafetyLabel/tests/java/com/android/permission/safetylabel/
DDataTypeTest.kt194 DataType.getDataType( in getDataType_invalidBundle_nullDataType()
203 DataType.getDataType( in getDataType_dataCollected_validDataType()
216 DataType.getDataType( in getDataType_dataShared_validDataType()
234 DataType.getDataType(typePersistableBundle, DataLabelConstants.DATA_USAGE_SHARED) in getDataType_validDataTypeWithAddedInvalidPurpose_onlyValidPurposes()
250 DataType.getDataType(typePersistableBundle, DataLabelConstants.DATA_USAGE_SHARED) in getDataType_dataTypeWithInvalidPurpose_nullDataType()
261 DataType.getDataType(typePersistableBundle, DataLabelConstants.DATA_USAGE_SHARED) in getDataType_noPurpose_nullDataType()
272 val dataType = DataType.getDataType(bundle, DataLabelConstants.DATA_USAGE_COLLECTED) in getDataType_dataCollected_validDataType_noUserControl_noEphemeral()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifModifier.java114 || newTag.getDataType() != oldTag.getDataType()) { in commit()
153 switch (tag.getDataType()) { in writeTagValue()
DExifParser.java344 if (mTag.getDataType() != ExifTag.TYPE_UNDEFINED) { in next()
620 if (tag.getDataType() == ExifTag.TYPE_UNSIGNED_SHORT) { in checkOffsetOrImageTag()
647 short type = tag.getDataType(); in readFullTagValue()
679 switch (tag.getDataType()) { in readFullTagValue()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifModifier.java115 || newTag.getDataType() != oldTag.getDataType()) { in commit()
154 switch (tag.getDataType()) { in writeTagValue()
DExifParser.java345 if (mTag.getDataType() != ExifTag.TYPE_UNDEFINED) { in next()
624 if (tag.getDataType() == ExifTag.TYPE_UNSIGNED_SHORT) { in checkOffsetOrImageTag()
651 short type = tag.getDataType(); in readFullTagValue()
683 switch (tag.getDataType()) { in readFullTagValue()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifModifier.java115 || newTag.getDataType() != oldTag.getDataType()) { in commit()
154 switch (tag.getDataType()) { in writeTagValue()
DExifParser.java344 if (mTag.getDataType() != ExifTag.TYPE_UNDEFINED) { in next()
620 if (tag.getDataType() == ExifTag.TYPE_UNSIGNED_SHORT) { in checkOffsetOrImageTag()
647 short type = tag.getDataType(); in readFullTagValue()
679 switch (tag.getDataType()) { in readFullTagValue()
/packages/modules/Permission/SafetyLabel/java/com/android/permission/safetylabel/
DDataType.java74 DataType dataType = getDataType(dataTypeBundle, dataUsage); in getDataTypeMap()
88 static DataType getDataType( in getDataType() method in DataType
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DHeaderCell.java67 switch (dimension.getDataType()) { in onBind()
76 "Unknown column data type: " + dimension.getDataType() + "."); in onBind()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DExifParser.java326 if (tag.getDataType() != ExifTag.TYPE_UNDEFINED) { in next()
578 if (tag.getDataType() == ExifTag.TYPE_UNSIGNED_SHORT) { in checkOffsetOrImageTag()
603 short type = tag.getDataType(); in readFullTagValue()
641 switch (tag.getDataType()) { in readFullTagValue()
DExifTag.java179 short getDataType() { in getDataType() method in ExifTag
185 return getComponentCount() * getElementSize(getDataType()); in getDataSize()
/packages/modules/IPsec/src/java/android/net/ipsec/ike/ike3gpp/
DIke3gppN1ModeInformation.java48 public @DataType int getDataType() { in getDataType() method in Ike3gppN1ModeInformation
DIke3gppData.java55 public abstract @DataType int getDataType(); in getDataType() method in Ike3gppData
DIke3gppBackoffTimer.java86 public @DataType int getDataType() { in getDataType() method in Ike3gppBackoffTimer
/packages/modules/IPsec/tests/iketests/src/java/android/net/ipsec/ike/ike3gpp/
DIke3gppN1ModeInformationTest.java34 Ike3gppData.DATA_TYPE_NOTIFY_N1_MODE_INFORMATION, n1ModeInformation.getDataType()); in testIke3gppN1ModeInformation()
DIke3gppBackoffTimerTest.java39 assertEquals(Ike3gppData.DATA_TYPE_NOTIFY_BACKOFF_TIMER, backoffTimer.getDataType()); in testIke3gppBackoffTimer()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/ike3gpp/
DIke3gppBackoffTimerTest.java37 assertEquals(Ike3gppData.DATA_TYPE_NOTIFY_BACKOFF_TIMER, mBackoffTimer.getDataType()); in testGetDataType()
DIke3gppN1ModeInformationTest.java44 Ike3gppData.DATA_TYPE_NOTIFY_N1_MODE_INFORMATION, mN1ModeInformation.getDataType()); in testGetDataType()
/packages/modules/Bluetooth/framework/java/android/bluetooth/
DBluetoothHealthAppConfiguration.java59 public int getDataType() { in getDataType() method in BluetoothHealthAppConfiguration
/packages/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/converter/
DSchemaToProtoConverter.java79 @AppSearchSchema.PropertyConfig.DataType int dataType = property.getDataType(); in toPropertyConfigProto()
191 switch (proto.getDataType()) { in toPropertyConfig()
217 "Invalid dataType code: " + proto.getDataType().getNumber()); in toPropertyConfig()
/packages/modules/AppSearch/framework/java/external/android/app/appsearch/
DAppSearchSchema.java503 switch (getDataType()) { in appendPropertyConfigString()
561 public int getDataType() { in getDataType() method in AppSearchSchema.PropertyConfig
562 return mPropertyConfigParcel.getDataType(); in getDataType()
604 switch (propertyConfigParcel.getDataType()) { in fromParcel()
622 + propertyConfigParcel.getDataType() in fromParcel()
/packages/modules/Connectivity/nearby/service/java/com/android/server/nearby/presence/
DExtendedAdvertisement.java164 @DataType int firstType = firstHeader.getDataType(); in fromBytes()
191 toPresenceCredentialIdentityType(identityHeader.getDataType()); in fromBytes()
433 @DataType int type = Objects.requireNonNull(deHeader).getDataType(); in getDataElementsFromBytes()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/dataentries/formatters/shared/
DEntryFormatter.kt39 dataType = getDataType(record)) in formatRecord()

123