HomeSort by relevance Sort by last modified time
    Searched refs:grant (Results 1 - 25 of 157) sorted by null

1 2 3 4 5 6 7

  /frameworks/base/core/java/android/webkit/
PermissionRequest.java 27 * Either {@link #grant(String[]) grant()} or {@link #deny()} must be called in UI
33 * specific permissions you intend to grant to {@link #grant(String[]) grant()},
36 * permissionRequest.grant(permissionRequest.getResources()) // This is wrong!!!
83 * Call this method to grant origin the permission to access the given resources.
86 * @param resources the resources granted to be accessed by origin, to grant
92 public abstract void grant(String[] resources); method in class:PermissionRequest
  /external/tcpdump/
print-mpcp.c 58 { 0x10, "Force Grant #1" },
59 { 0x20, "Force Grant #2" },
60 { 0x40, "Force Grant #3" },
61 { 0x80, "Force Grant #4" },
128 const struct mpcp_grant_t *grant; member in union:__anon38602
137 uint8_t grant_numbers, grant; local
170 for (grant = 1; grant <= grant_numbers; grant++) {
172 mpcp.grant = (const struct mpcp_grant_t *)tptr
    [all...]
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyPermissionEvent.java 42 // determine if we should grant or revoke permission
44 boolean grant = perm == PackageManager.PERMISSION_DENIED;
47 grant ? "grant" : "revoke", mPermissionInfo.name, mPkg));
48 if (grant) {
  /system/security/keystore/
grant_store.cpp 28 Grant::Grant(const std::string& alias, const std::string& owner_dir_name, const uid_t owner_uid,
64 const Grant* GrantStore::get(const uid_t uid, const std::string& alias) const {
72 auto grant = uid_grant_list.find(grant_no); local
73 if (grant == uid_grant_list.end()) return nullptr;
74 if (grant->alias_ != wrappedAlias) return nullptr;
75 return &(*grant);
  /external/webrtc/webrtc/tools/rtcbot/test/
ping_pong.js 5 // tree. An additional intellectual property rights grant can be found
simple_offer_answer.js 5 // tree. An additional intellectual property rights grant can be found
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
AppUsageAccess.java 103 private void setAppUsageAccess(ApplicationsState.AppEntry entry, boolean grant) {
106 grant ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_IGNORED);
SystemAlertWindow.java 98 private void setSystemAlertWindowAccess(ApplicationsState.AppEntry entry, boolean grant) {
101 grant ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED);
WriteSettings.java 86 private void setWriteSettingsAccess(ApplicationsState.AppEntry entry, Boolean grant) {
89 grant ? AppOpsManager.MODE_ALLOWED : AppOpsManager.MODE_ERRORED);
  /compatibility/cdd/9_security-model/
9_1_permissions.md 30 whether to grant the requested runtime permissions and also provide
34 * [C-0-5] MUST NOT grant any runtime permissions to preinstalled
45 * [SR] are STRONGLY RECOMMENDED provide user-accessible mechanism to grant
9_4_alternate-execution-environments.md 24 * [C-0-5] Alternate runtimes MUST NOT launch with, grant, or be granted
27 * [C-0-6] Alternate runtimes MUST NOT be launched with, be granted, or grant
  /frameworks/support/slices/core/src/main/java/androidx/slice/compat/
CompatPermissionManager.java 115 Set<String> grant = getPrefs().getStringSet(key, Collections.<String>emptySet()); local
117 return new PermissionState(grant, key, hasAllPermissions);
125 PermissionState(Set<String> grant, String key, boolean hasAllPermissions) {
129 for (String g : grant) {
  /external/libvpx/libvpx/vpx_ports/
emms.asm 6 ; tree. An additional intellectual property rights grant can be found
  /external/webrtc/tools/matlab/
maxUnwrap.m 21 % tree. An additional intellectual property rights grant can be found
parseLog.m 23 % tree. An additional intellectual property rights grant can be found
  /frameworks/base/services/core/java/com/android/server/accounts/
AccountManagerBackupHelper.java 173 for (Pair<String, Integer> grant : allAccountGrants) {
174 final String accountName = grant.first;
175 final int uid = grant.second;
188 Slog.i(TAG, "Skipping backup of account access grant for"
  /cts/tests/tests/media/src/android/media/cts/
MediaPlayer2DrmTest.java 53 GrantPermissionRule.grant(Manifest.permission.WRITE_EXTERNAL_STORAGE);
  /frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
ApplicationKeyStorage.java 42 * <p> Uses KeyStore's grant mechanism to make keys usable by application process without
68 * Returns grant alias, valid in Applications namespace.
75 return mKeystoreService.grant(keystoreAlias, uid);
  /packages/apps/Browser2/src/org/chromium/webview_shell/
WebViewLayoutTestActivity.java 63 request.grant(AUTOMATICALLY_GRANT);
WebViewBrowserActivity.java 94 // look up the request in order to grant the approprate permissions.
117 public void grant(String[] resources) { method in class:WebViewBrowserActivity.GeoPermissionRequest
145 public void grant(String[] resources) { method in class:WebViewBrowserActivity.FilePermissionRequest
278 request.grant(request.getResources());
282 // Find what Android permissions we need before we can grant these WebKit permissions.
294 // If there are no such Android permissions, grant the WebKit permissions immediately.
296 request.grant(request.getResources());
314 // Verify that we can now grant all the requested permissions. Note that although grant()
315 // takes a list of permissions, grant() is actually all-or-nothing. If there are an
    [all...]
  /external/libvpx/libvpx/test/android/
Android.mk 5 # tree. An additional intellectual property rights grant can be found
  /external/libvpx/libvpx/vp9/encoder/x86/
vp9_dct_sse2.asm 6 ; tree. An additional intellectual property rights grant can be found
  /external/webrtc/webrtc/tools/rtcbot/bot/
api.js 5 // tree. An additional intellectual property rights grant can be found
  /frameworks/rs/perf-test-scripts/
timing 188 # grant permission
189 adb shell pm grant com.android.rs.imagejb android.permission.READ_EXTERNAL_STORAGE
190 adb shell pm grant com.android.rs.imagejb android.permission.WRITE_EXTERNAL_STORAGE
  /platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
NotificationDNDTests.java 171 private void grantPolicyAccess(boolean grant) throws Exception {
175 if (grant) {

Completed in 686 milliseconds

1 2 3 4 5 6 7