Home
last modified time | relevance | path

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

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothDeviceProfilesPreferenceControllerTest.java99 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()
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/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesControllerTest.java162 public int getNameResource(BluetoothDevice device) { in getNameResource() method in BluetoothDetailsProfilesControllerTest.FakeBluetoothProfile
213 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()
/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/src/com/android/car/settings/bluetooth/
DBluetoothDeviceProfilePreference.java43 setTitle(profile.getNameResource(cachedDevice.getDevice())); in BluetoothDeviceProfilePreference()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesController.java95 pref.setTitle(profile.getNameResource(mCachedDevice.getDevice())); in createProfilePreference()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceControllerTest.java370 public int getNameResource(BluetoothDevice device) { in getNameResource() method in BluetoothBondedDevicesPreferenceControllerTest.TestLocalBluetoothProfile
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DImagePreset.java426 ((FilterFxRepresentation) representation).getNameResource() == R.string.none; in isNoneFxFilter()