Home
last modified time | relevance | path

Searched refs:Set (Results 1 – 25 of 57) sorted by relevance

123

/system/connectivity/shill/
Dproperty_accessor_unittest.cc47 EXPECT_TRUE(accessor->Set(expected_int32, &error)); in TEST()
52 EXPECT_FALSE(accessor->Set(expected_int32, &error)); in TEST()
68 accessor->Set(expected_int32, &error); in TEST()
93 EXPECT_TRUE(accessor.Set(expected_int32, &error)); in TEST()
98 EXPECT_FALSE(accessor.Set(expected_int32, &error)); in TEST()
112 EXPECT_TRUE(accessor.Set(127, &error)); in TEST()
128 EXPECT_TRUE(accessor->Set(expected_uint32, &error)); in TEST()
133 EXPECT_FALSE(accessor->Set(expected_uint32, &error)); in TEST()
149 EXPECT_FALSE(accessor->Set(expected_uint32, &error)); in TEST()
175 EXPECT_TRUE(accessor.Set(expected_uint32, &error)); in TEST()
[all …]
Dproperty_accessor.h66 void Clear(Error* error) override { Set(default_value_, error); } in Clear()
68 bool Set(const T& value, Error* /*error*/) override { in Set() function
96 bool Set(const T& /*value*/, Error* error) override { in Set() function
117 void Clear(Error* error) override { Set(default_value_, error); } in Clear()
122 bool Set(const T& value, Error* /*error*/) override { in Set() function
183 Set(default_value_, error); in Clear()
189 bool Set(const T& value, Error* error) override { in Set() function
244 Set(default_value_, error); in Clear()
251 bool Set(const T& value, Error* error) override { in Set() function
286 bool Set(const T& value, Error* error) override { in Set() function
[all …]
Dmock_device.cc50 DefaultValue<Technology::Identifier>::Set(Technology::kUnknown); in MockDevice()
Dproperty_observer_unittest.cc41 MOCK_METHOD2(Set, bool(const bool& value, Error* error));
Daccessor_interface.h53 virtual bool Set(const T& value, Error* error) = 0;
Ddhcp_properties.cc119 to_return->properties_.Set(name, value); in Combine()
/system/core/metricsd/
Dpersistent_integer.cc38 void PersistentInteger::Set(int64_t value) { in Set() function in chromeos_metrics::PersistentInteger
52 Set(0); in GetAndClear()
57 Set(Get() + x); in Add()
Dpersistent_integer.h40 void Set(int64_t v);
Dmetrics_collector.cc126 version_cycle_->Set(version); in Run()
127 kernel_crashes_version_count_->Set(0); in Run()
128 version_cumulative_active_use_->Set(0); in Run()
129 version_cumulative_cpu_use_->Set(0); in Run()
732 daily_cycle_->Set(day); in UpdateStats()
742 weekly_cycle_->Set(week); in UpdateStats()
Dpersistent_integer_test.cc50 pi->Set(2); in TEST_F()
/system/core/fastboot/
Dudp.cpp73 void Set(uint8_t id, uint16_t sequence, Flag flag);
83 Set(kIdError, 0, kFlagNone); in Header()
86 void Header::Set(uint8_t id, uint16_t sequence, Flag flag) { in Set() function in udp::Header
222 header.Set(id, sequence_, kFlagContinuation); in SendData()
225 header.Set(id, sequence_, kFlagNone); in SendData()
305 header->Set(rx_packet_[kIndexId], sequence_, kFlagNone); in SendSinglePacketHelper()
/system/core/libmemunreachable/tests/
DMemUnreachable_test.cpp31 Set(malloc(size)); in HiddenPointer()
41 Set(nullptr); in Free()
44 void Set(void* ptr) { in Set() function in HiddenPointer
/system/core/metricsd/uploader/
Dupload_service.cc178 failed_upload_count_.Set(0); in Reset()
229 failed_upload_count_.Set(0); in StageCurrentLog()
249 failed_upload_count_.Set(0); in RemoveFailedLog()
/system/bt/service/common/bluetooth/util/
Datomic_string.h31 void Set(const std::string& str);
Datomic_string.cpp31 void AtomicString::Set(const std::string& str) { in Set() function in util::AtomicString
/system/sepolicy/
Dadbd.te16 # Set UID and GID to shell. Set supplementary groups.
52 # Set service.adb.*, sys.powerctl, and sys.usb.ffs.ready properties.
Duncrypt.te25 # Set a property to reboot the device.
Dlmkd.te34 # Set self to SCHED_FIFO
Dnfc.te7 # Set NFC properties
Dsurfaceflinger.te36 # Set properties.
Dlogd.te25 # Set persist.sys. and sys.powerctl
Dinit.te74 # Set system clock.
144 # Set usermodehelpers and /proc security settings.
206 # Set UID and GID for services.
234 # Set any property.
/system/update_engine/update_manager/
Dupdate_manager.conf.example16 # Set to true if the device supports the concept of OOBE
/system/connectivity/shill/cellular/
Dmodem_1_unittest.cc114 modem_properties.Set(MM_MODEM_PROPERTY_PORTS, brillo::Any(ports)); in TEST_F()
/system/bt/service/
Dadapter.cpp267 address_.Set(address); in AdapterPropertiesCallback()
274 name_.Set(name); in AdapterPropertiesCallback()

123