/external/chromium_org/extensions/common/permissions/ |
D | api_permission_set_unittest.cc | 36 APIPermission* permission = NULL; in TEST() local 45 permission = permission_info->CreateAPIPermission(); in TEST() 51 if (!permission->FromValue(value.get())) { in TEST() 59 apis1.insert(permission->Clone()); in TEST() 62 expected_apis.insert(permission); in TEST() 81 permission = permission_info->CreateAPIPermission(); in TEST() 86 if (!permission->FromValue(value.get())) { in TEST() 90 apis2.insert(permission); in TEST() 97 permission = permission_info->CreateAPIPermission(); in TEST() 104 if (!permission->FromValue(value.get())) { in TEST() [all …]
|
D | permissions_info.cc | 91 void PermissionsInfo::RegisterPermission(APIPermissionInfo* permission) { in RegisterPermission() argument 92 DCHECK(!ContainsKey(id_map_, permission->id())); in RegisterPermission() 93 DCHECK(!ContainsKey(name_map_, permission->name())); in RegisterPermission() 95 id_map_[permission->id()] = permission; in RegisterPermission() 96 name_map_[permission->name()] = permission; in RegisterPermission()
|
D | manifest_permission_set.cc | 30 scoped_ptr<ManifestPermission> permission( in CreateManifestPermission() local 33 if (!permission) { in CreateManifestPermission() 41 if (!permission->FromValue(permission_value)) { in CreateManifestPermission() 50 manifest_permissions->insert(permission.release()); in CreateManifestPermission()
|
D | permission_set.cc | 181 const APIPermissionInfo* permission = in HasAPIPermission() local 183 CHECK(permission) << permission_name; in HasAPIPermission() 184 return (permission && apis_.count(permission->id())); in HasAPIPermission() 187 bool PermissionSet::CheckAPIPermission(APIPermission::ID permission) const { in CheckAPIPermission() 188 return CheckAPIPermissionWithParam(permission, NULL); in CheckAPIPermission() 192 APIPermission::ID permission, in CheckAPIPermissionWithParam() argument 194 APIPermissionSet::const_iterator iter = apis().find(permission); in CheckAPIPermissionWithParam()
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
D | permissions_data_source.py | 30 for name, permission in permissions.iteritems(): 32 if 'partial' in permission or not permission['platforms']: 42 permission['partial'] = 'permissions/generic_description.html' 62 for permission in permission_features.values(): 63 if not 'anchor' in permission: 64 permission['anchor'] = permission['name'] 65 if 'partial' in permission: 66 permission['description'] = self._template_cache.GetFromFile('%s/%s' % 67 (PRIVATE_TEMPLATES, permission['partial'])).Get() 68 del permission['partial']
|
/external/chromium_org/chrome/browser/extensions/ |
D | suggest_permission_util.cc | 25 void SuggestAPIPermissionInDevToolsConsole(APIPermission::ID permission, in SuggestAPIPermissionInDevToolsConsole() argument 32 PermissionsInfo::GetInstance()->GetByID(permission); in SuggestAPIPermissionInDevToolsConsole() 47 void SuggestAPIPermissionInDevToolsConsole(APIPermission::ID permission, in SuggestAPIPermissionInDevToolsConsole() argument 59 SuggestAPIPermissionInDevToolsConsole(permission, extension, host); in SuggestAPIPermissionInDevToolsConsole() 64 APIPermission::ID permission, in IsExtensionWithPermissionOrSuggestInConsole() argument 67 if (extension && extension->HasAPIPermission(permission)) in IsExtensionWithPermissionOrSuggestInConsole() 71 SuggestAPIPermissionInDevToolsConsole(permission, extension, host); in IsExtensionWithPermissionOrSuggestInConsole() 77 APIPermission::ID permission, in IsExtensionWithPermissionOrSuggestInConsole() argument 80 if (extension && extension->HasAPIPermission(permission)) in IsExtensionWithPermissionOrSuggestInConsole() 84 SuggestAPIPermissionInDevToolsConsole(permission, extension, profile); in IsExtensionWithPermissionOrSuggestInConsole()
|
D | suggest_permission_util.h | 21 void SuggestAPIPermissionInDevToolsConsole(APIPermission::ID permission, 26 void SuggestAPIPermissionInDevToolsConsole(APIPermission::ID permission, 34 APIPermission::ID permission, 42 APIPermission::ID permission,
|
/external/chromium_org/chrome/common/extensions/permissions/ |
D | media_galleries_permission_data.cc | 23 return permission_ == specific_param.permission; in Check() 38 std::string permission; in FromValue() local 39 TrimWhitespaceASCII(raw_permission, TRIM_ALL, &permission); in FromValue() 41 if (permission == MediaGalleriesPermission::kAllAutoDetectedPermission || in FromValue() 42 permission == MediaGalleriesPermission::kReadPermission || in FromValue() 43 permission == MediaGalleriesPermission::kCopyToPermission || in FromValue() 44 permission == MediaGalleriesPermission::kDeletePermission) { in FromValue() 45 permission_ = permission; in FromValue()
|
D | media_galleries_permission.cc | 58 if (it->permission() == kAllAutoDetectedPermission) { in FromValue() 61 if (it->permission() == kReadPermission) { in FromValue() 65 if (it->permission() == kCopyToPermission) { in FromValue() 69 if (it->permission() == kDeletePermission) { in FromValue() 95 if (it->permission() == kAllAutoDetectedPermission) in GetMessages() 97 else if (it->permission() == kReadPermission) in GetMessages() 99 else if (it->permission() == kCopyToPermission) in GetMessages() 101 else if (it->permission() == kDeletePermission) in GetMessages()
|
D | media_galleries_permission_unittest.cc | 25 scoped_ptr<APIPermission> permission( in TEST() local 32 EXPECT_TRUE(permission->FromValue(value.get())); in TEST() 39 EXPECT_TRUE(permission->FromValue(value.get())); in TEST() 44 EXPECT_TRUE(permission->FromValue(value.get())); in TEST() 49 EXPECT_TRUE(permission->FromValue(value.get())); in TEST() 54 EXPECT_TRUE(permission->FromValue(value.get())); in TEST() 60 EXPECT_TRUE(permission->FromValue(value.get())); in TEST() 66 EXPECT_TRUE(permission->FromValue(value.get())); in TEST() 75 EXPECT_TRUE(permission->FromValue(value.get())); in TEST() 82 scoped_ptr<APIPermission> permission(permission_info->CreateAPIPermission()); in TEST() local [all …]
|
D | media_galleries_permission.h | 29 explicit CheckParam(const std::string& permission) in CheckParam() 30 : permission(permission) {} in CheckParam() 31 const std::string permission; member
|
D | socket_permission_data.h | 61 bool ParseForTest(const std::string& permission) { return Parse(permission); } in ParseForTest() argument 73 bool Parse(const std::string& permission);
|
/external/chromium_org/chrome/common/extensions/api/sockets/ |
D | sockets_manifest_permission_unittest.cc | 34 static void AssertEmptyPermission(const SocketsManifestPermission* permission) { in AssertEmptyPermission() argument 35 EXPECT_TRUE(permission); in AssertEmptyPermission() 36 EXPECT_EQ(std::string(extensions::manifest_keys::kSockets), permission->id()); in AssertEmptyPermission() 37 EXPECT_EQ(permission->id(), permission->name()); in AssertEmptyPermission() 38 EXPECT_FALSE(permission->HasMessages()); in AssertEmptyPermission() 39 EXPECT_EQ(0u, permission->entries().size()); in AssertEmptyPermission() 51 scoped_ptr<SocketsManifestPermission> permission( in PermissionFromValue() local 53 EXPECT_TRUE(permission) in PermissionFromValue() 55 return permission.Pass(); in PermissionFromValue() 92 scoped_ptr<SocketsManifestPermission> permission(PermissionFromJSON(json)); in CheckFormat() local [all …]
|
D | sockets_manifest_data.cc | 13 scoped_ptr<SocketsManifestPermission> permission) in SocketsManifestData() argument 14 : permission_(permission.Pass()) { in SocketsManifestData() 33 return data->permission()->CheckRequest(extension, request); in CheckRequest() 42 scoped_ptr<SocketsManifestPermission> permission = in FromValue() local 44 if (!permission) in FromValue() 48 new SocketsManifestData(permission.Pass())).Pass(); in FromValue()
|
/external/chromium/chrome/browser/extensions/ |
D | extension_preference_api.cc | 28 const char* permission; member 118 std::string* permission) { in FindBrowserPrefForExtensionPref() argument 123 *permission = it->second.second; in FindBrowserPrefForExtensionPref() 131 std::string* permission) { in FindEventForBrowserPref() argument 136 *permission = it->second.second; in FindEventForBrowserPref() 160 kPrefMapping[i].permission); in PrefMapping() 165 std::make_pair(event_name, kPrefMapping[i].permission); in PrefMapping() 231 std::string permission; in OnPrefChanged() local 233 browser_pref, &event_name, &permission); in OnPrefChanged() 262 (*it)->HasApiPermission(permission) && in OnPrefChanged() [all …]
|
/external/apache-harmony/auth/src/test/resources/ |
D | auth_policy1.txt | 4 permission java.io.FilePermission "/home/duke", "read, write"; 10 permission java.lang.RuntimePermission "createClassLoader"; 17 permission java.security.AllPermission; 23 permission java.io.FilePermission "/home/bunny", "read, write"; 24 permission java.lang.RuntimePermission "stopThread";
|
/external/chromium_org/ppapi/api/private/ |
D | ppb_talk_private.idl | 20 * Request permission for screencast. 24 * Request permission for Remote Desktop. 28 * Request permission for continuing Remote Desktop. 76 * permission, or 0 if the user denied. 90 * Requests permission from the user using a system modal dialog. 92 * <code>permission</code> specifies the type of permission to request from 96 * as the result if the user gave permission, or 0 if the user denied. 105 [in] PP_TalkPermission permission,
|
/external/chromium_org/chrome/browser/content_settings/ |
D | tab_specific_content_settings_unittest.cc | 208 request_permissions[content::MEDIA_DEVICE_AUDIO_CAPTURE].permission = in TEST_F() 221 request_permissions[content::MEDIA_DEVICE_VIDEO_CAPTURE].permission = in TEST_F() 234 request_permissions[content::MEDIA_DEVICE_AUDIO_CAPTURE].permission = in TEST_F() 247 request_permissions[content::MEDIA_DEVICE_VIDEO_CAPTURE].permission = in TEST_F() 259 request_permissions[content::MEDIA_DEVICE_AUDIO_CAPTURE].permission = in TEST_F() 261 request_permissions[content::MEDIA_DEVICE_VIDEO_CAPTURE].permission = in TEST_F() 277 request_permissions[content::MEDIA_DEVICE_AUDIO_CAPTURE].permission = in TEST_F() 279 request_permissions[content::MEDIA_DEVICE_VIDEO_CAPTURE].permission = in TEST_F() 295 request_permissions[content::MEDIA_DEVICE_AUDIO_CAPTURE].permission = in TEST_F() 311 request_permissions[content::MEDIA_DEVICE_AUDIO_CAPTURE].permission = in TEST_F() [all …]
|
/external/ppp/pppd/plugins/radius/ |
D | COPYRIGHT | 8 copyright and permission notice appear on all copies and supporting 11 without specific prior permission, and notice be given in supporting 12 documentation that copying and distribution is by permission of 24 permission notice appear on all copies and supporting documentation, the 26 distribution of the program without specific prior permission, and notice be 28 permission of Lars Fenneberg. 40 and permission notice appear on all copies and supporting documentation, 43 prior permission, and notice be given in supporting documentation that 44 copying and distribution is by permission of Livingston Enterprises, Inc. 55 that the above copyright notice and this permission notice appear in all [all …]
|
/external/chromium_org/ppapi/shared_impl/ |
D | ppp_flash_browser_operations_shared.h | 17 : permission(PP_FLASH_BROWSEROPERATIONS_PERMISSION_DEFAULT) { in FlashSiteSetting() 22 permission(in_permission) { in FlashSiteSetting() 26 PP_Flash_BrowserOperations_Permission permission; member
|
/external/smack/src/org/apache/harmony/javax/security/auth/ |
D | Subject.java | 558 private transient AuthPermission permission; field in Subject.SecureSet 561 permission = perm; in SecureSet() 590 if (permission == _PRINCIPALS && !(Principal.class.isAssignableFrom(o.getClass()))) { in verifyElement() 605 checkPermission(permission); in add() 618 if (permission == _PRIVATE_CREDENTIALS) { in iterator() 718 permission = _PRINCIPALS; in readObject() 721 permission = _PRIVATE_CREDENTIALS; in readObject() 724 permission = _PUBLIC_CREDENTIALS; in readObject() 738 if (permission == _PRIVATE_CREDENTIALS) { in writeObject() 744 } else if (permission == _PRINCIPALS) { in writeObject() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/config/ |
D | ProviderConfigurationPermission.java | 107 Permission permission) in implies() argument 109 if (!(permission instanceof ProviderConfigurationPermission)) in implies() 114 if (!this.getName().equals(permission.getName())) in implies() 119 ProviderConfigurationPermission other = (ProviderConfigurationPermission)permission; in implies()
|
/external/chromium_org/chrome/browser/extensions/api/preference/ |
D | preference_api.cc | 52 APIPermission::ID permission; member 153 APIPermission::ID* permission) { in FindBrowserPrefForExtensionPref() argument 157 *permission = it->second.second; in FindBrowserPrefForExtensionPref() 165 APIPermission::ID* permission) { in FindEventForBrowserPref() argument 169 *permission = it->second.second; in FindEventForBrowserPref() 193 kPrefMapping[i].permission); in PrefMapping() 198 std::make_pair(event_name, kPrefMapping[i].permission); in PrefMapping() 262 APIPermission::ID permission = APIPermission::kInvalid; in OnPrefChanged() local 264 browser_pref, &event_name, &permission); in OnPrefChanged() 293 permission, in OnPrefChanged() [all …]
|
/external/chromium_org/content/ppapi_plugin/ |
D | broker_process_dispatcher.cc | 64 ppapi::FlashSiteSetting(sites[i].site, sites[i].permission)); in GetPermissionSettingsCallback() 192 PP_Flash_BrowserOperations_Permission permission, in OnSetDefaultPermission() argument 196 SetDefaultPermission(plugin_data_path, setting_type, permission, in OnSetDefaultPermission() 275 PP_Flash_BrowserOperations_Permission permission, in SetDefaultPermission() argument 280 data_str.c_str(), setting_type, permission, in SetDefaultPermission() 287 data_str.c_str(), setting_type, permission, in SetDefaultPermission() 307 site_array[i].permission = sites[i].permission; in SetSitePermission()
|
/external/chromium_org/chrome/browser/media/ |
D | media_stream_devices_controller.cc | 59 Permission permission, const std::string& requested_device_id): in MediaStreamTypeSettings() argument 60 permission(permission), requested_device_id(requested_device_id) {} in MediaStreamTypeSettings() 63 MediaStreamTypeSettings(): permission(MEDIA_NONE) {} in MediaStreamTypeSettings() 438 request_permissions_[content::MEDIA_DEVICE_AUDIO_CAPTURE].permission = in FilterBlockedByDefaultDevices() 451 request_permissions_[content::MEDIA_DEVICE_VIDEO_CAPTURE].permission = in FilterBlockedByDefaultDevices() 532 request_permissions_[content::MEDIA_DEVICE_AUDIO_CAPTURE].permission = in NotifyUIRequestDenied() 536 request_permissions_[content::MEDIA_DEVICE_VIDEO_CAPTURE].permission = in NotifyUIRequestDenied() 549 it->second.permission == MEDIA_ALLOWED); in IsDeviceAudioCaptureRequestedAndAllowed() 557 it->second.permission == MEDIA_ALLOWED); in IsDeviceVideoCaptureRequestedAndAllowed()
|