Lines Matching refs:editorInfo
65 @Nullable EditorInfo editorInfo, @NonNull String mimeType) { in isCommitContentSupported()
66 if (editorInfo == null) { in isCommitContentSupported()
75 if (!validatePackageName(editorInfo)) { in isCommitContentSupported()
79 final String[] supportedMimeTypes = EditorInfoCompat.getContentMimeTypes(editorInfo); in isCommitContentSupported()
90 final EditorInfo editorInfo = getCurrentInputEditorInfo(); in doCommitContent() local
93 if (!validatePackageName(editorInfo)) { in doCommitContent()
119 editorInfo.packageName, contentUri, Intent.FLAG_GRANT_READ_URI_PERMISSION); in doCommitContent()
121 Log.e(TAG, "grantUriPermission failed packageName=" + editorInfo.packageName in doCommitContent()
135 private boolean validatePackageName(@Nullable EditorInfo editorInfo) { in validatePackageName() argument
136 if (editorInfo == null) { in validatePackageName()
139 final String packageName = editorInfo.packageName; in validatePackageName()