Searched refs:getNameResource (Results 1 – 8 of 8) sorted by relevance
139 when(profile1.getNameResource(mBondedDevice)).thenReturn(R.string.bt_profile_name); in refreshUi_addsNewProfiles()147 when(profile2.getNameResource(mBondedDevice)).thenReturn(R.string.bt_profile_name); in refreshUi_addsNewProfiles()161 when(profile1.getNameResource(mBondedDevice)).thenReturn(R.string.bt_profile_name); in refreshUi_removesRemovedProfiles()163 when(profile2.getNameResource(mBondedDevice)).thenReturn(R.string.bt_profile_name); in refreshUi_removesRemovedProfiles()185 when(profile.getNameResource(mBondedDevice)).thenReturn(R.string.bt_profile_name); in refreshUi_profiles_showsPreference()205 when(profile.getNameResource(mBondedDevice)).thenReturn(R.string.bt_profile_name); in profileChecked_setsProfilePreferred()222 when(profile.getNameResource(mBondedDevice)).thenReturn(R.string.bt_profile_name); in profileChecked_connectsToProfile()239 when(profile.getNameResource(mBondedDevice)).thenReturn(R.string.bt_profile_name); in profileUnchecked_setsProfileNotPreferred()257 when(profile.getNameResource(mBondedDevice)).thenReturn(R.string.bt_profile_name); in profileUnchecked_disconnectsFromProfile()278 when(profile.getNameResource(mBondedDevice)).thenReturn(R.string.bt_profile_name); in profileDisabled_showsDialog()
191 public int getNameResource(BluetoothDevice device) { in getNameResource() method in BluetoothDetailsProfilesControllerTest.FakeBluetoothProfile243 mContext.getString(mConnectableProfiles.get(i).getNameResource(mDevice)); in verifyProfileSwitchTitles()320 when(psp.getNameResource(mDevice)) in pbapProfileStartsEnabled()347 when(psp.getNameResource(mDevice)) in pbapProfileStartsDisabled()373 when(mapProfile.getNameResource(mDevice)) in mapProfile()396 when(profile.getNameResource(mDevice)) in addMockA2dpProfile()526 when(leAudioProfile.getNameResource(mDevice)) in prefKeyInBlockingList_hideToggle()547 when(leAudioProfile.getNameResource(mDevice)) in prefKeyNotInBlockingList_showToggle()568 when(leAudioProfile.getNameResource(mDevice)) in classicAudioDeviceWithLeAudio_showLeAudioToggle()592 when(leAudioProfile.getNameResource(mDevice)) in leAudioOnlyDevice_hideLeAudioToggle()
65 setNameResource(representation.getNameResource()); in useParametersFrom()97 public int getNameResource() { in getNameResource() method in FilterFxRepresentation
65 when(mProfile.getNameResource(mDevice)).thenReturn(R.string.bt_profile_name); in setUp()127 when(mProfile.getNameResource(mDevice)).thenReturn(R.string.bt_profile_name); in onAttached_panProfile_connected_setsChecked()140 when(mProfile.getNameResource(mDevice)).thenReturn(R.string.bt_profile_name); in onAttached_panProfile_notConnected_setsUnchecked()
45 setTitle(profile.getNameResource(cachedDevice.getDevice())); in BluetoothDeviceProfilePreference()
155 public int getNameResource(BluetoothDevice device) { in getNameResource() method in BluetoothTestUtils.TestLocalBluetoothProfile
425 ((FilterFxRepresentation) representation).getNameResource() == R.string.none; in isNoneFxFilter()
133 pref.setTitle(profile.getNameResource(mCachedDevice.getDevice())); in createProfilePreference()