Home | History | Annotate | Download | only in provider

Lines Matching refs:Secure

43         Settings.Secure.putString(r, "test_service", "Value");
44 assertEquals("Value", Settings.Secure.getString(r, "test_service"));
47 Settings.Secure.putString(r, "test_service", "New");
48 assertEquals("New", Settings.Secure.getString(r, "test_service"));
51 assertEquals(1, r.delete(Settings.Secure.getUriFor("test_service"), null, null));
52 assertEquals(null, Settings.Secure.getString(r, "test_service"));
71 assertEquals("content://settings/secure/test_service",
72 Settings.Secure.getUriFor("test_service").toString());
75 Uri tables[] = { Settings.System.CONTENT_URI, Settings.Secure.CONTENT_URI };
131 assertEquals(null, Settings.Secure.getString(r, "test_key"));
149 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "gps");
150 Settings.Secure.putStringForUser(r,
151 Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "network", otherUser.id);
154 Settings.Secure.getString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED));
155 assertEquals("network", Settings.Secure.getStringForUser(
156 r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, otherUser.id));
160 Settings.Secure.setLocationProviderEnabledForUser(r, "network", false, otherUser.id);
161 assertEquals("", Settings.Secure.getStringForUser(
162 r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, otherUser.id));
198 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED,
200 assertEquals(Settings.Secure.getString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED),
204 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED,
206 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "+test1");
208 Settings.Secure.getString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED));
211 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "+test2");
213 Settings.Secure.getString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED));
216 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "+test3");
218 Settings.Secure.getString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED));
221 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "-test1");
223 Settings.Secure.getString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED));
226 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED,
228 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "-test2");
230 Settings.Secure.getString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED));
233 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED,
235 Settings.Secure.putString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED, "-test3");
237 Settings.Secure.getString(r, Settings.Secure.LOCATION_PROVIDERS_ALLOWED));