Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DPreRebootLoggerTest.java32 import com.android.internal.util.test.FakeSettingsProvider;
58 FakeSettingsProvider.clearSettingsProvider(); in setupOnce()
63 FakeSettingsProvider.clearSettingsProvider(); in tearDownOnce()
71 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setup()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
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/am/
DCoreSettingsObserverTest.java36 import com.android.internal.util.test.FakeSettingsProvider;
72 FakeSettingsProvider.clearSettingsProvider(); in setupOnce()
80 FakeSettingsProvider.clearSettingsProvider(); in tearDownOnce()
90 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/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/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/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/emergency/
DEmergencyAffordanceServiceTest.java41 import com.android.internal.util.test.FakeSettingsProvider;
126 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/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/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java61 import com.android.internal.util.test.FakeSettingsProvider;
103 private FakeSettingsProvider mFakeSettingsProvider;
125 FakeSettingsProvider.clearSettingsProvider(); in setUp()
812 mFakeSettingsProvider = new FakeSettingsProvider(); in build()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DMultipathPolicyTrackerTest.java66 import com.android.internal.util.test.FakeSettingsProvider;
139 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
DDnsManagerTest.java63 import com.android.internal.util.test.FakeSettingsProvider;
138 new FakeSettingsProvider()); in setUp()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java77 import com.android.internal.util.test.FakeSettingsProvider;
134 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
136 FakeSettingsProvider.clearSettingsProvider(); in setUp()
141 FakeSettingsProvider.clearSettingsProvider(); in tearDown()
DTetheringTest.java145 import com.android.internal.util.test.FakeSettingsProvider;
500 FakeSettingsProvider.clearSettingsProvider(); in setupOnce()
505 FakeSettingsProvider.clearSettingsProvider(); in tearDownOnce()
530 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java64 import com.android.internal.util.test.FakeSettingsProvider;
172 contentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in MockSystemServices()
/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/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java72 import com.android.internal.util.test.FakeSettingsProvider;
138 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyPermissionsTest.java47 import com.android.internal.util.test.FakeSettingsProvider;
574 public static class FakeSettingsConfigProvider extends FakeSettingsProvider {
/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java46 import com.android.internal.util.test.FakeSettingsProvider;
105 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setup()
/frameworks/base/tests/net/java/com/android/server/
DConnectivityServiceTest.java231 import com.android.internal.util.test.FakeSettingsProvider;
1218 FakeSettingsProvider.clearSettingsProvider(); in setUp()
1220 new FakeSettingsProvider()); in setUp()
1326 FakeSettingsProvider.clearSettingsProvider(); in tearDown()