Searched refs:getNameResource (Results 1 – 8 of 8) sorted by relevance
99 when(profile1.getNameResource(mDevice)).thenReturn(R.string.bt_profile_name); in refreshUi_addsNewProfiles()107 when(profile2.getNameResource(mDevice)).thenReturn(R.string.bt_profile_name); in refreshUi_addsNewProfiles()121 when(profile1.getNameResource(mDevice)).thenReturn(R.string.bt_profile_name); in refreshUi_removesRemovedProfiles()123 when(profile2.getNameResource(mDevice)).thenReturn(R.string.bt_profile_name); in refreshUi_removesRemovedProfiles()144 when(profile.getNameResource(mDevice)).thenReturn(R.string.bt_profile_name); in refreshUi_profiles_showsPreference()164 when(profile.getNameResource(mDevice)).thenReturn(R.string.bt_profile_name); in profileChecked_setsProfilePreferred()179 when(profile.getNameResource(mDevice)).thenReturn(R.string.bt_profile_name); in profileChecked_connectsToProfile()194 when(profile.getNameResource(mDevice)).thenReturn(R.string.bt_profile_name); in profileUnchecked_setsProfileNotPreferred()210 when(profile.getNameResource(mDevice)).thenReturn(R.string.bt_profile_name); in profileUnchecked_disconnectsFromProfile()
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()
162 public int getNameResource(BluetoothDevice device) { in getNameResource() method in BluetoothDetailsProfilesControllerTest.FakeBluetoothProfile213 mContext.getString(mConnectableProfiles.get(i).getNameResource(mDevice)); in verifyProfileSwitchTitles()290 when(psp.getNameResource(mDevice)).thenReturn(R.string.bluetooth_profile_pbap); in pbapProfileStartsEnabled()313 when(psp.getNameResource(mDevice)).thenReturn(R.string.bluetooth_profile_pbap); in pbapProfileStartsDisabled()335 when(mapProfile.getNameResource(mDevice)).thenReturn(R.string.bluetooth_profile_map); in mapProfile()356 when(profile.getNameResource(mDevice)).thenReturn(R.string.bluetooth_profile_a2dp); in addMockA2dpProfile()
65 setNameResource(representation.getNameResource()); in useParametersFrom()97 public int getNameResource() { in getNameResource() method in FilterFxRepresentation
43 setTitle(profile.getNameResource(cachedDevice.getDevice())); in BluetoothDeviceProfilePreference()
95 pref.setTitle(profile.getNameResource(mCachedDevice.getDevice())); in createProfilePreference()
370 public int getNameResource(BluetoothDevice device) { in getNameResource() method in BluetoothBondedDevicesPreferenceControllerTest.TestLocalBluetoothProfile
426 ((FilterFxRepresentation) representation).getNameResource() == R.string.none; in isNoneFxFilter()