Home
last modified time | relevance | path

Searched refs:expected_type (Results 1 – 25 of 43) sorted by relevance

12

/external/chromium_org/chrome/browser/policy/cloud/
Dtest_request_interceptor.cc66 const std::string& expected_type, in ValidRequest() argument
71 if (spec.find("request=" + expected_type) == std::string::npos) in ValidRequest()
99 em::DeviceRegisterRequest::Type expected_type, in RegisterJobCallback() argument
127 if (!register_request.has_type() || register_request.type() != expected_type) in RegisterJobCallback()
262 em::DeviceRegisterRequest::Type expected_type, in RegisterJob() argument
264 return base::Bind(&RegisterJobCallback, expected_type, expect_reregister); in RegisterJob()
Dcloud_policy_manager_browsertest.cc144 em::DeviceRegisterRequest::Type expected_type = in IN_PROC_BROWSER_TEST_F() local
152 TestRequestInterceptor::RegisterJob(expected_type, expect_reregister)); in IN_PROC_BROWSER_TEST_F()
186 em::DeviceRegisterRequest::Type expected_type = in IN_PROC_BROWSER_TEST_F() local
194 TestRequestInterceptor::RegisterJob(expected_type, expect_reregister)); in IN_PROC_BROWSER_TEST_F()
Dtest_request_interceptor.h64 enterprise_management::DeviceRegisterRequest::Type expected_type,
/external/chromium_org/tools/gyp/test/mac/
Dgyptest-archs.py44 expected_type = '^Mach-O 64-bit executable x86_64$' variable
46 expected_type = '^Mach-O executable i386$' variable
47 CheckFileType(result_file, expected_type)
/external/chromium_org/chrome/utility/media_galleries/
Dpmp_column_reader.cc30 const PmpFieldType expected_type) { in ReadFile() argument
52 ParseData(expected_type); in ReadFile()
117 bool PmpColumnReader::ParseData(const PmpFieldType expected_type) { in ParseData() argument
140 if (field_type_ != expected_type) in ParseData()
Dpmp_column_reader.h30 bool ReadFile(base::PlatformFile file, const PmpFieldType expected_type);
45 bool ParseData(const PmpFieldType expected_type);
Dpmp_column_reader_unittest.cc23 const PmpFieldType expected_type) { in InitColumnReaderFromBytes() argument
43 bool read_success = reader->ReadFile(platform_file, expected_type); in InitColumnReaderFromBytes()
/external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/
Dorigin_operation_queue_unittest.cc14 OriginOperation::Type expected_type, in PopAndVerify() argument
20 EXPECT_EQ(expected_type, op.type); in PopAndVerify()
/external/chromium_org/net/dns/
Ddns_response.cc285 uint16 expected_type = qtype(); in ParseToAddressList() local
286 DCHECK(expected_type == dns_protocol::kTypeA || in ParseToAddressList()
287 expected_type == dns_protocol::kTypeAAAA); in ParseToAddressList()
289 size_t expected_size = (expected_type == dns_protocol::kTypeAAAA) in ParseToAddressList()
314 } else if (record.type == expected_type) { in ParseToAddressList()
/external/chromium_org/chromeos/network/onc/
Donc_certificate_importer_impl_unittest.cc105 net::CertType expected_type, in AddCertificateFromFile() argument
113 EXPECT_EQ(expected_type, GetCertType(result_list_[0]->os_cert_handle())); in AddCertificateFromFile()
119 if (expected_type == net::SERVER_CERT || expected_type == net::CA_CERT) { in AddCertificateFromFile()
/external/chromium_org/base/mac/
Dfoundation_util.h341 CFStringRef key, const std::string& expected_type, CFTypeRef value);
351 std::string expected_type = TypeNameForCFType(value_specific); in GetValueFromDictionary() local
353 expected_type, in GetValueFromDictionary()
/external/chromium_org/ppapi/tests/
Dtest_input_event.cc205 int32_t expected_type = input_event_interface_->GetType(expected); in AreEquivalentEvents() local
206 if (received_type != expected_type) { in AreEquivalentEvents()
208 if (expected_type != PP_INPUTEVENT_TYPE_KEYDOWN && in AreEquivalentEvents()
Dtest_ime_input_event.cc240 int32_t expected_type = input_event_interface_->GetType(expected); in AreEquivalentEvents() local
241 if (received_type != expected_type) in AreEquivalentEvents()
/external/chromium_org/chrome/browser/chromeos/input_method/
Dtextinput_test_helper.cc113 ui::TextInputType expected_type) { in WaitForTextInputStateChanged() argument
116 while (latest_text_input_type_ != expected_type) in WaitForTextInputStateChanged()
Dtextinput_test_helper.h49 void WaitForTextInputStateChanged(ui::TextInputType expected_type);
/external/chromium/chrome/common/
Djson_schema_validator.cc477 const std::string& expected_type, in ValidateType() argument
480 if (expected_type == actual_type || in ValidateType()
481 (expected_type == "number" && actual_type == "integer")) { in ValidateType()
485 kInvalidType, expected_type, actual_type))); in ValidateType()
Djson_schema_validator.h189 bool ValidateType(Value* instance, const std::string& expected_type,
/external/chromium/base/mac/
Dfoundation_util.h98 CFTypeID expected_type);
Dfoundation_util.mm202 CFTypeID expected_type) {
207 if (CFGetTypeID(value) != expected_type) {
209 CFCopyTypeIDDescription(expected_type));
/external/chromium_org/net/http/
Dhttp_content_disposition_unittest.cc210 net::HttpContentDisposition::Type expected_type; in TEST() member
508 EXPECT_EQ(tests[i].expected_type, header.type()) in TEST()
/external/chromium_org/components/policy/core/common/
Dschema_unittest.cc234 base::Value::Type expected_type; in TEST() member
251 EXPECT_EQ(kExpectedProperties[i].expected_type, it.schema().type()); in TEST()
302 base::Value::Type expected_type; in TEST() member
313 EXPECT_EQ(kExpectedKeys[i].expected_type, sub.type()); in TEST()
/external/chromium_org/components/json_schema/
Djson_schema_validator.cc734 const std::string& expected_type, in ValidateType() argument
737 if (expected_type == actual_type || in ValidateType()
738 (expected_type == schema::kNumber && actual_type == schema::kInteger)) { in ValidateType()
740 } else if (expected_type == schema::kInteger && in ValidateType()
746 kInvalidType, expected_type, actual_type))); in ValidateType()
Djson_schema_validator.h223 const std::string& expected_type,
/external/chromium_org/chrome/browser/chromeos/policy/
Ddevice_status_collector_browsertest.cc670 int expected_type; // proto enum type value, -1 for not present. member
747 if (dev.expected_type == -1) in TEST_F()
758 if (dev.expected_type == iface->type() && in TEST_F()
/external/chromium/chrome/browser/extensions/
Dextension_context_menu_browsertest.cc280 MenuModel::ItemType expected_type, in ExpectLabelAndType() argument
283 EXPECT_EQ(expected_type, menu.GetTypeAt(index)); in ExpectLabelAndType()

12