HomeSort by relevance Sort by last modified time
    Searched defs:permissions (Results 1 - 25 of 508) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/pdfium/fxjs/xfa/
cjx_mdp.cpp 33 void CJX_Mdp::permissions(CFXJSE_Value* pValue, function in class:CJX_Mdp
  /libcore/luni/src/test/java/libcore/java/nio/file/attribute/
AclEntryTest.java 13 * See the License for the specific language governing permissions and
49 Set<AclEntryPermission> permissions = aclEntry.permissions(); local
50 assertEquals(2, permissions.size());
51 assertTrue(permissions.contains(AclEntryPermission.READ_DATA));
52 assertTrue(permissions.contains(AclEntryPermission.READ_ATTRIBUTES));
  /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) {
  /libcore/ojluni/src/main/java/java/nio/file/attribute/
PosixFileAttributes.java 64 * Returns the permissions of the file. The file permissions are returned
66 * copy of the file permissions and is modifiable. This allows the result
68 * setPermissions} method to update the file's permissions.
70 * @return the file permissions
74 Set<PosixFilePermission> permissions(); method in interface:PosixFileAttributes
  /system/bt/service/common/bluetooth/
descriptor.h 13 // See the License for the specific language governing permissions and
27 Descriptor(uint16_t handle, const Uuid& uuid, uint16_t permissions)
28 : handle_(handle), uuid_(uuid), permissions_(permissions){};
37 uint16_t permissions() const { return permissions_; } function in class:bluetooth::Descriptor
characteristic.h 13 // See the License for the specific language governing permissions and
30 uint16_t permissions,
35 permissions_(permissions),
48 uint16_t permissions() const { return permissions_; } function in class:bluetooth::Characteristic
  /system/tpm/tpm_manager/server/
local_data_store_impl.cc 13 // See the License for the specific language governing permissions and
45 int permissions = 0; local
46 if (base::GetPosixFilePermissions(path, &permissions) &&
47 (permissions & ~kLocalDataPermissions) != 0) {
78 LOG(ERROR) << "Failed to set permissions for file: " << path.value();
  /frameworks/support/slices/core/src/androidTest/java/androidx/slice/compat/
SliceProviderCompatTest.java 13 * See the License for the specific language governing permissions and
68 CompatPermissionManager permissions = mock(CompatPermissionManager.class); local
69 when(permissions.checkSlicePermission(any(Uri.class), anyInt(), anyInt()))
73 SliceProviderCompat compat = new SliceProviderCompat(provider, permissions,
101 CompatPermissionManager permissions = mock(CompatPermissionManager.class); local
102 when(permissions.checkSlicePermission(any(Uri.class), anyInt(), anyInt()))
106 SliceProviderCompat compat = new SliceProviderCompat(provider, permissions,
  /cts/hostsidetests/appsecurity/test-apps/UsePermissionApp26/src/com/android/cts/usepermission/
UsePermissionTest26.java 13 * See the License for the specific language governing permissions and
40 String[] permissions = new String[]{Manifest.permission.RECEIVE_SMS}; local
45 BasePermissionActivity.Result result = requestPermissions(permissions,
59 permissions, new boolean[]{true});
  /cts/tests/tests/os/jni/
android_os_cts_NoExecutePermissionTest.cpp 13 * See the License for the specific language governing permissions and
37 char permissions[10]; local
38 int scan = sscanf(line, "%" SCNxPTR "-%" SCNxPTR " %9s ", &start, &end, permissions);
40 retval = (permissions[2] == 'x');
  /external/libchrome/base/debug/
proc_maps_linux.h 34 // Bitmask of read/write/execute/private/shared permissions.
35 uint8_t permissions; member in struct:base::debug::MappedMemoryRegion
  /external/pdfium/core/fpdfapi/parser/
cpdf_security_handler_embeddertest.cpp 79 const unsigned long permissions; member in struct:__anon31044
86 EXPECT_EQ(test.permissions, FPDF_GetDocPermissions(m_SavedDocument));
  /libcore/ojluni/src/main/java/java/security/acl/
AclEntry.java 36 * objects. Each ACL entry object contains a set of permissions associated
39 * as being either positive or negative. If positive, the permissions are
40 * to be granted to the associated principal. If negative, the permissions
57 * Specifies the principal for which permissions are granted or denied
71 * Returns the principal for which permissions are granted or denied by
94 * associated principal the set of permissions in the entry), false
103 * have multiple permissions.
135 * Returns an enumeration of the permissions in this ACL entry.
137 * @return an enumeration of the permissions in this ACL entry.
139 public Enumeration<Permission> permissions(); method in interface:AclEntry
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/activities/
RequestDesiredPermissionsActivity.java 13 * See the License for the specific language governing permissions and
29 * Requests permissions that are not absolutely required by the calling Activity;
30 * if permissions are denied, the calling Activity is still restarted.
32 * Activities that have a set of permissions that must be granted in order for the Activity to
48 * to prompt user for these permissions. After that calling activity is restarted
65 final List<String> permissions = new ArrayList<>(); local
67 permissions.add(permission.READ_CALENDAR);
71 permissions.add(permission.READ_SMS);
73 sDesiredPermissions = permissions.toArray(new String[0]);
80 int requestCode, String permissions[], int[] grantResults)
    [all...]
RequestPermissionsActivity.java 13 * See the License for the specific language governing permissions and
33 * Activity that requests permissions needed for activities exported from Contacts.
47 * Method to check if the required permissions are given.
61 final List<String> permissions = new ArrayList<>(); local
63 permissions.add(permission.GET_ACCOUNTS);
64 permissions.add(permission.READ_CONTACTS);
65 permissions.add(permission.WRITE_CONTACTS);
72 permissions.add(permission.CALL_PHONE);
73 permissions.add(permission.READ_CALL_LOG);
74 permissions.add(permission.READ_PHONE_STATE)
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/permissions/
PermissionsUtil.java 13 * See the License for the specific language governing permissions and
17 package com.android.inputmethod.latin.permissions;
31 * Utility class for permissions.
36 * Returns the list of permissions not granted from the given list of permissions.
38 * @param permissions list of permissions to check.
39 * @return the list of permissions that do not have permission to use.
42 String... permissions) {
44 for (String permission : permissions) {
    [all...]
  /packages/experimental/PermissionApp/src/foo/bar/permission/
PermissionActivity.java 13 * See the License for the specific language governing permissions and
44 * Simple sample of how to use the runtime permissions APIs.
184 public void onRequestPermissionsResult(int requestCode, String permissions[],
200 for (int i = 0; i < permissions.length; i++) {
202 switch (permissions[i]) {
266 List<String> permissions = new ArrayList<>(); local
269 permissions.add(Manifest.permission.READ_CALENDAR);
273 permissions.add(Manifest.permission.READ_CONTACTS);
275 if (!permissions.isEmpty()) {
276 requestPermissions(permissions.toArray(new String[0])
    [all...]
  /bionic/libc/malloc_debug/
MapData.cpp 47 char permissions[5]; local
50 permissions, &offset, &name_pos) < 2) {
61 if (permissions[0] != 'r') {
  /external/libmojo/base/debug/
proc_maps_linux.cc 116 char permissions[5] = {'\0'}; // Ensure NUL-terminated string. local
131 &region.start, &region.end, permissions, &region.offset,
137 region.permissions = 0;
139 if (permissions[0] == 'r')
140 region.permissions |= MappedMemoryRegion::READ;
141 else if (permissions[0] != '-')
144 if (permissions[1] == 'w')
145 region.permissions |= MappedMemoryRegion::WRITE;
146 else if (permissions[1] != '-')
149 if (permissions[2] == 'x'
    [all...]
  /frameworks/base/services/core/java/com/android/server/slice/
SliceShellCommand.java 12 * permissions and limitations under the License.
46 case "get-permissions":
59 pw.println(" get-permissions <authority>");
68 getOutPrintWriter().println("Only shell can get permissions");
85 getOutPrintWriter().println("An error occurred getting permissions");
88 String[] permissions = b.getStringArray(SliceProvider.EXTRA_RESULT); local
91 if (permissions != null && permissions.length != 0) {
93 context.getPackageManager().getPackagesHoldingPermissions(permissions, 0);
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/service/
RuntimePermissionPresenterServiceImpl.java 13 * See the License for the specific language governing permissions and
33 * Service that provides presentation information for runtime permissions.
49 List<RuntimePermissionPresentationInfo> permissions = new ArrayList<>(); local
59 permissions.add(permission);
63 return permissions;
  /system/core/libbacktrace/
BacktraceMap.cpp 13 * See the License for the specific language governing permissions and
66 char permissions[5]; local
75 &start, &end, permissions, &name_pos) != 3) {
82 &start, &end, permissions, &name_pos) != 3) {
90 if (permissions[0] == 'r') {
93 if (permissions[1] == 'w') {
96 if (permissions[2] == 'x') {
  /art/test/071-dexfile-map-clean/src/
Main.java 13 * See the License for the specific language governing permissions and
49 String permissions = split[1]; local
51 if (!permissions.startsWith("r--p")) {
  /cts/hostsidetests/appsecurity/test-apps/UsePermissionApp23/src/com/android/cts/usepermission/
BasePermissionActivity.java 13 * See the License for the specific language governing permissions and
35 public final String[] permissions; field in class:BasePermissionActivity.Result
38 public Result(int requestCode, String[] permissions, int[] grantResults) {
40 this.permissions = permissions;
57 public void onRequestPermissionsResult(int requestCode, String[] permissions,
60 mResult.offer(new Result(requestCode, permissions, grantResults), 5, TimeUnit.SECONDS);
  /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);

Completed in 590 milliseconds

1 2 3 4 5 6 7 8 91011>>