Searched refs:setPrimaryClip (Results 1 – 8 of 8) sorted by relevance
48 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()
46 public synchronized void setPrimaryClip(ClipData clip) { in setPrimaryClip() method in ClipboardManagerListenerActivity47 mClipboardManager.setPrimaryClip(clip); in setPrimaryClip()
76 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()
48 clipboardManager.setPrimaryClip(ClipData.newPlainText("Dummy text", "Text")); in testGetTimestamp()
58 mClipboard.setPrimaryClip(clip); in testCanReadAcrossProfiles()68 mClipboard.setPrimaryClip(clip); in testCannotReadAcrossProfiles()
81 .setPrimaryClip(intent.getClipData()); in call()
89 clipboard.setPrimaryClip(clip); in onCreate()
584 private void setPrimaryClip(ClipData clip) { in setPrimaryClip() method in AccessPermissionWithDiffSigTest1586 setPrimaryClip(clip); in testClipboardWithPermission()1610 setPrimaryClip(clip); in testClipboardWithoutPermission()