/external/chromium_org/components/policy/core/common/cloud/ |
D | device_management_service.cc | 102 return dm_protocol::kValueUserAffiliationManaged; in UserAffiliationToString() 104 return dm_protocol::kValueUserAffiliationNone; in UserAffiliationToString() 107 return dm_protocol::kValueUserAffiliationNone; in UserAffiliationToString() 113 return dm_protocol::kValueRequestAutoEnrollment; in JobTypeToRequestType() 115 return dm_protocol::kValueRequestRegister; in JobTypeToRequestType() 117 return dm_protocol::kValueRequestPolicy; in JobTypeToRequestType() 119 return dm_protocol::kValueRequestApiAuthorization; in JobTypeToRequestType() 121 return dm_protocol::kValueRequestUnregister; in JobTypeToRequestType() 123 return dm_protocol::kValueRequestUploadCertificate; in JobTypeToRequestType() 352 AddParameter(dm_protocol::kParamOAuthToken, oauth_token); in SetOAuthToken() [all …]
|
D | cloud_policy_client_unittest.cc | 74 policy_ns_key_(dm_protocol::kChromeUserPolicyType, std::string()) { in CloudPolicyClientTest() 85 policy_fetch_request->set_policy_type(dm_protocol::kChromeUserPolicyType); in CloudPolicyClientTest() 137 EXPECT_CALL(service_, StartJob(dm_protocol::kValueRequestRegister, in ExpectRegistration() 149 EXPECT_CALL(service_, StartJob(dm_protocol::kValueRequestPolicy, in ExpectPolicyFetch() 160 EXPECT_CALL(service_, StartJob(dm_protocol::kValueRequestUnregister, in ExpectUnregistration() 170 EXPECT_CALL(service_, StartJob(dm_protocol::kValueRequestUploadCertificate, in ExpectUploadCertificate() 183 policy_data.set_policy_type(dm_protocol::kChromeUserPolicyType); in CreatePolicyData() 226 ExpectPolicyFetch(kDMToken, dm_protocol::kValueUserAffiliationNone); in TEST_F() 243 ExpectPolicyFetch(kDMToken, dm_protocol::kValueUserAffiliationNone); in TEST_F() 298 EXPECT_CALL(service_, StartJob(dm_protocol::kValueRequestRegister, in TEST_F() [all …]
|
D | mock_device_management_service.cc | 33 service_->StartJob(ExtractParameter(dm_protocol::kParamRequest), in Run() 35 ExtractParameter(dm_protocol::kParamOAuthToken), in Run() 37 ExtractParameter(dm_protocol::kParamUserAffiliation), in Run() 38 ExtractParameter(dm_protocol::kParamDeviceID), in Run()
|
D | cloud_policy_constants.cc | 13 namespace dm_protocol { namespace 58 return dm_protocol::kChromeUserPolicyType; in GetChromeUserPolicyType()
|
D | device_management_service_unittest.cc | 132 fetch_request->set_policy_type(dm_protocol::kChromeUserPolicyType); in StartPolicyFetchJob() 381 EXPECT_TRUE(query_params.Check(dm_protocol::kParamRequest, request_type)); in CheckURLAndQueryParams() 382 EXPECT_TRUE(query_params.Check(dm_protocol::kParamDeviceID, device_id)); in CheckURLAndQueryParams() 383 EXPECT_TRUE(query_params.Check(dm_protocol::kParamDeviceType, in CheckURLAndQueryParams() 384 dm_protocol::kValueDeviceType)); in CheckURLAndQueryParams() 385 EXPECT_TRUE(query_params.Check(dm_protocol::kParamAppType, in CheckURLAndQueryParams() 386 dm_protocol::kValueAppType)); in CheckURLAndQueryParams() 410 dm_protocol::kValueRequestRegister, in TEST_F() 437 dm_protocol::kValueRequestApiAuthorization, in TEST_F() 470 dm_protocol::kValueRequestUnregister, in TEST_F()
|
D | component_cloud_policy_store_unittest.cc | 81 dm_protocol::kChromeExtensionPolicyType); in SetUp() 142 builder_.policy_data().set_policy_type(dm_protocol::kChromeUserPolicyType); in TEST_F() 215 builder_.policy_data().set_policy_type(dm_protocol::kChromeUserPolicyType); in TEST_F() 221 dm_protocol::kChromeExtensionPolicyType); in TEST_F()
|
D | policy_builder.cc | 225 policy_data().set_policy_type(dm_protocol::kChromeUserPolicyType); in TypedPolicyBuilder() 235 policy_data().set_policy_type(dm_protocol::kChromeExtensionPolicyType); in TypedPolicyBuilder()
|
D | cloud_policy_manager_unittest.cc | 79 PolicyNamespaceKey(dm_protocol::kChromeUserPolicyType, std::string()), in CreateProvider() 144 dm_protocol::kChromeUserPolicyType, in TestCloudPolicyManager() 169 : policy_ns_key_(dm_protocol::kChromeUserPolicyType, std::string()) {} in CloudPolicyManagerTest()
|
D | cloud_policy_constants.h | 16 namespace dm_protocol {
|
D | component_cloud_policy_service_unittest.cc | 132 dm_protocol::kChromeExtensionPolicyType); in SetUp() 366 client_->SetPolicy(PolicyNamespaceKey(dm_protocol::kChromeExtensionPolicyType, in TEST_F() 455 client_->SetPolicy(PolicyNamespaceKey(dm_protocol::kChromeExtensionPolicyType, in TEST_F()
|
D | cloud_policy_core_unittest.cc | 24 : core_(PolicyNamespaceKey(dm_protocol::kChromeUserPolicyType, in CloudPolicyCoreTest()
|
D | cloud_policy_service_unittest.cc | 35 : policy_ns_key_(dm_protocol::kChromeUserPolicyType, std::string()), in CloudPolicyServiceTest()
|
/external/chromium_org/chrome/browser/policy/test/ |
D | local_policy_test_server.cc | 113 types->AppendString(dm_protocol::kChromeDevicePolicyType); in RegisterClient() 114 types->AppendString(dm_protocol::kChromeUserPolicyType); in RegisterClient() 115 types->AppendString(dm_protocol::kChromePublicAccountPolicyType); in RegisterClient() 116 types->AppendString(dm_protocol::kChromeExtensionPolicyType); in RegisterClient()
|
/external/chromium_org/chrome/browser/policy/cloud/ |
D | component_cloud_policy_browsertest.cc | 117 dm_protocol::kChromeExtensionPolicyType, kTestExtension, kTestPolicy)); in SetUpInProcessBrowserTestFixture() 248 dm_protocol::kChromeExtensionPolicyType, kTestExtension, kTestPolicy2)); in IN_PROC_BROWSER_TEST_F() 267 dm_protocol::kChromeExtensionPolicyType, kTestExtension2, kTestPolicy2)); in IN_PROC_BROWSER_TEST_F()
|
D | cloud_policy_browsertest.cc | 93 kEmptyPolicy, dm_protocol::kChromeUserPolicyType, GetTestUser()); in GetEmptyPolicy() 118 dm_protocol::kChromeUserPolicyType, in GetTestPolicy()
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | device_policy_builder.cc | 17 policy_data().set_policy_type(dm_protocol::kChromeDevicePolicyType); in TypedPolicyBuilder()
|
D | enrollment_handler_chromeos.cc | 70 dm_protocol::kChromeDevicePolicyType, std::string())); in EnrollmentHandlerChromeOS() 97 PolicyNamespaceKey(dm_protocol::kChromeDevicePolicyType, std::string())); in OnPolicyFetched() 116 validator->ValidatePolicyType(dm_protocol::kChromeDevicePolicyType); in OnPolicyFetched()
|
D | device_local_account_policy_service_unittest.cc | 170 dm_protocol::kChromePublicAccountPolicyType); in SetUp() 275 dm_protocol::kChromeUserPolicyType); in TEST_F() 325 dm_protocol::kChromeUserPolicyType); in TEST_F() 425 StartJob(dm_protocol::kValueRequestPolicy, in TEST_F() 428 dm_protocol::kValueUserAffiliationManaged, in TEST_F() 439 EXPECT_EQ(dm_protocol::kChromePublicAccountPolicyType, in TEST_F()
|
D | device_cloud_policy_store_chromeos.cc | 101 validator->ValidatePolicyType(dm_protocol::kChromeDevicePolicyType); in CreateValidator()
|
D | device_local_account_policy_store.cc | 182 validator->ValidatePolicyType(dm_protocol::kChromePublicAccountPolicyType); in Validate()
|
D | device_local_account_browsertest.cc | 348 dm_protocol::kChromePublicAccountPolicyType); in InitializePolicy() 365 dm_protocol::kChromePublicAccountPolicyType, kAccountId1, in UploadDeviceLocalAccountPolicy() 383 test_server_.UpdatePolicy(dm_protocol::kChromeDevicePolicyType, in AddPublicSessionToDevicePolicy() 512 test_server_.UpdatePolicy(dm_protocol::kChromeDevicePolicyType, std::string(), in IN_PROC_BROWSER_TEST_F()
|
D | user_cloud_policy_manager_chromeos.cc | 78 PolicyNamespaceKey(dm_protocol::kChromeUserPolicyType, std::string()), in UserCloudPolicyManagerChromeOS()
|
D | device_cloud_policy_manager_chromeos.cc | 101 PolicyNamespaceKey(dm_protocol::kChromeDevicePolicyType, in DeviceCloudPolicyManagerChromeOS()
|
/external/chromium_org/chrome/browser/chromeos/settings/ |
D | session_manager_operation.cc | 183 validator->ValidatePolicyType(policy::dm_protocol::kChromeDevicePolicyType); in ValidateDeviceSettings() 285 policy.set_policy_type(policy::dm_protocol::kChromeDevicePolicyType); in AssembleAndSignPolicy()
|
D | session_manager_operation_unittest.cc | 262 validator->ValidatePolicyType(policy::dm_protocol::kChromeDevicePolicyType); in TEST_F() 275 EXPECT_EQ(policy::dm_protocol::kChromeDevicePolicyType, in TEST_F()
|