Searched refs:accessor (Results 1 – 7 of 7) sorted by relevance
/system/connectivity/shill/ |
D | property_accessor_unittest.cc | 43 Int32Accessor accessor(new PropertyAccessor<int32_t>(&int_store)); in TEST() local 44 EXPECT_EQ(int_store, accessor->Get(&error)); in TEST() 47 EXPECT_TRUE(accessor->Set(expected_int32, &error)); in TEST() 49 EXPECT_EQ(expected_int32, accessor->Get(&error)); in TEST() 52 EXPECT_FALSE(accessor->Set(expected_int32, &error)); in TEST() 55 accessor->Clear(&error); in TEST() 57 EXPECT_EQ(orig_value, accessor->Get(&error)); in TEST() 60 EXPECT_EQ(std::numeric_limits<int32_t>::max(), accessor->Get(&error)); in TEST() 64 Int32Accessor accessor(new ConstPropertyAccessor<int32_t>(&int_store)); in TEST() local 65 EXPECT_EQ(int_store, accessor->Get(&error)); in TEST() [all …]
|
D | service_property_change_notifier.cc | 37 const string& name, BoolAccessor accessor) { in AddBoolPropertyObserver() argument 40 accessor, in AddBoolPropertyObserver() 47 const string& name, Uint8Accessor accessor) { in AddUint8PropertyObserver() argument 50 accessor, in AddUint8PropertyObserver() 57 const string& name, Uint16Accessor accessor) { in AddUint16PropertyObserver() argument 60 accessor, in AddUint16PropertyObserver() 67 const string& name, Uint16sAccessor accessor) { in AddUint16sPropertyObserver() argument 70 accessor, in AddUint16sPropertyObserver() 77 const string& name, Uint32Accessor accessor) { in AddUintPropertyObserver() argument 80 accessor, in AddUintPropertyObserver() [all …]
|
D | service_property_change_notifier.h | 45 BoolAccessor accessor); 47 Uint8Accessor accessor); 49 Uint16Accessor accessor); 51 Uint16sAccessor accessor); 53 Uint32Accessor accessor); 55 Int32Accessor accessor); 57 RpcIdentifierAccessor accessor); 59 StringAccessor accessor); 61 StringmapAccessor accessor);
|
D | property_store.h | 246 const BoolAccessor& accessor); 248 const Int32Accessor& accessor); 250 const KeyValueStoreAccessor& accessor); 254 const RpcIdentifiersAccessor& accessor); 256 const StringAccessor& accessor); 258 const StringmapAccessor& accessor); 260 const StringmapsAccessor& accessor); 262 const StringsAccessor& accessor); 264 const Uint16Accessor& accessor); 266 const Uint64Accessor& accessor); [all …]
|
D | property_observer.h | 41 PropertyObserver(std::shared_ptr<AccessorInterface<T>> accessor, in PropertyObserver() argument 43 : accessor_(accessor), callback_(callback) { in PropertyObserver()
|
D | property_store.cc | 807 const BoolAccessor& accessor) { in RegisterDerivedBool() argument 810 bool_properties_[name] = accessor; in RegisterDerivedBool() 814 const Int32Accessor& accessor) { in RegisterDerivedInt32() argument 817 int32_properties_[name] = accessor; in RegisterDerivedInt32() 838 const RpcIdentifiersAccessor& accessor) { in RegisterDerivedRpcIdentifiers() argument 841 rpc_identifiers_properties_[name] = accessor; in RegisterDerivedRpcIdentifiers() 845 const StringAccessor& accessor) { in RegisterDerivedString() argument 848 string_properties_[name] = accessor; in RegisterDerivedString() 852 const StringsAccessor& accessor) { in RegisterDerivedStrings() argument 855 strings_properties_[name] = accessor; in RegisterDerivedStrings()
|
D | service.cc | 1408 BoolAccessor accessor( in HelpRegisterObservedDerivedBool() local 1410 store_.RegisterDerivedBool(name, accessor); in HelpRegisterObservedDerivedBool() 1411 property_change_notifier_->AddBoolPropertyObserver(name, accessor); in HelpRegisterObservedDerivedBool()
|