HomeSort by relevance Sort by last modified time
    Searched defs:grant (Results 1 - 21 of 21) sorted by null

  /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
  /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);
keystore.cpp 173 auto grant = mGrants.get(uid, alias.string()); local
174 if (grant) {
175 filepath8 = String8::format("%s/%s", grant->owner_dir_name_.c_str(),
176 getKeyNameForUid(String8(grant->alias_.c_str()), grant->owner_uid_, type).c_str());
key_store_service.cpp 515 String16 KeyStoreService::grant(const String16& name, int32_t granteeUid) { function in class:KeyStoreService
    [all...]
  /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:__anon35175
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...]
  /cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
KeyManagementTest.java 105 final String grant = "com.android.test.autogrant-key-1"; local
112 grant, true));
117 assertGranted(grant, true);
121 assertEquals(KeyChain.getPrivateKey(getActivity(), grant).getAlgorithm(), "RSA");
124 assertTrue(mDevicePolicyManager.removeKeyPair(getWho(), grant)); local
128 assertGranted(grant, false);
224 assertEquals("Grant for alias: \"" + alias + "\"", expected, granted);
279 * to make sure the DPC actually has to do some work to grant the cert.
  /frameworks/base/keystore/java/android/security/
KeyStore.java 344 public String grant(String key, int uid) { method in class:KeyStore
346 String grantAlias = mBinder.grant(key, uid);
  /frameworks/base/services/core/java/com/android/server/pm/
PermissionsState.java 178 * Grant an install permission.
180 * @param permission The permission to grant.
202 * Grant a runtime permission for a given device user.
204 * @param permission The permission to grant.
569 if (!permissionData.grant(userId)) {
684 public boolean grant(int userId) { method in class:PermissionsState.PermissionData
Settings.java 322 * installed on internal and external storage. It is used to grant newer
492 for (RestoredPermissionGrant grant : grants) {
493 BasePermission bp = mPermissions.get(grant.permissionName);
495 if (grant.granted) {
498 perms.updatePermissionFlags(bp, userId, USER_RUNTIME_GRANT_MASK, grant.grantBits);
502 // And remove it from the pending-grant bookkeeping
5526 RestoredPermissionGrant grant = new RestoredPermissionGrant(permission, local
    [all...]
PackageManagerService.java 529 "permission grant or revoke changed gids";
540 /** Permission grant: not grant the permission. */
543 /** Permission grant: grant the permission as an install permission. */
546 /** Permission grant: grant the permission as a runtime one. */
549 /** Permission grant: grant as runtime a permission that was granted as an install time one. */
13008 int grant = GRANT_DENIED; local
    [all...]
  /packages/apps/Browser2/src/org/chromium/webview_shell/
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...]
  /frameworks/base/services/appwidget/java/com/android/server/appwidget/
AppWidgetServiceImpl.java 791 Pair<Integer, String> grant = mPackagesWithBindWidgetPermission.valueAt(i); local
    [all...]
  /prebuilts/misc/common/android-support-test/rules/
rules_release_no_deps.jar 
  /external/guice/extensions/persist/lib/
hsqldb.jar 
  /prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-s3/1.11.18/
aws-java-sdk-s3-1.11.18.jar 
  /external/icu/tools/srcgen/currysrc/libs/
org.eclipse.osgi_3.10.100.v20150529-1857.jar 
  /prebuilts/tools/common/eclipse/
org.eclipse.osgi_3.6.2.R36x_v20110210.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/org.eclipse.osgi/3.9.0.v20130529-1710/
org.eclipse.osgi-3.9.0.v20130529-1710.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.osgi_3.9.0.v20130529-1710.jar 
  /prebuilts/sdk/21/
android.jar 
  /prebuilts/sdk/26/
android.jar 

Completed in 1058 milliseconds