Home
last modified time | relevance | path

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

/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/tests/net/java/com/android/server/connectivity/
DDnsManagerTest.java45 import com.android.internal.util.test.FakeSettingsProvider;
84 new FakeSettingsProvider()); in setUp()
DMultipathPolicyTrackerTest.java65 import com.android.internal.util.test.FakeSettingsProvider;
138 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
DTetheringTest.java111 import com.android.internal.util.test.FakeSettingsProvider;
361 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/tethering/
DTetheringConfigurationTest.java46 import com.android.internal.util.test.FakeSettingsProvider;
120 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
DOffloadControllerTest.java65 import com.android.internal.util.test.FakeSettingsProvider;
111 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
113 FakeSettingsProvider.clearSettingsProvider(); in setUp()
117 FakeSettingsProvider.clearSettingsProvider(); in tearDown()
DEntitlementManagerTest.java59 import com.android.internal.util.test.FakeSettingsProvider;
161 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyPermissionsTest.java43 import com.android.internal.util.test.FakeSettingsProvider;
359 public static class FakeSettingsConfigProvider extends FakeSettingsProvider {
/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/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/base/services/tests/servicestests/src/com/android/server/display/color/
DColorDisplayServiceTest.java41 import com.android.internal.util.test.FakeSettingsProvider;
90 cr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
/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.java194 import com.android.internal.util.test.FakeSettingsProvider;
1298 FakeSettingsProvider.clearSettingsProvider(); in setUp()
1300 new FakeSettingsProvider()); in setUp()
1346 FakeSettingsProvider.clearSettingsProvider(); in tearDown()