Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
DLocationVerifier.java56 private final String mProvider; field in LocationVerifier
90 mCb.log("(ignored) active " + mProvider + " update (" + delta + "ms)"); in onLocationChanged()
94 fail("location coming from \"" + mProvider + in onLocationChanged()
100 mCb.log("active " + mProvider + " update (" + delta + "ms)"); in onLocationChanged()
103 assertMeanAndStdev(mProvider, mActiveDeltas, ACTIVE_MIN_MEAN_RATIO); in onLocationChanged()
160 if (!location.getProvider().equals(mProvider)) return; in onLocationChanged()
167 mCb.log("ignoring passive " + mProvider + " update"); in onLocationChanged()
177 mCb.log("(ignored) passive " + mProvider + " update (" + delta + "ms)"); in onLocationChanged()
181 fail("location coming from \"" + mProvider + in onLocationChanged()
187 mCb.log("passive " + mProvider + " update (" + delta + "ms)"); in onLocationChanged()
[all …]
/cts/tests/tests/provider/src/android/provider/cts/
DContactsTest.java53 private ContentProviderClient mProvider; field in ContactsTest
60 mProvider = mContentResolver.acquireContentProviderClient(ContactsContract.AUTHORITY); in setUp()
89 mProvider.delete(People.CONTENT_URI, PeopleColumns.NAME + " = ?", in testPeopleTable()
99 Uri uri = mProvider.insert(People.CONTENT_URI, value); in testPeopleTable()
100 Cursor cursor = mProvider.query(People.CONTENT_URI, in testPeopleTable()
122 mProvider.update(uri, value, null, null); in testPeopleTable()
123 cursor = mProvider.query(People.CONTENT_URI, PEOPLE_PROJECTION, in testPeopleTable()
137 mProvider.delete(uri, null, null); in testPeopleTable()
138 cursor = mProvider.query(People.CONTENT_URI, PEOPLE_PROJECTION, in testPeopleTable()
171 Uri uri = mProvider.insert(Groups.CONTENT_URI, value); in testGroupsTable()
[all …]
DContacts_PeopleTest.java45 private ContentProviderClient mProvider; field in Contacts_PeopleTest
69 mProvider = mContentResolver.acquireContentProviderClient(Contacts.AUTHORITY); in setUp()
81 mPeopleRowsAdded.add(mProvider.insert(People.CONTENT_URI, value)); in setUp()
86 mGroupRowsAdded.add(mProvider.insert(Groups.CONTENT_URI, value)); in setUp()
88 mGroupRowsAdded.add(mProvider.insert(Groups.CONTENT_URI, value)); in setUp()
95 mProvider.delete(row, null, null); in tearDown()
100 mProvider.delete(row, null, null); in tearDown()
105 mProvider.delete(row, null, null); in tearDown()
118 mProvider.insert(Groups.CONTENT_URI, testValues); in testAddToGroup()
121 cursor = mProvider.query(mPeopleRowsAdded.get(0), PEOPLE_PROJECTION, in testAddToGroup()
[all …]
DContactsContract_TestDataBuilder.java48 private ContentProviderClient mProvider; field in ContactsContract_TestDataBuilder
75 Cursor cursor = mProvider.query(mUri, IdQuery.COLUMNS, null, null, null, null); in getId()
130 mUri = mProvider.insert(getContentUri(), mValues); in insertDependent()
137 int count = mProvider.delete(getUri(), null, null); in delete()
145 int count = mProvider.delete(uri, null, null); in deletePermanently()
155 mCursor = mProvider.query(getUri(), null, null, null, null, null); in load()
187 mCursor = mProvider.query(getContentUri(), null, in loadUsingValues()
347 this.mProvider = provider; in ContactsContract_TestDataBuilder()
/cts/tests/tests/appwidget/src/android/appwidget/cts/provider/
DAppWidgetProviderCallbacks.java26 private AppWidgetProvider mProvider; field in AppWidgetProviderCallbacks
29 return mProvider; in getProvider()
33 mProvider = provider; in setProvider()
/cts/tests/tests/location2/src/android/location2/cts/
DLocationManagerTest.java381 private String mProvider; field in LocationManagerTest.MockLocationListener
404 mProvider = null; in reset()
480 mProvider = provider; in onStatusChanged()
489 return mProvider; in getProvider()
/cts/tests/tests/location/src/android/location/cts/
DLocationManagerTest.java1260 private String mProvider; field in LocationManagerTest.MockLocationListener
1283 mProvider = null; in reset()
1355 mProvider = provider; in onStatusChanged()
1364 return mProvider; in getProvider()