/external/chromium_org/device/nfc/ |
D | nfc_chromeos_unittest.cc | 56 adapter_(adapter) { in TestObserver() 64 EXPECT_EQ(adapter_, adapter); in AdapterPresentChanged() 71 EXPECT_EQ(adapter_, adapter); in AdapterPoweredChanged() 78 EXPECT_EQ(adapter_, adapter); in AdapterPollingChanged() 84 EXPECT_EQ(adapter_, adapter); in PeerFound() 91 EXPECT_EQ(adapter_, adapter); in PeerLost() 99 EXPECT_EQ(adapter_, adapter); in TagFound() 106 EXPECT_EQ(adapter_, adapter); in TagLost() 115 EXPECT_EQ(peer, adapter_->GetPeer(peer_identifier_)); in RecordReceived() 123 EXPECT_EQ(tag, adapter_->GetTag(tag_identifier_)); in RecordReceived() [all …]
|
/external/chromium_org/device/bluetooth/ |
D | bluetooth_chromeos_unittest.cc | 49 adapter_(adapter) { in TestObserver() 50 adapter_->AddObserver(this); in TestObserver() 54 adapter_->RemoveObserver(this); in ~TestObserver() 59 EXPECT_EQ(adapter_, adapter); in AdapterPresentChanged() 67 EXPECT_EQ(adapter_, adapter); in AdapterPoweredChanged() 75 EXPECT_EQ(adapter_, adapter); in AdapterDiscoverableChanged() 82 EXPECT_EQ(adapter_, adapter); in AdapterDiscoveringChanged() 90 EXPECT_EQ(adapter_, adapter); in DeviceAdded() 101 EXPECT_EQ(adapter_, adapter); in DeviceChanged() 112 EXPECT_EQ(adapter_, adapter); in DeviceRemoved() [all …]
|
D | bluetooth_discovery_session.cc | 14 : active_(true), adapter_(adapter), weak_ptr_factory_(this) { in BluetoothDiscoverySession() 15 DCHECK(adapter_.get()); in BluetoothDiscoverySession() 23 if (!adapter_.get()) { in ~BluetoothDiscoverySession() 44 DCHECK(adapter_.get()); in Stop() 45 adapter_->RemoveDiscoverySession( in Stop() 61 DCHECK(adapter_.get()); in MarkAsInactive() 62 adapter_->DiscoverySessionBecameInactive(this); in MarkAsInactive()
|
D | bluetooth_adapter_win_unittest.cc | 94 adapter_(new BluetoothAdapterWin( in BluetoothAdapterWinTest() 97 adapter_win_(static_cast<BluetoothAdapterWin*>(adapter_.get())), in BluetoothAdapterWinTest() 149 scoped_refptr<BluetoothAdapter> adapter_; member in device::BluetoothAdapterWinTest 215 EXPECT_FALSE(adapter_->IsDiscovering()); in TEST_F() 219 EXPECT_TRUE(adapter_->IsDiscovering()); in TEST_F() 232 EXPECT_FALSE(adapter_->IsDiscovering()); in TEST_F() 249 EXPECT_FALSE(adapter_->IsDiscovering()); in TEST_F() 253 EXPECT_TRUE(adapter_->IsDiscovering()); in TEST_F() 269 EXPECT_FALSE(adapter_->IsDiscovering()); in TEST_F() 281 EXPECT_TRUE(adapter_->IsDiscovering()); in TEST_F() [all …]
|
D | bluetooth_gatt_chromeos_unittest.cc | 67 adapter_(adapter) { in TestDeviceObserver() 72 BluetoothDevice* device = adapter_->GetDevice(device_address_); in ~TestDeviceObserver() 128 scoped_refptr<BluetoothAdapter> adapter_; member in chromeos::__anon9c6f994a0111::TestDeviceObserver 145 adapter_(adapter) { in TestGattServiceObserver() 151 BluetoothDevice* device = adapter_->GetDevice(device_address_); in ~TestGattServiceObserver() 295 scoped_refptr<BluetoothAdapter> adapter_; member in chromeos::__anon9c6f994a0111::TestGattServiceObserver 340 adapter_->SetPowered( in SetUp() 344 ASSERT_TRUE(adapter_->IsPowered()); in SetUp() 348 adapter_ = NULL; in TearDown() 358 ASSERT_TRUE(adapter_.get() != NULL); in GetAdapter() [all …]
|
D | bluetooth_socket_chromeos_unittest.cc | 79 ASSERT_TRUE(adapter_.get() != NULL); in SetUp() 80 ASSERT_TRUE(adapter_->IsInitialized()); in SetUp() 81 ASSERT_TRUE(adapter_->IsPresent()); in SetUp() 84 adapter_->SetPowered( in SetUp() 88 ASSERT_TRUE(adapter_->IsPowered()); in SetUp() 92 adapter_ = NULL; in TearDown() 98 adapter_ = adapter; in AdapterCallback() 166 scoped_refptr<BluetoothAdapter> adapter_; member in chromeos::BluetoothSocketChromeOSTest 181 BluetoothDevice* device = adapter_->GetDevice( in TEST_F() 293 adapter_->CreateRfcommService( in TEST_F() [all …]
|
D | bluetooth_adapter_mac_unittest.mm | 17 adapter_(new BluetoothAdapterMac()), 18 adapter_mac_(static_cast<BluetoothAdapterMac*>(adapter_.get())) { 24 scoped_refptr<BluetoothAdapter> adapter_;
|
D | bluetooth_gatt_notify_session_chromeos.cc | 24 adapter_(adapter), in BluetoothGattNotifySessionChromeOS() 29 DCHECK(adapter_.get()); in BluetoothGattNotifySessionChromeOS() 84 device::BluetoothDevice* device = adapter_->GetDevice(device_address_); in Stop()
|
D | bluetooth_socket_chromeos.cc | 91 if (adapter_.get()) { in ~BluetoothSocketChromeOS() 92 adapter_->RemoveObserver(this); in ~BluetoothSocketChromeOS() 93 adapter_ = NULL; in ~BluetoothSocketChromeOS() 135 adapter_ = adapter; in Listen() 136 adapter_->AddObserver(this); in Listen() 241 if (adapter_ && !adapter_->IsPresent()) { in RegisterProfile() 435 static_cast<BluetoothAdapterChromeOS*>(adapter_.get())-> in AcceptConnectionRequest() 520 static_cast<BluetoothAdapterChromeOS*>(adapter_.get())-> in OnNewConnection()
|
D | bluetooth_device_chromeos.cc | 128 : adapter_(adapter), in BluetoothDeviceChromeOS() 333 adapter_->NotifyDeviceChanged(this); in Connect() 429 adapter_->object_path(), in Forget() 512 new BluetoothRemoteGattServiceChromeOS(adapter_, this, object_path); in GattServiceAdded() 562 adapter_->NotifyDeviceChanged(this); in OnConnect() 582 adapter_, GetAddress(), object_path_)); in OnCreateGattConnection() 592 adapter_->NotifyDeviceChanged(this); in OnConnectError() 630 adapter_->NotifyDeviceChanged(this); in OnPairError()
|
D | bluetooth_gatt_connection_chromeos.cc | 20 adapter_(adapter), in BluetoothGattConnectionChromeOS() 23 DCHECK(adapter_.get()); in BluetoothGattConnectionChromeOS()
|
/external/chromium_org/chrome/browser/extensions/api/bluetooth/ |
D | bluetooth_event_router.cc | 41 adapter_(NULL), in BluetoothEventRouter() 55 if (adapter_.get()) { in ~BluetoothEventRouter() 56 adapter_->RemoveObserver(this); in ~BluetoothEventRouter() 57 adapter_ = NULL; in ~BluetoothEventRouter() 63 return adapter_.get() || in IsBluetoothSupported() 69 if (adapter_.get()) { in GetAdapter() 70 callback.Run(scoped_refptr<device::BluetoothAdapter>(adapter_)); in GetAdapter() 82 if (adapter != adapter_.get()) { in StartDiscoverySession() 106 if (adapter != adapter_.get()) { in StopDiscoverySession() 131 if (!adapter_.get()) { in OnAdapterInitialized() [all …]
|
/external/chromium_org/ash/system/chromeos/bluetooth/ |
D | bluetooth_notification_controller.cc | 78 scoped_refptr<BluetoothAdapter> adapter_; member in __anonff79a5f50111::BluetoothPairingNotificationDelegate 89 : adapter_(adapter), in BluetoothPairingNotificationDelegate() 109 BluetoothDevice* device = adapter_->GetDevice(address_); in Close() 125 BluetoothDevice* device = adapter_->GetDevice(address_); in ButtonClick() 155 if (adapter_.get()) { in ~BluetoothNotificationController() 156 adapter_->RemoveObserver(this); in ~BluetoothNotificationController() 157 adapter_->RemovePairingDelegate(this); in ~BluetoothNotificationController() 158 adapter_ = NULL; in ~BluetoothNotificationController() 265 DCHECK(!adapter_.get()); in OnGetAdapter() 266 adapter_ = adapter; in OnGetAdapter() [all …]
|
/external/chromium_org/chrome/browser/ui/webui/options/chromeos/ |
D | bluetooth_options_handler.cc | 66 if (adapter_.get()) in ~BluetoothOptionsHandler() 67 adapter_->RemoveObserver(this); in ~BluetoothOptionsHandler() 151 DCHECK(adapter == adapter_.get()); in AdapterPresentChanged() 158 AdapterPoweredChanged(adapter_.get(), adapter_->IsPowered()); in AdapterPresentChanged() 168 DCHECK(adapter == adapter_.get()); in AdapterPoweredChanged() 183 DCHECK(adapter == adapter_.get()); in AdapterDiscoveringChanged() 216 AdapterPresentChanged(adapter_.get(), adapter_->IsPresent()); in InitializePage() 226 adapter_ = adapter; in InitializeAdapter() 227 CHECK(adapter_.get()); in InitializeAdapter() 228 adapter_->AddObserver(this); in InitializeAdapter() [all …]
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
D | hid_detection_screen_handler.cc | 86 if (adapter_.get()) in ~HIDDetectionScreenHandler() 87 adapter_->RemoveObserver(this); in ~HIDDetectionScreenHandler() 126 if (adapter_.get()) in Hide() 127 adapter_->RemoveObserver(this); in Hide() 192 if (adapter_ && adapter_->IsPresent() && adapter_->IsPowered() && in HandleOnContinue() 197 adapter_->SetPowered( in HandleOnContinue() 211 adapter_ = adapter; in InitializeAdapter() 212 CHECK(adapter_.get()); in InitializeAdapter() 214 adapter_->AddObserver(this); in InitializeAdapter() 219 adapter_->StartDiscoverySession( in StartBTDiscoverySession() [all …]
|
/external/google-tv-pairing-protocol/cpp/tests/polo/wire/protobuf/ |
D | protobufwireadaptertest.cc | 61 ProtobufWireAdapterTest() : interface_(), adapter_(&interface_) {} in ProtobufWireAdapterTest() 65 adapter_.set_listener(&listener_); in SetUp() 72 adapter_.GetNextMessage(); in ExpectGetPreamble() 85 adapter_.OnBytesReceived( in ExpectReadPreamble() 106 ProtobufWireAdapter adapter_; member in polo::wire::protobuf::ProtobufWireAdapterTest 144 adapter_.SendConfigurationMessage(message); in TEST_F() 163 adapter_.SendConfigurationAckMessage(message); in TEST_F() 212 adapter_.SendOptionsMessage(message); in TEST_F() 233 adapter_.SendPairingRequestMessage(message); in TEST_F() 253 adapter_.SendPairingRequestAckMessage(message); in TEST_F() [all …]
|
/external/chromium_org/components/nacl/loader/ |
D | nacl_ipc_adapter_unittest.cc | 33 adapter_ = new NaClIPCAdapter(scoped_ptr<IPC::Channel>(sink_), in SetUp() 38 adapter_ = NULL; in TearDown() 49 return adapter_->BlockingReceive(&msg); in BlockingReceive() 55 return adapter_->Send(&msg); in Send() 60 scoped_refptr<NaClIPCAdapter> adapter_; member in __anonf206f3630111::NaClIPCAdapterTest 83 adapter_->OnMessageReceived(input); in TEST_F() 181 adapter_->OnMessageReceived(input_1); in TEST_F() 188 adapter_->OnMessageReceived(input_2); in TEST_F() 281 adapter_(adapter) {} in TEST_F() 284 adapter_->OnChannelError(); in TEST_F() [all …]
|
/external/chromium_org/content/renderer/media/ |
D | webcontentdecryptionmodulesession_impl.cc | 21 : adapter_(adapter), in WebContentDecryptionModuleSessionImpl() 30 adapter_->RemoveSession(web_session_id_); in ~WebContentDecryptionModuleSessionImpl() 63 adapter_->InitializeNewSession(init_data_type_as_ascii, in initializeNewSession() 78 adapter_->UpdateSession( in update() 88 adapter_->ReleaseSession(web_session_id_, promise.Pass()); in release() 132 adapter_->RegisterSession(web_session_id_, weak_ptr_factory_.GetWeakPtr()); in SessionCreated()
|
D | webcontentdecryptionmodule_impl.cc | 81 : adapter_(adapter) {} in WebContentDecryptionModuleImpl() 90 return adapter_->CreateSession(client); in createSession() 94 return adapter_->GetDecryptor(); in GetDecryptor() 99 return adapter_->GetCdmId(); in GetCdmId()
|
D | webrtc_local_audio_track.cc | 24 adapter_(adapter), in WebRtcLocalAudioTrack() 29 adapter_->Initialize(this); in WebRtcLocalAudioTrack() 52 adapter_->SetSignalLevel(signal_level); in Capture() 76 std::vector<int> voe_channels = adapter_->VoeChannels(); in Capture() 119 adapter_->SetAudioProcessor(processor->has_audio_processing() ? in SetAudioProcessor()
|
/external/chromium_org/content/renderer/media/webrtc/ |
D | webrtc_local_audio_track_adapter_unittest.cc | 39 adapter_(WebRtcLocalAudioTrackAdapter::Create(std::string(), NULL)) { in WebRtcLocalAudioTrackAdapterTest() 44 track_.reset(new WebRtcLocalAudioTrack(adapter_, capturer_, NULL)); in WebRtcLocalAudioTrackAdapterTest() 54 scoped_refptr<WebRtcLocalAudioTrackAdapter> adapter_; member in content::WebRtcLocalAudioTrackAdapterTest 64 static_cast<webrtc::AudioTrackInterface*>(adapter_.get()); in TEST_F() 89 static_cast<webrtc::AudioTrackInterface*>(adapter_.get()); in TEST_F()
|
D | webrtc_video_capturer_adapter_unittest.cc | 18 : adapter_(false), in WebRtcVideoCapturerAdapterTest() 21 adapter_.SignalFrameCaptured.connect( in WebRtcVideoCapturerAdapterTest() 42 adapter_.OnFrameCaptured(frame); in TestSourceCropFrame() 54 WebRtcVideoCapturerAdapter adapter_; member in content::WebRtcVideoCapturerAdapterTest
|
D | webrtc_media_stream_adapter_unittest.cc | 79 adapter_.reset(new WebRtcMediaStreamAdapter( in CreateWebRtcMediaStream() 83 adapter_->webrtc_media_stream()->GetAudioTracks().size()); in CreateWebRtcMediaStream() 85 adapter_->webrtc_media_stream()->GetVideoTracks().size()); in CreateWebRtcMediaStream() 87 adapter_->webrtc_media_stream()->label()); in CreateWebRtcMediaStream() 91 return adapter_->webrtc_media_stream(); in webrtc_stream() 98 scoped_ptr<WebRtcMediaStreamAdapter> adapter_; member in content::WebRtcMediaStreamAdapterTest
|
/external/chromium_org/chrome/browser/extensions/api/bluetooth_low_energy/ |
D | bluetooth_low_energy_event_router.cc | 160 : adapter_(NULL), browser_context_(context), weak_ptr_factory_(this) { in BluetoothLowEnergyEventRouter() 173 if (!adapter_.get()) in ~BluetoothLowEnergyEventRouter() 176 adapter_->RemoveObserver(this); in ~BluetoothLowEnergyEventRouter() 181 BluetoothDevice* device = adapter_->GetDevice(*iter); in ~BluetoothLowEnergyEventRouter() 197 adapter_ = NULL; in ~BluetoothLowEnergyEventRouter() 202 return adapter_.get() || in IsBluetoothSupported() 211 if (adapter_.get()) { in InitializeAdapterAndInvokeCallback() 224 return (adapter_.get() != NULL); in HasAdapter() 234 if (!adapter_) { in Connect() 261 BluetoothDevice* device = adapter_->GetDevice(device_address); in Connect() [all …]
|
/external/chromium_org/chrome/browser/metrics/ |
D | chromeos_metrics_provider.cc | 217 DCHECK(adapter_.get()); in WriteBluetoothProto() 222 bluetooth->set_is_present(adapter_->IsPresent()); in WriteBluetoothProto() 223 bluetooth->set_is_enabled(adapter_->IsPowered()); in WriteBluetoothProto() 225 device::BluetoothAdapter::DeviceList devices = adapter_->GetDevices(); in WriteBluetoothProto() 287 adapter_ = adapter; in SetBluetoothAdapter()
|