/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | SavedBluetoothDeviceUpdaterTest.java | 80 private BluetoothDevice mBluetoothDevice; field in SavedBluetoothDeviceUpdaterTest 104 when(mCachedBluetoothDevice.getDevice()).thenReturn(mBluetoothDevice); in setUp() 106 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in setUp() 127 doReturn(BluetoothDevice.BOND_BONDED).when(mBluetoothDevice).getBondState(); in update_filterMatch_addPreference() 128 doReturn(false).when(mBluetoothDevice).isConnected(); in update_filterMatch_addPreference() 139 doReturn(BluetoothDevice.BOND_NONE).when(mBluetoothDevice).getBondState(); in update_filterNotMatch_removePreference() 140 doReturn(true).when(mBluetoothDevice).isConnected(); in update_filterNotMatch_removePreference() 149 when(mBluetoothDevice.isConnected()).thenReturn(true); in onProfileConnectionStateChanged_deviceConnected_removePreference() 159 when(mBluetoothDevice.isConnected()).thenReturn(false); in onProfileConnectionStateChanged_deviceDisconnected_addPreference() 172 when(mBluetoothDevice.isConnected()).thenReturn(false); in onProfileConnectionStateChanged_leDeviceDisconnected_inDeviceList_invokesAddPreference() [all …]
|
D | AdvancedBluetoothDetailsHeaderControllerTest.java | 80 private BluetoothDevice mBluetoothDevice; field in AdvancedBluetoothDetailsHeaderControllerTest 98 when(mCachedDevice.getDevice()).thenReturn(mBluetoothDevice); in setUp() 104 when(mCachedDevice.getDevice()).thenReturn(mBluetoothDevice); in setUp() 123 when(mBluetoothDevice.getMetadata( in refresh_connectedWatch_behaveAsExpected() 126 when(mBluetoothDevice.getMetadata( in refresh_connectedWatch_behaveAsExpected() 144 when(mBluetoothDevice.getMetadata( in refresh_connectedWatch_unknownBatteryLevel_shouldNotShowBatteryLevel() 147 when(mBluetoothDevice.getMetadata( in refresh_connectedWatch_unknownBatteryLevel_shouldNotShowBatteryLevel() 150 when(mBluetoothDevice.getMetadata( in refresh_connectedWatch_unknownBatteryLevel_shouldNotShowBatteryLevel() 153 when(mBluetoothDevice.getBatteryLevel()).thenReturn(BluetoothDevice.BATTERY_LEVEL_UNKNOWN); in refresh_connectedWatch_unknownBatteryLevel_shouldNotShowBatteryLevel() 170 when(mBluetoothDevice.getMetadata( in refresh_connectedStylus_behaveAsExpected() [all …]
|
D | BluetoothDeviceUpdaterTest.java | 71 private BluetoothDevice mBluetoothDevice; field in BluetoothDeviceUpdaterTest 97 when(mCachedBluetoothDevice.getDevice()).thenReturn(mBluetoothDevice); in setUp() 115 mBluetoothDeviceUpdater.mPreferenceMap.put(mBluetoothDevice, mPreference); in testAddPreference_deviceExist_doNothing() 126 final Preference preference = mBluetoothDeviceUpdater.mPreferenceMap.get(mBluetoothDevice); in testAddPreference_deviceNotExist_addPreference() 133 mBluetoothDeviceUpdater.mPreferenceMap.put(mBluetoothDevice, mPreference); in testRemovePreference_deviceExist_removePreference() 138 assertThat(mBluetoothDeviceUpdater.mPreferenceMap.containsKey(mBluetoothDevice)).isFalse(); in testRemovePreference_deviceExist_removePreference() 143 mBluetoothDeviceUpdater.mPreferenceMap.put(mBluetoothDevice, mPreference); in testOnDeviceDeleted_deviceExists_removePreference() 148 assertThat(mBluetoothDeviceUpdater.mPreferenceMap.containsKey(mBluetoothDevice)).isFalse(); in testOnDeviceDeleted_deviceExists_removePreference() 187 doReturn(BluetoothDevice.BOND_BONDED).when(mBluetoothDevice).getBondState(); in isDeviceConnected_deviceConnected() 188 doReturn(true).when(mBluetoothDevice).isConnected(); in isDeviceConnected_deviceConnected() [all …]
|
D | BluetoothPairingControllerTest.java | 70 private BluetoothDevice mBluetoothDevice; field in BluetoothPairingControllerTest 94 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in createBluetoothPairingController() 109 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedDevice); in setUp() 114 when(mCachedDevice.getDevice()).thenReturn(mBluetoothDevice); in setUp() 127 verify(mBluetoothDevice).setPhonebookAccessPermission(BluetoothDevice.ACCESS_ALLOWED); in onDialogPositiveClick_confirmationDialog_setPBAP() 132 when(mBluetoothDevice.getPhonebookAccessPermission()).thenReturn( in onSetContactSharingState_permissionAllowed_setPBAPAllowed() 137 verify(mBluetoothDevice).setPhonebookAccessPermission(BluetoothDevice.ACCESS_ALLOWED); in onSetContactSharingState_permissionAllowed_setPBAPAllowed() 142 when(mBluetoothDevice.getPhonebookAccessPermission()).thenReturn( in onSetContactSharingState_permissionUnknown_audioVideoHandsfree_setPBAPAllowed() 144 when(mBluetoothDevice.getBluetoothClass()).thenReturn(mBluetoothClass); in onSetContactSharingState_permissionUnknown_audioVideoHandsfree_setPBAPAllowed() 148 verify(mBluetoothDevice).setPhonebookAccessPermission(BluetoothDevice.ACCESS_ALLOWED); in onSetContactSharingState_permissionUnknown_audioVideoHandsfree_setPBAPAllowed() [all …]
|
D | BluetoothFeatureProviderImplTest.java | 43 private BluetoothDevice mBluetoothDevice; field in BluetoothFeatureProviderImplTest 54 when(mBluetoothDevice.getMetadata( in getBluetoothDeviceSettingsUri_containCorrectMacAddress() 57 final Uri uri = mBluetoothFeatureProvider.getBluetoothDeviceSettingsUri(mBluetoothDevice); in getBluetoothDeviceSettingsUri_containCorrectMacAddress() 63 when(mBluetoothDevice.getMetadata(METADATA_FAST_PAIR_CUSTOMIZED_FIELDS)).thenReturn( in getBluetoothDeviceControlUri_returnsCorrectUri() 66 mBluetoothFeatureProvider.getBluetoothDeviceControlUri(mBluetoothDevice)).isEqualTo( in getBluetoothDeviceControlUri_returnsCorrectUri()
|
D | BluetoothDetailsSpatialAudioControllerTest.java | 76 @Mock private BluetoothDevice mBluetoothDevice; field in BluetoothDetailsSpatialAudioControllerTest 98 when(mCachedDevice.getDevice()).thenReturn(mBluetoothDevice); in setUp() 101 when(mA2dpProfile.isEnabled(mBluetoothDevice)).thenReturn(true); in setUp() 105 when(mBluetoothDevice.getAnonymizedAddress()).thenReturn(MAC_ADDRESS); in setUp() 297 when(mLeAudioProfile.isEnabled(mBluetoothDevice)).thenReturn(true); in refresh_leAudioProfileEnabledForHeadset_useLeAudioHeadsetAttributes() 298 when(mA2dpProfile.isEnabled(mBluetoothDevice)).thenReturn(false); in refresh_leAudioProfileEnabledForHeadset_useLeAudioHeadsetAttributes() 299 when(mHearingAidProfile.isEnabled(mBluetoothDevice)).thenReturn(false); in refresh_leAudioProfileEnabledForHeadset_useLeAudioHeadsetAttributes() 313 when(mLeAudioProfile.isEnabled(mBluetoothDevice)).thenReturn(true); in refresh_leAudioProfileEnabledForSpeaker_useLeAudioSpeakerAttributes() 314 when(mA2dpProfile.isEnabled(mBluetoothDevice)).thenReturn(false); in refresh_leAudioProfileEnabledForSpeaker_useLeAudioSpeakerAttributes() 315 when(mHearingAidProfile.isEnabled(mBluetoothDevice)).thenReturn(false); in refresh_leAudioProfileEnabledForSpeaker_useLeAudioSpeakerAttributes() [all …]
|
D | BluetoothDetailsAudioDeviceTypeControllerTest.java | 63 private BluetoothDevice mBluetoothDevice; field in BluetoothDetailsAudioDeviceTypeControllerTest 80 when(mCachedDevice.getDevice()).thenReturn(mBluetoothDevice); in setUp() 81 when(mBluetoothDevice.getAnonymizedAddress()).thenReturn(MAC_ADDRESS); in setUp() 82 when(mBluetoothDevice.getType()).thenReturn(DEVICE_TYPE_LE); in setUp()
|
D | BluetoothDetailsExtraOptionsControllerTest.java | 48 @Mock private BluetoothDevice mBluetoothDevice; field in BluetoothDetailsExtraOptionsControllerTest 62 when(mCachedDevice.getDevice()).thenReturn(mBluetoothDevice); in setUp() 63 when(mBluetoothDevice.getAnonymizedAddress()).thenReturn(MAC_ADDRESS); in setUp()
|
D | BluetoothDevicePairingDetailBaseTest.java | 83 private BluetoothDevice mBluetoothDevice; field in BluetoothDevicePairingDetailBaseTest 94 mBluetoothDevice = mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS); in setUp() 161 mFragment.mSelectedList.add(mBluetoothDevice); in onProfileConnectionStateChanged_deviceInSelectedListAndConnected_finish() 179 when(mCachedBluetoothDevice.getDevice()).thenReturn(mBluetoothDevice); in onProfileConnectionStateChanged_deviceNotInSelectedList_doNothing() 190 mFragment.mSelectedList.add(mBluetoothDevice); in onProfileConnectionStateChanged_deviceDisconnected_doNothing()
|
D | BluetoothDetailsHeaderControllerTest.java | 63 private BluetoothDevice mBluetoothDevice; field in BluetoothDetailsHeaderControllerTest 79 when(mCachedDevice.getDevice()).thenReturn(mBluetoothDevice); in setUp() 134 when(mBluetoothDevice.getMetadata( in isAvailable_untetheredHeadsetWithConfigOn_returnFalse() 145 when(mBluetoothDevice.getMetadata( in isAvailable_untetheredHeadsetWithConfigOff_returnTrue()
|
D | ConnectedBluetoothDeviceUpdaterTest.java | 82 private BluetoothDevice mBluetoothDevice; field in ConnectedBluetoothDeviceUpdaterTest 111 when(mCachedBluetoothDevice.getDevice()).thenReturn(mBluetoothDevice); in setUp() 333 mBluetoothDeviceUpdater.mPreferenceMap.put(mBluetoothDevice, btPreference); in addPreference_addPreference_shouldHideSecondTarget() 347 when(mBluetoothDevice.getMetadata(BluetoothDevice.METADATA_EXCLUSIVE_MANAGER)).thenReturn( in update_notExclusiveManagedDevice_addDevice() 363 when(mBluetoothDevice.getMetadata(BluetoothDevice.METADATA_EXCLUSIVE_MANAGER)).thenReturn( in update_exclusivelyManagedDevice_packageNotInstalled_addDevice() 383 when(mBluetoothDevice.getMetadata(BluetoothDevice.METADATA_EXCLUSIVE_MANAGER)).thenReturn( in update_exclusivelyManagedDevice_packageNotEnabled_addDevice() 400 when(mBluetoothDevice.getMetadata(BluetoothDevice.METADATA_EXCLUSIVE_MANAGER)).thenReturn( in update_exclusivelyManagedDevice_packageInstalledAndEnabled_removePreference()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/ |
D | HfpClientConnectionTest.java | 62 private BluetoothDevice mBluetoothDevice; field in HfpClientConnectionTest 71 mBluetoothDevice = in setUp() 75 mBluetoothDevice, in setUp() 89 assertThat(mHfpClientConnection.getDevice()).isEqualTo(mBluetoothDevice); in constructorWithCall() 109 when(mMockServiceInterface.dial(mBluetoothDevice, TEST_NUMBER)).thenReturn(mCall); in constructorWithNumber() 114 assertThat(mHfpClientConnection.getDevice()).isEqualTo(mBluetoothDevice); in constructorWithNumber() 150 mBluetoothDevice, in multiPartyCallOnAddedNotDisconnected_isInConference() 177 mBluetoothDevice, in multiPartyCallNotAddedNotDisconnected_notInConference() 195 mBluetoothDevice, in multiPartyCallOnAddedDisconnected_notInConference() 214 verify(mMockServiceInterface).enterPrivateMode(mBluetoothDevice, mCall.getId()); in enterPrivateMode() [all …]
|
D | HfpClientDeviceBlockTest.java | 62 private BluetoothDevice mBluetoothDevice; field in HfpClientDeviceBlockTest 82 mBluetoothDevice = in setUp() 93 mBluetoothDevice, in testCreateOutgoingConnection_scoStateIsSet() 112 mBluetoothDevice, in testOnAudioStateChanged() 138 mBluetoothDevice, in testHandleMultiPartyCall_scoStateIsSetOnConference() 161 when(mMockServiceInterface.dial(mBluetoothDevice, TEST_NUMBER)).thenReturn(call); in setUpCall() 165 when(mHeadsetClientService.getAudioState(mBluetoothDevice)).thenReturn(scoState); in createOutgoingConnectionWithScoState() 168 new HfpClientDeviceBlock(mBluetoothDevice, mConnServ, mMockServiceInterface); in createOutgoingConnectionWithScoState()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | SavedHearingDeviceUpdaterTest.java | 67 private BluetoothDevice mBluetoothDevice; field in SavedHearingDeviceUpdaterTest 75 when(mCachedBluetoothDevice.getDevice()).thenReturn(mBluetoothDevice); in setUp() 84 doReturn(BluetoothDevice.BOND_BONDED).when(mBluetoothDevice).getBondState(); in isFilterMatch_savedHearingDevice_returnTrue() 85 doReturn(false).when(mBluetoothDevice).isConnected(); in isFilterMatch_savedHearingDevice_returnTrue() 96 doReturn(BluetoothDevice.BOND_BONDED).when(mBluetoothDevice).getBondState(); in isFilterMatch_savedNonHearingDevice_returnFalse() 97 doReturn(false).when(mBluetoothDevice).isConnected(); in isFilterMatch_savedNonHearingDevice_returnFalse() 108 doReturn(BluetoothDevice.BOND_BONDING).when(mBluetoothDevice).getBondState(); in isFilterMatch_savedBondingHearingDevice_returnFalse() 109 doReturn(false).when(mBluetoothDevice).isConnected(); in isFilterMatch_savedBondingHearingDevice_returnFalse() 120 doReturn(BluetoothDevice.BOND_BONDED).when(mBluetoothDevice).getBondState(); in isFilterMatch_connectedHearingDevice_returnFalse() 121 doReturn(true).when(mBluetoothDevice).isConnected(); in isFilterMatch_connectedHearingDevice_returnFalse() [all …]
|
D | AvailableHearingDeviceUpdaterTest.java | 66 private BluetoothDevice mBluetoothDevice; field in AvailableHearingDeviceUpdaterTest 74 when(mCachedBluetoothDevice.getDevice()).thenReturn(mBluetoothDevice); in setUp() 83 when(mBluetoothDevice.isConnected()).thenReturn(true); in isFilterMatch_connectedHearingDevice_returnTrue() 84 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isFilterMatch_connectedHearingDevice_returnTrue() 95 when(mBluetoothDevice.isConnected()).thenReturn(false); in isFilterMatch_nonConnectedHearingDevice_returnFalse() 96 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isFilterMatch_nonConnectedHearingDevice_returnFalse() 107 when(mBluetoothDevice.isConnected()).thenReturn(true); in isFilterMatch_connectedBondingHearingDevice_returnFalse() 108 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDING); in isFilterMatch_connectedBondingHearingDevice_returnFalse() 119 when(mBluetoothDevice.isConnected()).thenReturn(true); in isFilterMatch_hearingDeviceNotInCachedDevicesList_returnFalse() 120 when(mBluetoothDevice.getBondState()).thenReturn(BluetoothDevice.BOND_BONDED); in isFilterMatch_hearingDeviceNotInCachedDevicesList_returnFalse()
|
D | HearingAidHelperTest.java | 77 private BluetoothDevice mBluetoothDevice; field in HearingAidHelperTest 86 mBluetoothDevice = mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS); in setUp() 89 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedBluetoothDevice); in setUp() 142 Collections.singletonList(mBluetoothDevice))); in getConnectedHearingAidDeviceList_oneDeviceAdded_getOneDevice() 153 Collections.singletonList(mBluetoothDevice))); in getConnectedHearingAidDeviceList_oneSubDeviceAdded_getZeroDevice() 155 mBluetoothDevice)).thenReturn(true); in getConnectedHearingAidDeviceList_oneSubDeviceAdded_getZeroDevice() 166 Collections.singletonList(mBluetoothDevice))); in getConnectedHearingAidDevice_getExpectedCachedBluetoothDevice() 169 assertThat(mCachedBluetoothDevice.getAddress()).isEqualTo(mBluetoothDevice.getAddress()); in getConnectedHearingAidDevice_getExpectedCachedBluetoothDevice()
|
D | AccessibilityHearingAidPreferenceControllerTest.java | 85 private BluetoothDevice mBluetoothDevice; field in AccessibilityHearingAidPreferenceControllerTest 294 mBluetoothDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS)); in setupEnvironment() 305 when(mCachedDeviceManager.findDevice(mBluetoothDevice)).thenReturn(mCachedBluetoothDevice); in setupEnvironment() 306 when(mCachedBluetoothDevice.getDevice()).thenReturn(mBluetoothDevice); in setupEnvironment() 322 deviceList.add(mBluetoothDevice); in generateHearingAidDeviceList() 329 deviceList.add(mBluetoothDevice); in generateMultipleHearingAidDeviceList()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sound/ |
D | HandsFreeProfileOutputPreferenceControllerTest.java | 120 private BluetoothDevice mBluetoothDevice; field in HandsFreeProfileOutputPreferenceControllerTest 157 mBluetoothDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_1)); in setUp() 158 when(mBluetoothDevice.getName()).thenReturn(TEST_DEVICE_NAME_1); in setUp() 159 when(mBluetoothDevice.getAlias()).thenReturn(TEST_DEVICE_NAME_1); in setUp() 160 when(mBluetoothDevice.isConnected()).thenReturn(true); in setUp() 220 mController.setActiveBluetoothDevice(mBluetoothDevice); in setActiveBluetoothDevice_btDeviceWithoutHisyncId_shouldSetBtDeviceActive() 222 verify(mHeadsetProfile).setActiveDevice(mBluetoothDevice); in setActiveBluetoothDevice_btDeviceWithoutHisyncId_shouldSetBtDeviceActive() 223 verify(mHearingAidProfile, never()).setActiveDevice(mBluetoothDevice); in setActiveBluetoothDevice_btDeviceWithoutHisyncId_shouldSetBtDeviceActive() 249 mController.setActiveBluetoothDevice(mBluetoothDevice); in setActiveBluetoothDevice_inNormalMode_shouldNotSetActiveDeviceToHeadsetProfile() 278 mProfileConnectedDevices.add(mBluetoothDevice); in updateState_oneHeadsetsAvailableAndActivated_shouldSetDeviceName() [all …]
|
D | AudioOutputSwitchPreferenceControllerTest.java | 131 private BluetoothDevice mBluetoothDevice; field in AudioOutputSwitchPreferenceControllerTest 172 mBluetoothDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_1)); in setUp() 173 when(mBluetoothDevice.getName()).thenReturn(TEST_DEVICE_NAME_1); in setUp() 174 when(mBluetoothDevice.isConnected()).thenReturn(true); in setUp() 328 mController.mConnectedDevices.add(mBluetoothDevice); in findActiveHearingAidDevice_leftActiveDevice_returnLeftDeviceAsActiveHapDevice() 333 when(mHeadsetProfile.getActiveDevice()).thenReturn(mBluetoothDevice); in findActiveHearingAidDevice_leftActiveDevice_returnLeftDeviceAsActiveHapDevice() 346 mController.mConnectedDevices.add(mBluetoothDevice); in findActiveHearingAidDevice_rightActiveDevice_returnRightDeviceAsActiveHapDevice() 351 when(mHeadsetProfile.getActiveDevice()).thenReturn(mBluetoothDevice); in findActiveHearingAidDevice_rightActiveDevice_returnRightDeviceAsActiveHapDevice() 364 mController.mConnectedDevices.add(mBluetoothDevice); in findActiveHearingAidDevice_twoActiveDevice_returnActiveDeviceInConnectedDevices() 369 when(mHeadsetProfile.getActiveDevice()).thenReturn(mBluetoothDevice); in findActiveHearingAidDevice_twoActiveDevice_returnActiveDeviceInConnectedDevices() [all …]
|
D | MediaOutputPreferenceControllerTest.java | 150 private BluetoothDevice mBluetoothDevice; field in MediaOutputPreferenceControllerTest 213 mBluetoothDevice = spy(mBluetoothAdapter.getRemoteDevice(TEST_DEVICE_ADDRESS_1)); in setUp() 214 when(mBluetoothDevice.getName()).thenReturn(TEST_DEVICE_NAME_1); in setUp() 215 when(mBluetoothDevice.getAlias()).thenReturn(TEST_DEVICE_NAME_1); in setUp() 216 when(mBluetoothDevice.isConnected()).thenReturn(true); in setUp() 279 mProfileConnectedDevices.add(mBluetoothDevice); in updateState_withConnectedBtDevice_withoutActiveBtDevice_setDefaultSummary() 299 mProfileConnectedDevices.add(mBluetoothDevice); in updateState_withActiveBtDevice_setActivatedDeviceName() 302 when(mA2dpProfile.getActiveDevice()).thenReturn(mBluetoothDevice); in updateState_withActiveBtDevice_setActivatedDeviceName() 332 when(mCachedBluetoothDeviceL.getDevice()).thenReturn(mBluetoothDevice); in updateState_withActiveLeAudioDevice_setActivatedDeviceName() 334 when(mBluetoothDevice.getAlias()).thenReturn(TEST_LE_AUDIO_DEVICE_NAME_1); in updateState_withActiveLeAudioDevice_setActivatedDeviceName() [all …]
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/voicerecognition/ |
D | ConnectedDeviceVoiceRecognitionNotifierTest.java | 68 private BluetoothDevice mBluetoothDevice; field in ConnectedDeviceVoiceRecognitionNotifierTest 78 mBluetoothDevice = BluetoothAdapter.getDefaultAdapter().getRemoteDevice( in setUp() 99 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in testReceiveIntent_started_showToast() 114 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in testReceiveIntent_invalidExtra_noToast() 125 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in testReceiveIntent_noExtra_noToast() 136 intent.putExtra(BluetoothDevice.EXTRA_DEVICE, mBluetoothDevice); in testReceiveIntent_invalidIntent_noToast()
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | AudioRouteItem.java | 39 private CachedBluetoothDevice mBluetoothDevice; field in AudioRouteItem 48 mBluetoothDevice = bluetoothDevice; in AudioRouteItem() 72 return mBluetoothDevice; in getBluetoothDevice() 81 mBluetoothDevice = bluetoothDevice; in setBluetoothDevice()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/bluetooth/ |
D | MapMceTestFragment.java | 133 TextView mBluetoothDevice; field in MapMceTestFragment 160 mBluetoothDevice = (TextView) v.findViewById(R.id.bluetoothDevice); in onCreateView() 216 disconnectDevice(mBluetoothDevice.getText().toString()); in onCreateView() 319 mBluetoothDevice.getText().toString()); in sendMessage() 332 if (mBluetoothDevice == null) { in sendMessage() 372 mBluetoothDevice.setText(connectedDevices.get(0).getAddress()); in onServiceConnected() 393 mBluetoothDevice.setText(((BluetoothDevice) intent.getParcelableExtra( in onReceive() 397 mBluetoothDevice.setText("Disconnected"); in onReceive()
|
D | BluetoothDeviceTypeChecker.java | 41 BluetoothDevice mBluetoothDevice; field in BluetoothDeviceTypeChecker 84 mBluetoothDevice = device; in deviceContainsUuid() 130 if (mBluetoothDevice.equals(device)
|
/packages/services/Car/service/src/com/android/car/bluetooth/ |
D | BluetoothProfileInhibitManager.java | 104 private final BluetoothDevice mBluetoothDevice; field in BluetoothProfileInhibitManager.BluetoothConnection 130 mBluetoothDevice = device; in BluetoothConnection() 136 mBluetoothDevice = device; in BluetoothConnection() 140 return mBluetoothDevice; in getDevice() 156 return Objects.equals(mBluetoothDevice, otherParams.mBluetoothDevice) in equals() 162 return Objects.hash(mBluetoothDevice, mBluetoothProfile); in hashCode() 176 return mBluetoothDevice + "/" + mBluetoothProfile; in encode()
|