Home
last modified time | relevance | path

Searched refs:getNameResource (Results 1 – 8 of 8) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothDeviceProfilesPreferenceControllerTest.java139 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesControllerTest.java191 public int getNameResource(BluetoothDevice device) { in getNameResource() method in BluetoothDetailsProfilesControllerTest.FakeBluetoothProfile
243 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()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterFxRepresentation.java65 setNameResource(representation.getNameResource()); in useParametersFrom()
97 public int getNameResource() { in getNameResource() method in FilterFxRepresentation
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothDeviceProfilePreferenceTest.java65 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()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothDeviceProfilePreference.java45 setTitle(profile.getNameResource(cachedDevice.getDevice())); in BluetoothDeviceProfilePreference()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DBluetoothTestUtils.java155 public int getNameResource(BluetoothDevice device) { in getNameResource() method in BluetoothTestUtils.TestLocalBluetoothProfile
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DImagePreset.java425 ((FilterFxRepresentation) representation).getNameResource() == R.string.none; in isNoneFxFilter()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesController.java133 pref.setTitle(profile.getNameResource(mCachedDevice.getDevice())); in createProfilePreference()