/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() 106 if (delegate_ && !delegate_->ReceivedBytes(this, bytes, next_size)) in ReceivedBytes() 134 if (delegate_) in TransferEnded() 135 delegate_->TransferTerminated(this); in TransferEnded() 147 if (delegate_) in TransferEnded() [all …]
|
D | action_processor.cc | 68 if (delegate_) in StopProcessing() 69 delegate_->ProcessingStopped(this); in StopProcessing() 111 if (delegate_) in ActionComplete() 112 delegate_->ActionCompleted(this, actionptr, code); in ActionComplete() 136 if (delegate_) { in StartNextActionOrFinish() 137 delegate_->ProcessingDone(this, code); in StartNextActionOrFinish()
|
D | action_processor_unittest.cc | 98 action_processor_.set_delegate(&delegate_); in SetUp() 113 MyActionProcessorDelegate delegate_{&action_processor_}; member in chromeos_update_engine::ActionProcessorTest 139 EXPECT_TRUE(delegate_.processing_done_called_); in TEST_F() 140 EXPECT_TRUE(delegate_.action_completed_called_); in TEST_F() 147 EXPECT_TRUE(delegate_.processing_stopped_called_); in TEST_F() 148 EXPECT_FALSE(delegate_.action_completed_called_); in TEST_F() 244 EXPECT_FALSE(delegate_.processing_done_called_); in TEST_F() 248 EXPECT_TRUE(delegate_.processing_done_called_); in TEST_F() 249 EXPECT_FALSE(delegate_.processing_stopped_called_); in TEST_F() 264 EXPECT_TRUE(delegate_.processing_stopped_called_); in TEST_F() [all …]
|
D | mock_http_fetcher.cc | 74 CHECK(delegate_); in SendData() 75 delegate_->ReceivedBytes(this, &data_[sent_size_ - chunk_size], chunk_size); in SendData() 96 delegate_->TransferTerminated(this); in TerminateTransfer() 135 delegate_->TransferComplete(this, !fail_transfer_); in SignalTransferComplete()
|
D | action_processor.h | 82 ActionProcessorDelegate* delegate() const { return delegate_; } in delegate() 83 void set_delegate(ActionProcessorDelegate* delegate) { delegate_ = delegate; } in set_delegate() 118 ActionProcessorDelegate* delegate_{nullptr};
|
D | http_fetcher.h | 51 delegate_(nullptr), in HttpFetcher() 57 void set_delegate(HttpFetcherDelegate* delegate) { delegate_ = delegate; } in set_delegate() 58 HttpFetcherDelegate* delegate() const { return delegate_; } in delegate() 154 HttpFetcherDelegate* delegate_; variable
|
D | mock_http_fetcher.h | 68 if (delegate_) in SetOffset() 69 delegate_->SeekToOffset(offset); in SetOffset()
|
/system/bt/service/ |
D | avrcp_target.cc | 113 delegate_ = delegate; in SetDelegate() 249 if (delegate_) in RemoteFeaturesCallback() 250 delegate_->OnGetRemoteFeatures(str_addr, static_cast<int32_t>(features)); in RemoteFeaturesCallback() 256 if (delegate_) delegate_->OnGetPlayStatus(str_addr); in GetPlayStatusCallback() 262 if (delegate_) delegate_->OnListPlayerAppAttr(str_addr); in ListPlayerAppAttrCallback() 269 if (delegate_) in ListPlayerAppValuesCallback() 270 delegate_->OnListPlayerAppValues(str_addr, static_cast<int32_t>(attr_id)); in ListPlayerAppValuesCallback() 284 if (delegate_) delegate_->OnGetPlayerAppValue(str_addr, attr_vec); in GetPlayerAppValueCallback() 298 if (delegate_) delegate_->OnGetPlayerAppAttrsText(str_addr, attr_vec); in GetPlayerAppAttrsTextCallback() 312 if (delegate_) in GetPlayerAppValuesTextCallback() [all …]
|
D | a2dp_sink.cc | 45 delegate_ = delegate; in SetDelegate() 116 if (delegate_) in ConnectionStateCallback() 117 delegate_->OnConnectionState(device_address, static_cast<int>(state)); in ConnectionStateCallback() 126 if (delegate_) in AudioStateCallback() 127 delegate_->OnAudioState(device_address, static_cast<int>(state)); in AudioStateCallback() 136 if (delegate_) in AudioConfigCallback() 137 delegate_->OnAudioConfig(device_address, sample_rate, channel_count); in AudioConfigCallback()
|
D | avrcp_control.cc | 49 delegate_ = delegate; in SetDelegate() 140 if (delegate_) in ConnectionStateCallback() 141 delegate_->OnConnectionState(rc_connect, bt_connect, device_address); in ConnectionStateCallback() 148 if (delegate_) in CtrlSetabsvolCmdCallback() 149 delegate_->OnSetAbsVolumeRequest(device_address, abs_vol, label); in CtrlSetabsvolCmdCallback() 156 if (delegate_) in CtrlRegisternotificationAbsVolCallback() 157 delegate_->OnRegisterForAbsVolumeCallbackRequest(device_address, label); in CtrlRegisternotificationAbsVolCallback() 212 if (delegate_) delegate_->OnTrackChanged(device_address, attr); in CtrlTrackChangedCallback()
|
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 | a2dp_source.cc | 121 delegate_ = delegate; in SetDelegate() 169 if (delegate_) in ConnectionStateCallback() 170 delegate_->OnConnectionState(device_address, static_cast<int>(state)); in ConnectionStateCallback() 178 if (delegate_) in AudioStateCallback() 179 delegate_->OnAudioState(device_address, static_cast<int>(state)); in AudioStateCallback() 196 if (delegate_) in AudioConfigCallback() 197 delegate_->OnAudioConfig(device_address, codec_config, in AudioConfigCallback()
|
D | gatt_server.cc | 34 : app_identifier_(uuid), server_id_(server_id), delegate_(nullptr) {} in GattServer() 53 delegate_ = delegate; in SetDelegate() 273 if (delegate_) in ConnectionCallback() 274 delegate_->OnConnectionStateChanged(this, device_address, false); in ConnectionCallback() 291 if (delegate_) in ConnectionCallback() 292 delegate_->OnConnectionStateChanged(this, device_address, true); in ConnectionCallback() 359 if (!delegate_) { in RequestReadCharacteristicCallback() 367 delegate_->OnCharacteristicReadRequest(this, device_address, trans_id, offset, in RequestReadCharacteristicCallback() 392 if (!delegate_) { in RequestReadDescriptorCallback() 400 delegate_->OnDescriptorReadRequest(this, device_address, trans_id, offset, in RequestReadDescriptorCallback() [all …]
|
D | low_energy_scanner.cc | 75 delegate_(nullptr) {} in LowEnergyScanner() 93 delegate_ = delegate; in SetDelegate() 148 if (!delegate_) return; in ScanResultCallback() 158 delegate_->OnScanResult(this, result); in ScanResultCallback()
|
/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 | 104 DownloadActionDelegate* delegate() const { return delegate_; } in delegate() 105 void set_delegate(DownloadActionDelegate* delegate) { delegate_ = delegate; } in set_delegate() 170 DownloadActionDelegate* delegate_; variable
|
D | download_action.cc | 56 delegate_(nullptr), in DownloadAction() 250 delegate_, in StartDownloading() 331 if (delegate_ && download_active_) { in ReceivedBytes() 332 delegate_->BytesReceived(length, bytes_downloaded_total, bytes_total_); in ReceivedBytes() 392 if (delegate_) in TransferComplete() 393 delegate_->DownloadComplete(); in TransferComplete()
|
D | postinstall_runner_action.h | 59 void set_delegate(DelegateInterface* delegate) { delegate_ = delegate; } in set_delegate() 121 DelegateInterface* delegate_{nullptr};
|
D | download_action_unittest.cc | 577 delegate_.expected_data_ = in StartDownload() 579 delegate_.path_ = output_temp_file.path(); in StartDownload() 580 processor_.set_delegate(&delegate_); in StartDownload() 600 DownloadActionTestProcessorDelegate delegate_; member in chromeos_update_engine::P2PDownloadActionTest 626 string file_id = delegate_.p2p_file_id_; in TEST_F() 644 EXPECT_EQ(delegate_.p2p_file_id_, ""); in TEST_F() 668 EXPECT_EQ(delegate_.p2p_file_id_, file_id); in TEST_F()
|
/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 | 369 if (delegate_) { in ForceTransferTermination() 371 delegate_->TransferTerminated(this); in ForceTransferTermination() 478 if (delegate_) in CurlPerformOnce() 479 delegate_->TransferComplete(this, false); // signal fail in CurlPerformOnce() 492 if (delegate_) in CurlPerformOnce() 493 delegate_->TransferComplete(this, false); // signal fail in CurlPerformOnce() 506 if (delegate_) { in CurlPerformOnce() 508 delegate_->TransferComplete(this, success); in CurlPerformOnce() 543 if (delegate_) { in LibcurlWrite() 545 auto should_terminate = !delegate_->ReceivedBytes(this, ptr, payload_size); in LibcurlWrite()
|
D | omaha_response_handler_action_unittest.cc | 96 OmahaResponseHandlerActionProcessorDelegate delegate_; member in chromeos_update_engine::OmahaResponseHandlerActionTest 127 processor.set_delegate(&delegate_); in DoTest() 169 if (out && delegate_.collector_action_install_plan_) in DoTest() 170 *out = *delegate_.collector_action_install_plan_; in DoTest() 172 EXPECT_TRUE(delegate_.code_set_); in DoTest() 173 action_result_code_ = delegate_.code_; in DoTest() 174 return delegate_.code_ == ErrorCode::kSuccess; in DoTest() 681 install_plan = *delegate_.response_handler_action_install_plan_; in TEST_F()
|
/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()
|