/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/info/ |
D | ReceiverInfo.java | 36 return builder().name(receiverInfo.name()).metadata(receiverInfo.metadata()); in builder() 43 public Set<Bundle> metadata() { in metadata() method in ReceiverInfo 60 private ReceiverInfo(String name, Set<Bundle> metadata) { in ReceiverInfo() argument 63 this.mMetadata = metadata; in ReceiverInfo() 75 public Builder metadata(Set<Bundle> metadata) { in metadata() method in ReceiverInfo.Builder 76 mMetadata = metadata; in metadata()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaMetadataTest.java | 51 MediaMetadata metadata = new MediaMetadata.Builder().build(); in builder_defaultConstructor_hasNoData() local 53 assertThat(metadata.size()).isEqualTo(0); in builder_defaultConstructor_hasNoData() 54 assertThat(metadata.keySet()).isEmpty(); in builder_defaultConstructor_hasNoData() 60 MediaMetadata metadata = new MediaMetadata.Builder() in builder_putText() local 64 assertThat(metadata.containsKey(MediaMetadata.METADATA_KEY_TITLE)).isTrue(); in builder_putText() 65 CharSequence titleOut = metadata.getText(MediaMetadata.METADATA_KEY_TITLE); in builder_putText() 72 MediaMetadata metadata = new MediaMetadata.Builder() in builder_putString() local 76 assertThat(metadata.containsKey(MediaMetadata.METADATA_KEY_TITLE)).isTrue(); in builder_putString() 77 String titleOut = metadata.getString(MediaMetadata.METADATA_KEY_TITLE); in builder_putString() 84 MediaMetadata metadata = new MediaMetadata.Builder() in builder_putLong() local [all …]
|
/cts/apps/CameraITS/tests/scene1_1/ |
D | test_capture_result.py | 68 def metadata_checks(metadata, props): argument 75 awb_gains = metadata['android.colorCorrection.gains'] 76 awb_xform = metadata['android.colorCorrection.transform'] 81 logging.debug('AE region: %s', str(metadata['android.control.aeRegions'])) 83 logging.debug('AF region: %s', str(metadata['android.control.afRegions'])) 85 logging.debug('AWB region: %s', str(metadata['android.control.awbRegions'])) 113 metadata = cap['metadata'] 115 ctrl_mode = metadata['android.control.mode'] 121 metadata_checks(metadata, props) 122 awb_gains = metadata['android.colorCorrection.gains'] [all …]
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | BluetoothLeBroadcastMetadataTest.java | 162 BluetoothLeBroadcastMetadata metadata = builder.build(); in createMetadataFromBuilder() local 163 assertFalse(metadata.isEncrypted()); in createMetadataFromBuilder() 164 assertFalse(metadata.isPublicBroadcast()); in createMetadataFromBuilder() 165 assertEquals(TEST_BROADCAST_NAME, metadata.getBroadcastName()); in createMetadataFromBuilder() 166 assertEquals(testDevice, metadata.getSourceDevice()); in createMetadataFromBuilder() 167 assertEquals(BluetoothDevice.ADDRESS_TYPE_RANDOM, metadata.getSourceAddressType()); in createMetadataFromBuilder() 168 assertEquals(TEST_ADVERTISER_SID, metadata.getSourceAdvertisingSid()); in createMetadataFromBuilder() 169 assertEquals(TEST_BROADCAST_ID, metadata.getBroadcastId()); in createMetadataFromBuilder() 170 assertNull(metadata.getBroadcastCode()); in createMetadataFromBuilder() 171 assertEquals(TEST_PA_SYNC_INTERVAL, metadata.getPaSyncInterval()); in createMetadataFromBuilder() [all …]
|
D | BluetoothLeBroadcastAssistantTest.java | 246 BluetoothLeBroadcastMetadata metadata = builder.build(); in addSource() local 250 .addSource(testDevice, metadata, true)); in addSource() 258 .addSource(null, metadata, true)); in addSource() 263 mBluetoothLeBroadcastAssistant.addSource(testDevice, metadata, true); in addSource() 264 verify(mCallbacks, timeout(ADD_SOURCE_TIMEOUT_MS)).onSourceAddFailed(testDevice, metadata, in addSource() 378 BluetoothLeBroadcastMetadata metadata = builder.build(); in modifySource() local 382 .modifySource(testDevice, 0, metadata)); in modifySource() 392 .modifySource(null, 0, metadata)); in modifySource() 395 mBluetoothLeBroadcastAssistant.modifySource(testDevice, 0, metadata); in modifySource()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | TimedMetaDataTest.java | 36 TimedMetaData metadata = new TimedMetaData(1000, RAW_METADATA.getBytes()); in testTimedMetaData() local 37 assertEquals(1000, metadata.getTimestamp()); in testTimedMetaData() 38 assertEquals(RAW_METADATA, new String(metadata.getMetaData(), StandardCharsets.UTF_8)); in testTimedMetaData() 43 TimedMetaData metadata = new TimedMetaData(0, null); in testTimedMetaDataNullMetaData() local
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/ |
D | NotificationListenerQuerySubject.kt | 27 metadata: FailureMetadata, in <lambda>() 29 ) : Subject(metadata, mActual) { in <lambda>() 67 return Factory { metadata: FailureMetadata, actual: NotificationListenerQuery -> in <lambda>() method 69 metadata, in <lambda>()
|
/cts/tests/tests/media/audio/jni/ |
D | audio-metadata-native.cpp | 61 audio_utils::metadata::Data d = audio_utils::metadata::dataFromByteString( in Java_android_media_audio_cts_AudioMetadataTest_nativeGetByteBuffer() 62 audio_utils::metadata::ByteString(bytes, bytes + sizeInBytes)); in Java_android_media_audio_cts_AudioMetadataTest_nativeGetByteBuffer() 64 audio_utils::metadata::ByteString bs = byteStringFromData(d); in Java_android_media_audio_cts_AudioMetadataTest_nativeGetByteBuffer()
|
/cts/apps/CameraITS/tests/scene_flash/ |
D | test_flash_strength.py | 95 metadata = cap['metadata'] 96 exp = int(metadata['android.sensor.exposureTime']) 97 iso = int(metadata['android.sensor.sensitivity']) 101 _AE_MODES[metadata['android.control.aeMode']]) 102 ae_state = _AE_STATES[metadata['android.control.aeState']] 104 flash_state = _FLASH_STATES[metadata['android.flash.state']]
|
D | test_torch_strength.py | 136 metadata = cap['metadata'] 137 exp = int(metadata['android.sensor.exposureTime']) 138 iso = int(metadata['android.sensor.sensitivity']) 142 _AE_MODES[metadata['android.control.aeMode']]) 143 ae_state = _AE_STATES[metadata['android.control.aeState']] 145 flash_state = _FLASH_STATES[metadata['android.flash.state']] 147 logging.debug('FLASH_STRENGTH: %s', metadata['android.flash.strengthLevel'])
|
D | test_led_snapshot.py | 208 metadata = cap['metadata'] 209 exp = int(metadata['android.sensor.exposureTime']) 210 iso = int(metadata['android.sensor.sensitivity']) 213 _AE_MODES[metadata['android.control.aeMode']]) 214 ae_state = _AE_STATES[metadata['android.control.aeState']] 216 flash_state = _FLASH_STATES[metadata['android.flash.state']]
|
/cts/tests/media/src/android/mediav2/cts/ |
D | Av1FilmGrainValidationTest.java | 144 FrameMetadata metadata = mFrameVarList.get(mOutputCount - 1); in dequeueOutput() local 145 double refVariance = metadata.mVarWithoutFilmGrain + ( in dequeueOutput() 146 (metadata.mVarWithFilmGrain - metadata.mVarWithoutFilmGrain) in dequeueOutput() 152 metadata.mFrameIndex, frameVariance, refVariance, in dequeueOutput() 153 metadata.mVarWithoutFilmGrain, metadata.mVarWithFilmGrain); in dequeueOutput()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationTest.java | 727 Notification.BubbleMetadata metadata = in testBubbleMetadata_parcel() local 736 writeAndReadParcelable(metadata); in testBubbleMetadata_parcel() 737 assertEquals(BUBBLE_HEIGHT, metadata.getDesiredHeight()); in testBubbleMetadata_parcel() 738 assertEquals(icon, metadata.getIcon()); in testBubbleMetadata_parcel() 739 assertEquals(bubbleIntent, metadata.getIntent()); in testBubbleMetadata_parcel() 740 assertEquals(deleteIntent, metadata.getDeleteIntent()); in testBubbleMetadata_parcel() 741 assertTrue(metadata.getAutoExpandBubble()); in testBubbleMetadata_parcel() 742 assertTrue(metadata.isNotificationSuppressed()); in testBubbleMetadata_parcel() 743 assertTrue(metadata.isBubbleSuppressable()); in testBubbleMetadata_parcel() 769 Notification.BubbleMetadata metadata = in testBubbleMetadataBuilder_parcelShortcutId() local [all …]
|
/cts/tests/tests/dreams/src/android/service/dreams/cts/ |
D | DreamServiceTest.java | 143 final DreamService.DreamMetadata metadata = getDreamMetadata(dreamComponent); in testMetadataParsing() local 145 assertThat(metadata.settingsActivity).isEqualTo( in testMetadataParsing() 147 assertThat(metadata.showComplications).isFalse(); in testMetadataParsing() 148 assertThat(metadata.dreamCategory).isEqualTo(DreamService.DREAM_CATEGORY_HOME_PANEL); in testMetadataParsing() 156 final DreamService.DreamMetadata metadata = getDreamMetadata(dreamComponent); in testMetadataParsing_invalidSettingsActivity() local 158 assertThat(metadata.settingsActivity).isNull(); in testMetadataParsing_invalidSettingsActivity() 159 assertThat(metadata.dreamCategory).isEqualTo(DreamService.DREAM_CATEGORY_DEFAULT); in testMetadataParsing_invalidSettingsActivity()
|
/cts/common/device-side/bedstead/metricsrecorder/src/main/java/com/android/bedstead/metricsrecorder/truth/ |
D | MetricQueryBuilderSubject.java | 49 … private MetricQueryBuilderSubject(FailureMetadata metadata, @Nullable MetricQueryBuilder actual) { in MetricQueryBuilderSubject() argument 50 super(metadata, actual); in MetricQueryBuilderSubject()
|
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/truth/ |
D | EventLogsSubject.java | 51 private EventLogsSubject(FailureMetadata metadata, @Nullable EventLogs<E> actual) { in EventLogsSubject() argument 52 super(metadata, actual); in EventLogsSubject()
|
/cts/common/device-side/bedstead/testapp/src/library/main/proto/ |
D | testapp_protos.proto | 17 repeated Metadata metadata = 8; field 69 repeated Metadata metadata = 4; field
|
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/unittests/ |
D | HotwordAudioStreamTest.java | 87 final PersistableBundle metadata = new PersistableBundle(); in testHotwordAudioStreamParcelizeDeparcelize() local 88 metadata.putString(key, value); in testHotwordAudioStreamParcelizeDeparcelize() 93 .setMetadata(metadata) in testHotwordAudioStreamParcelizeDeparcelize()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | BubblesVerifierActivity.java | 544 Notification.BubbleMetadata metadata = getBubbleBuilder() in performTestAction() local 547 builder.setBubbleMetadata(metadata); in performTestAction() 573 Notification.BubbleMetadata metadata = getBubbleBuilder() in performTestAction() local 576 builder.setBubbleMetadata(metadata); in performTestAction() 626 Notification.BubbleMetadata metadata = getBubbleBuilder().build(); in performTestAction() local 627 builder.setBubbleMetadata(metadata); in performTestAction() 665 Notification.BubbleMetadata metadata = getBubbleBuilder().build(); in performTestAction() local 666 builder.setBubbleMetadata(metadata); in performTestAction() 692 Notification.BubbleMetadata metadata = getBubbleBuilder().build(); in performTestAction() local 693 builder.setBubbleMetadata(metadata); in performTestAction() [all …]
|
/cts/common/device-side/bedstead/testapp/tools/index/ |
D | index_testapps.py | 234 metadata = Metadata() 235 metadata.name = meta_data_element.attributes["name"] 239 metadata.value = meta_data_element.attributes["value"] 241 android_app.metadata.append(metadata)
|
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/ |
D | TestAppProvider.java | 180 .metadata(metadataSetFromProtoList(receiverEntry.getMetadataList())) in loadApk() 216 for (TestappProtos.Metadata metadata : list) { in metadataSetFromProtoList() 218 metadataBundle.putString(metadata.getName(), metadata.getValue()); in metadataSetFromProtoList()
|
/cts/apps/CameraITS/tests/scene_extensions/scene_low_light/ |
D | test_night_extension.py | 80 metadata = cap['metadata'] 82 metadata['android.sensor.exposureTime']) 84 metadata['android.sensor.sensitivity'])
|
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/ |
D | ReceiverQuery.java | 40 SetQueryHelper<E, Bundle> metadata(); in metadata() method
|
/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/testdata/ |
D | README.md | 1 How to generate dex metadata (.dm) with profile for testing
|
/cts/tests/tests/broadcastradio/src/android/broadcastradio/cts/ |
D | RadioTunerTest.java | 429 RadioMetadata metadata = programInfoList.get(i).getMetadata(); in getSelectorWithBitmap() local 430 int iconId = metadata.getBitmapId(RadioMetadata.METADATA_KEY_ICON); in getSelectorWithBitmap() 434 int artId = metadata.getBitmapId(RadioMetadata.METADATA_KEY_ART); in getSelectorWithBitmap() 443 RadioMetadata metadata = info.getMetadata(); in assumeImageMetadataId() local 444 int iconId = metadata.getBitmapId(RadioMetadata.METADATA_KEY_ICON); in assumeImageMetadataId() 445 int artId = metadata.getBitmapId(RadioMetadata.METADATA_KEY_ART); in assumeImageMetadataId()
|