HomeSort by relevance Sort by last modified time
    Searched refs:profilePref (Results 1 - 2 of 2) sorted by null

  /packages/apps/Settings/src/com/android/settings/bluetooth/
BluetoothDetailsProfilesController.java 95 private void refreshProfilePreference(SwitchPreference profilePref,
98 profilePref.setEnabled(!mCachedDevice.isBusy());
100 profilePref.setChecked(mCachedDevice.getMessagePermissionChoice()
103 profilePref.setChecked(mCachedDevice.getPhonebookPermissionChoice()
106 profilePref.setChecked(profile.getConnectionStatus(device) ==
109 profilePref.setChecked(profile.isPreferred(device));
133 SwitchPreference profilePref) {
150 SwitchPreference profilePref) {
179 SwitchPreference profilePref = (SwitchPreference) preference;
181 if (profilePref.isChecked())
    [all...]
DeviceProfilesSettings.java 251 private void onProfileClicked(LocalBluetoothProfile profile, CheckBox profilePref) {
254 if (KEY_PBAP_SERVER.equals(profilePref.getTag())) {
259 profilePref.setChecked(newPermission == CachedBluetoothDevice.ACCESS_ALLOWED);
263 if (!profilePref.isChecked()) {
265 profilePref.setChecked(true);
282 refreshProfilePreference(profilePref, profile);
333 CheckBox profilePref = findProfile(profile.toString());
334 if (profilePref == null) {
335 profilePref = createProfilePreference(profile);
336 mProfileContainer.addView(profilePref);
    [all...]

Completed in 816 milliseconds