/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 134 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 161 return query.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query() 174 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument 182 if (selection != null && selection.length() > 0) { in update() 183 selection = idSelection + " AND " + selection; in update() 185 selection = idSelection; in update() 192 if (selection != null && selection.length() > 0) { in update() 193 selection = testNameSelection + " AND " + selection; in update() 195 selection = testNameSelection; in update() 204 int numUpdated = db.update(TABLE_NAME, values, selection, selectionArgs); in update() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | DatabaseAsserts.java | 167 String[] projection, String selection, String[] selectionArgs, String sortOrder, in assertStoredValuesInUriMatchExactly() argument 169 final Cursor cursor = resolver.query(uri, projection, selection, selectionArgs, sortOrder); in assertStoredValuesInUriMatchExactly() 268 StringBuilder selection = new StringBuilder(); in buildIdSelection() local 269 selection.append(BaseColumns._ID + " in "); in buildIdSelection() 270 selection.append("("); in buildIdSelection() 272 if (i != 0) selection.append(","); in buildIdSelection() 273 selection.append(ids[i]); in buildIdSelection() 275 selection.append(")"); in buildIdSelection() 276 return selection.toString(); in buildIdSelection() 286 final String selection = buildIdSelection(ids); in checkProjection() local [all …]
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/ |
D | Database.java | 61 public Cursor query(final String table, final String[] projection, final String selection, 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() 76 public int update(final String table, final ContentValues values, final String selection, in update() argument 78 return mHelper.getWritableDatabase().update(table, values, selection, selectionArgs); in update()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | MockContentProvider.java | 141 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 148 if (null == selection) { in delete() 150 selection = "1"; in delete() 152 count = db.delete("TestTable1", selection, selectionArgs); in delete() 157 (!TextUtils.isEmpty(selection) ? " AND (" + selection + ')' : ""), in delete() 161 count = db.delete("TestTable2", selection, selectionArgs); in delete() 166 (!TextUtils.isEmpty(selection) ? " AND (" + selection + ')' : ""), in delete() 258 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 260 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query() 264 public Cursor query(Uri uri, String[] projection, String selection, in query() argument [all …]
|
D | DummyProvider.java | 115 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/hostsidetests/inputmethodservice/deviceside/provider/src/android/inputmethodservice/cts/provider/ |
D | EventProvider.java | 70 final @Nullable String selection, @Nullable final String[] selectionArgs, in query() argument 77 + " selection=" + uriHelper.buildSelection(selection) in query() 83 uriHelper.table, projection, uriHelper.buildSelection(selection), in query() 108 public int delete(@NonNull final Uri uri, @Nullable final String selection, in delete() argument 114 + " selection=" + uriHelper.buildSelection(selection) in delete() 118 final int count = mDatabase.delete(uriHelper.table, uriHelper.buildSelection(selection), in delete() 129 final @Nullable String selection, @Nullable final String[] selectionArgs) { in update() argument 135 + " selection=" + uriHelper.buildSelection(selection) in update() 140 uriHelper.buildSelection(selection), uriHelper.buildSelectionArgs(selectionArgs)); in update()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | Settings_SystemTest.java | 50 String selection = System.NAME + "=\"" + INT_FIELD + "\""; in deleteTestedRows() local 51 cr.delete(System.CONTENT_URI, selection, null); in deleteTestedRows() 53 selection = System.NAME + "=\"" + LONG_FIELD + "\""; in deleteTestedRows() 54 cr.delete(System.CONTENT_URI, selection, null); in deleteTestedRows() 56 selection = System.NAME + "=\"" + FLOAT_FIELD + "\""; in deleteTestedRows() 57 cr.delete(System.CONTENT_URI, selection, null); in deleteTestedRows() 59 selection = System.NAME + "=\"" + STRING_FIELD + "\""; in deleteTestedRows() 60 cr.delete(System.CONTENT_URI, selection, null); in deleteTestedRows()
|
/cts/tests/JobScheduler/src/android/jobscheduler/ |
D | DummyJobContentProvider.java | 104 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/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsProvider.java | 35 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/ |
D | UnawareProvider.java | 38 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
|
D | AwareProvider.java | 38 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/StorageApp/src/com/android/cts/storageapp/ |
D | UtilsProvider.java | 37 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/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/ |
D | AmbiguousContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 55 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 61 public int update(Uri uri, ContentValues values, String selection, in update() argument
|
D | PermissionContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 55 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 61 public int update(Uri uri, ContentValues values, String selection, in update() argument
|
D | PermissionContentProviderGranting.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 55 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 61 public int update(Uri uri, ContentValues values, String selection, in update() argument
|
D | PermissionContentProviderPath.java | 18 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 39 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 45 public int update(Uri uri, ContentValues values, String selection, in update() argument
|
D | PrivateContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 55 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 61 public int update(Uri uri, ContentValues values, String selection, in update() argument
|
D | PrivateContentProviderGranting.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 55 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 61 public int update(Uri uri, ContentValues values, String selection, in update() argument
|
D | PermissionContentProviderPathRestricting.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 55 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 61 public int update(Uri uri, ContentValues values, String selection, in update() argument
|
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareAppCompat/src/com/android/cts/permissiondeclareappcompat/ |
D | AmbiguousContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 55 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 61 public int update(Uri uri, ContentValues values, String selection, in update() argument
|
/cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/ |
D | StubProvider.java | 34 @Nullable String selection, @Nullable String[] selectionArgs, in query() argument 50 public int delete(@NonNull Uri uri, @Nullable String selection, in delete() argument 57 @Nullable String selection, @Nullable String[] selectionArgs) { in update() argument
|
/cts/hostsidetests/content/test-apps/SyncAccountAccessStubs/src/com/android/cts/stub/ |
D | StubProvider.java | 34 @Nullable String selection, @Nullable String[] selectionArgs, in query() argument 50 public int delete(@NonNull Uri uri, @Nullable String selection, in delete() argument 57 @Nullable String selection, @Nullable String[] selectionArgs) { in update() argument
|
/cts/hostsidetests/services/activityandwindowmanager/windowmanager/dndsourceapp/src/android/wm/cts/dndsourceapp/ |
D | DragSourceContentProvider.java | 43 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
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | BasicContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 55 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 61 public int update(Uri uri, ContentValues values, String selection, in update() argument
|
/cts/tools/vm-tests-tf/etc/ |
D | starttests | 53 selection=$1 55 if [ "$selection" = "--portable" ]; then 56 selection=$2; 85 if [ "$selection" = "--help" ]; then 156 if [ "$selection" == "" ] || [ "$jtitle" == "$selection" ]; then
|