/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/ |
D | FakeSettingsProviderRule.java | 59 contentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in mockContentResolver() 67 FakeSettingsProvider.clearSettingsProvider(); in apply() 71 FakeSettingsProvider.clearSettingsProvider(); in apply()
|
D | FakeSettingsProvider.java | 67 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/ |
D | PreRebootLoggerTest.java | 35 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()
|
D | PowerManagerServiceTest.java | 79 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/ |
D | StorageStatsServiceTest.java | 25 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/ |
D | CoreSettingsObserverTest.java | 38 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/ |
D | LockPatternUtilsTest.java | 39 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/ |
D | AccessibilityUserStateTest.java | 55 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/ |
D | FakeSettingsProviderTest.java | 43 mCr.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/ |
D | MagnificationControllerTest.java | 55 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()
|
D | WindowMagnificationManagerTest.java | 53 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/ |
D | EmergencyAffordanceServiceTest.java | 41 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/ |
D | AccessibilityShortcutControllerTest.java | 76 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/ |
D | DisplayRotationTests.java | 63 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/ |
D | VibrationScalerTest.java | 46 import com.android.internal.util.test.FakeSettingsProvider; 68 @Rule public FakeSettingsProviderRule mSettingsProviderRule = FakeSettingsProvider.rule();
|
D | VibratorControllerTest.java | 53 import com.android.internal.util.test.FakeSettingsProvider; 76 @Rule public FakeSettingsProviderRule mSettingsProviderRule = FakeSettingsProvider.rule();
|
D | VibrationSettingsTest.java | 51 import com.android.internal.util.test.FakeSettingsProvider; 79 @Rule public FakeSettingsProviderRule mSettingsProviderRule = FakeSettingsProvider.rule();
|
D | VibratorManagerServiceTest.java | 81 import com.android.internal.util.test.FakeSettingsProvider; 130 @Rule public FakeSettingsProviderRule mSettingsProviderRule = FakeSettingsProvider.rule();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | DiskStatsLoggingServiceTest.java | 47 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/ |
D | HighBrightnessModeControllerTest.java | 48 import com.android.internal.util.test.FakeSettingsProvider; 91 public FakeSettingsProviderRule mSettingsProviderRule = FakeSettingsProvider.rule();
|
D | DisplayModeDirectorTest.java | 72 import com.android.internal.util.test.FakeSettingsProvider; 112 public FakeSettingsProviderRule mSettingsProviderRule = FakeSettingsProvider.rule();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/color/ |
D | ColorDisplayServiceTest.java | 48 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/ |
D | MockSystemServices.java | 70 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/ |
D | TelephonyPermissionsTest.java | 48 import com.android.internal.util.test.FakeSettingsProvider; 536 public static class FakeSettingsConfigProvider extends FakeSettingsProvider {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | GestureLauncherServiceTest.java | 51 import com.android.internal.util.test.FakeSettingsProvider; 112 mContentResolver.addProvider(Settings.AUTHORITY, new FakeSettingsProvider()); in setup()
|