/system/bt/service/ipc/ |
H A D | ipc_handler.cc | 24 IPCManager::Delegate* delegate) 25 : adapter_(adapter), delegate_(delegate) { 23 IPCHandler(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate) argument
|
H A D | ipc_manager.cc | 40 bool IPCManager::Start(Type type, Delegate* delegate) { argument 48 linux_handler_ = new IPCHandlerLinux(adapter_, delegate); 62 binder_handler_ = new IPCHandlerBinder(adapter_, delegate); 75 dbus_handler_ = new IPCHandlerDBus(adapter_, delegate);
|
H A D | ipc_handler.h | 34 IPCHandler(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate); 48 IPCManager::Delegate* delegate() const { return delegate_; } function in class:ipc::IPCHandler 56 // The delegate that is interested in notifications from us.
|
H A D | ipc_handler_linux.cc | 32 IPCManager::Delegate* delegate) 33 : IPCHandler(adapter, delegate), 130 // Thread exited. Notify the delegate. Post this on the event loop so that the 184 if (!delegate()) return; 192 if (delegate()) delegate()->OnIPCHandlerStarted(IPCManager::TYPE_LINUX); 196 if (!delegate()) return; 204 if (delegate()) delegate()->OnIPCHandlerStopped(IPCManager::TYPE_LINUX); 31 IPCHandlerLinux(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate) argument
|
/system/bt/service/test/ |
H A D | stub_ipc_handler_binder.cc | 26 IPCManager::Delegate* delegate) 27 : IPCHandler(adapter, delegate) { 25 IPCHandlerBinder(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate) argument
|
H A D | ipc_linux_unittest.cc | 157 TestDelegate delegate; local 158 EXPECT_FALSE(ipc_manager_->Start(ipc::IPCManager::TYPE_LINUX, &delegate)); 160 EXPECT_EQ(0, delegate.started_count()); 161 EXPECT_EQ(0, delegate.stopped_count()); 165 TestDelegate delegate; local 166 EXPECT_TRUE(ipc_manager_->Start(ipc::IPCManager::TYPE_LINUX, &delegate)); 169 // Run the message loop. We will stop the loop when we receive a delegate 174 EXPECT_EQ(1, delegate.started_count()); 175 EXPECT_EQ(0, delegate.stopped_count()); 182 EXPECT_EQ(1, delegate 186 TestDelegate delegate; local [all...] |
H A D | low_energy_scanner_unittest.cc | 290 TestDelegate delegate; local 291 le_scanner_->SetDelegate(&delegate); 293 EXPECT_EQ(0, delegate.scan_result_count()); 311 EXPECT_EQ(0, delegate.scan_result_count()); 325 EXPECT_EQ(1, delegate.scan_result_count()); 326 EXPECT_EQ(kTestAddressStr, delegate.last_scan_result().device_address()); 327 EXPECT_EQ(kTestRssi, delegate.last_scan_result().rssi()); 328 EXPECT_EQ(3U, delegate.last_scan_result().scan_record().size()); 332 EXPECT_EQ(2, delegate.scan_result_count()); 333 EXPECT_EQ(kTestAddressStr, delegate [all...] |
/system/iot/attestation/atap/ops/ |
H A D | atap_ops_provider.h | 32 // An implementation of ops callbacks that forwards to a given delegate. All 33 // instances of this class must be created on the same thread. A delegate must 39 AtapOpsProvider(AtapOpsDelegate* delegate); 51 AtapOpsDelegate* delegate() { function in class:atap::AtapOpsProvider 55 // Does not take ownership of |delegate|. 56 void set_delegate(AtapOpsDelegate* delegate) { argument 57 delegate_ = delegate;
|
H A D | atap_ops_provider.cpp | 34 ->delegate() 40 ->delegate() 47 ->delegate() 56 ->delegate() 65 ->delegate() 72 ->delegate() 79 ->delegate() 87 ->delegate() 97 ->delegate() 108 ->delegate() 166 AtapOpsProvider(AtapOpsDelegate* delegate) argument [all...] |
/system/tpm/trunks/ |
H A D | password_authorization_delegate_test.cc | 25 // This test looks at initialization of the delegate with no password. 28 PasswordAuthorizationDelegate delegate(""); 29 EXPECT_EQ(delegate.password_.size, 0); 33 // delegate. It compared the serialized structure generated by the delegate 43 PasswordAuthorizationDelegate delegate("secret"); 46 bool authorization_result = delegate.GetCommandAuthorization( 53 // This test looks at the delegate's ability to parse and check authorization 61 PasswordAuthorizationDelegate delegate("secret"); 64 delegate [all...] |
H A D | tpm_utility.h | 80 // |delegate| specifies an optional authorization delegate to be used. 82 AuthorizationDelegate* delegate) = 0; 85 // |delegate| specifies an optional authorization delegate to be used. 87 AuthorizationDelegate* delegate, 93 // |delegate| specifies an optional authorization delegate to be used. 96 AuthorizationDelegate* delegate) = 0; 106 // |delegate| specifie [all...] |
H A D | tpm_utility_impl.h | 52 AuthorizationDelegate* delegate) override; 54 AuthorizationDelegate* delegate, 58 AuthorizationDelegate* delegate) override; 64 AuthorizationDelegate* delegate, 70 AuthorizationDelegate* delegate, 76 AuthorizationDelegate* delegate, 83 AuthorizationDelegate* delegate) override; 88 AuthorizationDelegate* delegate, 95 AuthorizationDelegate* delegate, 104 AuthorizationDelegate* delegate, [all...] |
H A D | hmac_authorization_delegate_test.cc | 26 HmacAuthorizationDelegate delegate; local 29 EXPECT_FALSE(delegate.GetCommandAuthorization(p_hash, false, false, &dummy)); 31 EXPECT_FALSE(delegate.CheckResponseAuthorization(p_hash, dummy)); 32 EXPECT_FALSE(delegate.EncryptCommandParameter(&dummy)); 33 EXPECT_FALSE(delegate.DecryptResponseParameter(&dummy)); 37 HmacAuthorizationDelegate delegate; local 42 EXPECT_TRUE(delegate.InitSession(dummy_handle, nonce, nonce, std::string(), 44 EXPECT_EQ(0u, delegate.session_key_.size()); 48 EXPECT_TRUE(delegate.InitSession(dummy_handle, nonce, nonce, dummy_salt, 50 EXPECT_EQ(kHashDigestSize, delegate 62 HmacAuthorizationDelegate delegate; local [all...] |
H A D | trunks_factory_for_test.cc | 141 AuthorizationDelegate* delegate) override { 142 return target_->StirRandom(entropy_data, delegate); 146 AuthorizationDelegate* delegate, 148 return target_->GenerateRandom(num_bytes, delegate, random_data); 153 AuthorizationDelegate* delegate) override { 154 return target_->ExtendPCR(pcr_index, extend_data, delegate); 165 AuthorizationDelegate* delegate, 168 delegate, ciphertext); 175 AuthorizationDelegate* delegate, 178 delegate, plaintex [all...] |
H A D | session_manager.h | 64 HmacAuthorizationDelegate* delegate) = 0;
|
/system/bt/service/ipc/binder/ |
H A D | ipc_handler_binder.cc | 39 IPCManager::Delegate* delegate) 40 : IPCHandler(adapter, delegate) {} 57 // Notify the delegate. We do this in the message loop to avoid reentrancy. 58 if (delegate()) { 76 if (delegate()) delegate()->OnIPCHandlerStarted(IPCManager::TYPE_BINDER); 38 IPCHandlerBinder(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate) argument
|
H A D | ipc_handler_binder.h | 29 IPCHandlerBinder(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate); 39 // Notify the delegate that IPC has started.
|
/system/update_engine/payload_consumer/ |
H A D | filesystem_verifier_action_unittest.cc | 176 FilesystemVerifierActionTestDelegate delegate(&copier_action); 177 processor.set_delegate(&delegate); 191 bool is_delegate_ran = delegate.ran(); 195 EXPECT_EQ(ErrorCode::kError, delegate.code()); 196 return (ErrorCode::kError == delegate.code()); 200 EXPECT_EQ(expected_exit_code, delegate.code()); 201 return (expected_exit_code == delegate.code()); 203 EXPECT_EQ(ErrorCode::kSuccess, delegate.code()); 238 FilesystemVerifierActionTest2Delegate delegate; local 240 processor.set_delegate(&delegate); 257 FilesystemVerifierActionTest2Delegate delegate; local [all...] |
H A D | postinstall_runner_action.h | 59 void set_delegate(DelegateInterface* delegate) { delegate_ = delegate; } argument 81 // Report the progress to the delegate given that the postinstall operation 121 // The delegate used to notify of progress updates, if any.
|
/system/update_engine/common/ |
H A D | http_fetcher_unittest.cc | 457 HttpFetcherTestDelegate delegate; local 459 fetcher->set_delegate(&delegate); 469 EXPECT_EQ(0, delegate.times_transfer_terminated_called_); 473 HttpFetcherTestDelegate delegate; local 475 fetcher->set_delegate(&delegate); 485 EXPECT_EQ(0, delegate.times_transfer_terminated_called_); 493 HttpFetcherTestDelegate delegate; 496 delegate.is_expect_error_ = true; 499 fetcher->set_delegate(&delegate); 511 EXPECT_EQ(0, delegate 583 UnpausingTimeoutCallback(PausingHttpFetcherTestDelegate* delegate, MessageLoop::TaskId* my_id) argument 596 PausingHttpFetcherTestDelegate delegate; local 671 AbortingTimeoutCallback(AbortingHttpFetcherTestDelegate* delegate, MessageLoop::TaskId* my_id) argument 686 AbortingHttpFetcherTestDelegate delegate; local 715 HttpFetcherTestDelegate delegate; local 758 FlakyHttpFetcherTestDelegate delegate; local 1361 BlockedTransferTestDelegate delegate; local [all...] |
H A D | action_processor.h | 48 // Starts processing the first Action in the queue. If there's a delegate, 50 // delegate. 77 // Sets/gets the current delegate. Set to null to remove a delegate. 78 ActionProcessorDelegate* delegate() const { return delegate_; } function in class:chromeos_update_engine::ActionProcessor 79 void set_delegate(ActionProcessorDelegate *delegate) { argument 80 delegate_ = delegate; 106 // delegate once the processor is resumed. 112 // A pointer to the delegate, or null if none. 118 // A delegate objec [all...] |
/system/bt/service/ipc/dbus/ |
H A D | ipc_handler_dbus.h | 31 IPCHandlerDBus(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate);
|
H A D | ipc_handler_dbus.cc | 30 IPCManager::Delegate* delegate) 31 : IPCHandler(adapter, delegate) {} 29 IPCHandlerDBus(bluetooth::Adapter* adapter, IPCManager::Delegate* delegate) argument
|
/system/netd/server/ |
H A D | PhysicalNetwork.cpp | 31 Permission permission, PhysicalNetwork::Delegate* delegate) { 36 if (int ret = delegate->addFallthrough(interface, permission)) { 44 PhysicalNetwork::Delegate* delegate) { 50 if (int ret = delegate->removeFallthrough(interface, permission)) { 61 PhysicalNetwork::PhysicalNetwork(unsigned netId, PhysicalNetwork::Delegate* delegate) : argument 62 Network(netId), mDelegate(delegate), mPermission(PERMISSION_NONE), mIsDefault(false) { 30 addToDefault(unsigned netId, const std::string& interface, Permission permission, PhysicalNetwork::Delegate* delegate) argument 42 removeFromDefault(unsigned netId, const std::string& interface, Permission permission, PhysicalNetwork::Delegate* delegate) argument
|
/system/nvram/messages/ |
H A D | io.cpp | 135 NestedInputStreamBuffer::NestedInputStreamBuffer(InputStreamBuffer* delegate, 137 : InputStreamBuffer(delegate->pos_, ClampEnd(delegate, size)), 138 delegate_(delegate), 154 const uint8_t* NestedInputStreamBuffer::ClampEnd(InputStreamBuffer* delegate, 156 NVRAM_CHECK(delegate->pos_ <= delegate->end_); 157 return size < static_cast<size_t>(delegate->end_ - delegate->pos_) 158 ? delegate [all...] |