Home
last modified time | relevance | path

Searched refs:mAvailableHearingDeviceGroup (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/accessibility/
DHearingDevicePairingFragment.java87 private BluetoothProgressCategory mAvailableHearingDeviceGroup; field in HearingDevicePairingFragment
274 if (mAvailableHearingDeviceGroup != null) { in addDevice()
275 mAvailableHearingDeviceGroup.addPreference(preference); in addDevice()
288 if (mAvailableHearingDeviceGroup != null && preference != null) { in removeDevice()
289 mAvailableHearingDeviceGroup.removePreference(preference); in removeDevice()
372 if (mAvailableHearingDeviceGroup != null) { in startLeScanning()
373 mAvailableHearingDeviceGroup.setProgress(true); in startLeScanning()
388 if (mAvailableHearingDeviceGroup != null) { in stopLeScanning()
389 mAvailableHearingDeviceGroup.setProgress(false); in stopLeScanning()
396 if (mAvailableHearingDeviceGroup != null) { in removeAllDevices()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DHearingDevicePairingFragmentTest.java83 private BluetoothProgressCategory mAvailableHearingDeviceGroup; field in HearingDevicePairingFragmentTest
96 doReturn(mAvailableHearingDeviceGroup).when(mFragment).findPreference( in setUp()
130 verify(mAvailableHearingDeviceGroup).removePreference(mDevicePreference); in onDeviceDeleted_stateIsCorrect()
141 verify(mAvailableHearingDeviceGroup, never()).addPreference(mDevicePreference); in addDevice_bluetoothOff_doNothing()
153 verify(mAvailableHearingDeviceGroup).addPreference(mDevicePreference); in addDevice_addToAvailableHearingDeviceGroup()