/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | BluetoothUtilsTest.java | 84 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() 156 when(mBluetoothDevice.getMetadata( in isAdvancedDetailsHeader_untetheredHeadset_returnTrue() 165 when(mBluetoothDevice.getMetadata( in isAdvancedDetailsHeader_deviceTypeUntetheredHeadset_returnTrue() 174 when(mBluetoothDevice.getMetadata( in isAdvancedDetailsHeader_deviceTypeWatch_returnTrue() [all …]
|
D | CachedBluetoothDeviceTest.java | 493 when(mDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)).thenReturn( in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery() 495 when(mDevice.getMetadata(BluetoothDevice.METADATA_UNTETHERED_LEFT_BATTERY)).thenReturn( in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery() 497 when(mDevice.getMetadata(BluetoothDevice.METADATA_UNTETHERED_RIGHT_BATTERY)).thenReturn( in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery() 510 when(mDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)).thenReturn( in getConnectionSummary_trueWirelessDeviceWithBattery_returnActiveWithBattery() 512 when(mDevice.getMetadata(BluetoothDevice.METADATA_UNTETHERED_LEFT_BATTERY)).thenReturn( in getConnectionSummary_trueWirelessDeviceWithBattery_returnActiveWithBattery() 514 when(mDevice.getMetadata(BluetoothDevice.METADATA_UNTETHERED_RIGHT_BATTERY)).thenReturn( in getConnectionSummary_trueWirelessDeviceWithBattery_returnActiveWithBattery() 971 when(mDevice.getMetadata(BluetoothDevice.METADATA_MAIN_ICON)) in getDrawableWithDescription_isAdvancedDevice_returnAdvancedIcon() 973 when(mDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in getDrawableWithDescription_isAdvancedDevice_returnAdvancedIcon() 984 when(mDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in getDrawableWithDescription_isNotAdvancedDevice_returnBluetoothIcon() 995 when(mDevice.getMetadata(BluetoothDevice.METADATA_MAIN_ICON)) in releaseLruCache_lruCacheShouldBeRelease() [all …]
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | MetadataReaderTest.java | 55 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/core/tests/coretests/src/android/security/keystore/recovery/ |
D | WrappedApplicationKeyTest.java | 64 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()
|
D | KeyChainSnapshotTest.java | 104 assertArrayEquals(KEY_METADATA, wrappedApplicationKey.getMetadata()); in build_setsWrappedApplicationKeys() 171 assertArrayEquals(KEY_METADATA, wrappedApplicationKey.getMetadata()); in writeToParcel_writesWrappedApplicationKeys()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/ |
D | KeyChainSnapshotSerializerTest.java | 151 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/ |
D | BluetoothMediaDeviceTest.java | 82 when(bluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in isFastPairDevice_isUntetheredHeadset_returnTrue() 95 when(bluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in isFastPairDevice_isNotUntetheredHeadset_returnFalse() 108 when(bluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in getIcon_isNotFastPairDevice_drawableTypeIsNotBitmapDrawable()
|
/frameworks/compile/slang/BitWriter_2_9_func/ |
D | ValueEnumerator.cpp | 95 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/ |
D | ValueEnumerator.cpp | 95 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/ |
D | ValueEnumerator.cpp | 95 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/packages/SystemUI/tests/src/com/android/systemui/media/ |
D | SeekBarViewModelTest.kt | 137 whenever(mockController.getMetadata()).thenReturn(metadata) in updateDurationWithPlayback() 160 whenever(mockController.getMetadata()).thenReturn(metadata) in updateDurationWithoutPlayback() 176 whenever(mockController.getMetadata()).thenReturn(metadata) in updateDurationNegative() 197 whenever(mockController.getMetadata()).thenReturn(metadata) in updateDurationZero() 214 whenever(mockController.getMetadata()).thenReturn(null) in updateDurationNoMetadata() 633 whenever(mockController.getMetadata()).thenReturn(metadata) in clearSeekBar()
|
/frameworks/base/core/java/android/content/pm/ |
D | InstallationFile.java | 81 public @Nullable byte[] getMetadata() { in getMetadata() method in InstallationFile
|
/frameworks/av/media/extractors/fuzzers/ |
D | ExtractorFuzzerBase.cpp | 107 void ExtractorFuzzerBase::getMetadata() { in getMetadata() function in ExtractorFuzzerBase 195 getMetadata(); in processData()
|
/frameworks/av/drm/libdrmframework/ |
D | DrmManagerClient.cpp | 46 DrmMetadata* DrmManagerClient::getMetadata(const String8* path) { in getMetadata() function in DrmManagerClient 47 return mDrmManagerClientImpl->getMetadata(mUniqueId, path); in getMetadata()
|
D | NoOpDrmManagerClientImpl.cpp | 44 DrmMetadata* NoOpDrmManagerClientImpl::getMetadata( in getMetadata() function in android::NoOpDrmManagerClientImpl
|
/frameworks/compile/libbcc/include/bcc/ |
D | Source.h | 106 bcinfo::MetadataExtractor* getMetadata() const { return mMetadata; } in getMetadata() function
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | BluetoothUtils.java | 318 final byte[] data = bluetoothDevice.getMetadata(key); in getBooleanMetaData() 336 final byte[] data = bluetoothDevice.getMetadata(key); in getStringMetaData() 354 final byte[] data = bluetoothDevice.getMetadata(key); in getIntMetaData()
|
/frameworks/compile/libbcc/lib/ |
D | RSScriptGroupFusion.cpp | 42 bcinfo::MetadataExtractor &metadata = *source.getMetadata(); in getInvokeFunction() 55 bcinfo::MetadataExtractor &metadata = *source->getMetadata(); in getFunction() 100 bcinfo::MetadataExtractor &metadata = *source->getMetadata(); in getFusedFuncSig()
|
/frameworks/base/services/incremental/ |
D | ServiceWrappers.cpp | 174 incfs::RawMetadata getMetadata(const Control& control, FileId fileid) const final { in getMetadata() function in android::incremental::RealIncFs 175 return incfs::getMetadata(control, fileid); in getMetadata() 177 incfs::RawMetadata getMetadata(const Control& control, std::string_view path) const final { in getMetadata() function in android::incremental::RealIncFs 178 return incfs::getMetadata(control, path); in getMetadata()
|
/frameworks/base/core/java/android/security/keystore/recovery/ |
D | WrappedApplicationKey.java | 142 public @Nullable byte[] getMetadata() { in getMetadata() method in WrappedApplicationKey
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/ |
D | MediaOutputControllerTest.java | 240 when(mMediaController.getMetadata()).thenReturn(null); in getHeaderTitle_withoutMetadata_returnDefaultString() 250 when(mMediaController.getMetadata()).thenReturn(mMediaMetadata); in getHeaderTitle_withMetadata_returnSongName() 259 when(mMediaController.getMetadata()).thenReturn(null); in getHeaderSubTitle_withoutMetadata_returnNull() 268 when(mMediaController.getMetadata()).thenReturn(mMediaMetadata); in getHeaderSubTitle_withMetadata_returnArtistName()
|
/frameworks/base/services/core/java/com/android/server/location/provider/proxy/ |
D | ProxyLocationProvider.java | 253 if (mBoundServiceInfo.getMetadata() != null) { in onInitialize() 254 String tagsStr = mBoundServiceInfo.getMetadata().getString(EXTRA_LOCATION_TAGS); in onInitialize()
|
/frameworks/av/media/extractors/fuzzers/include/ |
D | ExtractorFuzzerBase.h | 65 void getMetadata();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaOutputController.java | 179 final MediaMetadata metadata = mMediaController.getMetadata(); in getHeaderTitle() 191 final MediaMetadata metadata = mMediaController.getMetadata(); in getHeaderSubTitle() 202 final MediaMetadata metadata = mMediaController.getMetadata(); in getHeaderIcon()
|
/frameworks/av/drm/common/include/ |
D | IDrmManagerService.h | 99 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path) = 0; 189 virtual DrmMetadata* getMetadata(int uniqueId, const String8* path);
|