Home
last modified time | relevance | path

Searched refs:getMetadata (Results 1 – 25 of 93) sorted by relevance

1234

/frameworks/base/core/tests/utiltests/src/android/util/
DMetadataReaderTest.java55 MetadataReader.getMetadata(mData, mInputStream, "image/jpg", null); in testGetMetadata()
73 MetadataReader.getMetadata(mData, mInputStream, "image/jpg", tags); in testGetMetadata_JpegOneTag()
82 MetadataReader.getMetadata(mData, mInputStream, "image/jpg", tags); in testGetMetadata_JpegNoResults()
91 MetadataReader.getMetadata(mData, stream, "image/jpg", null); in testGetMetadata_BadFile()
99 MetadataReader.getMetadata(mData, mInputStream, "no/metadata", null); in testGetMetadata_UnsupportedMimeType()
105 MetadataReader.getMetadata(mData, mInputStream, "image/jpg", new String[0]); in testGetMetadata_NoTags()
112 MetadataReader.getMetadata(mData, pngStream, "image/png", null); in testGetMetadata_Png()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DBluetoothUtilsTest.java84 when(mBluetoothDevice.getMetadata( in getBtRainbowDrawableWithDescription_normalHeadset_returnAdaptiveIcon()
96 when(mBluetoothDevice.getMetadata( in getStringMetaData_hasMetaData_getCorrectMetaData()
106 when(mBluetoothDevice.getMetadata( in getIntMetaData_hasMetaData_getCorrectMetaData()
117 when(mBluetoothDevice.getMetadata( in getIntMetaData_invalidMetaData_getErrorCode()
127 when(mBluetoothDevice.getMetadata( in getBooleanMetaData_hasMetaData_getCorrectMetaData()
137 when(mBluetoothDevice.getMetadata( in getUriMetaData_hasMetaData_getCorrectMetaData()
147 when(mBluetoothDevice.getMetadata( in getUriMetaData_nullMetaData_getNullUri()
DCachedBluetoothDeviceTest.java482 when(mDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)).thenReturn( in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery()
484 when(mDevice.getMetadata(BluetoothDevice.METADATA_UNTETHERED_LEFT_BATTERY)).thenReturn( in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery()
486 when(mDevice.getMetadata(BluetoothDevice.METADATA_UNTETHERED_RIGHT_BATTERY)).thenReturn( in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery()
499 when(mDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)).thenReturn( in getConnectionSummary_trueWirelessDeviceWithBattery_returnActiveWithBattery()
501 when(mDevice.getMetadata(BluetoothDevice.METADATA_UNTETHERED_LEFT_BATTERY)).thenReturn( in getConnectionSummary_trueWirelessDeviceWithBattery_returnActiveWithBattery()
503 when(mDevice.getMetadata(BluetoothDevice.METADATA_UNTETHERED_RIGHT_BATTERY)).thenReturn( in getConnectionSummary_trueWirelessDeviceWithBattery_returnActiveWithBattery()
/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DWrappedApplicationKeyTest.java64 assertArrayEquals(METADATA, buildTestKeyWithMetadata(METADATA).getMetadata()); in build_setsMetadata_nonNull()
69 assertArrayEquals(null, buildTestKeyWithMetadata(null).getMetadata()); in build_setsMetadata_null()
99 assertArrayEquals(METADATA, readFromParcel.getMetadata()); in writeToParcel_writesMetadata_nonNull()
109 assertArrayEquals(null, readFromParcel.getMetadata()); in writeToParcel_writesMetadata_null()
119 assertArrayEquals(null, readFromParcel.getMetadata()); in writeToParcel_writesMetadata_absent()
DKeyChainSnapshotTest.java104 assertArrayEquals(KEY_METADATA, wrappedApplicationKey.getMetadata()); in build_setsWrappedApplicationKeys()
171 assertArrayEquals(KEY_METADATA, wrappedApplicationKey.getMetadata()); in writeToParcel_writesWrappedApplicationKeys()
/frameworks/av/services/camera/libcameraservice/utils/
DSessionConfigurationUtils.cpp25 metadataGetter getMetadata, const std::vector<std::string> &physicalCameraIds, in convertToHALStreamCombination() argument
30 deviceInfo, getMetadata, physicalCameraIds, streamConfiguration, earlyExit); in convertToHALStreamCombination()
DSessionConfigurationUtils.h41 metadataGetter getMetadata, const std::vector<std::string> &physicalCameraIds,
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializerTest.java151 assertThat(roundTripKeys(/*withKeyMetadata=*/ false).get(0).getMetadata()).isEqualTo(null); in roundTripKeys_0_persistsKeyMetadata_absent()
156 assertThat(roundTripKeys(/*withKeyMetadata=*/ true).get(0).getMetadata()) in roundTripKeys_0_persistsKeyMetadata_present()
172 assertThat(roundTripKeys(/*withKeyMetadata=*/ false).get(1).getMetadata()).isEqualTo(null); in roundTripKeys_1_persistsKeyMetadata_absent()
177 assertThat(roundTripKeys(/*withKeyMetadata=*/ true).get(1).getMetadata()) in roundTripKeys_1_persistsKeyMetadata_present()
193 assertThat(roundTripKeys(/*withKeyMetadata=*/ false).get(2).getMetadata()).isEqualTo(null); in roundTripKeys_2_persistsKeyMetadata_absent()
198 assertThat(roundTripKeys(/*withKeyMetadata=*/ true).get(2).getMetadata()) in roundTripKeys_2_persistsKeyMetadata_present()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DBluetoothMediaDeviceTest.java81 when(bluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in isFastPairDevice_isUntetheredHeadset_returnTrue()
94 when(bluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in isFastPairDevice_isNotUntetheredHeadset_returnFalse()
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.cpp95 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator()
98 EnumerateMetadata(MD->getMetadata()); in ValueEnumerator()
135 return getMetadataID(MD->getMetadata()); in getValueID()
404 assert(!isa<LocalAsMetadata>(MD->getMetadata()) && in EnumerateOperandType()
407 EnumerateMetadata(MD->getMetadata()); in EnumerateOperandType()
497 if (auto *Local = dyn_cast<LocalAsMetadata>(MD->getMetadata())) in incorporateFunction()
/frameworks/compile/slang/BitWriter_3_2/
DValueEnumerator.cpp95 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator()
98 EnumerateMetadata(MD->getMetadata()); in ValueEnumerator()
135 return getMetadataID(MD->getMetadata()); in getValueID()
404 assert(!isa<LocalAsMetadata>(MD->getMetadata()) && in EnumerateOperandType()
407 EnumerateMetadata(MD->getMetadata()); in EnumerateOperandType()
497 if (auto *Local = dyn_cast<LocalAsMetadata>(MD->getMetadata())) in incorporateFunction()
/frameworks/compile/slang/BitWriter_2_9_func/
DValueEnumerator.cpp95 if (isa<LocalAsMetadata>(MD->getMetadata())) in ValueEnumerator()
98 EnumerateMetadata(MD->getMetadata()); in ValueEnumerator()
135 return getMetadataID(MD->getMetadata()); in getValueID()
404 assert(!isa<LocalAsMetadata>(MD->getMetadata()) && in EnumerateOperandType()
407 EnumerateMetadata(MD->getMetadata()); in EnumerateOperandType()
497 if (auto *Local = dyn_cast<LocalAsMetadata>(MD->getMetadata())) in incorporateFunction()
/frameworks/base/services/incremental/
DServiceWrappers.cpp159 incfs::RawMetadata getMetadata(const Control& control, FileId fileid) const final { in getMetadata() function in android::incremental::RealIncFs
160 return incfs::getMetadata(control, fileid); in getMetadata()
162 incfs::RawMetadata getMetadata(const Control& control, std::string_view path) const final { in getMetadata() function in android::incremental::RealIncFs
163 return incfs::getMetadata(control, path); in getMetadata()
DServiceWrappers.h91 virtual incfs::RawMetadata getMetadata(const Control& control, FileId fileid) const = 0;
92 virtual incfs::RawMetadata getMetadata(const Control& control, std::string_view path) const = 0;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DSeekBarViewModelTest.kt134 whenever(mockController.getMetadata()).thenReturn(metadata) in updateDurationWithPlayback()
156 whenever(mockController.getMetadata()).thenReturn(metadata) in updateDurationWithoutPlayback()
172 whenever(mockController.getMetadata()).thenReturn(metadata) in updateDurationNegative()
193 whenever(mockController.getMetadata()).thenReturn(metadata) in updateDurationZero()
607 whenever(mockController.getMetadata()).thenReturn(metadata) in clearSeekBar()
/frameworks/base/core/java/android/content/pm/
DInstallationFile.java84 public @Nullable byte[] getMetadata() { in getMetadata() method in InstallationFile
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java269 final byte[] data = bluetoothDevice.getMetadata(key); in getBooleanMetaData()
287 final byte[] data = bluetoothDevice.getMetadata(key); in getStringMetaData()
305 final byte[] data = bluetoothDevice.getMetadata(key); in getIntMetaData()
/frameworks/av/drm/libdrmframework/
DDrmManagerClient.cpp46 DrmMetadata* DrmManagerClient::getMetadata(const String8* path) { in getMetadata() function in DrmManagerClient
47 return mDrmManagerClientImpl->getMetadata(mUniqueId, path); in getMetadata()
DNoOpDrmManagerClientImpl.cpp44 DrmMetadata* NoOpDrmManagerClientImpl::getMetadata( in getMetadata() function in android::NoOpDrmManagerClientImpl
/frameworks/base/apex/statsd/aidl/android/os/
DIStatsManagerService.aidl102 byte[] getMetadata(in String packageName); in getMetadata() method
DIStatsd.aidl103 byte[] getMetadata(); in getMetadata() method
/frameworks/compile/libbcc/lib/
DRSScriptGroupFusion.cpp42 bcinfo::MetadataExtractor &metadata = *source.getMetadata(); in getInvokeFunction()
55 bcinfo::MetadataExtractor &metadata = *source->getMetadata(); in getFunction()
100 bcinfo::MetadataExtractor &metadata = *source->getMetadata(); in getFusedFuncSig()
/frameworks/compile/libbcc/include/bcc/
DSource.h106 bcinfo::MetadataExtractor* getMetadata() const { return mMetadata; } in getMetadata() function
/frameworks/base/core/java/android/security/keystore/recovery/
DWrappedApplicationKey.java142 public @Nullable byte[] getMetadata() { in getMetadata() method in WrappedApplicationKey
/frameworks/av/drm/common/include/
DIDrmManagerService.h99 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path) = 0;
189 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path);

1234