/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/pairing/ |
D | BluetoothPairer.java | 66 private BluetoothDevice mDevice; field in BluetoothPairer 156 mDevice = device; in startPairing() 210 if (!device.equals(mDevice)) { in onBondStateChanged() 229 if (mDevice == null || !mDevice.equals(device)) { in onConnectionStateChanged() 259 if (mDevice.getBondState() != BluetoothDevice.BOND_BONDED) { in startBonding() 260 if (!mDevice.createBond()) { in startBonding() 278 unpairDevice(mDevice); in onBondFailed() 279 mDevice = null; in onBondFailed() 285 if (mDevice == null) { in serviceDiscovery() 289 mDevice.fetchUuidsWithSdp(); in serviceDiscovery() [all …]
|
D | BluetoothScannerFragment.java | 78 private BluetoothDevice mDevice; field in BluetoothScannerFragment.PairingClickListener 81 mDevice = device; in PairingClickListener() 87 ((PairingHandler) getActivity()).pairDevice(mDevice); in onPreferenceClick()
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/settings/ |
D | BluetoothDevicePreferenceFragment.java | 54 private BluetoothDevice mDevice; field in BluetoothDevicePreferenceFragment 106 if (mDevice != null) { in update() 107 mPrefGroup.setTitle(BluetoothUtils.getName(mDevice)); in update() 120 BluetoothUtils.isRemoteClass(mDevice); in updateRemoteUpdate() 121 if (!BluetoothUtils.isRemote(preferenceContext, mDevice)) { in updateRemoteUpdate() 145 if (btDeviceProvider.hasUpgrade(mDevice)) { in updateRemoteUpdate() 149 if (btDeviceProvider.isBatteryLow(mDevice)) { in updateRemoteUpdate() 165 if (mDevice == null || BluetoothUtils.isRemote(preferenceContext, mDevice)) { in updateReconnect() 169 if (getPairingServiceBinder() != null && BluetoothUtils.isBonded(mDevice)) { in updateReconnect() 178 pairingService.connectPairedDevice(mDevice); in updateReconnect() [all …]
|
D | BluetoothDeviceInfoPreference.java | 33 private BluetoothDevice mDevice; field in BluetoothDeviceInfoPreference 43 mDevice = device; in BluetoothDeviceInfoPreference() 53 if (mDevice == null) { in onBindViewHolder() 61 serialNumberView.setText(mDevice.getAddress()); in onBindViewHolder() 63 Log.e(TAG, "device: " + mDevice + " " + serialNumberView); in onBindViewHolder() 75 Version version = mProvider.getVersion(mDevice); in update() 85 int battery = mProvider.getBatteryLevel(mDevice); in update() 92 if (mProvider.isBatteryLow(mDevice) && !mProvider.hasUpgrade(mDevice)) { in update()
|
D | ResponseActivity.java | 46 private BluetoothDevice mDevice; field in ResponseActivity 71 mDevice = getIntent().getParcelableExtra(KEY_EXTRAS_DEVICE); in onCreate() 103 provider.connectDevice(mDevice); in onChoice() 109 provider.disconnectDevice(mDevice); in onChoice() 115 provider.forgetDevice(mDevice); in onChoice() 120 if (choice == CONTINUE && mDevice != null) { in onChoice() 123 intent.putExtra(RemoteDfuActivity.EXTRA_BT_ADDRESS, mDevice.getAddress()); in onChoice() 137 if (mDevice != null) { in onText() 138 provider.renameDevice(mDevice, text); in onText()
|
D | RemoteDfuActivity.java | 72 private BluetoothDevice mDevice; field in RemoteDfuActivity 134 BluetoothDeviceService.forgetAndRepair(this, mDevice); in onDoneNeedsPairing() 176 if (!mBtDeviceServiceBinder.hasUpgrade(mDevice)) { in attemptDfu() 181 if (mBtDeviceServiceBinder.isBatteryLow(mDevice)) { in attemptDfu() 185 mBtDeviceServiceBinder.startDfu(mDevice); in attemptDfu() 208 mDevice = BluetoothDeviceService.findDevice(mBtAddress); in onCreate()
|
/device/generic/goldfish/audio/ |
D | primary_device.cpp | 360 PrimaryDevice::PrimaryDevice() : mDevice(sp<Device>::make()) { in PrimaryDevice() 364 return mDevice->initCheck(); in initCheck() 368 return mDevice->setMasterVolume(volume); in setMasterVolume() 372 return mDevice->getMasterVolume(_hidl_cb); in getMasterVolume() 376 return mDevice->setMicMute(mute); in setMicMute() 380 return mDevice->getMicMute(_hidl_cb); in getMicMute() 384 return mDevice->setMasterMute(mute); in setMasterMute() 388 return mDevice->getMasterMute(_hidl_cb); in getMasterMute() 393 return mDevice->getInputBufferSize(config, _hidl_cb); in getInputBufferSize() 402 return mDevice->openOutputStream(ioHandle, device, config, flags, sourceMetadata, _hidl_cb); in openOutputStream() [all …]
|
D | primary_device.h | 204 return mDevice; in getDevice() 209 sp<Device> mDevice;
|
/device/google/atv/audio_proxy/ |
D | AudioProxyDevice.cpp | 57 : mDevice(device) {} in AudioProxyDevice() 62 return mDevice->v2->get_service_name(mDevice->v2); in getServiceName() 83 int ret = mDevice->v2->open_output_stream( in openOutputStream() 84 mDevice->v2, address.c_str(), in openOutputStream() 92 mDevice->close_output_stream(mDevice, stream); in openOutputStream() 96 return std::make_unique<AudioProxyStreamOut>(stream, mDevice); in openOutputStream()
|
D | AudioProxyManager.cpp | 68 std::unique_ptr<AudioProxyDevice> mDevice GUARDED_BY(mLock); 82 if (mDevice) { in registerDevice() 87 mDevice = std::make_unique<AudioProxyDevice>(device); in registerDevice() 99 DCHECK(mDevice); in reconnectService_Locked() 101 auto service = getAudioProxyService(mDevice->getServiceName()); in reconnectService_Locked() 115 ndk::SharedRefBase::make<StreamProviderImpl>(mDevice.get())); in reconnectService_Locked()
|
D | AudioProxyStreamOut.cpp | 21 : mStream(stream), mDevice(device) {} in AudioProxyStreamOut() 24 mDevice->close_output_stream(mDevice, mStream); in ~AudioProxyStreamOut()
|
D | StreamProviderImpl.cpp | 29 : mDevice(device) {} in StreamProviderImpl() 38 mDevice->openOutputStream(address, config, flags); in openOutputStream()
|
D | AudioProxyDevice.h | 42 audio_proxy_device_t* const mDevice;
|
D | StreamProviderImpl.h | 40 AudioProxyDevice* const mDevice;
|
D | AudioProxyStreamOut.h | 62 audio_proxy_device_t* const mDevice; variable
|
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/ |
D | DefaultProxy.java | 61 return bleConnection.connect(context, mDevice); in initialize() 88 Log.i(TAG, "Refresh device " + mDevice + " battery level: " + battery); in refreshBatteryLevel() 103 int battery = mDevice.getBatteryLevel(); in getLastKnownBatteryLevel() 151 Log.d(TAG, "Disabling Gatt version reading for device " + mDevice in refreshVersion() 215 Log.w(TAG, "versionCharacteristic is null for device " + mDevice); in onGattReady() 247 Log.w(TAG, "subscribing to battery level unsuccessful for device " + mDevice); in onGattReady()
|
D | DfuManager.java | 46 private BluetoothDevice mDevice; field in DfuManager 56 mDevice = device; in requestDfu() 72 mDevice = null; in finish() 131 mListener.onDfuProgress(mDevice, mCurrentProgress); in confirmDfu() 156 mHandler.post(() -> mListener.onDfuProgress(mDevice, mCurrentProgress)); in sendPackets()
|
D | TransportManager.java | 109 private final BluetoothDevice mDevice; field in TransportManager 121 mDevice = device; in TransportManager() 199 mTransport = mFactory.build(mDevice, this::processQueueImpl, mHandler, mContext, this); in processQueueImpl() 237 Log.e(TAG, "gatt disconnected " + mDevice); in onGattStateChangedImpl()
|
D | RemoteProxy.java | 157 protected final BluetoothDevice mDevice; field in RemoteProxy 160 mDevice = device; in RemoteProxy()
|
/device/google/trout/tests/hal/dumpstate/1.1/src/com/android/trout/dumpstate/tests/ |
D | DumpstateE2eTests.java | 45 private IDumpstateDevice mDevice; field in DumpstateE2eTests 51 mDevice = android.hardware.dumpstate.V1_1.IDumpstateDevice.getService(true /* retry */); in setUp() 70 int dumping_status = mDevice.dumpstateBoard_1_1( in testDumpstateBoard()
|
/device/google/felix/vibrator/cs40l26/ |
D | Vibrator.cpp | 813 if (!mHwApiDef->setHapticPcmAmp(&mHapticPcm, enabled, mCard, mDevice)) { in setExternalControl() 814 ALOGE("Failed to %s haptic pcm device: %d", (enabled ? "enable" : "disable"), mDevice); in setExternalControl() 1474 if (mHwApiDef->getHapticAlsaDevice(&mCard, &mDevice)) { in hasHapticAlsaDevice()
|
D | Vibrator.h | 229 int mDevice; variable
|