Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerListenerTest.java49 mActivity.setPrimaryClip(ClipData.newPlainText("Label", "Text")); in testListener()
52 mActivity.setPrimaryClip(ClipData.newPlainText("Label", "Text")); in testListener()
56 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()
DClipboardManagerTest.java86 clipboardManager.setPrimaryClip(ClipData.newPlainText("Label", "Text")); in testHasPrimaryClip()
224 mClipboardManager.setPrimaryClip(clipData); in testPrimaryClipChangedListener()
232 mClipboardManager.setPrimaryClip(clipData); in testClearPrimaryClip()
263 mClipboardManager.setPrimaryClip(ClipData.newPlainText("TextLabel", "Text2")); in testPrimaryClipNotAvailableWithoutFocus()
310 clipboardManager.setPrimaryClip(clipData); in assertSetPrimaryClip()
DClipDescriptionTest.java67 clipboardManager.setPrimaryClip(ClipData.newPlainText("Dummy text", "Text")); in testGetTimestamp()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DClipboardAccessTest.java50 mClipboardManager.setPrimaryClip(ClipData.newPlainText(null, "Y U SET?")); in testDoIt()
56 mClipboardManager.setPrimaryClip(ClipData.newPlainText(null, "YES, WE CAN!")); in testDoIt()
/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/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DCopyPasteTest.java58 mClipboard.setPrimaryClip(clip); in testCanReadAcrossProfiles()
68 mClipboard.setPrimaryClip(clip); in testCannotReadAcrossProfiles()
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DUtilsProvider.java81 .setPrimaryClip(intent.getClipData()); in call()
/cts/hostsidetests/devicepolicy/app/IntentReceiver/src/com/android/cts/intent/receiver/
DIntentReceiverActivity.java89 clipboard.setPrimaryClip(clip); in onCreate()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DAccessPermissionWithDiffSigTest.java604 private void setPrimaryClip(ClipData clip) { in setPrimaryClip() method in AccessPermissionWithDiffSigTest
1631 setPrimaryClip(clip); in testClipboardWithPermission()
1659 setPrimaryClip(clip); in testClipboardWithoutPermission()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DLoginActivityTest.java2110 cm.setPrimaryClip(ClipData.newPlainText(null, "test")); in testAutofillManuallyOneDatasetWhenClipboardFull()