Home
last modified time | relevance | path

Searched refs:getAttribute (Results 1 – 25 of 90) sorted by relevance

1234

/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/util/
H A DExifUtils.java70 return parseDateTime(exif.getAttribute(TAG_DATETIME), in getDateTime()
71 exif.getAttribute(TAG_SUBSEC_TIME), in getDateTime()
72 exif.getAttribute(TAG_OFFSET_TIME)); in getDateTime()
80 return parseDateTime(exif.getAttribute(TAG_DATETIME_DIGITIZED), in getDateTimeDigitized()
81 exif.getAttribute(TAG_SUBSEC_TIME_DIGITIZED), in getDateTimeDigitized()
82 exif.getAttribute(TAG_OFFSET_TIME_DIGITIZED)); in getDateTimeDigitized()
90 return parseDateTime(exif.getAttribute(TAG_DATETIME_ORIGINAL), in getDateTimeOriginal()
91 exif.getAttribute(TAG_SUBSEC_TIME_ORIGINAL), in getDateTimeOriginal()
92 exif.getAttribute(TAG_OFFSET_TIME_ORIGINAL)); in getDateTimeOriginal()
100 String date = exif.getAttribute(TAG_GPS_DATESTAMP); in getGpsDateTime()
[all …]
/aosp12/build/soong/scripts/
H A Dtest_config_fixer.py50 original_package = manifest.getAttribute('package')
58 … if option.getAttribute('name') == "package" and option.getAttribute('value') == original_package:
67 if test.getAttribute('class') == "com.android.tradefed.targetprep.TestAppInstallSetup":
70 if option.getAttribute('name') == "test-file-name":
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DImageExporterTest.java86 exifInterface.getAttribute(ExifInterface.TAG_IMAGE_UNIQUE_ID)); in testUpdateExifAttributes_timeZoneUTC()
88 exifInterface.getAttribute(ExifInterface.TAG_OFFSET_TIME_ORIGINAL)); in testUpdateExifAttributes_timeZoneUTC()
126 exifInterface.getAttribute(ExifInterface.TAG_IMAGE_UNIQUE_ID)); in testImageExport()
129 exifInterface.getAttribute(ExifInterface.TAG_SOFTWARE)); in testImageExport()
137 exifInterface.getAttribute(ExifInterface.TAG_DATETIME_ORIGINAL)); in testImageExport()
139 exifInterface.getAttribute(ExifInterface.TAG_SUBSEC_TIME_ORIGINAL)); in testImageExport()
141 exifInterface.getAttribute(ExifInterface.TAG_OFFSET_TIME_ORIGINAL)); in testImageExport()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DThemeUtils.java29 public static int getAttribute(Theme theme, int attrId) { in getAttribute() method in ThemeUtils
39 return getAttribute(theme, android.R.attr.selectableItemBackground); in getSelectableItemBackground()
46 return getAttribute(theme, android.R.attr.activatedBackgroundIndicator); in getActivatedBackground()
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/attributes/
H A DAtIdReqTest.java60 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtPermanentIdReq()
73 mAttributeFactory.getAttribute(input); in testDecodeAtPermanentIdReqInvalidLength()
91 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtAnyIdReq()
104 mAttributeFactory.getAttribute(input); in testDecodeAtAnyIdReqInvalidLength()
122 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtFullauthIdReq()
135 mAttributeFactory.getAttribute(input); in testDecodeAtFullauthIdReqInvalidLength()
H A DAtResTest.java53 EapSimAkaAttribute result = mEapAkaAttributeFactory.getAttribute(input); in testDecode()
66 mEapAkaAttributeFactory.getAttribute(input); in testDecodeInvalidResLength()
76 mEapAkaAttributeFactory.getAttribute(input); in testDecodeShortResLength()
86 mEapAkaAttributeFactory.getAttribute(input); in testDecodeLongResLength()
H A DAtCounterTest.java57 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtCounter()
71 mAttributeFactory.getAttribute(input); in testDecodeAtCounterInvalidLength()
96 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeAtCounterTooSmall()
109 mAttributeFactory.getAttribute(input); in testDecodeAtCounterTooSmallInvalidLength()
H A DAtBiddingTest.java51 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeServerSupportsAkaPrime()
63 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecodeDoesNotSupportAkaPrime()
76 mAttributeFactory.getAttribute(input); in testDecodeInvalidLength()
H A DAtNotificationTest.java59 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecode()
75 mAttributeFactory.getAttribute(input); in testDecodeInvalidLength()
85 mAttributeFactory.getAttribute(input); in testDecodeInvalidState()
H A DAtRandSimTest.java57 EapSimAkaAttribute result = mEapSimAttributeFactory.getAttribute(input); in testDecode()
73 mEapSimAttributeFactory.getAttribute(input); in testDecodeInvalidNumRands()
83 mEapSimAttributeFactory.getAttribute(input); in testDecodeDuplicateRands()
H A DAtPaddingTest.java52 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecode()
65 mAttributeFactory.getAttribute(input); in testDecodeInvalidPadding()
H A DAtAutnTest.java50 EapSimAkaAttribute result = mEapAkaAttributeFactory.getAttribute(input); in testDecode()
63 mEapAkaAttributeFactory.getAttribute(input); in testDecodeInvalidLength()
H A DAtAutsTest.java50 EapSimAkaAttribute result = mEapAkaAttributeFactory.getAttribute(input); in testDecode()
63 mEapAkaAttributeFactory.getAttribute(input); in testDecodeInvalidLength()
H A DAtClientErrorCodeTest.java54 EapSimAkaAttribute result = mAttributeFactory.getAttribute(input); in testDecode()
68 mAttributeFactory.getAttribute(input); in testDecodeInvalidLength()
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/eap/message/simaka/
H A DEapAkaAttributeFactory.java66 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) in getAttribute() method in EapAkaAttributeFactory
73 return getAttribute(attributeType, lengthInBytes, byteBuffer); in getAttribute()
77 protected EapSimAkaAttribute getAttribute( in getAttribute() method in EapAkaAttributeFactory
92 return super.getAttribute(attributeType, lengthInBytes, byteBuffer); in getAttribute()
H A DEapAkaPrimeAttributeFactory.java61 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) in getAttribute() method in EapAkaPrimeAttributeFactory
74 return super.getAttribute(attributeType, lengthInBytes, byteBuffer); in getAttribute()
H A DEapSimAkaAttributeFactory.java77 EapSimAkaAttribute getAttribute(int attributeType, int lengthInBytes, ByteBuffer byteBuffer) in getAttribute() method in EapSimAkaAttributeFactory
122 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) in getAttribute() method in EapSimAkaAttributeFactory
128 return getAttribute(attributeType, lengthInBytes, byteBuffer); in getAttribute()
H A DEapSimAttributeFactory.java65 public EapSimAkaAttribute getAttribute(ByteBuffer byteBuffer) throws in getAttribute() method in EapSimAttributeFactory
84 return super.getAttribute(attributeType, lengthInBytes, byteBuffer); in getAttribute()
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
H A DExifInterfaceCompat.java45 public String getAttribute(String tag) { in getAttribute() method in ExifInterfaceCompat
47 ? mFrameworkExifInterface.getAttribute(tag) in getAttribute()
48 : mSupportExifInterface.getAttribute(tag); in getAttribute()
/aosp12/frameworks/base/tools/aapt/
H A DCommand.cpp900 String8 pkg = AaptXml::getAttribute(tree, NULL, "package", NULL); in doDump()
905 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
921 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
938 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1276 pkg = AaptXml::getAttribute(tree, NULL, "package", NULL); in doDump()
1303 String8 splitName = AaptXml::getAttribute(tree, NULL, "split"); in doDump()
1583 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1620 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1637 const String8 requiredFeature = AaptXml::getAttribute(tree, in doDump()
1639 const String8 requiredNotFeature = AaptXml::getAttribute(tree, in doDump()
[all …]
H A DAaptXml.h37 android::String8 getAttribute(const android::ResXMLTree& tree, const char* ns,
45 android::String8 getAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
/aosp12/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipAudioCall.java792 if (media.getAttribute("recvonly") != null) {
794 } else if(media.getAttribute("sendonly") != null) {
796 } else if(offer.getAttribute("recvonly") != null) {
798 } else if(offer.getAttribute("sendonly") != null) {
1067 } else if (media.getAttribute("recvonly") != null) {
1069 } else if(media.getAttribute("sendonly") != null) {
1071 } else if(offer.getAttribute("recvonly") != null) {
1073 } else if(offer.getAttribute("sendonly") != null) {
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DExifInterfaceTest.java235 String tagValue = exifInterface.getAttribute(tagKey); in printExifTagsAndValues()
251 String stringValue = exifInterface.getAttribute(tag); in assertStringTag()
366 String backupValue = exifInterface.getAttribute(ExifInterface.TAG_MAKE); in testSaveAttributes_withFileName()
370 assertEquals("abc", exifInterface.getAttribute(ExifInterface.TAG_MAKE)); in testSaveAttributes_withFileName()
392 String backupValue = exifInterface.getAttribute(ExifInterface.TAG_MAKE); in testSaveAttributes_withFileDescriptor()
397 assertEquals("abc", exifInterface.getAttribute(ExifInterface.TAG_MAKE)); in testSaveAttributes_withFileDescriptor()
/aosp12/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/eap/message/simaka/
H A DEapSimAkaAttributeFactoryTest.java55 EapSimAkaAttribute result = mAttributeFactory.getAttribute( in testDecodeInvalidSkippable()
84 mAttributeFactory.getAttribute( in testDecodeInvalidNonSkippable()
/aosp12/frameworks/base/libs/androidfw/tests/
H A DResTable_test.cpp113 ssize_t index = theme.getAttribute(basic::R::attr::attr1, &val, &specFlags); in TEST()
118 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags); in TEST()
137 ssize_t index = theme.getAttribute(basic::R::attr::attr1, &val, &specFlags); in TEST()
142 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags); in TEST()
161 ssize_t index = theme.getAttribute(lib::R::attr::attr1, &val, &specFlags); in TEST()
166 index = theme.getAttribute(lib::R::attr::attr2, &val, &specFlags); in TEST()

1234