/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/ |
D | BluetoothUtilsTest.java | 134 when(mBluetoothDevice.getMetadata( in getBtRainbowDrawableWithDescription_normalHeadset_returnAdaptiveIcon() 146 when(mBluetoothDevice.getMetadata( in getStringMetaData_hasMetaData_getCorrectMetaData() 156 when(mBluetoothDevice.getMetadata( in getIntMetaData_hasMetaData_getCorrectMetaData() 167 when(mBluetoothDevice.getMetadata( in getIntMetaData_invalidMetaData_getErrorCode() 177 when(mBluetoothDevice.getMetadata( in getBooleanMetaData_hasMetaData_getCorrectMetaData() 187 when(mBluetoothDevice.getMetadata( in getUriMetaData_hasMetaData_getCorrectMetaData() 197 when(mBluetoothDevice.getMetadata( in getUriMetaData_nullMetaData_getNullUri() 206 when(mBluetoothDevice.getMetadata(METADATA_FAST_PAIR_CUSTOMIZED_FIELDS)).thenReturn( in getControlUriMetaData_hasMetaData_returnsCorrectMetaData() 215 when(mBluetoothDevice.getMetadata( in isAdvancedDetailsHeader_untetheredHeadset_returnTrue() 224 when(mBluetoothDevice.getMetadata( in isAdvancedDetailsHeader_deviceTypeUntetheredHeadset_returnTrue() [all …]
|
D | CachedBluetoothDeviceTest.java | 1202 when(mDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)).thenReturn( in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery() 1204 when(mDevice.getMetadata(BluetoothDevice.METADATA_UNTETHERED_LEFT_BATTERY)).thenReturn( in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery() 1206 when(mDevice.getMetadata(BluetoothDevice.METADATA_UNTETHERED_RIGHT_BATTERY)).thenReturn( in getConnectionSummary_trueWirelessActiveDeviceWithBattery_returnActiveWithBattery() 1220 when(mDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)).thenReturn( in getTvConnectionSummary_trueWirelessActiveDeviceWithBattery_returnBattery() 1222 when(mDevice.getMetadata(BluetoothDevice.METADATA_UNTETHERED_LEFT_BATTERY)).thenReturn( in getTvConnectionSummary_trueWirelessActiveDeviceWithBattery_returnBattery() 1224 when(mDevice.getMetadata(BluetoothDevice.METADATA_UNTETHERED_RIGHT_BATTERY)).thenReturn( in getTvConnectionSummary_trueWirelessActiveDeviceWithBattery_returnBattery() 1237 when(mDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)).thenReturn( in getConnectionSummary_trueWirelessDeviceWithBattery_returnActiveWithBattery() 1239 when(mDevice.getMetadata(BluetoothDevice.METADATA_UNTETHERED_LEFT_BATTERY)).thenReturn( in getConnectionSummary_trueWirelessDeviceWithBattery_returnActiveWithBattery() 1241 when(mDevice.getMetadata(BluetoothDevice.METADATA_UNTETHERED_RIGHT_BATTERY)).thenReturn( in getConnectionSummary_trueWirelessDeviceWithBattery_returnActiveWithBattery() 1256 when(mDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)).thenReturn( in getTvConnectionSummary_trueWirelessDeviceWithBattery_returnBattery() [all …]
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | MetadataReaderTest.java | 65 MetadataReader.getMetadata(mData, mInputStream, "image/jpg", null); in testGetMetadata() 83 MetadataReader.getMetadata(mData, mInputStream, "image/jpg", tags); in testGetMetadata_JpegOneTag() 92 MetadataReader.getMetadata(mData, mInputStream, "image/jpg", tags); in testGetMetadata_JpegNoResults() 101 MetadataReader.getMetadata(mData, stream, "image/jpg", null); in testGetMetadata_BadFile() 109 MetadataReader.getMetadata(mData, mInputStream, "no/metadata", null); in testGetMetadata_UnsupportedMimeType() 115 MetadataReader.getMetadata(mData, mInputStream, "image/jpg", new String[0]); in testGetMetadata_NoTags() 122 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 | 85 when(bluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in isFastPairDevice_isUntetheredHeadset_returnTrue() 98 when(bluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in isFastPairDevice_isNotUntetheredHeadset_returnFalse() 111 when(bluetoothDevice.getMetadata(BluetoothDevice.METADATA_IS_UNTETHERED_HEADSET)) in getIcon_isNotFastPairDevice_drawableTypeIsNotBitmapDrawable()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/ |
D | DeviceItemFactoryTest.kt | 122 `when`(bluetoothDevice.getMetadata(BluetoothDevice.METADATA_EXCLUSIVE_MANAGER)) in testSavedFactory_isFilterMatched_exclusivelyManaged_returnsFalse() 146 `when`(bluetoothDevice.getMetadata(BluetoothDevice.METADATA_EXCLUSIVE_MANAGER)) in testSavedFactory_isFilterMatched_exclusiveManagerNotEnabled_returnsTrue() 160 `when`(bluetoothDevice.getMetadata(BluetoothDevice.METADATA_EXCLUSIVE_MANAGER)) in testSavedFactory_isFilterMatched_exclusiveManagerNotInstalled_returnsTrue() 227 `when`(bluetoothDevice.getMetadata(BluetoothDevice.METADATA_EXCLUSIVE_MANAGER)) in testConnectedFactory_isFilterMatched_exclusivelyManaged_returnsFalse() 253 `when`(bluetoothDevice.getMetadata(BluetoothDevice.METADATA_EXCLUSIVE_MANAGER)) in testConnectedFactory_isFilterMatched_exclusiveManagerNotEnabled_returnsTrue() 268 `when`(bluetoothDevice.getMetadata(BluetoothDevice.METADATA_EXCLUSIVE_MANAGER)) in testConnectedFactory_isFilterMatched_exclusiveManagerNotInstalled_returnsTrue()
|
/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/voiceinteraction/ |
D | HotwordAudioStreamCopierTest.java | 124 audioStream.getMetadata().putInt(KEY_AUDIO_STREAM_COPY_BUFFER_LENGTH_BYTES, in testCustomCopyBufferLength() 158 audioStream.getMetadata().putInt(KEY_AUDIO_STREAM_COPY_BUFFER_LENGTH_BYTES, 0); in testInvalidCopyBufferLength_NonPositive() 186 audioStream.getMetadata().putInt(KEY_AUDIO_STREAM_COPY_BUFFER_LENGTH_BYTES, in testInvalidCopyBufferLength_ExceedsMaximum() 215 audioStream.getMetadata().putString(KEY_AUDIO_STREAM_COPY_BUFFER_LENGTH_BYTES, in testInvalidCopyBufferLength_NotAnInt()
|
/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_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/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/av/services/camera/libcameraservice/utils/ |
D | SessionConfigurationUtilsHidl.h | 38 metadataGetter getMetadata, const std::vector<std::string> &physicalCameraIds,
|
D | SessionConfigurationUtilsHidl.cpp | 109 metadataGetter getMetadata, const std::vector<std::string> &physicalCameraIds, in convertToHALStreamCombination() argument 114 false /*isCompositeJpegRDisabled*/, getMetadata, physicalCameraIds, in convertToHALStreamCombination()
|
/frameworks/base/core/java/android/content/pm/ |
D | InstallationFile.java | 81 public @Nullable byte[] getMetadata() { in getMetadata() method in InstallationFile
|
/frameworks/av/media/module/extractors/fuzzers/ |
D | ExtractorFuzzerBase.cpp | 107 void ExtractorFuzzerBase::getMetadata() { in getMetadata() function in ExtractorFuzzerBase 195 getMetadata(); in processData()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/mock/ |
D | LayerFE.h | 62 MOCK_CONST_METHOD0(getMetadata, gui::LayerMetadata*());
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | SeekBarViewModelTest.kt | 146 whenever(mockController.getMetadata()).thenReturn(metadata) in updateDurationWithPlayback() 171 whenever(mockController.getMetadata()).thenReturn(metadata) in updateDurationWithoutPlayback() 188 whenever(mockController.getMetadata()).thenReturn(metadata) in updateDurationNegative() 211 whenever(mockController.getMetadata()).thenReturn(metadata) in updateDurationZero() 229 whenever(mockController.getMetadata()).thenReturn(null) in updateDurationNoMetadata() 756 whenever(mockController.getMetadata()).thenReturn(metadata) in clearSeekBar()
|
/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/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/core/java/android/security/keystore/recovery/ |
D | WrappedApplicationKey.java | 142 public @Nullable byte[] getMetadata() { in getMetadata() method in WrappedApplicationKey
|
/frameworks/native/services/surfaceflinger/ |
D | LayerFE.h | 49 const gui::LayerMetadata* getMetadata() const override;
|
/frameworks/av/media/module/extractors/fuzzers/include/ |
D | ExtractorFuzzerBase.h | 65 void getMetadata();
|