Home
last modified time | relevance | path

Searched refs:setPrimaryClip (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerListenerTest.java61 mActivity.setPrimaryClip(ClipData.newPlainText("Label", "Text")); in testListener()
65 mActivity.setPrimaryClip(ClipData.newRawUri("Label", Uri.parse("http://www.google.com"))); in testListener()
69 mActivity.setPrimaryClip(ClipData.newPlainText("Label", "")); in testListener()
74 mActivity.setPrimaryClip(ClipData.newRawUri("Label", Uri.parse("http://www.google.com"))); in testListener()
DClipboardManagerListenerActivity.java46 public synchronized void setPrimaryClip(ClipData clip) { in setPrimaryClip() method in ClipboardManagerListenerActivity
47 mClipboardManager.setPrimaryClip(clip); in setPrimaryClip()
DClipDescriptionTest.java97 clipboardManager.setPrimaryClip(ClipData.newPlainText("Dummy text", "Text")); in testGetTimestamp()
128 clipboardManager.setPrimaryClip(clipData); in testIsStyledText()
133 clipboardManager.setPrimaryClip(clipData2); in testIsStyledText()
149 clipboardManager.setPrimaryClip(clipData); in testNotStyledText()
154 clipboardManager.setPrimaryClip(clipData2); in testNotStyledText()
160 clipboardManager.setPrimaryClip(clipDataUri); in testNotStyledText()
190 clipboardManager.setPrimaryClip(clipData); in testClassificationNotPerformedForVeryLongText()
208 clipboardManager.setPrimaryClip(clipData); in testClassificationConfidenceValuesAreValid()
DClipboardManagerTest.java124 clipboardManager.setPrimaryClip(ClipData.newPlainText("Label", "Text")); in testHasPrimaryClip()
264 mClipboardManager.setPrimaryClip(clipData); in testPrimaryClipChangedListener()
272 mClipboardManager.setPrimaryClip(clipData); in testClearPrimaryClip()
304 mClipboardManager.setPrimaryClip(ClipData.newPlainText("TextLabel", "Text2")); in testPrimaryClipNotAvailableWithoutFocus()
328 mClipboardManager.setPrimaryClip(clip); in testReadInBackgroundRequiresPermission()
354 mClipboardManager.setPrimaryClip(clipData); in testClipSourceRecordedWhenClipSet()
398 clipboardManager.setPrimaryClip(clipData); in assertSetPrimaryClip()
DClipboardAutoClearTest.java103 clipboardManager.setPrimaryClip( in testAutoClearEnabledDefault()
130 clipboardManager.setPrimaryClip( in testAutoClearJob()
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/
DStreamedAppClipboardTest.java111 virtualDevice.mClipboardManager.setPrimaryClip(CLIP_DATA); in deviceOwnerCanAccessClipboard()
122 virtualDevice.mClipboardManager.setPrimaryClip(CLIP_DATA); in streamedAppCanReadClipboard()
145 virtualDevice.mClipboardManager.setPrimaryClip(CLIP_DATA); in streamedAppCanReadClipboard_hostDeviceIsLocked()
175 defaultDevice.mClipboardManager.setPrimaryClip(CLIP_DATA); in clipboardsAreIsolated()
180 virtualDevice.mClipboardManager.setPrimaryClip(CLIP_DATA); in clipboardsAreIsolated()
188 defaultDevice.mClipboardManager.setPrimaryClip(CLIP_DATA); in streamedAppCanNotReadDefaultDeviceClipboard()
214 defaultDevice.mClipboardManager.setPrimaryClip(CLIP_DATA); in customPolicy_clipboardsAreShared()
221 virtualDevice.mClipboardManager.setPrimaryClip(CLIP_DATA); in customPolicy_clipboardsAreShared()
239 defaultDevice.mClipboardManager.setPrimaryClip(CLIP_DATA); in customPolicy_streamedAppReadsFromDefaultDeviceClipboard()
266 anotherVirtualDevice.mClipboardManager.setPrimaryClip(CLIP_DATA); in streamedAppCanNotReadAnotherVirtualDeviceClipboard()
[all …]
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DUriGrantsClipboardTest.java28 import static com.android.cts.usespermissiondiffcertapp.Utils.setPrimaryClip;
66 setPrimaryClip(clip); in testClipboardWithPermission()
96 setPrimaryClip(clip); in testClipboardWithoutPermission()
DUtils.java108 static void setPrimaryClip(ClipData clip) { in setPrimaryClip() method in Utils
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DClipboardAccessTest.java51 mClipboardManager.setPrimaryClip(ClipData.newPlainText(null, "Y U SET?")); in testDoIt()
57 mClipboardManager.setPrimaryClip(ClipData.newPlainText(null, "YES, WE CAN!")); in testDoIt()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DClipboardAccessTest.java51 mClipboardManager.setPrimaryClip(ClipData.newPlainText(null, "Y U SET?")); in testDoIt()
57 mClipboardManager.setPrimaryClip(ClipData.newPlainText(null, "YES, WE CAN!")); in testDoIt()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DCopyPasteTest.java52 mClipboard.setPrimaryClip(clip); in testCopyInitialText()
58 mClipboard.setPrimaryClip(clip); in testCopyNewText()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/clipboard/
DClipboardPreviewTestActivity.java64 cm.setPrimaryClip(cd); in setClipboardData()
/cts/tests/tests/virtualdevice/app/src/android/virtualdevice/streamedtestapp/
DClipboardTestActivity.java68 clipboardManager.setPrimaryClip(clip); in processAction()
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DUtilsProvider.java88 .setPrimaryClip(intent.getClipData()); in call()
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DIntentReceiverActivity.java89 clipboard.setPrimaryClip(clip); in onCreate()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewReceiveContentTest.java829 mClipboardManager.setPrimaryClip(clip); in copyToClipboard()
/cts/tests/autofillservice/src/android/autofillservice/cts/dropdown/
DLoginActivityTest.java2358 cm.setPrimaryClip(ClipData.newPlainText(null, "test")); in testAutofillManuallyOneDatasetWhenClipboardFull()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt10140 method public void setPrimaryClip(@NonNull android.content.ClipData);