Home
last modified time | relevance | path

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

12345678910>>...24

/system/update_engine/update_manager/
Denterprise_device_policy_impl_unittest.cc34 fake_state_.device_policy_provider()->var_device_policy_is_loaded()->reset( in SetUpDefaultState()
40 fake_state_.device_policy_provider()->var_update_disabled()->reset( in TEST_F()
44 ->reset(new bool(true)); in TEST_F()
46 fake_state_.system_provider()->var_kiosk_required_platform_version()->reset( in TEST_F()
56 fake_state_.device_policy_provider()->var_update_disabled()->reset( in TEST_F()
60 ->reset(new bool(true)); in TEST_F()
62 fake_state_.system_provider()->var_kiosk_required_platform_version()->reset( in TEST_F()
71 fake_state_.device_policy_provider()->var_update_disabled()->reset( in TEST_F()
75 ->reset(new bool(true)); in TEST_F()
79 fake_state_.system_provider()->var_kiosk_required_platform_version()->reset( in TEST_F()
[all …]
Dpolicy_test_utils.cc41 eval_ctx_.reset(new EvaluationContext(TimeDelta::FromSeconds(5))); in SetUp()
59 fake_state_.time_provider()->var_curr_hour()->reset(new int(exploded.hour)); in SetUpDefaultTimeProvider()
60 fake_state_.time_provider()->var_curr_minute()->reset( in SetUpDefaultTimeProvider()
62 fake_state_.time_provider()->var_curr_date()->reset( in SetUpDefaultTimeProvider()
67 fake_state_.updater_provider()->var_updater_started_time()->reset( in SetUpDefaultState()
69 fake_state_.updater_provider()->var_last_checked_time()->reset( in SetUpDefaultState()
71 fake_state_.updater_provider()->var_consecutive_failed_update_checks()->reset( in SetUpDefaultState()
73 fake_state_.updater_provider()->var_server_dictated_poll_interval()->reset( in SetUpDefaultState()
75 fake_state_.updater_provider()->var_forced_update_requested()->reset( in SetUpDefaultState()
79 fake_state_.random_provider()->var_seed()->reset(new uint64_t(4)); in SetUpDefaultState()
Dchromeos_policy_unittest.cc52 fake_state_.config_provider()->var_is_oobe_enabled()->reset(new bool(true)); in SetUpDefaultState()
56 fake_state_.system_provider()->var_is_official_build()->reset( in SetUpDefaultState()
58 fake_state_.system_provider()->var_is_oobe_complete()->reset( in SetUpDefaultState()
61 fake_state_.system_provider()->var_num_slots()->reset(new unsigned int(2)); in SetUpDefaultState()
64 fake_state_.shill_provider()->var_conn_type()->reset( in SetUpDefaultState()
66 fake_state_.shill_provider()->var_conn_tethering()->reset( in SetUpDefaultState()
73 fake_state_.device_policy_provider()->var_device_policy_is_loaded()->reset( in SetUpDefaultDevicePolicy()
75 fake_state_.device_policy_provider()->var_update_disabled()->reset( in SetUpDefaultDevicePolicy()
79 ->reset(nullptr); in SetUpDefaultDevicePolicy()
80 fake_state_.device_policy_provider()->var_scatter_factor()->reset( in SetUpDefaultDevicePolicy()
[all …]
Dreal_system_provider.cc102 var_is_normal_boot_mode_.reset(new ConstCopyVariable<bool>( in Init()
106 var_is_official_build_.reset(new ConstCopyVariable<bool>( in Init()
109 var_is_oobe_complete_.reset(new CallCopyVariable<bool>( in Init()
115 var_num_slots_.reset(new ConstCopyVariable<unsigned int>( in Init()
118 var_kiosk_required_platform_version_.reset(new RetryPollVariable<string>( in Init()
124 var_chromeos_version_.reset(new ConstCopyVariable<base::Version>( in Init()
Devaluation_context_unittest.cc100 eval_ctx_.reset(new EvaluationContext( in SetUp()
162 fake_int_var_.reset(new int(42)); in TEST_F()
171 fake_int_var_.reset(new int(42)); in TEST_F()
176 fake_int_var_.reset(new int(5)); in TEST_F()
187 fake_int_var_.reset(new int(42)); in TEST_F()
198 fake_int_var_.reset(new int(42)); in TEST_F()
199 fake_poll_var_.reset(new string("Hello world!")); in TEST_F()
214 fake_const_var_.reset(new string("Hello world!")); in TEST_F()
222 fake_async_var_.reset(new string("Async value")); in TEST_F()
241 fake_async_var_.reset(new string("Async value")); in TEST_F()
[all …]
Dnext_update_check_policy_impl_unittest.cc54 fake_state_.updater_provider()->var_last_checked_time()->reset( in TEST_F()
96 fake_state_.updater_provider()->var_consecutive_failed_update_checks()->reset( in TEST_F()
121 fake_state_.updater_provider()->var_server_dictated_poll_interval()->reset( in TEST_F()
124 fake_state_.updater_provider()->var_consecutive_failed_update_checks()->reset( in TEST_F()
143 fake_state_.updater_provider()->var_consecutive_failed_update_checks()->reset( in TEST_F()
Dreal_time_provider.cc91 var_curr_date_.reset(new CurrDateVariable("curr_date")); in Init()
92 var_curr_hour_.reset(new CurrHourVariable("curr_hour")); in Init()
93 var_curr_minute_.reset(new CurrMinuteVariable("curr_minute")); in Init()
/system/bt/service/common/bluetooth/
Dscan_filter.cc27 if (other.service_uuid_) service_uuid_.reset(new Uuid(*other.service_uuid_)); in ScanFilter()
30 service_uuid_mask_.reset(new Uuid(*other.service_uuid_mask_)); in ScanFilter()
38 service_uuid_.reset(new Uuid(*other.service_uuid_)); in operator =()
43 service_uuid_mask_.reset(new Uuid(*other.service_uuid_mask_)); in operator =()
58 service_uuid_.reset(new Uuid(service_uuid)); in SetServiceUuid()
59 service_uuid_mask_.reset(); in SetServiceUuid()
64 service_uuid_.reset(new Uuid(service_uuid)); in SetServiceUuidWithMask()
65 service_uuid_mask_.reset(new Uuid(mask)); in SetServiceUuidWithMask()
/system/core/fastboot/device/
Dtcp_client.cpp73 socket_.reset(nullptr); in Read()
88 socket_.reset(nullptr); in Read()
112 socket_.reset(nullptr); in Write()
130 socket_.reset(nullptr); in Close()
149 socket_.reset(nullptr); in ListenFastbootSocket()
155 socket_.reset(nullptr); in ListenFastbootSocket()
163 socket_.reset(nullptr); in ListenFastbootSocket()
170 socket_.reset(nullptr); in ListenFastbootSocket()
Dusb_client.cpp190 h->bulk_in.reset(); in CloseFunctionFs()
191 h->bulk_out.reset(); in CloseFunctionFs()
192 h->control.reset(); in CloseFunctionFs()
200 h->control.reset(open(kUsbFfsFastbootEp0, O_RDWR)); in InitFunctionFs()
221 h->bulk_out.reset(open(kUsbFfsFastbootOut, O_RDONLY)); in InitFunctionFs()
227 h->bulk_in.reset(open(kUsbFfsFastbootIn, O_WRONLY)); in InitFunctionFs()
246 handle_.reset(nullptr); in ClientUsbTransport()
/system/update_engine/aosp/
Ddaemon_state_android.cc35 boot_control_.reset(new BootControlStub()); in Initialize()
50 prefs_.reset(new MemoryPrefs()); in Initialize()
55 prefs_.reset(prefs); in Initialize()
63 certificate_checker_.reset( in Initialize()
68 update_attempter_.reset(new UpdateAttempterAndroid(this, in Initialize()
/system/update_engine/cros/
Dreal_system_state.cc58 kiosk_app_proxy_.reset(new org::chromium::KioskAppServiceInterfaceProxy( in Initialize()
91 prefs_.reset(prefs = new Prefs()); in Initialize()
104 powerwash_safe_prefs_.reset(prefs = new Prefs()); in Initialize()
132 certificate_checker_.reset( in Initialize()
136 update_attempter_.reset(new UpdateAttempter(certificate_checker_.get())); in Initialize()
150 update_manager_.reset(new chromeos_update_manager::UpdateManager( in Initialize()
156 p2p_manager_.reset( in Initialize()
/system/chre/util/
Dbuffer_base.cc26 reset(); in ~BufferBase()
32 reset(); in wrap()
42 reset(); in copy_array()
58 void BufferBase::reset() { in reset() function in chre::BufferBase
/system/libbase/include/android-base/
Dunique_fd.h92 explicit unique_fd_impl(int fd) { reset(fd); } in unique_fd_impl()
93 ~unique_fd_impl() { reset(); } in ~unique_fd_impl()
97 unique_fd_impl(unique_fd_impl&& other) noexcept { reset(other.release()); } in unique_fd_impl()
101 reset(fd, &s);
105 [[clang::reinitializes]] void reset(int new_value = -1) { reset(new_value, nullptr); }
135 void reset(int new_value, void* previous_tag) { in reset() function
216 read->reset(pipefd[0]);
217 write->reset(pipefd[1]);
228 left->reset(sockfd[0]); in Socketpair()
229 right->reset(sockfd[1]); in Socketpair()
/system/keymaster/legacy_support/
Dkeymaster_passthrough_engine.cpp47 rsa_encrypt_op_factory_.reset( in TKeymasterPassthroughEngine()
49 rsa_decrypt_op_factory_.reset( in TKeymasterPassthroughEngine()
51 rsa_sign_op_factory_.reset(new opfactory_t(KM_ALGORITHM_RSA, KM_PURPOSE_SIGN, km_device_)); in TKeymasterPassthroughEngine()
52 rsa_verify_op_factory_.reset( in TKeymasterPassthroughEngine()
54 ec_encrypt_op_factory_.reset( in TKeymasterPassthroughEngine()
56 ec_decrypt_op_factory_.reset( in TKeymasterPassthroughEngine()
58 ec_sign_op_factory_.reset(new opfactory_t(KM_ALGORITHM_EC, KM_PURPOSE_SIGN, km_device_)); in TKeymasterPassthroughEngine()
59 ec_verify_op_factory_.reset( in TKeymasterPassthroughEngine()
61 ec_derive_op_factory_.reset( in TKeymasterPassthroughEngine()
63 aes_encrypt_op_factory_.reset( in TKeymasterPassthroughEngine()
[all …]
/system/keymaster/android_keymaster/
Dserializable.cpp60 dest->reset(); in copy_size_and_data_from_buf()
65 dest->reset(new (std::nothrow) uint8_t[*size]); in copy_size_and_data_from_buf()
82 buffer_.reset(new_buffer); in reserve()
92 buffer_.reset(new (std::nothrow) uint8_t[size]); in Reinitialize()
104 buffer_.reset(new (std::nothrow) uint8_t[data_len]); in Reinitialize()
149 buffer_.reset(); in Deserialize()
159 buffer_.reset(); in Clear()
/system/gatekeeper/include/gatekeeper/
DUniquePtr.h75 reset();
82 reset();
104 void reset(T* ptr = nullptr) {
139 reset();
146 reset();
163 void reset(T* ptr = nullptr) {
232 c.reset(new C);
259 c.reset(new C[2]);
/system/keymaster/km_openssl/
Dkdf.cpp43 secret_key_.reset(dup_buffer(secret, secret_len)); in Init()
48 salt_.reset(dup_buffer(salt, salt_len)); in Init()
51 salt_.reset(); in Init()
/system/bt/service/
Ddaemon.cc99 ipc_manager_.reset(); in CleanUpBluetoothStack()
100 adapter_.reset(); in CleanUpBluetoothStack()
132 message_loop_.reset(new btbase::AbstractMessageLoop()); in Init()
134 settings_.reset(new Settings()); in Init()
146 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in Init()
/system/bt/service/test/
Dipc_linux_unittest.cc68 ipc_manager_.reset(new ipc::IPCManager(adapter_.get())); in SetUp()
72 client_fd_.reset(); in TearDown()
73 ipc_manager_.reset(); in TearDown()
74 adapter_.reset(); in TearDown()
91 client_fd_.reset(socket(PF_UNIX, SOCK_SEQPACKET, 0)); in ConnectToTestSocket()
182 ipc_manager_.reset(); in TEST_F()
/system/chre/util/include/chre/util/
Dunique_ptr_impl.h52 reset(); in ~UniquePtr()
73 void UniquePtr<ObjectType>::reset(ObjectType *object) { in reset() function
76 reset(); in reset()
81 void UniquePtr<ObjectType>::reset() { in reset() function
119 reset();
/system/logging/logd/
DReplayMessages.cpp245 stats_.reset(new LogStatistics{false, false, first_log_timestamp}); in SingleBufferOperation()
246 log_buffer_.reset(new SimpleLogBuffer(&reader_list_, &tags_, stats_.get())); in SingleBufferOperation()
248 stats_.reset(new LogStatistics{false, false, first_log_timestamp}); in SingleBufferOperation()
249 log_buffer_.reset( in SingleBufferOperation()
252 stats_.reset(new LogStatistics{false, true, first_log_timestamp}); in SingleBufferOperation()
253 log_buffer_.reset(new SerializedLogBuffer(&reader_list_, &tags_, stats_.get())); in SingleBufferOperation()
443 operation.reset(new PrintInteresting(first_log_timestamp)); in main()
445 operation.reset(new PrintMemory(first_log_timestamp, argv[3])); in main()
447 operation.reset(new PrintLatency(first_log_timestamp, argv[3])); in main()
449 operation.reset(new PrintLogs(first_log_timestamp, argv[3], argc > 4 ? argv[4] : nullptr, in main()
[all …]
/system/unwinding/libunwindstack/
DElf.cpp49 interface_.reset(CreateInterfaceFromMemory(memory_.get())); in Init()
59 interface_.reset(nullptr); in Init()
72 gnu_debugdata_interface_.reset(CreateInterfaceFromMemory(gnu_debugdata_memory_.get())); in InitGnuDebugdata()
86 gnu_debugdata_memory_.reset(nullptr); in InitGnuDebugdata()
87 gnu_debugdata_interface_.reset(nullptr); in InitGnuDebugdata()
92 interface_.reset(nullptr); in Invalidate()
296 interface.reset(new ElfInterfaceArm(memory)); in CreateInterfaceFromMemory()
299 interface.reset(new ElfInterface32(memory)); in CreateInterfaceFromMemory()
302 interface.reset(new ElfInterface32(memory)); in CreateInterfaceFromMemory()
327 interface.reset(new ElfInterface64(memory)); in CreateInterfaceFromMemory()
/system/core/libutils/
DStopWatch.cpp32 reset(); in StopWatch()
47 void StopWatch::reset() { in reset() function in android::StopWatch
/system/memory/libmemunreachable/
DScopedSignalHandler.h42 ~ScopedSignalHandler() { reset(); } in ~ScopedSignalHandler()
69 void reset() { in reset() function
78 handler_map_.reset(); in reset()

12345678910>>...24