Searched refs:profilePref (Results 1 – 2 of 2) sorted by relevance
251 private void onProfileClicked(LocalBluetoothProfile profile, CheckBox profilePref) { in onProfileClicked() argument254 if (KEY_PBAP_SERVER.equals(profilePref.getTag())) { in onProfileClicked()259 profilePref.setChecked(newPermission == CachedBluetoothDevice.ACCESS_ALLOWED); in onProfileClicked()263 if (!profilePref.isChecked()) { in onProfileClicked()265 profilePref.setChecked(true); in onProfileClicked()282 refreshProfilePreference(profilePref, profile); in onProfileClicked()333 CheckBox profilePref = findProfile(profile.toString()); in refreshProfiles() local334 if (profilePref == null) { in refreshProfiles()335 profilePref = createProfilePreference(profile); in refreshProfiles()336 mProfileContainer.addView(profilePref); in refreshProfiles()[all …]
95 private void refreshProfilePreference(SwitchPreference profilePref, in refreshProfilePreference() argument98 profilePref.setEnabled(!mCachedDevice.isBusy()); in refreshProfilePreference()100 profilePref.setChecked(mCachedDevice.getMessagePermissionChoice() in refreshProfilePreference()103 profilePref.setChecked(mCachedDevice.getPhonebookPermissionChoice() in refreshProfilePreference()106 profilePref.setChecked(profile.getConnectionStatus(device) == in refreshProfilePreference()109 profilePref.setChecked(profile.isPreferred(device)); in refreshProfilePreference()133 SwitchPreference profilePref) { in enableProfile() argument150 SwitchPreference profilePref) { in disableProfile() argument179 SwitchPreference profilePref = (SwitchPreference) preference; in onPreferenceClick() local181 if (profilePref.isChecked()) { in onPreferenceClick()[all …]