Home
last modified time | relevance | path

Searched refs:selectionArgs (Results 1 – 25 of 63) sorted by relevance

123

/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DApnDatabaseTest.java135 String[] selectionArgs = { NUMERIC }; in testValidCase() local
139 + "\ntestInsertCarriers selectionArgs: " + Arrays.toString(selectionArgs)); in testValidCase()
141 uri, apnProjection, selection, selectionArgs, null); in testValidCase()
159 selectionArgs); in testValidCase()
163 cursor = mContentResolver.query(uri, apnProjection, selection, selectionArgs, null); in testValidCase()
174 + "testInsertCarriers selectionArgs: " + Arrays.toString(selectionArgs)); in testValidCase()
180 cursor = mContentResolver.query(uri, apnProjection, selection, selectionArgs, null); in testValidCase()
217 String[] selectionArgs = { invalidColumn }; in testQueryConflictCase() local
220 + "\ntestInsertCarriers selectionArgs: " + Arrays.toString(selectionArgs)); in testQueryConflictCase()
222 uri, testProjection, selection, selectionArgs, null); in testQueryConflictCase()
[all …]
/cts/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/provider/
DUriHelper.java145 String[] buildSelectionArgs(@Nullable String[] selectionArgs) { in buildSelectionArgs() argument
147 return selectionArgs; in buildSelectionArgs()
151 if (selectionArgs == null || selectionArgs.length == 0) { in buildSelectionArgs()
156 final String[] args = new String[selectionArgs.length + 1]; in buildSelectionArgs()
157 System.arraycopy(selectionArgs, 0, args, 1, selectionArgs.length); in buildSelectionArgs()
DEventProvider.java71 @Nullable String[] selectionArgs, @Nullable String orderBy) { in query() argument
79 uriHelper.buildSelectionArgs(selectionArgs)) in query()
84 uriHelper.buildSelectionArgs(selectionArgs), orderBy); in query()
109 @Nullable String[] selectionArgs) { in delete() argument
116 uriHelper.buildSelectionArgs(selectionArgs))); in delete()
119 uriHelper.buildSelectionArgs(selectionArgs)); in delete()
129 @Nullable String[] selectionArgs) { in update() argument
137 uriHelper.buildSelectionArgs(selectionArgs))); in update()
140 uriHelper.buildSelection(selection), uriHelper.buildSelectionArgs(selectionArgs)); in update()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
DDatabase.java88 public Cursor query(String table, String[] projection, String selection, String[] selectionArgs, in query() argument
91 .query(table, projection, selection, selectionArgs, null /* groupBy */, in query()
118 public int delete(String table, String selection, String[] selectionArgs) { in delete() argument
119 return mHelper.getWritableDatabase().delete(table, selection, selectionArgs); in delete()
135 String[] selectionArgs) { in update() argument
136 return mHelper.getWritableDatabase().update(table, values, selection, selectionArgs); in update()
/cts/tests/tests/content/src/android/content/cts/
DMockContentProvider.java139 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
150 count = db.delete("TestTable1", selection, selectionArgs); in delete()
156 selectionArgs); in delete()
159 count = db.delete("TestTable2", selection, selectionArgs); in delete()
165 selectionArgs); in delete()
257 String[] selectionArgs, String sortOrder) { in query() argument
258 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
263 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in query() argument
315 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy, in query()
324 String[] selectionArgs) { in update() argument
[all …]
DDummyProvider.java115 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
122 Cursor c = db.query(tbName, projection, selection, selectionArgs, null, null, sortOrder); in query()
162 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
168 int count = db.update(tbName, values, selection, selectionArgs); in update()
179 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
185 int count = db.delete(tbName, selection, selectionArgs); in delete()
/cts/tests/JobScheduler/src/android/jobscheduler/
DDummyJobContentProvider.java104 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
111 Cursor c = db.query(tbName, projection, selection, selectionArgs, null, null, sortOrder); in query()
131 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
137 int count = db.update(tbName, values, selection, selectionArgs); in update()
148 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
154 int count = db.delete(tbName, selection, selectionArgs); in delete()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DDummyJobContentProvider.java104 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
111 Cursor c = db.query(tbName, projection, selection, selectionArgs, null, null, sortOrder); in query()
131 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
137 int count = db.update(tbName, values, selection, selectionArgs); in update()
148 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
154 int count = db.delete(tbName, selection, selectionArgs); in delete()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_AllUriTest.java284 String[] selectionArgs, String sortOrder) { in checkQueryExecutable() argument
287 selectionArgs, sortOrder)) { in checkQueryExecutable() argument
296 selectionArgs, sortOrder, new CancellationSignal())) { in checkQueryExecutable() argument
307 projection, selection, selectionArgs, sortOrder)) { in checkQueryExecutable() argument
322 projection, selection, selectionArgs, sortOrder)) { in checkQueryExecutable() argument
332 String[] selectionArgs, String sortOrder) { in checkQueryNotExecutable() argument
335 selectionArgs, sortOrder)) { in checkQueryNotExecutable() argument
552 String[] selectionArgs, String sortOrder) { in checkColumnNotAccessibleInner() argument
555 selectionArgs, sortOrder)) { in checkColumnNotAccessibleInner() argument
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsProvider.java31 String[] selectionArgs, String sortOrder) { in query() argument
46 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/cts/tests/tests/appcomponentfactory/src/android/app/componentfactory/cts/
DMyProvider.java29 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
45 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
50 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/cts/tests/tests/provider/src/android/provider/cts/
DTestSRSProvider.java31 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
47 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
52 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsProvider.java35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
51 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
56 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/cts/hostsidetests/backup/SyncAdapterSettingsApp/src/android/cts/backup/syncadaptersettingsapp/
DSyncAdapterSettingsProvider.java37 String[] selectionArgs, String sortOrder) { in query() argument
52 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
57 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdProvider.java35 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
51 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
56 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/cts/hostsidetests/appsecurity/test-apps/EncryptionApp/src/com/android/cts/encryptionapp/
DAwareProvider.java38 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
54 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
59 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
DUnawareProvider.java38 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
54 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
59 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DPermissionContentProviderPath.java18 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
40 String[] selectionArgs, String sortOrder) { in query() argument
46 String[] selectionArgs) { in update() argument
DPermissionContentProvider.java34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
56 String[] selectionArgs, String sortOrder) { in query() argument
62 String[] selectionArgs) { in update() argument
DPrivateContentProviderGranting.java34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
56 String[] selectionArgs, String sortOrder) { in query() argument
62 String[] selectionArgs) { in update() argument
DPermissionContentProviderGranting.java34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
56 String[] selectionArgs, String sortOrder) { in query() argument
62 String[] selectionArgs) { in update() argument
DPermissionContentProviderPathRestricting.java34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
56 String[] selectionArgs, String sortOrder) { in query() argument
62 String[] selectionArgs) { in update() argument
DAmbiguousContentProvider.java34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
56 String[] selectionArgs, String sortOrder) { in query() argument
62 String[] selectionArgs) { in update() argument
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DUtilsProvider.java37 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
53 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
58 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareAppCompat/src/com/android/cts/permissiondeclareappcompat/
DAmbiguousContentProvider.java34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
56 String[] selectionArgs, String sortOrder) { in query() argument
62 String[] selectionArgs) { in update() argument

123