Home
last modified time | relevance | path

Searched refs:GetInt (Results 1 – 25 of 27) sorted by relevance

12

/system/connectivity/shill/
Dpending_activation_store_unittest.cc185 EXPECT_CALL(*mock_store, GetInt(PendingActivationStore::kIccidGroupId, in TEST_F()
195 GetInt(PendingActivationStore::kMeidGroupId, kEntry, _)) in TEST_F()
204 GetInt(PendingActivationStore::kMeidGroupId, kEntry, _)) in TEST_F()
213 GetInt(PendingActivationStore::kIccidGroupId, kEntry, _)) in TEST_F()
219 GetInt(PendingActivationStore::kIccidGroupId, kEntry, _)) in TEST_F()
Dkey_file_store_unittest.cc405 TEST_F(KeyFileStoreTest, GetInt) { in TEST_F() argument
424 EXPECT_TRUE(store_->GetInt(kGroup, kKeyNeg, &value)); in TEST_F()
429 EXPECT_TRUE(store_->GetInt(kGroup, kKeyPos, &value)); in TEST_F()
434 EXPECT_FALSE(store_->GetInt(kGroup, kKeyBad, &value)); in TEST_F()
435 EXPECT_FALSE(store_->GetInt(kGroup, "invalid", &value)); in TEST_F()
436 EXPECT_FALSE(store_->GetInt("invalid", kKeyPos, &value)); in TEST_F()
438 EXPECT_TRUE(store_->GetInt(kGroup, kKeyPos, nullptr)); in TEST_F()
800 EXPECT_TRUE(store_->GetInt(kGroupB, kKeyInt, &value)); in TEST_F()
802 EXPECT_TRUE(store_->GetInt(kGroupA, kKeyInt, &value)); in TEST_F()
804 EXPECT_FALSE(store_->GetInt(kGroupC, kKeyInt, &value)); in TEST_F()
[all …]
Dstatic_ip_parameters.cc159 if (storage->GetInt(storage_id, name, &value)) { in Load()
207 storage->SetInt(storage_id, name, args_.GetInt(property.name)); in Save()
240 *value_out = args_.GetInt(property); in ApplyInt()
350 return args_.GetInt(key); in GetMappedInt32Property()
362 return saved_args_.GetInt(key); in GetMappedSavedInt32Property()
417 args_.GetInt(kProperties[index].name) == value) { in SetMappedInt32Property()
Djson_store_unittest.cc122 EXPECT_TRUE(store_->GetInt("group_a", "knob_1", &value_from_store)); in TEST_F()
200 EXPECT_FALSE(store_->GetInt("group_a", "int_knob", nullptr)); in TEST_F()
210 EXPECT_FALSE(store_->GetInt("group_a", "int_knob", nullptr)); in TEST_F()
227 EXPECT_TRUE(store_->GetInt("group_a", "int_knob", nullptr)); in TEST_F()
282 EXPECT_FALSE(store_->GetInt("group_a", "knob_1", nullptr)); in TEST_F()
296 EXPECT_FALSE(store_->GetInt("group_a", "knob_1", nullptr)); in TEST_F()
323 EXPECT_FALSE(store_->GetInt("group_a", "knob_1", nullptr)); in TEST_F()
337 EXPECT_FALSE(store_->GetInt("group_a", "knob_1", nullptr)); in TEST_F()
351 EXPECT_FALSE(store_->GetInt("group_a", "knob_1", nullptr)); in TEST_F()
Dstore_interface.h116 virtual bool GetInt(const std::string& group,
Dmock_store.h64 MOCK_CONST_METHOD3(GetInt, bool(const std::string& group,
Dstub_storage.h74 bool GetInt(const std::string& group, in GetInt() function
Dkey_file_store.h67 bool GetInt(const std::string& group,
Dfake_store.h65 bool GetInt(const std::string& group,
Dpending_activation_store.cc130 if (!storage_->GetInt(IdentifierTypeToGroupId(type), identifier, &state)) { in GetActivationState()
Djson_store.h66 bool GetInt(const std::string& group,
Dkey_file_store.cc278 bool KeyFileStore::GetInt( in GetInt() function in shill::KeyFileStore
401 if (!GetInt(group, property.first, &value) || in DoesGroupMatchProperties()
Dstatic_ip_parameters_unittest.cc246 EXPECT_CALL(store, GetInt(kID, "StaticIP.Mtu", _)) in TEST_F()
254 EXPECT_CALL(store, GetInt(kID, "StaticIP.Prefixlen", _)) in TEST_F()
Ddefault_profile.cc130 if (!storage()->GetInt(kStorageId, kStorageConnectionIdSalt, in LoadManagerProperties()
Dkey_value_store.h74 int32_t GetInt(const std::string& name) const;
Dfake_store.cc172 bool FakeStore::GetInt( in GetInt() function in shill::FakeStore
Dservice.cc533 if (!storage->GetInt(id, kStoragePriority, &priority_)) { in Load()
536 if (!storage->GetInt(id, kStoragePriorityWithinTechnology, in Load()
544 storage->GetInt(id, kStorageConnectionId, &connection_id_); in Load()
Dkey_value_store_unittest.cc83 EXPECT_EQ(kValue, store_.GetInt(kKey)); in TEST_F()
708 EXPECT_EQ(kInt32Value, store.GetInt(kInt32Key)); in TEST_F()
Dkey_value_store.cc148 int32_t KeyValueStore::GetInt(const string& name) const { in GetInt() function in shill::KeyValueStore
Djson_store.cc567 bool JsonStore::GetInt( in GetInt() function in shill::JsonStore
Dservice_unittest.cc462 EXPECT_CALL(storage, GetInt(storage_id_, _, _)).Times(AnyNumber()); in TEST_F()
467 EXPECT_CALL(storage, GetInt(storage_id_, Service::kStoragePriority, _)) in TEST_F()
506 EXPECT_CALL(storage, GetInt(storage_id_, _, _)) in TEST_F()
541 EXPECT_CALL(storage, GetInt(storage_id_, _, _)) in TEST_F()
/system/connectivity/shill/pppoe/
Dpppoe_service.cc160 storage->GetInt(id, kPPPoELCPEchoIntervalProperty, &lcp_echo_interval_); in Load()
161 storage->GetInt(id, kPPPoELCPEchoFailureProperty, &lcp_echo_failure_); in Load()
162 storage->GetInt(id, kPPPoEMaxAuthFailureProperty, &max_auth_failure_); in Load()
/system/update_engine/
Dtest_http_server.cc503 inline int GetInt(const off_t index) const { in GetInt() function in chromeos_update_engine::UrlTerms
529 terms.GetInt(3), terms.GetInt(4)); in HandleConnection()
537 HandleErrorIfOffset(fd, request, terms.GetSizeT(1), terms.GetInt(2)); in HandleConnection()
/system/keymaster/
Dauthorization_set_test.cpp419 TEST(GetValue, GetInt) { in TEST() argument
/system/connectivity/shill/cellular/
Dcellular_capability_universal.cc1146 int32_t istate = properties.GetInt(MM_MODEM_PROPERTY_STATE); in OnModemPropertiesChanged()

12