Searched refs:get (Results 151 - 175 of 701) sorted by relevance

1234567891011>>

/system/update_engine/common/
H A Daction_unittest.cc43 ActionPipe<string>* in_pipe() { return in_pipe_.get(); }
44 ActionPipe<string>* out_pipe() { return out_pipe_.get(); }
/system/update_engine/
H A Ddaemon.cc79 daemon_state_->AddObserver(binder_service_.get());
85 daemon_state_->AddObserver(dbus_adaptor_.get());
/system/update_engine/update_manager/
H A Dreal_random_provider.cc60 int rd = fread(buf + buf_rd, 1, sizeof(result) - buf_rd, fp_.get());
61 if (rd == 0 || ferror(fp_.get())) {
H A Dumtest_utils.h45 ASSERT_NE(nullptr, value.get()) << "Variable: " << variable->GetName();
55 EXPECT_EQ(nullptr, value.get()) << "Variable: " << variable->GetName();
/system/vold/
H A Dvold_prepare_subdirs.cpp66 << gid << " context " << secontext.get() << " on path: " << path;
68 if (setfscreatecon(secontext.get()) != 0) {
83 if (strcmp(secontext.get(), oldsecontext.get()) != 0) {
84 LOG(INFO) << "Relabelling from " << ((char*)oldsecontext.get()) << " to "
85 << ((char*)secontext.get()) << ": " << path;
86 if (lsetfilecon(path.c_str(), secontext.get()) != 0) {
104 auto const entry = readdir(dirp.get());
/system/keymaster/legacy_support/
H A Dkeymaster1_engine.cpp58 ENGINE_set_RSA_method(engine_.get(), &rsa_method_, sizeof(rsa_method_));
59 ENGINE_set_ECDSA_method(engine_.get(), &ecdsa_method_, sizeof(ecdsa_method_));
139 unique_ptr<RSA, RSA_Delete> rsa(RSA_new_method(engine_.get()));
146 if (!RSA_set_ex_data(rsa.get(), rsa_index_, key_data)) {
158 unique_ptr<RSA, RSA_Delete> public_rsa(EVP_PKEY_get1_RSA(pkey.get()));
179 unique_ptr<EC_KEY, EC_KEY_Delete> ec_key(EC_KEY_new_method(engine_.get()));
186 if (!EC_KEY_set_ex_data(ec_key.get(), ec_key_index_, key_data)) {
198 unique_ptr<EC_KEY, EC_KEY_Delete> public_ec_key(EVP_PKEY_get1_EC_KEY(pkey.get()));
204 if (!EC_KEY_set_group(ec_key.get(), EC_KEY_get0_group(public_ec_key.get())) ||
[all...]
/system/chre/core/
H A Dwifi_request_manager.cc178 EventLoopManagerSingleton::get()->getWifiRequestManager()
183 EventLoopManagerSingleton::get()->deferCallback(
204 EventLoopManagerSingleton::get()->getWifiRequestManager()
209 EventLoopManagerSingleton::get()->deferCallback(
229 EventLoopManagerSingleton::get()->getWifiRequestManager()
235 EventLoopManagerSingleton::get()->deferCallback(
240 EventLoopManagerSingleton::get()->getWifiRequestManager()
244 EventLoopManagerSingleton::get()->deferCallback(
252 EventLoopManagerSingleton::get()->getWifiRequestManager()
256 EventLoopManagerSingleton::get()
[all...]
H A Daudio_request_manager.cc114 EventLoopManagerSingleton::get()->getAudioRequestManager()
121 EventLoopManagerSingleton::get()->deferCallback(
141 EventLoopManagerSingleton::get()->getAudioRequestManager()
146 EventLoopManagerSingleton::get()->deferCallback(
279 EventLoopManagerSingleton::get()->getEventLoop()
286 EventLoopManagerSingleton::get()->getEventLoop()
300 EventLoopManagerSingleton::get()->getAudioRequestManager()
H A Devent_loop.cc80 callback(nanoapp.get(), data);
144 auto *eventLoopManager = EventLoopManagerSingleton::get();
161 Nanoapp *newNanoapp = nanoapp.get();
203 EventLoopManagerSingleton::get()->getHostCommsManager()
213 mStoppingNanoapp = mNanoapps[i].get();
220 // directly), but nanoapps won't get it until after the unload completes
356 mCurrentApp = app.get();
411 return app.get();
424 return app.get();
450 mCurrentApp = nanoapp.get();
[all...]
/system/connectivity/wificond/tests/
H A Dclient_interface_impl_unittest.cpp58 if_tool_.get(),
59 netlink_utils_.get(),
60 scan_utils_.get()});
73 new NiceMock<MockNetlinkUtils>(netlink_manager_.get())};
75 new NiceMock<MockScanUtils>(netlink_manager_.get())};
/system/core/libbacktrace/
H A Dbacktrace_test.cpp122 printf("The process did not get to a stopping point in 1 second.\n");
139 // Wait for the process to get to a stopping point.
205 ASSERT_TRUE(backtrace.get() != nullptr);
209 VerifyLevelDump(backtrace.get());
227 ASSERT_TRUE(backtrace.get() != nullptr);
231 VerifyMaxDump(backtrace.get());
257 ASSERT_TRUE(backtrace.get() != nullptr);
267 ASSERT_TRUE(name != lib) << DumpFrames(backtrace.get());
277 ASSERT_TRUE(backtrace.get() != nullptr);
302 << DumpFrames(backtrace.get());
[all...]
/system/core/libunwindstack/tests/
H A DDexFilesTest.cpp151 dex_files_->GetMethodInformation(maps_.get(), info, 0, &method_name, &method_offset);
165 dex_files_->GetMethodInformation(maps_.get(), info, 0x300100, &method_name, &method_offset);
180 dex_files_->GetMethodInformation(maps_.get(), info, 0x301102, &method_name, &method_offset);
195 dex_files_->GetMethodInformation(maps_.get(), info, 0x300104, &method_name, &method_offset);
211 dex_files_->GetMethodInformation(maps_.get(), info, 0x300106, &method_name, &method_offset);
225 dex_files_->GetMethodInformation(maps_.get(), info, 0x300100, &method_name, &method_offset);
231 dex_files_->GetMethodInformation(maps_.get(), info, 0x300100, &method_name, &method_offset);
251 dex_files_->GetMethodInformation(maps_.get(), info, 0x300104, &method_name, &method_offset);
263 dex_files_->GetMethodInformation(maps_.get(), info, 0x300104, &method_name, &method_offset);
280 dex_files_->GetMethodInformation(maps_.get(), inf
[all...]
H A DMapInfoCreateMemoryTest.cpp100 ASSERT_TRUE(memory.get() == nullptr);
104 ASSERT_TRUE(memory.get() == nullptr);
109 ASSERT_TRUE(memory.get() != nullptr);
118 ASSERT_TRUE(memory.get() != nullptr);
139 ASSERT_TRUE(memory.get() != nullptr);
162 ASSERT_TRUE(memory.get() != nullptr);
178 ASSERT_TRUE(memory.get() != nullptr);
203 ASSERT_TRUE(memory.get() == nullptr);
221 ASSERT_TRUE(memory.get() != nullptr);
H A DRegsStepIfSignalHandlerTest.cpp66 ASSERT_TRUE(regs.StepIfSignalHandler(0x5000, elf_.get(), &process_memory_));
96 ASSERT_TRUE(regs.StepIfSignalHandler(0x5000, elf_.get(), &process_memory_));
126 ASSERT_TRUE(regs.StepIfSignalHandler(0x8000, elf_.get(), &process_memory_));
144 ASSERT_TRUE(regs.StepIfSignalHandler(0x4100, elf_.get(), &process_memory_));
172 ASSERT_TRUE(regs.StepIfSignalHandler(0x4100, elf_.get(), &process_memory_));
197 ASSERT_TRUE(regs.StepIfSignalHandler(0x7000, elf_.get(), &process_memory_));
216 ASSERT_TRUE(regs.StepIfSignalHandler(0x8000, elf_.get(), &process_memory_));
235 ASSERT_TRUE(regs.StepIfSignalHandler(0x8000, elf_.get(), &process_memory_));
254 ASSERT_TRUE(regs.StepIfSignalHandler(0x8000, elf_.get(), &process_memory_));
/system/extras/simpleperf/
H A Dthread_tree.cpp72 if (pid != it->second.get()->pid) {
75 << it->second.get()->pid << ", " << tid << "), actual (" << pid
79 return it->second.get();
119 return kernel_dso_.get();
126 return it->second.get();
149 return it->second.get();
233 if (dso != kernel_dso_.get()) {
242 dso = kernel_dso_.get();
330 result.push_back(kernel_dso_.get());
332 result.push_back(p.second.get());
[all...]
H A Drecord_test.cpp80 ASSERT_EQ(r2, popped_r.get());
96 ASSERT_EQ(r1, popped_r.get());
100 ASSERT_EQ(r3, popped_r.get());
105 ASSERT_EQ(r4, last_records[0].get());
121 ASSERT_EQ(records[i], out_records[i].get());
139 ASSERT_EQ(r1, popped_r.get());
142 ASSERT_EQ(r2, last_records[0].get());
/system/keymaster/tests/
H A Dkey_blob_test.cpp209 hw_enforced_.Serialize(hw_enforced_data.get(), hw_enforced_data.get() + hw_enforced_size);
212 std::search(serialized_blob_.begin(), serialized_blob_.end(), hw_enforced_data.get(),
213 hw_enforced_data.get() + hw_enforced_size);
216 std::search(hw_enforced_ptr + 1, serialized_blob_.end(), hw_enforced_data.get(),
217 hw_enforced_data.get() + hw_enforced_size));
232 sw_enforced_.Serialize(sw_enforced_data.get(), sw_enforced_data.get() + sw_enforced_size);
235 std::search(serialized_blob_.begin(), serialized_blob_.end(), sw_enforced_data.get(),
236 sw_enforced_data.get()
[all...]
/system/bt/stack/test/
H A Dble_advertiser_test.cc172 BleAdvertisingManager::Initialize(hci_mock.get());
173 ::testing::Mock::VerifyAndClearExpectations(hci_mock.get());
251 ::testing::Mock::VerifyAndClearExpectations(hci_mock.get());
264 ::testing::Mock::VerifyAndClearExpectations(hci_mock.get());
281 ::testing::Mock::VerifyAndClearExpectations(hci_mock.get());
300 ::testing::Mock::VerifyAndClearExpectations(hci_mock.get());
328 ::testing::Mock::VerifyAndClearExpectations(hci_mock.get());
349 ::testing::Mock::VerifyAndClearExpectations(hci_mock.get());
378 ::testing::Mock::VerifyAndClearExpectations(hci_mock.get());
395 ::testing::Mock::VerifyAndClearExpectations(hci_mock.get());
[all...]
/system/extras/boottime_tools/io_analysis/
H A Dcheck_file_read.py62 offsets = container.get(process_name)
71 self.ext4_access_size_histogram[size] = self.ext4_access_size_histogram.get(size, 0) + 1
74 self.block_access_size_histogram[s] = self.block_access_size_histogram.get(s, 0) + 1
78 self.blocks_histogram[offset + i] = self.blocks_histogram.get(offset + i, 0) + 1
85 self.ext4_access_size_histogram[lens[i]] = self.ext4_access_size_histogram.get(lens[i], 0) + 1
92 self.block_access_size_histogram[total_lens] = self.block_access_size_histogram.get(total_lens, 0) \
97 self.blocks_histogram[start_offset + s] = self.blocks_histogram.get(start_offset + s, 0) + 1
161 process_names.append(opener[1] + "-" + name_to_pid_map.get(opener[1], '?') + " t:" + \
277 fevent = files.get(inode)
297 process_name = self.process_names.get(pi
[all...]
/system/nvram/messages/tests/
H A Dnvram_messages_test.cpp45 EXPECT_TRUE(decoded.payload.get<COMMAND_GET_INFO>());
71 decoded.payload.get<COMMAND_GET_INFO>();
103 decoded.payload.get<COMMAND_CREATE_SPACE>();
127 EXPECT_TRUE(decoded.payload.get<COMMAND_CREATE_SPACE>());
141 decoded.payload.get<COMMAND_GET_SPACE_INFO>();
165 decoded.payload.get<COMMAND_GET_SPACE_INFO>();
191 decoded.payload.get<COMMAND_DELETE_SPACE>();
211 EXPECT_TRUE(decoded.payload.get<COMMAND_DELETE_SPACE>());
222 EXPECT_TRUE(decoded.payload.get<COMMAND_DISABLE_CREATE>());
235 EXPECT_TRUE(decoded.payload.get<COMMAND_DISABLE_CREAT
[all...]
/system/bt/service/ipc/binder/
H A Dbluetooth_binder_server.cc113 if (!callback.get()) {
124 if (!callback.get()) {
149 if (!low_energy_interface_.get())
167 if (!le_advertiser_interface_.get())
184 if (!le_scanner_interface_.get())
201 if (!gatt_client_interface_.get())
218 if (!gatt_server_interface_.get())
/system/bt/service/test/
H A Dlow_energy_client_unittest.cc141 CHECK(in_client.get());
156 ::testing::Mock::VerifyAndClearExpectations(mock_handler_.get());
204 ::testing::Mock::VerifyAndClearExpectations(mock_handler_.get());
213 // Trigger callback with an unknown Uuid. This should get ignored.
224 ASSERT_TRUE(client.get() != nullptr); // Assert to terminate in case of error
235 ::testing::Mock::VerifyAndClearExpectations(mock_handler_.get());
243 ASSERT_TRUE(client.get() == nullptr); // Assert to terminate in case of error
296 ::testing::Mock::VerifyAndClearExpectations(mock_handler_.get());
/system/core/debuggerd/client/
H A Ddebuggerd_client.cpp103 if (socket_local_client_connect(set_timeout(sockfd.get()), kTombstonedInterceptSocketName,
132 if (fcntl(pipe_read.get(), F_SETPIPE_SZ, pipe_buffer_size) != pipe_buffer_size) {
144 TEMP_FAILURE_RETRY(recv(set_timeout(sockfd.get()), &response, sizeof(response), MSG_TRUNC));
165 rc = TEMP_FAILURE_RETRY(recv(set_timeout(sockfd.get()), &response, sizeof(response), MSG_TRUNC));
193 .fd = pipe_read.get(), .events = POLLIN, .revents = 0,
210 rc = TEMP_FAILURE_RETRY(read(pipe_read.get(), buf, sizeof(buf)));
219 if (!android::base::WriteFully(output_fd.get(), buf, rc)) {
/system/core/gatekeeperd/
H A DSoftGateKeeper.h55 memset(key_.get(), 0, SIGNATURE_LENGTH_BYTES);
65 memcpy(auth_token_key_copy, key_.get(), SIGNATURE_LENGTH_BYTES);
75 memcpy(password_key_copy, key_.get(), SIGNATURE_LENGTH_BYTES);
140 memcpy(digest.get(), &salt, sizeof(salt));
141 memcpy(digest.get() + sizeof(salt), password.buffer.get(), password.length);
143 SHA256(digest.get(), digest_size, (uint8_t *) &fast_hash.digest);
/system/keymaster/contexts/
H A Dkeymaster1_passthrough_context.cpp60 result.reset(new Keymaster1ArbitrationFactory<RsaKeymaster1KeyFactory>(pt_engine_.get(),
61 KM_ALGORITHM_RSA, device_, this, km1_engine_.get()));
64 result.reset(new Keymaster1ArbitrationFactory<EcdsaKeymaster1KeyFactory>(pt_engine_.get(),
65 KM_ALGORITHM_EC, device_, this, km1_engine_.get()));
68 result.reset(new Keymaster1ArbitrationFactory<AesKeyFactory>(pt_engine_.get(),
72 result.reset(new Keymaster1ArbitrationFactory<HmacKeyFactory>(pt_engine_.get(),
80 return result.get();

Completed in 1081 milliseconds

1234567891011>>