Home
last modified time | relevance | path

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

/frameworks/base/tests/testables/src/android/testing/
DTestableSettingsProvider.java40 private static final String MY_UNIQUE_KEY = "Key_" + TestableSettingsProvider.class.getName(); field in TestableSettingsProvider
58 Settings.Global.putString(context.getContentResolver(), MY_UNIQUE_KEY, MY_UNIQUE_KEY); in clearValuesAndCheck() local
59 Settings.Secure.putString(context.getContentResolver(), MY_UNIQUE_KEY, MY_UNIQUE_KEY); in clearValuesAndCheck() local
60 Settings.System.putString(context.getContentResolver(), MY_UNIQUE_KEY, MY_UNIQUE_KEY); in clearValuesAndCheck() local
63 assertEquals("Incorrect settings provider, test using incorrect Context?", MY_UNIQUE_KEY, in clearValuesAndCheck()
64 Settings.Global.getString(context.getContentResolver(), MY_UNIQUE_KEY)); in clearValuesAndCheck()
65 assertEquals("Incorrect settings provider, test using incorrect Context?", MY_UNIQUE_KEY, in clearValuesAndCheck()
66 Settings.Secure.getString(context.getContentResolver(), MY_UNIQUE_KEY)); in clearValuesAndCheck()
67 assertEquals("Incorrect settings provider, test using incorrect Context?", MY_UNIQUE_KEY, in clearValuesAndCheck()
68 Settings.System.getString(context.getContentResolver(), MY_UNIQUE_KEY)); in clearValuesAndCheck()