/system/update_engine/common/ |
D | file_fetcher.cc | 65 if (delegate_) in BeginTransfer() 66 delegate_->TransferComplete(this, false); in BeginTransfer() 81 if (delegate_) in BeginTransfer() 82 delegate_->TransferComplete(this, false); in BeginTransfer() 96 if (delegate_) { in TerminateTransfer() 98 delegate_->TransferTerminated(this); in TerminateTransfer() 128 if (delegate_) in ScheduleRead() 129 delegate_->TransferComplete(this, false); in ScheduleRead() 137 if (delegate_) in OnReadDoneCallback() 138 delegate_->TransferComplete(this, true); in OnReadDoneCallback() [all …]
|
D | multi_range_http_fetcher.cc | 38 if (delegate_) in BeginTransfer() 39 delegate_->TransferComplete(this, true); in BeginTransfer() 55 if (delegate_) in TerminateTransfer() 56 delegate_->TransferTerminated(this); in TerminateTransfer() 82 if (delegate_) in StartTransfer() 83 delegate_->SeekToOffset(range.offset()); in StartTransfer() 102 if (delegate_) { in ReceivedBytes() 103 delegate_->ReceivedBytes(this, bytes, next_size); in ReceivedBytes() 129 if (delegate_) in TransferEnded() 130 delegate_->TransferTerminated(this); in TransferEnded() [all …]
|
D | action_processor_unittest.cc | 97 action_processor_.set_delegate(&delegate_); in SetUp() 110 MyActionProcessorDelegate delegate_{&action_processor_}; member in chromeos_update_engine::ActionProcessorTest 135 EXPECT_TRUE(delegate_.processing_done_called_); in TEST_F() 136 EXPECT_TRUE(delegate_.action_completed_called_); in TEST_F() 143 EXPECT_TRUE(delegate_.processing_stopped_called_); in TEST_F() 144 EXPECT_FALSE(delegate_.action_completed_called_); in TEST_F() 237 EXPECT_FALSE(delegate_.processing_done_called_); in TEST_F() 241 EXPECT_TRUE(delegate_.processing_done_called_); in TEST_F() 242 EXPECT_FALSE(delegate_.processing_stopped_called_); in TEST_F() 257 EXPECT_TRUE(delegate_.processing_stopped_called_); in TEST_F() [all …]
|
D | action_processor.cc | 67 if (delegate_) in StopProcessing() 68 delegate_->ProcessingStopped(this); in StopProcessing() 110 if (delegate_) in ActionComplete() 111 delegate_->ActionCompleted(this, actionptr, code); in ActionComplete() 136 if (delegate_) { in StartNextActionOrFinish() 137 delegate_->ProcessingDone(this, code); in StartNextActionOrFinish()
|
D | action_processor.h | 78 ActionProcessorDelegate* delegate() const { return delegate_; } in delegate() 80 delegate_ = delegate; in set_delegate() 113 ActionProcessorDelegate* delegate_{nullptr};
|
D | http_fetcher.h | 50 delegate_(nullptr), in HttpFetcher() 56 void set_delegate(HttpFetcherDelegate* delegate) { delegate_ = delegate; } in set_delegate() 57 HttpFetcherDelegate* delegate() const { return delegate_; } in delegate() 155 HttpFetcherDelegate* delegate_; variable
|
D | mock_http_fetcher.cc | 63 CHECK(delegate_); in SendData() 64 delegate_->ReceivedBytes(this, &data_[sent_size_], chunk_size); in SendData() 118 delegate_->TransferTerminated(this); in TerminateTransfer() 159 delegate_->TransferComplete(this, !fail_transfer_); in SignalTransferComplete()
|
D | mock_http_fetcher.h | 68 if (delegate_) in SetOffset() 69 delegate_->SeekToOffset(offset); in SetOffset()
|
/system/tpm/trunks/ |
D | hmac_authorization_delegate_test.cc | 102 ASSERT_TRUE(delegate_.InitSession(session_handle_, in SetUp() 113 HmacAuthorizationDelegate delegate_; member in trunks::HmacAuthorizationDelegateFixture 117 ASSERT_TRUE(delegate_.InitSession(session_handle_, in TEST_F() 124 EXPECT_EQ(delegate_.caller_nonce_.size, original_nonce.size); in TEST_F() 125 EXPECT_EQ(0, memcmp(delegate_.caller_nonce_.buffer, original_nonce.buffer, in TEST_F() 131 EXPECT_TRUE(delegate_.GetCommandAuthorization(command_hash, false, false, in TEST_F() 135 EXPECT_EQ(delegate_.caller_nonce_.size, original_nonce.size); in TEST_F() 137 EXPECT_NE(0, memcmp(delegate_.caller_nonce_.buffer, original_nonce.buffer, in TEST_F() 139 EXPECT_EQ(0, memcmp(delegate_.caller_nonce_.buffer, auth_command.nonce.buffer, in TEST_F() 143 original_nonce = delegate_.caller_nonce_; in TEST_F() [all …]
|
D | session_manager_test.cc | 43 delegate_ = new HmacAuthorizationDelegate(); in SessionManagerTest() 75 HmacAuthorizationDelegate* delegate_; member in trunks::SessionManagerTest 115 session_type, handle, "", false, delegate_)); in TEST_F() 126 delegate_)); in TEST_F() 133 delegate_)); in TEST_F() 147 delegate_)); in TEST_F() 164 session_type, handle, "", false, delegate_)); in TEST_F()
|
/system/bt/service/ |
D | low_energy_client.cc | 39 delegate_(nullptr) {} in LowEnergyClient() 126 delegate_ = delegate; in SetDelegate() 150 if (delegate_) in ConnectCallback() 151 delegate_->OnConnectionState(this, status, BtAddrString(&bda).c_str(), in ConnectCallback() 168 if (delegate_) in DisconnectCallback() 169 delegate_->OnConnectionState(this, status, BtAddrString(&bda).c_str(), in DisconnectCallback() 192 if (delegate_) delegate_->OnMtuChanged(this, status, addr.c_str(), mtu); in MtuChangedCallback()
|
D | gatt_server.cc | 32 : app_identifier_(uuid), server_id_(server_id), delegate_(nullptr) {} in GattServer() 51 delegate_ = delegate; in SetDelegate() 271 if (delegate_) in ConnectionCallback() 272 delegate_->OnConnectionStateChanged(this, device_address, false); in ConnectionCallback() 289 if (delegate_) in ConnectionCallback() 290 delegate_->OnConnectionStateChanged(this, device_address, true); in ConnectionCallback() 357 if (!delegate_) { in RequestReadCharacteristicCallback() 365 delegate_->OnCharacteristicReadRequest(this, device_address, trans_id, offset, in RequestReadCharacteristicCallback() 390 if (!delegate_) { in RequestReadDescriptorCallback() 398 delegate_->OnDescriptorReadRequest(this, device_address, trans_id, offset, in RequestReadDescriptorCallback() [all …]
|
D | low_energy_scanner.cc | 74 delegate_(nullptr) {} in LowEnergyScanner() 92 delegate_ = delegate; in SetDelegate() 147 if (!delegate_) return; in ScanResultCallback() 157 delegate_->OnScanResult(this, result); in ScanResultCallback()
|
D | low_energy_scanner.h | 121 Delegate* delegate_; variable
|
D | low_energy_client.h | 128 Delegate* delegate_; variable
|
/system/bt/service/ipc/ |
D | ipc_handler.h | 48 IPCManager::Delegate* delegate() const { return delegate_; } in delegate() 57 IPCManager::Delegate* delegate_; variable
|
D | ipc_handler.cc | 25 : adapter_(adapter), delegate_(delegate) { in IPCHandler()
|
/system/update_engine/payload_consumer/ |
D | download_action.h | 105 DownloadActionDelegate* delegate() const { return delegate_; } in delegate() 107 delegate_ = delegate; in set_delegate() 168 DownloadActionDelegate* delegate_; variable
|
D | postinstall_runner_action.h | 59 void set_delegate(DelegateInterface* delegate) { delegate_ = delegate; } in set_delegate() 122 DelegateInterface* delegate_{nullptr};
|
D | download_action.cc | 54 delegate_(nullptr), in DownloadAction() 244 prefs_, boot_control_, hardware_, delegate_, &install_plan_, payload_)); in StartDownloading() 320 if (delegate_ && download_active_) { in ReceivedBytes() 321 delegate_->BytesReceived(length, bytes_received_, bytes_total_); in ReceivedBytes()
|
D | postinstall_runner_action.cc | 260 if (!delegate_) in ReportProgress() 263 delegate_->ProgressUpdate(1.); in ReportProgress() 273 delegate_->ProgressUpdate(postinst_action_progress); in ReportProgress()
|
/system/nvram/messages/ |
D | io.cpp | 138 delegate_(delegate), in NestedInputStreamBuffer() 142 remaining_ -= end_ - delegate_->pos_; in Advance() 144 delegate_->pos_ = end_; in Advance() 147 bool status = delegate_->Advance(); in Advance() 148 pos_ = delegate_->pos_; in Advance() 149 end_ = ClampEnd(delegate_, remaining_); in Advance()
|
/system/update_engine/ |
D | libcurl_http_fetcher.cc | 373 if (delegate_) { in ForceTransferTermination() 375 delegate_->TransferTerminated(this); in ForceTransferTermination() 483 if (delegate_) in CurlPerformOnce() 484 delegate_->TransferComplete(this, false); // signal fail in CurlPerformOnce() 497 if (delegate_) in CurlPerformOnce() 498 delegate_->TransferComplete(this, false); // signal fail in CurlPerformOnce() 511 if (delegate_) { in CurlPerformOnce() 513 delegate_->TransferComplete(this, success); in CurlPerformOnce() 548 if (delegate_) in LibcurlWrite() 549 delegate_->ReceivedBytes(this, ptr, payload_size); in LibcurlWrite()
|
/system/bt/service/ipc/binder/ |
D | remote_callback_map.h | 96 Delegate* delegate_; // weak variable 219 : key_(key), callback_(callback), owner_(owner), delegate_(delegate) { in CallbackDeathRecipient() 242 if (delegate_) delegate_->OnRemoteCallbackRemoved(key_); in binderDied()
|
/system/nvram/messages/include/nvram/messages/ |
D | io.h | 99 InputStreamBuffer* delegate_; variable
|