/external/selinux/libsepol/include/sepol/policydb/ |
constraint.h | 7 * order for one or more permissions to be granted. 66 sepol_access_vector_t permissions; /* constrained permissions */ member in struct:constraint_node 67 constraint_expr_t *expr; /* constraint on permissions */
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/activity/ |
RequestDesiredPermissionsActivity.java | 13 * See the License for the specific language governing permissions and 25 * Requests permissions that are not absolutely required by the calling Activity; 26 * if permissions are denied, the calling Activity is still restarted. 28 * Activities that have a set of permissions that must be granted in order for the Activity to 52 * If any desired permissions the Contacts app needs are missing, open an Activity 53 * to prompt the user for these permissions. 68 int requestCode, String permissions[], int[] grantResults) {
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
OsUtil.java | 13 * See the License for the specific language governing permissions and 211 /** Does the app have all the specified permissions */ 212 public static boolean hasPermissions(final String[] permissions) { 213 for (final String permission : permissions) { 245 * Returns array with the set of permissions that have not been granted from the given set. 246 * The array will be empty if the app has all of the specified permissions. Note that calling 248 * again, and its up to the app to only request permissions that are missing. 250 public static String[] getMissingPermissions(final String[] permissions) { 252 for (final String permission : permissions) { 272 /** Does the app have the minimum set of permissions required to operate. * [all...] |
/system/tpm/attestation/server/ |
database_impl.cc | 13 // See the License for the specific language governing permissions and 101 int permissions = 0; local 102 if (base::GetPosixFilePermissions(path, &permissions) && 103 (permissions & kMask) != 0) { 104 LOG(WARNING) << "Attempting to fix permissions on attestation database."; 105 base::SetPosixFilePermissions(path, permissions & ~kMask); 125 LOG(ERROR) << "Failed to set permissions for file: " << file_path.value();
|
/external/libchrome/sandbox/linux/syscall_broker/ |
broker_process.cc | 36 const std::vector<syscall_broker::BrokerFilePermission>& permissions, 43 policy_(denied_errno, permissions) {
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
UnixDirectoryListingFormatter.java | 13 * See the License for the specific language governing permissions and
58 Permissions permissions = fileSystemEntry.getPermissions() != null ? fileSystemEntry.getPermissions() : Permissions.DEFAULT;
local 59 String permissionsStr = StringUtil.padRight(permissions.asRwxString(), 9);
|
/frameworks/base/core/java/android/bluetooth/ |
BluetoothGattCharacteristic.java | 13 * See the License for the specific language governing permissions and 191 * Characteristic permissions. 232 * @param permissions Permissions for this characteristic 234 public BluetoothGattCharacteristic(UUID uuid, int properties, int permissions) { 235 initCharacteristic(null, uuid, 0, properties, permissions); 244 int properties, int permissions) { 245 initCharacteristic(service, uuid, instanceId, properties, permissions); 253 int properties, int permissions) { 254 initCharacteristic(null, uuid, instanceId, properties, permissions); [all...] |
/frameworks/opt/chips/sample/src/com/android/ex/chips/sample/ |
MainActivity.java | 13 * See the License for the specific language governing permissions and 64 RecipientEditTextView view, String[] permissions) { 65 requestPermissions(permissions, 0 /* requestCode */);
|
/system/bt/service/common/bluetooth/binder/ |
IBluetoothGattServer.cpp | 13 // See the License for the specific language governing permissions and 87 int permissions = data.readInt32(); local 91 server_if, *uuid, properties, permissions, &out_id); 106 int permissions = data.readInt32(); local 109 bool result = AddDescriptor(server_if, *uuid, permissions, &out_id); 230 int properties, int permissions, 239 data.writeInt32(permissions); 252 int server_if, const bluetooth::UUID& uuid, int permissions, 260 data.writeInt32(permissions);
|
/device/google/marlin/ |
device-common.mk | 13 # See the License for the specific language governing permissions and 96 frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:system/etc/permissions/android.hardware.vulkan.level.xml \ 97 frameworks/native/data/etc/android.hardware.vulkan.version-1_0_3.xml:system/etc/permissions/android.hardware.vulkan.version.xml 126 frameworks/native/data/etc/android.software.midi.xml:system/etc/permissions/android.software.midi.xml 130 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml 134 frameworks/native/data/etc/android.hardware.audio.pro.xml:system/etc/permissions/android.hardware.audio.pro.xml 138 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \ 139 frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ 140 frameworks/native/data/etc/android.hardware.camera.full.xml:system/etc/permissions/android.hardware.camera.full.xml \ 141 frameworks/native/data/etc/android.hardware.camera.raw.xml:system/etc/permissions/android.hardware.camera.raw.xm [all...] |
/external/autotest/client/site_tests/documentscan_AppTestWithFakeLorgnette/document_scan_test_app/ |
scan.js | 26 var permissionObj = {permissions: ['documentScan']}; property in class:permissionObj 30 chrome.permissions.request( permissionObj, function(result) { 65 chrome.permissions.contains(permissionObj, function(result) {
|
/external/vboot_reference/utility/ |
chromeos-tpm-recovery | 147 # define_space <index> <size> <permissions> 152 local permissions=$3 178 $tpmc definespace $index $size $permissions 183 local permissions=$2 213 # If space exists but permissions are bad, delete the space. 214 if [ $space_exists -eq 1 -a $observed_permissions != $permissions ]; then 215 log "space $index has unexpected permissions $permissions" 223 if ! define_space $index $size $permissions; then
|
/frameworks/base/core/java/android/content/pm/permission/ |
RuntimePermissionPresenter.java | 13 * See the License for the specific language governing permissions and 42 * This class provides information about runtime permissions for a specific 44 * and does not necessarily reflect the individual permissions requested/ 45 * granted to an app as the platform may be grouping permissions to improve 47 * runtime permissions in the same permission group may be presented as a 69 * @param permissions The permissions list. 72 List<RuntimePermissionPresentationInfo> permissions) { 79 * @param apps The apps using runtime permissions. 113 * Gets the runtime permissions for an app [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
RecipientEntry.java | 13 * See the License for the specific language governing permissions and 44 * Entry of this type represents the item in auto-complete that asks user to grant permissions 101 String lookupKey, String[] permissions) { 104 true /* shouldDisplayIcon */, isFirstLevel, isValid, lookupKey, permissions); 110 boolean isFirstLevel, boolean isValid, String lookupKey, String[] permissions) { 127 mPermissions = permissions; 162 INVALID_CONTACT, null, true, isValid, null /* lookupKey */, null /* permissions */); 172 INVALID_CONTACT, null, true, isValid, null /* lookupKey */, null /* permissions */); 184 isValid, null /* lookupKey */, null /* permissions */); 194 null /* permissions */); [all...] |
/system/bt/service/ |
gatt_server.h | 13 // See the License for the specific language governing permissions and 147 const UUID& uuid, int properties, int permissions); 155 const UUID& uuid, int permissions); 202 int permissions) 203 : id(id), char_properties(char_properties), permissions(permissions) {} 207 int permissions; member in struct:bluetooth::GattServer::AttributeEntry
|
/device/asus/fugu/ |
device.mk | 13 # See the License for the specific language governing permissions and 46 frameworks/native/data/etc/android.software.app_widgets.xml:system/etc/permissions/android.software.app_widgets.xml 229 frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ 230 frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ 231 frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \ 232 frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \ 233 frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ 234 frameworks/native/data/etc/android.hardware.hdmi.cec.xml:system/etc/permissions/android.hardware.hdmi.cec.xml \ 235 frameworks/native/data/etc/android.software.midi.xml:system/etc/permissions/android.software.midi.xml 249 frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:system/etc/permissions/android.hardware.vulkan.level-0.xml [all...] |
/frameworks/support/compat/java/android/support/v4/app/ |
ActivityCompat.java | 13 * See the License for the specific language governing permissions and 52 * Callback for the result from requesting permissions. This method 56 * <strong>Note:</strong> It is possible that the permissions request interaction 57 * with the user is interrupted. In this case you will receive empty permissions 63 * @param permissions The requested permissions. Never null. 64 * @param grantResults The grant results for the corresponding permissions 70 void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, 327 * Requests permissions to be granted to this application. These permissions [all...] |
/cts/hostsidetests/services/windowmanager/dndtargetapp/src/android/wm/cts/dndtargetapp/ |
DropTarget.java | 13 * See the License for the specific language governing permissions and 148 DragAndDropPermissions permissions = null; local 150 permissions = requestDragAndDropPermissions(event); 151 if (permissions == null) { 159 if (permissions != null) { 160 permissions.release();
|
/bionic/libc/malloc_debug/ |
MapData.cpp | 47 char permissions[5]; local 50 &end, permissions, &offset, &name_pos) < 2) { 61 if (permissions[0] != 'r') {
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/ |
BasePermissionsTest.java | 13 * See the License for the specific language governing permissions and 137 int requestCode, String[] permissions, boolean[] granted) { 139 for (int i = 0; i < permissions.length; i++) { 140 assertEquals(permissions[i], result.permissions[i]); 182 String[] permissions, int requestCode, Class<?> clazz, Runnable postRequestAction) 190 // Request the permissions 191 activity.requestPermissions(permissions, requestCode); 231 protected void grantPermissions(String[] permissions) throws Exception { 232 setPermissionGrantState(permissions, true, false) [all...] |
/external/ims/rcs/rcsmanager/ |
Android.mk | 44 # We need to put the permissions XML file into /system/etc/permissions/ so the 50 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
|
/bootable/recovery/bootloader_message/ |
Android.mk | 12 # See the License for the specific language governing permissions and
|
/bootable/recovery/uncrypt/ |
Android.mk | 12 # See the License for the specific language governing permissions and
|
/bootable/recovery/update_verifier/ |
Android.mk | 12 # See the License for the specific language governing permissions and
|
/build/blueprint/ |
mangle.go | 12 // See the License for the specific language governing permissions and
|