Lines Matching defs:permission

597      * <p class="note">You need the BIND_APPWIDGET permission or the user must have enabled binding
618 * <p class="note">You need the BIND_APPWIDGET permission or the user must have enabled binding
642 * <p class="note">You need the BIND_APPWIDGET permission or the user must have enabled binding
644 * method returns false, call {@link #ACTION_APPWIDGET_BIND} to request permission to
650 * @return true if this component has permission to bind the AppWidget
668 * <p class="note">You need the BIND_APPWIDGET permission or the user must have enabled binding
670 * method returns false, call {@link #ACTION_APPWIDGET_BIND} to request permission to
679 * @return true if this component has permission to bind the AppWidget
696 * Query if a given package was granted permission by the user to bind app widgets
698 * <p class="note">You need the MODIFY_APPWIDGET_BIND_PERMISSIONS permission
700 * @param packageName The package for which the permission is being queried
701 * @return true if the package was granted permission by the user to bind app widgets
714 * Changes any user-granted permission for the given package to bind app widgets
716 * <p class="note">You need the MODIFY_APPWIDGET_BIND_PERMISSIONS permission
718 * @param provider The package whose permission is being changed
719 * @param permission Whether to give the package permission to bind widgets
722 public void setBindAppWidgetPermission(String packageName, boolean permission) {
724 sService.setBindAppWidgetPermission(packageName, permission);