Searched refs:getNameResource (Results 1 – 7 of 7) 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()
170 public int getNameResource(BluetoothDevice device) { in getNameResource() method in BluetoothDetailsProfilesControllerTest.FakeBluetoothProfile218 mContext.getString(mConnectableProfiles.get(i).getNameResource(mDevice)); in verifyProfileSwitchTitles()295 when(psp.getNameResource(mDevice)).thenReturn(R.string.bluetooth_profile_pbap); in pbapProfileStartsEnabled()318 when(psp.getNameResource(mDevice)).thenReturn(R.string.bluetooth_profile_pbap); in pbapProfileStartsDisabled()340 when(mapProfile.getNameResource(mDevice)).thenReturn(R.string.bluetooth_profile_map); in mapProfile()361 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
44 setTitle(profile.getNameResource(cachedDevice.getDevice())); in BluetoothDeviceProfilePreference()
89 pref.setTitle(profile.getNameResource(mCachedDevice.getDevice())); in createProfilePreference()
426 ((FilterFxRepresentation) representation).getNameResource() == R.string.none; in isNoneFxFilter()