Searched refs:getPrimaryClip (Results 1 – 11 of 11) sorted by relevance
50 public synchronized ClipData getPrimaryClip() { in getPrimaryClip() method in ClipboardManagerListenerActivity51 return mClipboardManager.getPrimaryClip(); in getPrimaryClip()
117 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 …]
105 + "clipdata: " + clipboardManager.getPrimaryClip()); in testGetTimestamp()194 assertThat(clipboardManager.getPrimaryClip().getItemAt(0).getTextLinks()) in testClassificationNotPerformedForVeryLongText()237 clipboardManager.getPrimaryClip().getItemAt(0).getTextLinks(); in testClassificationConfidenceValuesAreValid()
93 ClipData clipData = mActivity.getPrimaryClip(); in expectedCallbackCount()
115 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()
53 .that(mClipboardManager.getPrimaryClip()).isNull(); in testDoIt()
64 result.putParcelable(EXTRA_CLIP_DATA, clipboardManager.getPrimaryClip()); in processAction()
73 ClipData clip = mClipboard.getPrimaryClip(); in getTextFromClipboard()
68 .getSystemService(ClipboardManager.class).getPrimaryClip(); in testClipboardWithPermission()
10134 method @Nullable public android.content.ClipData getPrimaryClip();