Home
last modified time | relevance | path

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

123

/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
DDatabase.java62 final String[] selectionArgs, final String orderBy) { in query() argument
64 .query(table, projection, selection, selectionArgs, null /* groupBy */, in query()
72 public int delete(final String table, final String selection, final String[] selectionArgs) { in delete() argument
73 return mHelper.getWritableDatabase().delete(table, selection, selectionArgs); in delete()
77 final String[] selectionArgs) { in update() argument
78 return mHelper.getWritableDatabase().update(table, values, selection, selectionArgs); in update()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DApnDatabaseTest.java133 String[] selectionArgs = { NUMERIC }; in testValidCase() local
137 + "\ntestInsertCarriers selectionArgs: " + Arrays.toString(selectionArgs)); in testValidCase()
139 uri, apnProjection, selection, selectionArgs, null); in testValidCase()
157 selectionArgs); in testValidCase()
161 cursor = mContentResolver.query(uri, apnProjection, selection, selectionArgs, null); in testValidCase()
172 + "testInsertCarriers selectionArgs: " + Arrays.toString(selectionArgs)); in testValidCase()
178 cursor = mContentResolver.query(uri, apnProjection, selection, selectionArgs, null); in testValidCase()
215 String[] selectionArgs = { invalidColumn }; in testQueryConflictCase() local
218 + "\ntestInsertCarriers selectionArgs: " + Arrays.toString(selectionArgs)); in testQueryConflictCase()
220 uri, testProjection, selection, selectionArgs, null); in testQueryConflictCase()
[all …]
/cts/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/provider/
DUriHelper.java144 String[] buildSelectionArgs(@Nullable final String[] selectionArgs) { in buildSelectionArgs() argument
146 return selectionArgs; in buildSelectionArgs()
150 if (selectionArgs == null || selectionArgs.length == 0) { in buildSelectionArgs()
155 final String[] args = new String[selectionArgs.length + 1]; in buildSelectionArgs()
156 System.arraycopy(selectionArgs, 0, args, 1, selectionArgs.length); in buildSelectionArgs()
DEventProvider.java70 final @Nullable String selection, @Nullable final String[] selectionArgs, in query() argument
79 uriHelper.buildSelectionArgs(selectionArgs)) in query()
84 uriHelper.buildSelectionArgs(selectionArgs), orderBy); in query()
109 @Nullable final String[] selectionArgs) { in delete() argument
116 uriHelper.buildSelectionArgs(selectionArgs))); in delete()
119 uriHelper.buildSelectionArgs(selectionArgs)); in delete()
129 final @Nullable String selection, @Nullable final String[] selectionArgs) { in update() argument
137 uriHelper.buildSelectionArgs(selectionArgs))); in update()
140 uriHelper.buildSelection(selection), uriHelper.buildSelectionArgs(selectionArgs)); in update()
/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/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/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/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/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/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/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/
DStubProvider.java34 @Nullable String selection, @Nullable String[] selectionArgs, in query() argument
51 @Nullable String[] selectionArgs) { in delete() argument
57 @Nullable String selection, @Nullable String[] selectionArgs) { in update() argument
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
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
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
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
DPrivateContentProvider.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
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
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
/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
/cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/
DStubProvider.java34 @Nullable String selection, @Nullable String[] selectionArgs, in query() argument
51 @Nullable String[] selectionArgs) { in delete() argument
57 @Nullable String selection, @Nullable 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/tests/tests/content/src/android/content/cts/
DMockContentProvider.java141 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
152 count = db.delete("TestTable1", selection, selectionArgs); in delete()
158 selectionArgs); in delete()
161 count = db.delete("TestTable2", selection, selectionArgs); in delete()
167 selectionArgs); in delete()
259 String[] selectionArgs, String sortOrder) { in query() argument
260 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query()
265 String[] selectionArgs, String sortOrder, CancellationSignal cancellationSignal) { in query() argument
311 Cursor c = qb.query(db, projection, selection, selectionArgs, null, null, orderBy, in query()
320 String[] selectionArgs) { in update() argument
[all …]
/cts/tests/framework/base/windowmanager/dndsourceapp/src/android/server/wm/dndsourceapp/
DDragSourceContentProvider.java43 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument
63 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument
68 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument

123