Searched refs:ScopedPreferences (Results 1 – 9 of 9) sorted by relevance
35 import com.android.documentsui.prefs.ScopedPreferences;53 public final ScopedPreferences prefs;86 ScopedPreferences prefs, in Injector()99 ScopedPreferences prefs, in Injector()
30 import com.android.documentsui.prefs.ScopedPreferences;43 private final ScopedPreferences mPrefs;46 public ShortcutsUpdater(Context context, ScopedPreferences prefs) { in ShortcutsUpdater()
68 import com.android.documentsui.prefs.ScopedPreferences;287 case ScopedPreferences.INCLUDE_DEVICE_ROOT: in onPreferenceChanged()
31 public interface ScopedPreferences { interface43 public static ScopedPreferences create(Context context, String scope) { in create()48 static final class RuntimeScopedPreferences implements ScopedPreferences {
22 return LocalPreferences.shouldBackup(s) || ScopedPreferences.shouldBackup(s); in shouldBackup()
56 import com.android.documentsui.prefs.ScopedPreferences;90 ScopedPreferences prefs = ScopedPreferences.create(this, PREFERENCES_SCOPE); in onCreate()95 ScopedPreferences.create(this, PREFERENCES_SCOPE), in onCreate()
19 import com.android.documentsui.prefs.ScopedPreferences;24 public class TestScopedPreferences implements ScopedPreferences {
57 mPrefs.edit().putBoolean(ScopedPreferences.INCLUDE_DEVICE_ROOT, true).apply(); in testReportsChangesToListener()60 mConsumer.assertLastArgument(ScopedPreferences.INCLUDE_DEVICE_ROOT); in testReportsChangesToListener()
59 import com.android.documentsui.prefs.ScopedPreferences;89 ScopedPreferences prefs = ScopedPreferences.create(this, PREFERENCES_SCOPE); in onCreate()