Home
last modified time | relevance | path

Searched refs:reset (Results 1 – 25 of 417) sorted by relevance

12345678910>>...17

/system/connectivity/shill/net/
Dnetlink_attribute.cc57 attr.reset(new Nl80211AttributeBss()); in NewNl80211AttributeFromId()
60 attr.reset(new Nl80211AttributeCipherSuites()); in NewNl80211AttributeFromId()
63 attr.reset(new Nl80211AttributeControlPortEthertype()); in NewNl80211AttributeFromId()
66 attr.reset(new Nl80211AttributeCookie()); in NewNl80211AttributeFromId()
69 attr.reset(new Nl80211AttributeCqm()); in NewNl80211AttributeFromId()
72 attr.reset(new Nl80211AttributeDeviceApSme()); in NewNl80211AttributeFromId()
75 attr.reset(new Nl80211AttributeDfsRegion()); in NewNl80211AttributeFromId()
78 attr.reset(new Nl80211AttributeDisconnectedByAp()); in NewNl80211AttributeFromId()
81 attr.reset(new Nl80211AttributeDuration()); in NewNl80211AttributeFromId()
84 attr.reset(new Nl80211AttributeFeatureFlags()); in NewNl80211AttributeFromId()
[all …]
/system/update_engine/update_manager/
Dchromeos_policy_unittest.cc65 fake_state_.updater_provider()->var_updater_started_time()->reset( in SetUpDefaultState()
67 fake_state_.updater_provider()->var_last_checked_time()->reset( in SetUpDefaultState()
70 reset(new unsigned int{0}); in SetUpDefaultState()
72 reset(new unsigned int{0}); in SetUpDefaultState()
74 reset(new UpdateRequestStatus{UpdateRequestStatus::kNone}); in SetUpDefaultState()
76 fake_state_.random_provider()->var_seed()->reset( in SetUpDefaultState()
81 fake_state_.device_policy_provider()->var_device_policy_is_loaded()->reset( in SetUpDefaultState()
85 fake_state_.config_provider()->var_is_oobe_enabled()->reset( in SetUpDefaultState()
90 fake_state_.system_provider()->var_is_official_build()->reset( in SetUpDefaultState()
92 fake_state_.system_provider()->var_is_oobe_complete()->reset( in SetUpDefaultState()
[all …]
Dreal_system_provider.cc39 var_is_normal_boot_mode_.reset( in Init()
43 var_is_official_build_.reset( in Init()
47 var_is_oobe_complete_.reset( in Init()
53 var_num_slots_.reset( in Init()
Devaluation_context_unittest.cc155 fake_int_var_.reset(new int(42)); in TEST_F()
164 fake_int_var_.reset(new int(42)); in TEST_F()
169 fake_int_var_.reset(new int(5)); in TEST_F()
180 fake_int_var_.reset(new int(42)); in TEST_F()
191 fake_int_var_.reset(new int(42)); in TEST_F()
192 fake_poll_var_.reset(new string("Hello world!")); in TEST_F()
207 fake_const_var_.reset(new string("Hello world!")); in TEST_F()
215 fake_async_var_.reset(new string("Async value")); in TEST_F()
234 fake_async_var_.reset(new string("Async value")); in TEST_F()
249 fake_poll_var_.reset(new string("Polled value")); in TEST_F()
[all …]
/system/gatekeeper/
Dgatekeeper_messages.cpp58 target->buffer.reset(new uint8_t[target->length]); in read_from_buffer()
138 this->password_handle.buffer.reset(enrolled_password_handle->buffer.release()); in VerifyRequest()
140 this->provided_password.buffer.reset(provided_password_payload->buffer.release()); in VerifyRequest()
151 password_handle.buffer.reset(); in ~VerifyRequest()
156 provided_password.buffer.reset(); in ~VerifyRequest()
176 password_handle.buffer.reset(); in nonErrorDeserialize()
181 provided_password.buffer.reset(); in nonErrorDeserialize()
196 this->auth_token.buffer.reset(auth_token->buffer.release()); in VerifyResponse()
208 auth_token.buffer.reset(); in ~VerifyResponse()
213 this->auth_token.buffer.reset(auth_token->buffer.release()); in SetVerificationToken()
[all …]
/system/bt/service/common/bluetooth/
Dscan_filter.cpp28 service_uuid_.reset(new UUID(*other.service_uuid_)); in ScanFilter()
31 service_uuid_mask_.reset(new UUID(*other.service_uuid_mask_)); in ScanFilter()
39 service_uuid_.reset(new UUID(*other.service_uuid_)); in operator =()
44 service_uuid_mask_.reset(new UUID(*other.service_uuid_mask_)); in operator =()
60 service_uuid_.reset(new UUID(service_uuid)); in SetServiceUuid()
61 service_uuid_mask_.reset(); in SetServiceUuid()
66 service_uuid_.reset(new UUID(service_uuid)); in SetServiceUuidWithMask()
67 service_uuid_mask_.reset(new UUID(mask)); in SetServiceUuidWithMask()
/system/tpm/tpm_manager/server/
Dmain.cc53 local_data_store_.reset(new tpm_manager::LocalDataStoreImpl()); in TpmManagerDaemon()
55 tpm_status_.reset(new tpm_manager::Tpm2StatusImpl); in TpmManagerDaemon()
56 tpm_initializer_.reset(new tpm_manager::Tpm2InitializerImpl( in TpmManagerDaemon()
59 tpm_nvram_.reset(new tpm_manager::Tpm2NvramImpl(local_data_store_.get())); in TpmManagerDaemon()
61 tpm_status_.reset(new tpm_manager::TpmStatusImpl); in TpmManagerDaemon()
62 tpm_initializer_.reset(new tpm_manager::TpmInitializerImpl( in TpmManagerDaemon()
65 tpm_nvram_.reset(new tpm_manager::TpmNvramImpl(local_data_store_.get())); in TpmManagerDaemon()
67 tpm_manager_service_.reset(new tpm_manager::TpmManagerService( in TpmManagerDaemon()
87 dbus_service_.reset(new tpm_manager::DBusService( in RegisterDBusObjectsAsync()
/system/core/metricsd/uploader/
Dmetricsd_service_runner.cc33 thread_.reset(new std::thread(&MetricsdServiceRunner::Run, this)); in Start()
43 message_loop_for_io_.reset(new base::MessageLoopForIO); in Run()
44 message_loop_.reset(new brillo::BaseMessageLoop(message_loop_for_io_.get())); in Run()
54 message_loop_.reset(); in Run()
55 message_loop_for_io_.reset(); in Run()
Dupload_service_test.cc57 upload_service_.reset(new UploadService( in SetUp()
61 upload_service_->sender_.reset(new SenderMock); in SetUp()
107 upload_service_->sender_.reset(sender); in TEST_F()
123 upload_service_->sender_.reset(sender); in TEST_F()
148 upload_service_->sender_.reset(sender); in TEST_F()
162 upload_service_->sender_.reset(sender); in TEST_F()
240 upload_service_->sender_.reset(sender); in TEST_F()
248 upload_service_->system_profile_setter_.reset( in TEST_F()
307 upload_service_.reset(new UploadService( in TEST_F()
328 upload_service_.reset(new UploadService( in TEST_F()
/system/connectivity/dhcp_client/
Ddhcp_options_parser_unittest.cc78 parser_.reset(new UInt8Parser()); in TEST_F()
87 parser_.reset(new UInt16Parser()); in TEST_F()
99 parser_.reset(new UInt32Parser()); in TEST_F()
111 parser_.reset(new UInt8ListParser()); in TEST_F()
125 parser_.reset(new UInt16ListParser()); in TEST_F()
144 parser_.reset(new UInt32ListParser()); in TEST_F()
163 parser_.reset(new UInt32PairListParser()); in TEST_F()
183 parser_.reset(new BoolParser()); in TEST_F()
192 parser_.reset(new BoolParser()); in TEST_F()
201 parser_.reset(new StringParser()); in TEST_F()
[all …]
/system/connectivity/shill/cellular/
Dmock_modem_info.cc44 mock_control_.reset(new MockControl()); in SetMockMembers()
48 mock_dispatcher_.reset(new MockEventDispatcher()); in SetMockMembers()
52 mock_metrics_.reset(new MockMetrics(dispatcher())); in SetMockMembers()
56 mock_manager_.reset(new MockManager(control_interface(), dispatcher(), in SetMockMembers()
/system/core/metricsd/
Dmetrics_collector.cc172 daily_active_use_.reset(new PersistentInteger("Platform.UseTime.PerDay", in Init()
174 version_cumulative_active_use_.reset(new PersistentInteger( in Init()
176 version_cumulative_cpu_use_.reset(new PersistentInteger( in Init()
179 kernel_crash_interval_.reset(new PersistentInteger( in Init()
181 unclean_shutdown_interval_.reset(new PersistentInteger( in Init()
183 user_crash_interval_.reset(new PersistentInteger("Platform.UserCrashInterval", in Init()
186 any_crashes_daily_count_.reset(new PersistentInteger( in Init()
188 any_crashes_weekly_count_.reset(new PersistentInteger( in Init()
190 user_crashes_daily_count_.reset(new PersistentInteger( in Init()
192 user_crashes_weekly_count_.reset(new PersistentInteger( in Init()
[all …]
/system/keymaster/
Dserializable.cpp61 dest->reset(); in copy_size_and_data_from_buf()
64 dest->reset(new (std::nothrow) uint8_t[*size]); in copy_size_and_data_from_buf()
78 buffer_.reset(new_buffer); in reserve()
88 buffer_.reset(new (std::nothrow) uint8_t[size]); in Reinitialize()
101 buffer_.reset(new (std::nothrow) uint8_t[data_len]); in Reinitialize()
149 buffer_.reset(); in Deserialize()
159 buffer_.reset(); in Clear()
Dkdf.cpp44 secret_key_.reset(dup_buffer(secret, secret_len)); in Init()
50 salt_.reset(dup_buffer(salt, salt_len)); in Init()
54 salt_.reset(); in Init()
/system/core/gatekeeperd/tests/
Dgatekeeper_test.cpp38 password.buffer.reset(new uint8_t[16]); in do_enroll()
70 provided_password.buffer.reset(new uint8_t[16]); in TEST()
101 provided_password.buffer.reset(new uint8_t[16]); in TEST()
108 password_handle.buffer.reset(new uint8_t[enroll_response.enrolled_password_handle.length]); in TEST()
125 provided_password.buffer.reset(new uint8_t[16]); in TEST()
129 password.buffer.reset(new uint8_t[16]); in TEST()
137 password.buffer.reset(new uint8_t[16]); in TEST()
155 provided_password.buffer.reset(new uint8_t[16]); in TEST()
174 password.buffer.reset(new uint8_t[16]); in TEST()
182 password.buffer.reset(new uint8_t[16]); in TEST()
/system/bt/service/
Ddaemon.cpp84 ipc_manager_.reset(); in CleanUpBluetoothStack()
85 adapter_.reset(); in CleanUpBluetoothStack()
107 message_loop_.reset(new base::MessageLoop()); in Init()
109 settings_.reset(new Settings()); in Init()
121 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in Init()
/system/tpm/trunks/
Dtrunks_factory_impl.cc39 default_transceiver_.reset(new TrunksBinderProxy()); in TrunksFactoryImpl()
41 default_transceiver_.reset(new TrunksDBusProxy()); in TrunksFactoryImpl()
44 tpm_.reset(new Tpm(transceiver_)); in TrunksFactoryImpl()
56 tpm_.reset(new Tpm(transceiver_)); in TrunksFactoryImpl()
Dscoped_key_handle.cc52 void ScopedKeyHandle::reset(TPM_HANDLE new_handle) { in reset() function in trunks::ScopedKeyHandle
60 void ScopedKeyHandle::reset() { in reset() function in trunks::ScopedKeyHandle
61 reset(kInvalidHandle); in reset()
/system/update_engine/
Dreal_system_state.cc88 prefs_.reset(prefs = new Prefs()); in Initialize()
101 powerwash_safe_prefs_.reset(prefs = new Prefs()); in Initialize()
129 certificate_checker_.reset( in Initialize()
134 update_attempter_.reset( in Initialize()
151 update_manager_.reset( in Initialize()
157 p2p_manager_.reset(P2PManager::Construct( in Initialize()
Ddaemon_state_android.cc34 boot_control_.reset(new BootControlStub()); in Initialize()
55 prefs_.reset(prefs); in Initialize()
62 update_attempter_.reset(new UpdateAttempterAndroid( in Initialize()
/system/connectivity/shill/
Ddaemon_task.cc99 dispatcher_.reset(new EventDispatcher()); in Init()
101 control_.reset(new BinderControl(dispatcher_.get())); in Init()
103 control_.reset(new ChromeosDBusControl(dispatcher_.get())); in Init()
108 metrics_.reset(new Metrics(dispatcher_.get())); in Init()
115 callback80211_metrics_.reset(new Callback80211Metrics(metrics_.get())); in Init()
117 manager_.reset(new Manager(control_.get(), dispatcher_.get(), metrics_.get(), in Init()
Deap_listener.cc52 receive_request_handler_.reset( in Start()
62 receive_request_handler_.reset(); in Stop()
63 socket_closer_.reset(); in Stop()
75 socket_closer_.reset(new ScopedSocketCloser(sockets_.get(), socket_)); in CreateSocket()
/system/bt/service/test/
Dipc_linux_unittest.cpp65 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in SetUp()
69 client_fd_.reset(); in TearDown()
70 ipc_manager_.reset(); in TearDown()
71 adapter_.reset(); in TearDown()
88 client_fd_.reset(socket(PF_UNIX, SOCK_SEQPACKET, 0)); in ConnectToTestSocket()
180 ipc_manager_.reset(); in TEST_F()
/system/core/base/include/android-base/
Dunique_fd.h62 reset(s.release());
66 void reset(int new_value) { in reset() function
74 reset(-1); in clear()
/system/connectivity/apmanager/
Dservice.cc144 dhcp_server_.reset( in StartInternal()
160 hostapd_monitor_.reset( in StartInternal()
275 hostapd_process_.reset(process_factory_->CreateProcess()); in StartHostapdProcess()
279 hostapd_process_.reset(); in StartHostapdProcess()
289 hostapd_process_.reset(); in StopHostapdProcess()
293 hostapd_monitor_.reset(); in ReleaseResources()
295 dhcp_server_.reset(); in ReleaseResources()

12345678910>>...17