/cts/tests/tests/content/src/android/content/cts/ |
D | ClipboardManagerTest.java | 185 ClipData clipData = ClipData.newPlainText("TextLabel", "Text"); in testSetPrimaryClip_multipleMimeTypes() local 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() 191 clipData.addItem(contentResolver, new Item(contentUri3)); in testSetPrimaryClip_multipleMimeTypes() 192 clipData.addItem(contentResolver, new Item(contentUri4)); in testSetPrimaryClip_multipleMimeTypes() 193 clipData.addItem(contentResolver, new Item(contentUri5)); in testSetPrimaryClip_multipleMimeTypes() 194 clipData.addItem(contentResolver, new Item(contentUri6)); in testSetPrimaryClip_multipleMimeTypes() [all …]
|
D | ReadableFileReceiverActivity.java | 80 ClipData clipData = intent.getClipData(); in getFilesFromIntent() local 81 if (clipData == null) { in getFilesFromIntent() 85 if (clipData.getItemCount() == 0) { in getFilesFromIntent() 91 for (int i = 0; i < clipData.getItemCount(); i++) { in getFilesFromIntent() 92 Uri filePath = clipData.getItemAt(i).getUri(); in getFilesFromIntent()
|
D | ImageCaptureActivity.java | 80 ClipData clipData = intent.getClipData(); in getFileFromIntent() local 81 if (clipData == null) { in getFileFromIntent() 85 if (clipData.getItemCount() == 0) { in getFileFromIntent() 90 Uri filePath = clipData.getItemAt(0).getUri(); in getFileFromIntent()
|
D | ClipDescriptionTest.java | 102 ClipData clipData = new ClipData(clipDescription, new ClipData.Item(spannable)); in testIsStyledText() local 109 clipboardManager.setPrimaryClip(clipData); in testIsStyledText() 122 ClipData clipData = new ClipData(clipDescription, new ClipData.Item("Just text")); in testNotStyledText() local 128 clipboardManager.setPrimaryClip(clipData); in testNotStyledText() 150 ClipData clipData = ClipData.newPlainText("label", "Just some text"); in testClassificationNotCompletedBeforeCopy() local 162 ClipData clipData = ClipData.newPlainText("label", longString); in testClassificationNotPerformedForVeryLongText() local 167 clipboardManager.setPrimaryClip(clipData); in testClassificationNotPerformedForVeryLongText() 177 ClipData clipData = ClipData.newPlainText( in testClassificationConfidenceValuesAreValid() local 183 clipboardManager.setPrimaryClip(clipData); in testClassificationConfidenceValuesAreValid()
|
D | ClipboardManagerListenerTest.java | 83 ClipData clipData = mActivity.getPrimaryClip(); in expectedCallbackCount() local 85 if (clipData.getDescription().getClassificationStatus() in expectedCallbackCount()
|
/cts/tests/framework/base/windowmanager/dndtargetapp/src/android/server/wm/dndtargetapp/ |
D | DropTarget.java | 196 final ClipData clipData = event.getClipData(); in processDrop() local 197 if (clipData == null) { in processDrop() 200 if (clipData.getItemCount() == 0) { in processDrop() 203 ClipData.Item item = clipData.getItemAt(0); in processDrop() 236 final ClipData clipData = event.getClipData(); in checkDragEvent() local 238 if (clipData == null) { in checkDragEvent() 242 if (clipData != null) { in checkDragEvent()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | JobParametersTest.java | 38 final ClipData clipData = ClipData.newPlainText("test", "testText"); in testClipData() local 41 .setClipData(clipData, grantFlags) in testClipData() 50 assertEquals(clipData.getItemCount(), params.getClipData().getItemCount()); in testClipData() 51 assertEquals(clipData.getItemAt(0).getText(), params.getClipData().getItemAt(0).getText()); in testClipData()
|
D | JobInfoTest.java | 97 final ClipData clipData = ClipData.newPlainText("test", "testText"); in testClipData() local 99 .setClipData(clipData, Intent.FLAG_GRANT_READ_URI_PERMISSION) in testClipData() 101 assertEquals(clipData, ji.getClipData()); in testClipData()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/activities/ |
D | AccessibilityDragAndDropActivity.java | 45 final ClipData clipData = ClipData.newPlainText("Text", text.getText()); in onCreate() 47 return host.startDragAndDrop(clipData, shadowBuilder, null, in onCreate()
|
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/ |
D | IntentReceiverActivity.java | 81 final ClipData clipData = getIntent().getClipData(); in onCreate() local 82 final Uri uri = clipData != null ? clipData.getItemAt(0).getUri() : null; in onCreate()
|
/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() 107 clipData, in setUpDragSource()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DragDropTest.java | 111 public ClipData clipData; // DragEvent.getClipData() field in DragDropTest.LogEntry 116 LogEntry(View v, int action, float x, float y, ClipData clipData, in LogEntry() argument 122 this.clipData = clipData; in LogEntry() 139 && compareParcelables(clipData, other.clipData) in equals()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0928/src/android/security/cts/CVE_2021_0928/ |
D | AInjector.java | 49 ClipData clipData = parcel.readParcelable(null); in createClipData() local 52 return clipData; in createClipData()
|