Home
last modified time | relevance | path

Searched refs:clipData (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/android/app/job/
DJobParameters.java69 private final ClipData clipData; field in JobParameters
83 Bundle transientExtras, ClipData clipData, int clipGrantFlags, in JobParameters() argument
89 this.clipData = clipData; in JobParameters()
145 return clipData; in getClipData()
291 clipData = ClipData.CREATOR.createFromParcel(in); in JobParameters()
294 clipData = null; in JobParameters()
326 if (clipData != null) { in writeToParcel()
328 clipData.writeToParcel(dest, flags); in writeToParcel()
DJobInfo.java304 private final ClipData clipData; field in JobInfo
355 return clipData; in getClipData()
651 if (clipData != j.clipData) { in equals()
729 if (clipData != null) { in hashCode()
730 hashCode = 31 * hashCode + clipData.hashCode(); in hashCode()
767 clipData = ClipData.CREATOR.createFromParcel(in); in JobInfo()
770 clipData = null; in JobInfo()
803 clipData = b.mClipData; in JobInfo()
839 if (clipData != null) { in writeToParcel()
841 clipData.writeToParcel(out, flags); in writeToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakReporter.java140 final ClipData clipData = new ClipData(null, new String[] { mimeType }, in getIntent() local
144 clipData.addItem(new ClipData.Item(null, null, null, hprofUri)); in getIntent()
147 intent.setClipData(clipData); in getIntent()
/frameworks/base/services/core/java/com/android/server/wm/
DDragAndDropPermissionsHandler.java49 DragAndDropPermissionsHandler(ClipData clipData, int sourceUid, String targetPackage, int mode, in DragAndDropPermissionsHandler() argument
57 clipData.collectUris(mUris); in DragAndDropPermissionsHandler()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java273 ClipData clipData = intent.getClipData(); in onAssistDataReceivedLocked() local
274 if (clipData != null && Intent.isAccessUriMode(intent.getFlags())) { in onAssistDataReceivedLocked()
275 grantClipDataPermissions(clipData, intent.getFlags(), uid, in onAssistDataReceivedLocked()
279 ClipData clipData = content.getClipData(); in onAssistDataReceivedLocked() local
280 if (clipData != null) { in onAssistDataReceivedLocked()
281 grantClipDataPermissions(clipData, FLAG_GRANT_READ_URI_PERMISSION, in onAssistDataReceivedLocked()
/frameworks/base/core/java/android/app/
DRemoteInput.java577 ClipData clipData = intent.getClipData(); in getClipDataIntentFromIntent() local
578 if (clipData == null) { in getClipDataIntentFromIntent()
581 ClipDescription clipDescription = clipData.getDescription(); in getClipDataIntentFromIntent()
588 return clipData.getItemAt(0).getIntent(); in getClipDataIntentFromIntent()
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DChipsTest.java851 ClipData clipData = null; in testHandlePasteClip() local
853 view.handlePasteClip(clipData); in testHandlePasteClip()
856 clipData = ClipData.newPlainText("user label", "<foo@example.com>"); in testHandlePasteClip()
858 view.handlePasteClip(clipData); in testHandlePasteClip()
861 clipData = ClipData.newHtmlText("user label", in testHandlePasteClip()
864 view.handlePasteClip(clipData); in testHandlePasteClip()
868 clipData = new ClipData("user label", new String[]{"image/jpeg"}, clipImageData); in testHandlePasteClip()
870 view.handlePasteClip(clipData); in testHandlePasteClip()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java467 ClipData clipData = clipboard.getPrimaryClip(); in copyTextToClipboard() local
468 assertThat("testing intent sending", is(clipData.getItemAt(0).getText())); in copyTextToClipboard()
470 ClipDescription clipDescription = clipData.getDescription(); in copyTextToClipboard()
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java737 ClipData clipData = null;
743 clipData = ClipData.newPlainText(null, extraText);
745 clipData = ClipData.newUri(getContentResolver(), null, extraStream);
753 clipData = ClipData.newUri(getContentResolver(), null, streams.get(0));
755 clipData.addItem(getContentResolver(), new ClipData.Item(streams.get(i)));
766 clipboardManager.setPrimaryClip(clipData);
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java920 final ClipData clipData = new ClipData(null, new String[] { mimeType }, in buildSendIntent() local
927 clipData.addItem(new ClipData.Item(null, null, null, screenshotUri)); in buildSendIntent()
930 intent.setClipData(clipData); in buildSendIntent()
/frameworks/base/core/java/android/content/
DIntent.java10949 final ClipData clipData = new ClipData( in migrateExtraStreamToClipData() local
10952 setClipData(clipData); in migrateExtraStreamToClipData()
10983 final ClipData clipData = new ClipData( in migrateExtraStreamToClipData() local
10988 clipData.addItem(makeClipItem(streams, texts, htmlTexts, i)); in migrateExtraStreamToClipData()
10991 setClipData(clipData); in migrateExtraStreamToClipData()
/frameworks/base/core/java/android/widget/
DEditor.java2667 ClipData clipData = event.getClipData(); in onDrop() local
2668 final int itemCount = clipData.getItemCount(); in onDrop()
2670 Item item = clipData.getItemAt(i); in onDrop()
DTextView.java12583 final ClipData clipData = getClipboardManagerForUser().getPrimaryClip(); in canPasteAsPlainText() local
12584 final ClipDescription description = clipData.getDescription(); in canPasteAsPlainText()
12586 final CharSequence text = clipData.getItemAt(0).getText(); in canPasteAsPlainText()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt7626 Landroid/app/job/JobInfo;->clipData:Landroid/content/ClipData;
7675 Landroid/app/job/JobParameters;->clipData:Landroid/content/ClipData;