Home
last modified time | relevance | path

Searched refs:BuglePrefs (Results 1 – 24 of 24) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/util/
DBugleSubscriptionPrefs.java52 case BuglePrefs.NO_SHARED_PREFERENCES_VERSION: in onUpgrade()
55 migratePrefBooleanInternal(BuglePrefs.getApplicationPrefs(), "delivery_reports", in onUpgrade()
57 migratePrefBooleanInternal(BuglePrefs.getApplicationPrefs(), "auto_retrieve_mms", in onUpgrade()
59 migratePrefBooleanInternal(BuglePrefs.getApplicationPrefs(), in onUpgrade()
63 migratePrefBooleanInternal(BuglePrefs.getApplicationPrefs(), "group_messaging", in onUpgrade()
67 migratePrefStringInternal(BuglePrefs.getApplicationPrefs(), "mms_phone_number", in onUpgrade()
73 private void migratePrefBooleanInternal(final BuglePrefs oldPrefs, final String oldKey, in migratePrefBooleanInternal()
85 private void migratePrefStringInternal(final BuglePrefs oldPrefs, final String oldKey, in migratePrefStringInternal()
DBuglePrefs.java24 public abstract class BuglePrefs { class
59 public static BuglePrefs getApplicationPrefs() { in getApplicationPrefs()
66 public static BuglePrefs getSubscriptionPrefs(final int subId) { in getSubscriptionPrefs()
DBuglePrefsKeys.java33 BuglePrefs.NO_SHARED_PREFERENCES_VERSION;
69 = BuglePrefs.SHARED_PREFERENCES_PER_SUBSCRIPTION_PREFIX + "process_pending_retry";
DRingtoneUtil.java36 final BuglePrefs prefs = BuglePrefs.getApplicationPrefs(); in getNotificationRingtoneUri()
DDebugUtils.java141 final BuglePrefs prefs = BuglePrefs.getApplicationPrefs(); in showDebugOptions()
DPhoneUtils.java1002 final BuglePrefs prefs = BuglePrefs.getSubscriptionPrefs(subId); in getNumberFromPrefs()
DBuglePrefsImpl.java26 public abstract class BuglePrefsImpl extends BuglePrefs {
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DSyncManager.java32 import com.android.messaging.util.BuglePrefs;
229 final BuglePrefs prefs = BuglePrefs.getApplicationPrefs(); in delayUntilFullSync()
266 final BuglePrefs prefs = BuglePrefs.getApplicationPrefs(); in getHasFirstSyncCompleted()
342 final BuglePrefs prefs = BuglePrefs.getApplicationPrefs(); in resetLastSyncTimestamps()
DBugleNotifications.java70 import com.android.messaging.util.BuglePrefs;
304 final BuglePrefs prefs = BuglePrefs.getApplicationPrefs(); in shouldNotify()
324 final BuglePrefs prefs = BuglePrefs.getApplicationPrefs(); in shouldVibrate()
643 final BuglePrefs prefs = Factory.get().getApplicationPrefs(); in updateBuilderAudioVibrate()
1158 final String groupChildIdsText = BuglePrefs.getApplicationPrefs().getString(prefKey, ""); in getGroupChildIds()
1176 BuglePrefs.getApplicationPrefs().putString(prefKey, childIds.getDelimitedString()); in writeGroupChildIds()
/packages/apps/Messaging/src/com/android/messaging/
DFactory.java30 import com.android.messaging.util.BuglePrefs;
60 public abstract BuglePrefs getApplicationPrefs(); in getApplicationPrefs()
61 public abstract BuglePrefs getSubscriptionPrefs(int subId); in getSubscriptionPrefs()
62 public abstract BuglePrefs getWidgetPrefs(); in getWidgetPrefs()
DFactoryImpl.java39 import com.android.messaging.util.BuglePrefs;
149 public BuglePrefs getApplicationPrefs() { in getApplicationPrefs()
154 public BuglePrefs getWidgetPrefs() { in getWidgetPrefs()
159 public BuglePrefs getSubscriptionPrefs(int subId) { in getSubscriptionPrefs()
DBugleApplication.java40 import com.android.messaging.util.BuglePrefs;
105 final BuglePrefs buglePrefs = factory.getApplicationPrefs(); in initializeSync()
/packages/apps/Messaging/src/com/android/messaging/ui/
DWidgetPickConversationActivity.java28 import com.android.messaging.util.BuglePrefs;
98 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in saveConversationidPref()
104 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in getConversationIdPref()
110 final BuglePrefs prefs = Factory.get().getWidgetPrefs(); in deleteConversationIdPref()
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeFactory.java36 import com.android.messaging.util.BuglePrefs;
56 private BuglePrefs mBuglePrefs;
179 public BuglePrefs getApplicationPrefs() { in getApplicationPrefs()
184 public BuglePrefs getWidgetPrefs() { in getWidgetPrefs()
189 public BuglePrefs getSubscriptionPrefs(final int subId) { in getSubscriptionPrefs()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncMessagesAction.java45 import com.android.messaging.util.BuglePrefs;
124 final BuglePrefs prefs = BuglePrefs.getApplicationPrefs(); in sync()
376 final BuglePrefs prefs = BuglePrefs.getApplicationPrefs(); in processBackgroundResponse()
456 final BuglePrefs prefs = BuglePrefs.getApplicationPrefs(); in processBackgroundResponse()
DProcessPendingMessagesAction.java37 import com.android.messaging.util.BuglePrefs;
198 final BuglePrefs prefs = Factory.get().getSubscriptionPrefs(subId); in setRetry()
203 final BuglePrefs prefs = Factory.get().getSubscriptionPrefs(subId); in getNextRetry()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DEnterSelfPhoneNumberDialog.java30 import com.android.messaging.util.BuglePrefs;
85 final BuglePrefs subPrefs = BuglePrefs.getSubscriptionPrefs(mSubId); in savePhoneNumberInPrefs()
DComposeMessageView.java66 import com.android.messaging.util.BuglePrefs;
460 final BuglePrefs prefs = BuglePrefs.getApplicationPrefs(); in playSentSound()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DPerSubscriptionSettingsActivity.java47 import com.android.messaging.util.BuglePrefs;
103 final BuglePrefs subPrefs = Factory.get().getSubscriptionPrefs(mSubId); in onCreate()
235 final BuglePrefs subPrefs = BuglePrefs.getSubscriptionPrefs(mSubId); in onSharedPreferenceChanged()
DGroupMmsSettingDialog.java27 import com.android.messaging.util.BuglePrefs;
60 BuglePrefs.getSubscriptionPrefs(mSubId).putBoolean( in changeGroupMmsSettings()
85 final boolean mmsEnabled = BuglePrefs.getSubscriptionPrefs(mSubId).getBoolean( in createView()
DApplicationSettingsActivity.java42 import com.android.messaging.util.BuglePrefs;
109 getPreferenceManager().setSharedPreferencesName(BuglePrefs.SHARED_PREFERENCES_NAME); in onCreate()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMediaPickerData.java31 import com.android.messaging.util.BuglePrefs;
161 return BuglePrefs.getApplicationPrefs().getInt( in getSelectedChooserIndex()
171 BuglePrefs.getApplicationPrefs().putInt(BuglePrefsKeys.SELECTED_MEDIA_PICKER_CHOOSER_INDEX, in saveSelectedChooserIndex()
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsUtils.java71 import com.android.messaging.util.BuglePrefs;
647 final BuglePrefs prefs = BuglePrefs.getSubscriptionPrefs(subId); in groupMmsEnabled()
1120 final BuglePrefs prefs = BuglePrefs.getSubscriptionPrefs(subId); in allowMmsAutoRetrieve()
1582 final BuglePrefs prefs = BuglePrefs.getApplicationPrefs(); in getDumpSmsOrMmsPref()
2454 final BuglePrefs prefs = BuglePrefs.getSubscriptionPrefs(subId);
/packages/apps/Messaging/tests/src/com/android/messaging/util/
DFakeBuglePrefs.java23 public class FakeBuglePrefs extends BuglePrefs {