Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerListenerTest.java48 mActivity.setPrimaryClip(ClipData.newPlainText("Label", "Text")); in testListener()
51 mActivity.setPrimaryClip(ClipData.newPlainText("Label", "Text")); in testListener()
55 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.java76 clipboardManager.setPrimaryClip(ClipData.newPlainText("Label", "Text")); in testHasPrimaryClip()
214 mClipboardManager.setPrimaryClip(clipData); in testPrimaryClipChangedListener()
222 mClipboardManager.setPrimaryClip(clipData); in testClearPrimaryClip()
253 clipboardManager.setPrimaryClip(clipData); in assertSetPrimaryClip()
DClipDescriptionTest.java48 clipboardManager.setPrimaryClip(ClipData.newPlainText("Dummy text", "Text")); in testGetTimestamp()
/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.java584 private void setPrimaryClip(ClipData clip) { in setPrimaryClip() method in AccessPermissionWithDiffSigTest
1586 setPrimaryClip(clip); in testClipboardWithPermission()
1610 setPrimaryClip(clip); in testClipboardWithoutPermission()