/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 120 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 147 return query.query(db, projection, selection, selectionArgs, null, null, sortOrder); in query() 160 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument 168 if (selection != null && selection.length() > 0) { in update() 169 selection = idSelection + " AND " + selection; in update() 171 selection = idSelection; in update() 178 if (selection != null && selection.length() > 0) { in update() 179 selection = testNameSelection + " AND " + selection; in update() 181 selection = testNameSelection; in update() 190 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/tests/tests/content/src/android/content/cts/ |
D | MockContentProvider.java | 132 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 139 if (null == selection) { in delete() 141 selection = "1"; in delete() 143 count = db.delete("TestTable1", selection, selectionArgs); in delete() 148 (!TextUtils.isEmpty(selection) ? " AND (" + selection + ')' : ""), in delete() 152 count = db.delete("TestTable2", selection, selectionArgs); in delete() 157 (!TextUtils.isEmpty(selection) ? " AND (" + selection + ')' : ""), in delete() 234 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 236 return query(uri, projection, selection, selectionArgs, sortOrder, null); in query() 240 public Cursor query(Uri uri, String[] projection, String selection, in query() argument [all …]
|
D | DummyProvider.java | 118 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 125 Cursor c = db.query(tbName, projection, selection, selectionArgs, null, null, sortOrder); in query() 165 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument 171 int count = db.update(tbName, values, selection, selectionArgs); in update() 182 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 188 int count = db.delete(tbName, selection, selectionArgs); in delete()
|
D | ContentProviderTest.java | 239 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 259 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 265 public int update(Uri uri, ContentValues values, String selection, in update() argument 310 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 330 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 332 return mDb.query("files", projection, selection, selectionArgs, null, null, null); in query() 336 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|
/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()
|
D | MediaStore_Audio_ArtistsTest.java | 76 String selection = Artists.ARTIST + "=?"; in testStoreAudioArtists() local 80 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); in testStoreAudioArtists() 96 mContentResolver.update(artistsUri, artistValues, selection, selectionArgs); in testStoreAudioArtists() 104 mContentResolver.delete(artistsUri, selection, selectionArgs); in testStoreAudioArtists() 128 Cursor c = mContentResolver.query(artistsUri, null, selection, selectionArgs, null); in testStoreAudioArtists()
|
D | MediaStoreTest.java | 63 String selection = MediaStore.MEDIA_SCANNER_VOLUME + "=?"; in testGetMediaScannerUri() local 68 selection, selectionArgs, null)); in testGetMediaScannerUri() 77 selection, selectionArgs, null); in testGetMediaScannerUri()
|
D | TelephonyProviderTest.java | 90 String selection = Carriers.CURRENT + " IS NOT NULL"; in testAccessToApns() local 93 APN_PROJECTION, selection, selectionArgs, null); in testAccessToApns()
|
D | Settings_NameValueTableTest.java | 48 String selection = NameValueTable.NAME + "=\"" + name + "\""; in testPutString() local 49 c = cr.query(uri, null, selection, null, null); in testPutString() 58 cr.delete(uri, selection, null); in testPutString()
|
D | ContactsContract_TestDataBuilder.java | 168 StringBuilder selection = new StringBuilder(); in loadUsingValues() local 175 if (selection.length() != 0) { in loadUsingValues() 176 selection.append(" AND "); in loadUsingValues() 179 selection.append(column); in loadUsingValues() 181 selection.append(" NOT NULL"); in loadUsingValues() 183 selection.append("=?"); in loadUsingValues() 188 selection.toString(), in loadUsingValues()
|
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/ |
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
|
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 | 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 | 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
|
/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/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/tests/tests/telephony/src/android/telephony/cts/ |
D | MmsPduProvider.java | 39 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 58 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 64 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { 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
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature/src/com/android/cts/splitapp/ |
D | FeatureProvider.java | 61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() argument 77 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 82 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | MockContentProvider.java | 46 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 61 public Cursor query(Uri uri, String[] projection, String selection, in query() argument 67 public int update(Uri uri, ContentValues values, String selection, in update() argument
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
D | AuthenticatorContentProvider.java | 124 String selection, in query() argument 141 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() argument 146 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() argument
|