Home
last modified time | relevance | path

Searched refs:FakeSettingsProvider (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DFakeSettingsProviderRule.java59 contentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in mockContentResolver()
67 FakeSettingsProvider.clearSettingsProvider(); in apply()
71 FakeSettingsProvider.clearSettingsProvider(); in apply()
DFakeSettingsProvider.java67 public class FakeSettingsProvider extends MockContentProvider { class
69 private static final String TAG = FakeSettingsProvider.class.getSimpleName();
75 public FakeSettingsProvider() { in FakeSettingsProvider() method in FakeSettingsProvider
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPreRebootLoggerTest.java35 import com.android.internal.util.test.FakeSettingsProvider;
68 FakeSettingsProvider.clearSettingsProvider(); in setupOnce()
73 FakeSettingsProvider.clearSettingsProvider(); in tearDownOnce()
80 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in enableAdbConfig()
DPowerManagerServiceTest.java79 import com.android.internal.util.test.FakeSettingsProvider;
174 FakeSettingsProvider.clearSettingsProvider(); in setUp()
203 cr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
296 FakeSettingsProvider.clearSettingsProvider(); in tearDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DStorageStatsServiceTest.java25 import com.android.internal.util.test.FakeSettingsProvider;
37 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DCoreSettingsObserverTest.java38 import com.android.internal.util.test.FakeSettingsProvider;
78 FakeSettingsProvider.clearSettingsProvider(); in setupOnce()
86 FakeSettingsProvider.clearSettingsProvider(); in tearDownOnce()
96 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DLockPatternUtilsTest.java39 import com.android.internal.util.test.FakeSettingsProvider;
60 cr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in configureTest()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityUserStateTest.java55 import com.android.internal.util.test.FakeSettingsProvider;
106 FakeSettingsProvider.clearSettingsProvider(); in setUp()
108 mMockResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
123 FakeSettingsProvider.clearSettingsProvider(); in tearDown()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/test/
DFakeSettingsProviderTest.java43 mCr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationControllerTest.java55 import com.android.internal.util.test.FakeSettingsProvider;
106 FakeSettingsProvider.clearSettingsProvider(); in setUp()
108 mMockResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
129 FakeSettingsProvider.clearSettingsProvider(); in tearDown()
DWindowMagnificationManagerTest.java53 import com.android.internal.util.test.FakeSettingsProvider;
101 mResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/
DEmergencyAffordanceServiceTest.java41 import com.android.internal.util.test.FakeSettingsProvider;
126 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java76 import com.android.internal.util.test.FakeSettingsProvider;
143 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
144 FakeSettingsProvider.clearSettingsProvider(); in setUp()
210 FakeSettingsProvider.clearSettingsProvider(); in cleanUpSettingsProvider()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java63 import com.android.internal.util.test.FakeSettingsProvider;
106 private FakeSettingsProvider mFakeSettingsProvider;
129 FakeSettingsProvider.clearSettingsProvider(); in tearDownOnce()
134 FakeSettingsProvider.clearSettingsProvider(); in setUp()
890 mFakeSettingsProvider = new FakeSettingsProvider(); in build()
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibrationScalerTest.java46 import com.android.internal.util.test.FakeSettingsProvider;
68 @Rule public FakeSettingsProviderRule mSettingsProviderRule = FakeSettingsProvider.rule();
DVibratorControllerTest.java53 import com.android.internal.util.test.FakeSettingsProvider;
76 @Rule public FakeSettingsProviderRule mSettingsProviderRule = FakeSettingsProvider.rule();
DVibrationSettingsTest.java51 import com.android.internal.util.test.FakeSettingsProvider;
79 @Rule public FakeSettingsProviderRule mSettingsProviderRule = FakeSettingsProvider.rule();
DVibratorManagerServiceTest.java81 import com.android.internal.util.test.FakeSettingsProvider;
130 @Rule public FakeSettingsProviderRule mSettingsProviderRule = FakeSettingsProvider.rule();
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsLoggingServiceTest.java47 import com.android.internal.util.test.FakeSettingsProvider;
192 cr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in testDontCrashOnRun()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DHighBrightnessModeControllerTest.java48 import com.android.internal.util.test.FakeSettingsProvider;
91 public FakeSettingsProviderRule mSettingsProviderRule = FakeSettingsProvider.rule();
DDisplayModeDirectorTest.java72 import com.android.internal.util.test.FakeSettingsProvider;
112 public FakeSettingsProviderRule mSettingsProviderRule = FakeSettingsProvider.rule();
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/
DColorDisplayServiceTest.java48 import com.android.internal.util.test.FakeSettingsProvider;
102 cr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
128 FakeSettingsProvider.clearSettingsProvider(); in tearDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java70 import com.android.internal.util.test.FakeSettingsProvider;
199 contentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in MockSystemServices()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyPermissionsTest.java48 import com.android.internal.util.test.FakeSettingsProvider;
536 public static class FakeSettingsConfigProvider extends FakeSettingsProvider {
/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java51 import com.android.internal.util.test.FakeSettingsProvider;
112 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setup()