Lines Matching refs:preferences
677 // Migrates data from old data store (in Settings app's shared preferences) to new (in Bluetooth
678 // app's shared preferences).
680 SharedPreferences preferences = mContext.getSharedPreferences(
682 if (!preferences.contains(mDevice.getAddress())) {
687 int oldPermission = preferences.getInt(mDevice.getAddress(), ACCESS_UNKNOWN);
695 SharedPreferences.Editor editor = preferences.edit();
720 // Migrates data from old data store (in Settings app's shared preferences) to new (in Bluetooth
721 // app's shared preferences).
723 SharedPreferences preferences = mContext.getSharedPreferences(
725 if (!preferences.contains(mDevice.getAddress())) {
730 int oldPermission = preferences.getInt(mDevice.getAddress(), ACCESS_UNKNOWN);
738 SharedPreferences.Editor editor = preferences.edit();