/external/libweave/third_party/chromium/base/ |
D | values_unittest.cc | 52 ASSERT_TRUE(bookmark_list->GetDictionary(0, &bookmark)); in TEST() 740 EXPECT_TRUE(base->GetDictionary("sub_dict_key", &res_sub_dict)); in TEST() 769 EXPECT_TRUE(base->GetDictionary("dict", &ptr)); in TEST() 775 EXPECT_TRUE(merged->GetDictionary("dict", &ptr)); in TEST() 908 EXPECT_FALSE(main_dict.GetDictionary("bool", NULL)); in TEST() 909 EXPECT_FALSE(main_dict.GetDictionary("int", NULL)); in TEST() 910 EXPECT_FALSE(main_dict.GetDictionary("double", NULL)); in TEST() 911 EXPECT_FALSE(main_dict.GetDictionary("string", NULL)); in TEST() 912 EXPECT_FALSE(main_dict.GetDictionary("binary", NULL)); in TEST() 913 EXPECT_TRUE(main_dict.GetDictionary("dict", NULL)); in TEST() [all …]
|
D | values.cc | 396 if (!current_dictionary->GetDictionary(key, &child_dictionary)) { in Set() 569 bool DictionaryValue::GetDictionary(StringPiece path, in GetDictionary() function in base::DictionaryValue 582 bool DictionaryValue::GetDictionary(StringPiece path, in GetDictionary() function in base::DictionaryValue 584 return static_cast<const DictionaryValue&>(*this).GetDictionary( in GetDictionary() 718 if (!GetDictionary(current_path.substr(0, delimiter_position), in Remove() 754 if (!GetDictionary(subdict_path, &subdict)) in RemovePath() 949 bool ListValue::GetDictionary(size_t index, in GetDictionary() function in base::ListValue 962 bool ListValue::GetDictionary(size_t index, DictionaryValue** out_value) { in GetDictionary() function in base::ListValue 963 return static_cast<const ListValue&>(*this).GetDictionary( in GetDictionary()
|
D | values.h | 285 bool GetDictionary(StringPiece path, 287 bool GetDictionary(StringPiece path, DictionaryValue** out_value); 425 bool GetDictionary(size_t index, const DictionaryValue** out_value) const; 426 bool GetDictionary(size_t index, DictionaryValue** out_value);
|
/external/libchrome/base/ |
D | values_unittest.cc | 52 ASSERT_TRUE(bookmark_list->GetDictionary(0, &bookmark)); in TEST() 780 EXPECT_TRUE(base->GetDictionary("sub_dict_key", &res_sub_dict)); in TEST() 809 EXPECT_TRUE(base->GetDictionary("dict", &ptr)); in TEST() 815 EXPECT_TRUE(merged->GetDictionary("dict", &ptr)); in TEST() 957 EXPECT_FALSE(main_dict.GetDictionary("bool", NULL)); in TEST() 958 EXPECT_FALSE(main_dict.GetDictionary("int", NULL)); in TEST() 959 EXPECT_FALSE(main_dict.GetDictionary("double", NULL)); in TEST() 960 EXPECT_FALSE(main_dict.GetDictionary("string", NULL)); in TEST() 961 EXPECT_FALSE(main_dict.GetDictionary("binary", NULL)); in TEST() 962 EXPECT_TRUE(main_dict.GetDictionary("dict", NULL)); in TEST() [all …]
|
D | values.cc | 411 if (!current_dictionary->GetDictionary(key, &child_dictionary)) { in Set() 603 bool DictionaryValue::GetDictionary(StringPiece path, in GetDictionary() function in base::DictionaryValue 616 bool DictionaryValue::GetDictionary(StringPiece path, in GetDictionary() function in base::DictionaryValue 618 return static_cast<const DictionaryValue&>(*this).GetDictionary( in GetDictionary() 761 if (!GetDictionary(current_path.substr(0, delimiter_position), in Remove() 797 if (!GetDictionary(subdict_path, &subdict)) in RemovePath() 1000 bool ListValue::GetDictionary(size_t index, in GetDictionary() function in base::ListValue 1013 bool ListValue::GetDictionary(size_t index, DictionaryValue** out_value) { in GetDictionary() function in base::ListValue 1014 return static_cast<const ListValue&>(*this).GetDictionary( in GetDictionary()
|
D | values.h | 295 bool GetDictionary(StringPiece path, 297 bool GetDictionary(StringPiece path, DictionaryValue** out_value); 438 bool GetDictionary(size_t index, const DictionaryValue** out_value) const; 439 bool GetDictionary(size_t index, DictionaryValue** out_value);
|
/external/libweave/src/ |
D | component_manager_impl.cc | 173 if (traits_.GetDictionary(it.key(), &existing_def)) { in LoadTraits() 343 traits_.GetDictionary(key, &definition); in FindCommandDefinition() 379 if (!component->GetDictionary("state", &state)) { in SetStateProperties() 525 if (traits_.GetDictionary(key, nullptr)) { in AddLegacyCommandDefinitions() 563 if (traits_.GetDictionary(key, nullptr)) { in AddLegacyStateDefinitions() 591 component_dict->GetDictionary("state", &component_state)) { in GetLegacyState() 607 trait_dict->GetDictionary("commands", &trait_commands)) { in GetLegacyCommandDefinitions() 631 CHECK(components_.GetDictionary(it.key(), &component)); in AddTraitToLegacyComponent() 646 if (component && !component->GetDictionary("components", &root)) { in FindComponentGraftNode() 695 if (!root->GetDictionary("components", &root)) { in FindComponentAt()
|
D | device_registration_info_unittest.cc | 439 EXPECT_FALSE(json->GetDictionary("deviceDraft.commandDefs", &dict)); in TEST_F() 440 EXPECT_FALSE(json->GetDictionary("deviceDraft.state", &dict)); in TEST_F() 441 EXPECT_TRUE(json->GetDictionary("deviceDraft.traits", &dict)); in TEST_F() 465 EXPECT_TRUE(json->GetDictionary("deviceDraft.components", &dict)); in TEST_F() 481 EXPECT_TRUE(json->GetDictionary("deviceDraft", &device_draft)); in TEST_F()
|
D | base_api_handler_unittest.cc | 86 if (component->GetDictionary("state.base", &base_state)) in GetBaseState() 105 ASSERT_TRUE(component_manager_.GetTraits().GetDictionary("base", &trait)); in TEST_F()
|
D | access_api_handler_unittest.cc | 99 component->GetDictionary("state._accessControlBlackList", &state)); in GetState() 112 ASSERT_TRUE(component_manager_.GetTraits().GetDictionary( in TEST_F()
|
D | device_registration_info.cc | 588 !json_resp->GetDictionary("deviceDraft", &device_draft_response) || in RegisterDeviceOnTicketFinalized()
|
/external/libchrome/base/trace_event/ |
D | trace_event_unittest.cc | 246 dict->GetDictionary("args", &args_dict); in IsKeyValueInDict() 357 dict->GetDictionary("args", &args_dict); in IsStringInDict() 2046 dict->GetDictionary("args", &args_dict); in TEST_F() 2063 dict->GetDictionary("args", &args_dict); in TEST_F() 2081 dict->GetDictionary("args", &args_dict); in TEST_F() 2100 dict->GetDictionary("args", &args_dict); in TEST_F() 2156 dict->GetDictionary("args", &args_dict); in TEST_F() 2163 dict->GetDictionary("args", &args_dict); in TEST_F() 2171 dict->GetDictionary("args", &args_dict); in TEST_F() 2181 dict->GetDictionary("args", &args_dict); in TEST_F() [all …]
|
D | memory_allocator_dump_unittest.cc | 65 EXPECT_TRUE(args->GetDictionary(name, &arg)); in CheckAttribute()
|
D | trace_config.cc | 346 if (dict->GetDictionary(kMemoryDumpConfigParam, &memory_dump_config)) in InitializeFromConfigString() 492 if (!trigger_list->GetDictionary(i, &trigger)) in SetMemoryDumpConfig()
|
/external/libweave/src/notification/ |
D | notification_parser.cc | 18 if (!notification.GetDictionary("command", &command)) { in ParseCommandCreated()
|
/external/libweave/third_party/chromium/base/json/ |
D | json_reader_unittest.cc | 371 ASSERT_TRUE(dict_val->GetDictionary("inner", &inner_dict)); in TEST() 379 EXPECT_TRUE(dict_val->GetDictionary("d", &inner_dict)); in TEST() 576 ASSERT_TRUE(root_dict->GetDictionary("test", &dict)); in TEST()
|
/external/libchrome/base/metrics/ |
D | statistics_recorder_unittest.cc | 283 ASSERT_TRUE(histogram_list->GetDictionary(0, &histogram_dict)); in TEST_F() 304 ASSERT_TRUE(histogram_list->GetDictionary(0, &histogram_dict)); in TEST_F()
|
/external/libchrome/base/json/ |
D | json_reader_unittest.cc | 376 ASSERT_TRUE(dict_val->GetDictionary("inner", &inner_dict)); in TEST() 384 EXPECT_TRUE(dict_val->GetDictionary("d", &inner_dict)); in TEST() 599 ASSERT_TRUE(root_dict->GetDictionary("test", &dict)); in TEST()
|
/external/libweave/examples/daemon/light/ |
D | light.cc | 256 if (params.GetDictionary("colorSetting", &colorXY)) { in OnColorXYSetConfig()
|
/external/libweave/src/privet/ |
D | privet_handler_unittest.cc | 81 EXPECT_TRUE(result->GetDictionary(path_to_error_object, &error_dict)); in StripDebugErrorDetails() 835 ASSERT_TRUE(components.GetDictionary("comp1.components.comp2", &comp2)); in TEST_F()
|
D | privet_handler.cc | 763 if (input.GetDictionary(kWifiKey, &wifi)) { in HandleSetupStart() 781 if (input.GetDictionary(kGcdKey, ®istration)) { in HandleSetupStart()
|
/external/libchrome/base/test/ |
D | trace_event_analyzer.cc | 80 if (!dictionary->GetDictionary("args", &args)) { in SetFromJSON()
|