Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/cts/
DClipboardManagerListenerActivity.java50 public synchronized ClipData getPrimaryClip() { in getPrimaryClip() method in ClipboardManagerListenerActivity
51 return mClipboardManager.getPrimaryClip(); in getPrimaryClip()
DClipboardManagerTest.java117 assertNotNull(clipboardManager.getPrimaryClip()); in testHasPrimaryClip()
120 assertNull(clipboardManager.getPrimaryClip()); in testHasPrimaryClip()
275 assertNotNull(mClipboardManager.getPrimaryClip()); in testClearPrimaryClip()
281 assertNull(mClipboardManager.getPrimaryClip()); in testClearPrimaryClip()
300 assertNull(mClipboardManager.getPrimaryClip()); in testPrimaryClipNotAvailableWithoutFocus()
307 assertNull(mClipboardManager.getPrimaryClip()); in testPrimaryClipNotAvailableWithoutFocus()
314 assertNotNull(mClipboardManager.getPrimaryClip()); in testPrimaryClipNotAvailableWithoutFocus()
318 assertClipData(mClipboardManager.getPrimaryClip(), in testPrimaryClipNotAvailableWithoutFocus()
337 assertThat(mClipboardManager.getPrimaryClip()).isNull(); in testReadInBackgroundRequiresPermission()
345 () -> mClipboardManager.getPrimaryClip(), in testReadInBackgroundRequiresPermission()
[all …]
DClipDescriptionTest.java105 + "clipdata: " + clipboardManager.getPrimaryClip()); in testGetTimestamp()
194 assertThat(clipboardManager.getPrimaryClip().getItemAt(0).getTextLinks()) in testClassificationNotPerformedForVeryLongText()
237 clipboardManager.getPrimaryClip().getItemAt(0).getTextLinks(); in testClassificationConfidenceValuesAreValid()
DClipboardManagerListenerTest.java93 ClipData clipData = mActivity.getPrimaryClip(); in expectedCallbackCount()
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/
DStreamedAppClipboardTest.java115 verifyClipData(virtualDevice.mClipboardManager.getPrimaryClip()); in deviceOwnerCanAccessClipboard()
135 verifyClipData(virtualDevice.mClipboardManager.getPrimaryClip()); in streamedAppCanWriteClipboard()
165 verifyClipData(virtualDevice.mClipboardManager.getPrimaryClip()); in streamedAppCanWriteClipboard_hostDeviceIsLocked()
216 verifyClipData(virtualDevice.mClipboardManager.getPrimaryClip()); in customPolicy_clipboardsAreShared()
223 verifyClipData(defaultDevice.mClipboardManager.getPrimaryClip()); in customPolicy_clipboardsAreShared()
258 verifyClipData(defaultDevice.mClipboardManager.getPrimaryClip()); in customPolicy_streamedAppWritesToDefaultDeviceClipboard()
333 verifyClipData(virtualDevice.mClipboardManager.getPrimaryClip()); in customPolicy_defaultDeviceAppCanWriteVirtualDeviceClipboard()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DClipboardAccessTest.java53 .that(mClipboardManager.getPrimaryClip()).isNull(); in testDoIt()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DClipboardAccessTest.java53 .that(mClipboardManager.getPrimaryClip()).isNull(); in testDoIt()
/cts/tests/tests/virtualdevice/app/src/android/virtualdevice/streamedtestapp/
DClipboardTestActivity.java64 result.putParcelable(EXTRA_CLIP_DATA, clipboardManager.getPrimaryClip()); in processAction()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DCopyPasteTest.java73 ClipData clip = mClipboard.getPrimaryClip(); in getTextFromClipboard()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DUriGrantsClipboardTest.java68 .getSystemService(ClipboardManager.class).getPrimaryClip(); in testClipboardWithPermission()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt10134 method @Nullable public android.content.ClipData getPrimaryClip();