Home
last modified time | relevance | path

Searched refs:getNameResource (Results 1 – 7 of 7) 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.java170 public int getNameResource(BluetoothDevice device) { in getNameResource() method in BluetoothDetailsProfilesControllerTest.FakeBluetoothProfile
218 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()
/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.java44 setTitle(profile.getNameResource(cachedDevice.getDevice())); in BluetoothDeviceProfilePreference()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesController.java89 pref.setTitle(profile.getNameResource(mCachedDevice.getDevice())); in createProfilePreference()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DImagePreset.java426 ((FilterFxRepresentation) representation).getNameResource() == R.string.none; in isNoneFxFilter()