/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
GalleryComposerFragment.java | 13 * See the License for the specific language governing permissions and 72 private String[] permissions = new String[] {permission.READ_EXTERNAL_STORAGE}; field in class:GalleryComposerFragment 179 if (PermissionsUtil.isFirstRequest(getContext(), permissions[0]) 180 || shouldShowRequestPermissionRationale(permissions[0])) { 183 requestPermissions(permissions, STORAGE_PERMISSION); 263 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { 264 if (permissions.length > 0 && permissions[0].equals(this.permissions[0])) { 265 PermissionsUtil.permissionRequested(getContext(), permissions[0]) local [all...] |
/test/vts-testcase/kernel/api/selinux/ |
VtsKernelSelinuxFileApiTest.py | 14 # See the License for the specific language governing permissions and 47 """Reads the file and checks that its content and permissions are valid. 58 logging.info("Testing permissions of %s" % (test_object.get_path())) 60 permissions = target_file_utils.GetPermission( 63 test_object.get_permission_checker()(permissions), 64 "%s: File has invalid permissions (%s)" % 65 (test_object.get_path(), permissions)) 67 asserts.fail("Failed to assert permissions: %s" % str(e))
|
/device/google/marlin/ |
device-common.mk | 13 # See the License for the specific language governing permissions and 111 frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.xml \ 112 frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \ 113 frameworks/native/data/etc/android.hardware.vulkan.version-1_0_3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version.xml 200 frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml 204 frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml 208 frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml 212 frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ 213 frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \ 214 frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyPermissionUtil.java | 13 * See the License for the specific language governing permissions and 73 /** keep track of runtime permissions requested for each package targeted */ 123 List<PermissionInfo> permissions = new ArrayList<>(); local 134 permissions.add(pi); 137 if (!permissions.isEmpty()) { 138 mPermissionMap.put(info.packageName, permissions); 152 Logger.out.println("// Targeted packages and permissions:");
|
/device/google/atv/products/ |
atv_base.mk | 13 # See the License for the specific language governing permissions and 25 device/google/atv/permissions/tv_core_hardware.xml:system/etc/permissions/tv_core_hardware.xml 112 device/google/atv/permissions/com.google.android.tv.installed.xml:system/etc/permissions/com.google.android.tv.installed.xml
|
/device/linaro/hikey/hikey960/ |
device-hikey960.mk | 13 # See the License for the specific language governing permissions and 26 frameworks/native/data/etc/android.hardware.vulkan.level-0.xml:system/etc/permissions/android.hardware.vulkan.level.xml \ 27 frameworks/native/data/etc/android.hardware.vulkan.version-1_0_3.xml:system/etc/permissions/android.hardware.vulkan.version.xml
|
/external/selinux/libsepol/include/sepol/policydb/ |
constraint.h | 7 * order for one or more permissions to be granted. 68 sepol_access_vector_t permissions; /* constrained permissions */ member in struct:constraint_node 69 constraint_expr_t *expr; /* constraint on permissions */
|
/frameworks/base/vr/ |
Android.mk | 12 # See the License for the specific language governing permissions and 37 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
|
/frameworks/opt/net/lowpan/tests/ |
prepdevice.sh | 25 cp ${ANDROID_BUILD_TOP}/frameworks/native/data/etc/android.hardware.lowpan.xml ${ANDROID_PRODUCT_OUT}/system/etc/permissions/android.hardware.lowpan.xml
|
/hardware/libhardware/include/hardware/ |
bt_common_types.h | 13 * See the License for the specific language governing permissions and 73 uint16_t permissions; member in struct:__anon42943
|
/packages/apps/Dialer/java/com/android/dialer/postcall/ |
PostCallActivity.java | 13 * See the License for the specific language governing permissions and 124 int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { 125 if (permissions.length > 0 && permissions[0].equals(permission.SEND_SMS)) { 126 PermissionsUtil.permissionRequested(this, permissions[0]);
|
/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...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
IPackageManagerWrapper.java | 13 * See the License for the specific language governing permissions and 74 String[] permissions, int flags, int userId) throws RemoteException;
|
/packages/wallpapers/LivePicker/ |
Android.mk | 13 # See the License for the specific language governing permissions and 28 # This will install the file in /system/etc/permissions 30 LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
|
/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 | 35 const std::vector<syscall_broker::BrokerFilePermission>& permissions, 42 policy_(denied_errno, permissions) {
|
/external/libcxx/test/std/experimental/filesystem/fs.op.funcs/fs.op.is_empty/ |
is_empty.pass.cpp | 71 permissions(dir, perms::none); 85 permissions(dir, perms::none);
|
/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 */);
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
ApplicationListFragment.java | 13 * See the License for the specific language governing permissions and 63 public AdminGrantedPermission(String[] permissions) { 64 mPermissions = permissions;
|
/system/bt/test/suite/gatt/ |
gatt_unittest.cc | 14 * See the License for the specific language governing permissions and 95 .permissions = 0x01 /* read only */}, 96 {.type = BTGATT_DB_DESCRIPTOR, .uuid = desc_uuid, .permissions = 0x01}};
|
/test/vts-testcase/kernel/ltp/shell_environment/definitions/ |
path_permission.py | 13 # See the License for the specific language governing permissions and 22 """Class for check and set path permissions. 32 _failed_paths: list of string, paths that don't have desired permissions 33 _permissions: list of int, desired permissions for each path 38 permissions=None, 43 self._permissions = permissions
|
/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
|