/cts/tests/tests/media/src/android/media/cts/ |
D | MediaMetricsTest.java | 42 final MediaMetrics.Item item = new MediaMetrics.Item(key); in testBasicItem() 59 assertEquals("Key", bundle.getString(MediaMetrics.Item.BUNDLE_KEY)); in testBasicItem() 60 assertEquals(-1, bundle.getInt(MediaMetrics.Item.BUNDLE_PID)); // default PID in testBasicItem() 61 assertEquals(-1, bundle.getInt(MediaMetrics.Item.BUNDLE_UID)); // default UID in testBasicItem() 62 assertEquals(0, bundle.getChar(MediaMetrics.Item.BUNDLE_VERSION)); in testBasicItem() 63 assertEquals(key.length() + 1, bundle.getChar(MediaMetrics.Item.BUNDLE_KEY_SIZE)); in testBasicItem() 64 assertEquals(0, bundle.getLong(MediaMetrics.Item.BUNDLE_TIMESTAMP)); // default Time in testBasicItem() 65 assertEquals(4, bundle.getInt(MediaMetrics.Item.BUNDLE_PROPERTY_COUNT)); in testBasicItem() 75 final MediaMetrics.Item item = new MediaMetrics.Item( in testBigItem() 98 assertEquals(key, bundle.getString(MediaMetrics.Item.BUNDLE_KEY)); in testBigItem() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | IsObjectTest.java | 72 ScriptField__object_element_input.Item mItem = in testIsObjectElement() 73 new ScriptField__object_element_input.Item(); in testIsObjectElement() 93 ScriptField__object_type_input.Item mItem = new ScriptField__object_type_input.Item(); in testIsObjectType() 116 ScriptField__object_allocation_input.Item mItem = in testIsObjectAllocation() 117 new ScriptField__object_allocation_input.Item(); in testIsObjectAllocation() 139 ScriptField__object_sampler_input.Item mItem = in testIsObjectSampler() 140 new ScriptField__object_sampler_input.Item(); in testIsObjectSampler() 162 ScriptField__object_script_input.Item mItem = new ScriptField__object_script_input.Item(); in testIsObjectScript()
|
D | SetObjectTest.java | 74 …ScriptField__set_object_element_input.Item mItem = new ScriptField__set_object_element_input.Item(… in testSetObjectElement() 94 … ScriptField__set_object_type_input.Item mItem = new ScriptField__set_object_type_input.Item(); in testSetObjectType() 117 …ScriptField__set_object_allocation_input.Item mItem = new ScriptField__set_object_allocation_input… in testSetObjectAllocation() 139 …ScriptField__set_object_sampler_input.Item mItem = new ScriptField__set_object_sampler_input.Item(… in testSetObjectSampler() 161 … ScriptField__set_object_script_input.Item mItem = new ScriptField__set_object_script_input.Item(); in testSetObjectScript()
|
D | StructPadTest.java | 35 ScriptField_PadMe.Item I = new ScriptField_PadMe.Item(); in testStructPadding() 40 S.set(new ScriptField_PadMe.Item(), 0, true); in testStructPadding()
|
D | ComputeTest.java | 263 ScriptField_AllVectorTypes.Item avtItem; in initializeGlobals() 264 avtItem = new ScriptField_AllVectorTypes.Item(); in initializeGlobals() 693 ScriptField_objects_rs.Item i = new ScriptField_objects_rs.Item(); in initializeStructObject()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ClipboardManagerTest.java | 31 import android.content.ClipData.Item; 146 new Item("Text", intent, uri)); in testSetPrimaryClip_complexItem() 159 textData.addItem(new Item("More Text")); in testSetPrimaryClip_multipleItems() 160 textData.addItem(new Item(intent)); in testSetPrimaryClip_multipleItems() 161 textData.addItem(new Item(uri)); in testSetPrimaryClip_multipleItems() 186 clipData.addItem(contentResolver, new Item("More Text")); in testSetPrimaryClip_multipleMimeTypes() 187 clipData.addItem(contentResolver, new Item(intent)); in testSetPrimaryClip_multipleMimeTypes() 188 clipData.addItem(contentResolver, new Item(uri)); in testSetPrimaryClip_multipleMimeTypes() 189 clipData.addItem(contentResolver, new Item(contentUri1)); in testSetPrimaryClip_multipleMimeTypes() 190 clipData.addItem(contentResolver, new Item(contentUri2)); in testSetPrimaryClip_multipleMimeTypes() [all …]
|
D | ClipDataTest.java | 73 ClipData clip = new ClipData(description, new ClipData.Item("secret-text")); in testToString_metadata() 82 clip.addItem(new ClipData.Item("secret-two")); in testToString_multipleItems() 83 clip.addItem(new ClipData.Item("secret-three")); in testToString_multipleItems() 91 ClipData.Item item = new ClipData.Item( in testToString_complexItem()
|
D | ImageCaptureActivity.java | 20 import android.content.ClipData.Item;
|
D | ReadableFileReceiverActivity.java | 20 import android.content.ClipData.Item;
|
D | ClipDescriptionTest.java | 102 ClipData clipData = new ClipData(clipDescription, new ClipData.Item(spannable)); in testIsStyledText() 122 ClipData clipData = new ClipData(clipDescription, new ClipData.Item("Just text")); in testNotStyledText()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | VirtualContainerView.java | 69 private final SparseArray<Item> mItems = new SparseArray<>(); 140 final Item item = getItem(id); in autofill() 229 final Item item = mItems.valueAt(i); in onProvideAutofillVirtualStructure() 277 final Item item = getItem(virtualId); in isVisibleToUserForAutofill() 296 private Item getItem(int id) { in getItem() 297 final Item item = mItems.get(id); in getItem() 311 final Item item = mItems.valueAt(i); in onProvideAutofillCompatModeAccessibilityNodeInfo() 370 final Item item = getItem(virtualViewId); in setCompatMode() 381 final Item item = getItem(virtualViewId); in setCompatMode() 416 public final Item text; [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ViewReceiveContentTest.java | 181 new ClipData.Item(Uri.parse("content://example/1"))); in testOnDragEvent_withOnReceiveContentListener() 201 new ClipData.Item(Uri.parse("content://example/1"))); in testOnDragEvent_withOnReceiveContentListener_noneOfTheContentAccepted() 221 new ClipData.Item(Uri.parse("content://example/1"))); in testOnDragEvent_withOnReceiveContentListener_someOfTheContentAccepted() 230 new ClipData.Item(Uri.parse("content://example/1"))); in sampleUriPayload() 251 ClipData.Item expectedItem = mClip.getItemAt(0); in matches() 252 ClipData.Item actualItem = actual.getClip().getItemAt(0); in matches()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | Asserts.java | 45 ClipData.Item item = clip.getItemAt(i); in assertAccess() 99 ClipData.Item item = clip.getItemAt(i); in assertReadingClipNotAllowed() 203 ClipData.Item item = clip.getItemAt(i); in assertWritingClipNotAllowed() 223 ClipData.Item item = clip.getItemAt(i); in assertReadingClipAllowed() 251 ClipData.Item item = clip.getItemAt(i); in assertWritingClipAllowed() 273 final ClipData.Item expectedItem = expected.getItemAt(i); in assertClipDataEquals() 274 final ClipData.Item actualItem = actual.getItemAt(i); in assertClipDataEquals()
|
D | UriGrantsTest.java | 54 new ClipData.Item(uri)); in makeSingleClipData() 64 new ClipData.Item(grantClip1Uri)); in makeMultiClipData() 65 clip.addItem(new ClipData.Item(grantClip2Uri)); in makeMultiClipData() 69 clip.addItem(new ClipData.Item(new Intent(Intent.ACTION_VIEW, grantClip3Uri))); in makeMultiClipData() 73 clip.addItem(new ClipData.Item(intent)); in makeMultiClipData() 76 new ClipData.Item(grantClip5Uri))); in makeMultiClipData() 77 clip.addItem(new ClipData.Item(intent)); in makeMultiClipData()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/inline/ |
D | InlineAugmentedContentTest.java | 161 new String[]{suggestionMimeType}, new ClipData.Item(suggestionUri)); 199 new String[]{suggestionMimeType}, new ClipData.Item(suggestion)); 249 ClipData.Item item = clip.getItemAt(i);
|
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/ |
D | ConstraintTest.java | 90 new ClipData.Item(mFirstUri)); in injectInstrumentation() 92 new ClipData.Item(mSecondUri)); in injectInstrumentation()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewReceiveContentTest.java | 273 new ClipData.Item("text", "html", null, SAMPLE_CONTENT_URI)); in testDefaultReceiver_onReceive_unsupportedMimeType() 286 new ClipData.Item("text", "html", null, SAMPLE_CONTENT_URI)); in testDefaultReceiver_onReceive_unsupportedMimeType_convertToPlainText() 299 clip.addItem(new ClipData.Item("TWO")); in testDefaultReceiver_onReceive_multipleItemsInClipData() 300 clip.addItem(new ClipData.Item("THREE")); in testDefaultReceiver_onReceive_multipleItemsInClipData() 403 new ClipData.Item("y", null, SAMPLE_CONTENT_URI)); in testPaste_customReceiver_unsupportedMimeType() 705 new ClipData.Item("y", null, SAMPLE_CONTENT_URI)); in testDragAndDrop_customReceiver_unsupportedMimeType() 902 ClipData.Item expectedItem = mClip.getItemAt(0); in matches() 903 ClipData.Item actualItem = actual.getClip().getItemAt(0); in matches()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | BaseJobSchedulerTest.java | 92 new ClipData.Item(mFirstUri)); in injectInstrumentation() 94 new ClipData.Item(mSecondUri)); in injectInstrumentation()
|
/cts/tests/tests/security/src/android/security/cts/CVE_2021_0327/ |
D | IntroActivity.java | 27 …intent.setClipData(new ClipData("d", new String[]{"a/b"}, new ClipData.Item(Uri.parse("content://a… in launchOtherUserActivity()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | CopyPasteTest.java | 89 ClipData.Item item = clip.getItemAt(0); in getTextFromClipboard()
|
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/ |
D | DragSource.java | 105 final ClipData clipData = new ClipData(clipDescription, new ClipData.Item(uri)); in setUpDragSource()
|
/cts/tests/tests/view/receivecontent/src/android/view/cts/receivecontent/ |
D | ContentInfoTest.java | 61 clip.addItem(new ClipData.Item("Hi", "<b>Salut</b>")); in testPartition_multipleItems() 62 clip.addItem(new ClipData.Item(sampleUri)); in testPartition_multipleItems()
|
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/ |
D | DropTarget.java | 203 ClipData.Item item = clipData.getItemAt(0); in processDrop()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/unittests/ |
D | DatasetTest.java | 64 new ClipData.Item("content://example/0"));
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DragDropTest.java | 101 new ClipData(sClipDescription, new ClipData.Item("TestText"));
|