HomeSort by relevance Sort by last modified time
    Searched refs:CursorIndexOutOfBoundsException (Results 1 - 25 of 41) sorted by null

1 2

  /frameworks/base/core/java/android/database/
CursorIndexOutOfBoundsException.java 22 public class CursorIndexOutOfBoundsException extends IndexOutOfBoundsException {
24 public CursorIndexOutOfBoundsException(int index, int size) {
28 public CursorIndexOutOfBoundsException(String message) {
MatrixCursor.java 66 throw new CursorIndexOutOfBoundsException("Requested column: "
70 throw new CursorIndexOutOfBoundsException("Before first row.");
73 throw new CursorIndexOutOfBoundsException("After last row.");
210 * @throws CursorIndexOutOfBoundsException if you try to add too many
216 throw new CursorIndexOutOfBoundsException(
AbstractCursor.java 459 * This function throws CursorIndexOutOfBoundsException if
464 * @throws CursorIndexOutOfBoundsException
468 throw new CursorIndexOutOfBoundsException(mPos, getCount());
  /cts/tests/tests/database/src/android/database/cts/
CursorIndexOutOfBoundsExceptionTest.java 19 import android.database.CursorIndexOutOfBoundsException;
29 // Test CursorIndexOutOfBoundsException(String)
31 throw new CursorIndexOutOfBoundsException(null);
32 } catch (CursorIndexOutOfBoundsException e) {
37 throw new CursorIndexOutOfBoundsException(expected1);
38 } catch (CursorIndexOutOfBoundsException e) {
42 // Test CursorIndexOutOfBoundsException(int, int)
44 throw new CursorIndexOutOfBoundsException(INDEX, SIZE);
45 } catch (CursorIndexOutOfBoundsException e) {
MatrixCursor_RowBuilderTest.java 20 import android.database.CursorIndexOutOfBoundsException;
67 fail("Should throw CursorIndexOutOfBoundsException when adding too many values");
68 } catch (CursorIndexOutOfBoundsException e) {
AbstractWindowedCursorTest.java 23 import android.database.CursorIndexOutOfBoundsException;
206 } catch (CursorIndexOutOfBoundsException e) {
DatabaseCursorTest.java 22 import android.database.CursorIndexOutOfBoundsException;
180 fail("CursorIndexOutOfBoundsException expected");
181 } catch (CursorIndexOutOfBoundsException ex) {
219 fail("CursorIndexOutOfBoundsException expected");
220 } catch (CursorIndexOutOfBoundsException ex) {
237 fail("CursorIndexOutOfBoundsException expected");
238 } catch (CursorIndexOutOfBoundsException ex) {
250 fail("CursorIndexOutOfBoundsException expected");
251 } catch (CursorIndexOutOfBoundsException ex) {
AbstractCursorTest.java 23 import android.database.CursorIndexOutOfBoundsException;
373 fail("copyStringToBuffer() should throws CursorIndexOutOfBoundsException here.");
374 } catch (CursorIndexOutOfBoundsException e) {
386 fail("copyStringToBuffer() should throws CursorIndexOutOfBoundsException here.");
387 } catch (CursorIndexOutOfBoundsException e) {
MatrixCursorTest.java 20 import android.database.CursorIndexOutOfBoundsException;
88 fail("Should throw CursorIndexOutOfBoundsException when adding too many values");
89 } catch (CursorIndexOutOfBoundsException e) {
  /packages/apps/Contacts/src/com/android/contacts/database/
EmptyCursor.java 20 import android.database.CursorIndexOutOfBoundsException;
81 private CursorIndexOutOfBoundsException cursorException() {
82 return new CursorIndexOutOfBoundsException("Operation not permitted on an empty cursor.");
  /packages/apps/Dialer/java/com/android/contacts/common/database/
EmptyCursor.java 20 import android.database.CursorIndexOutOfBoundsException;
81 private CursorIndexOutOfBoundsException cursorException() {
82 return new CursorIndexOutOfBoundsException("Operation not permitted on an empty cursor.");
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowMatrixCursor.java 6 import android.database.CursorIndexOutOfBoundsException;
78 throw new CursorIndexOutOfBoundsException(null);
81 throw new CursorIndexOutOfBoundsException("Before first row.");
84 throw new CursorIndexOutOfBoundsException("After last row.");
  /external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
MatrixCursorTest.java 15 import android.database.CursorIndexOutOfBoundsException;
106 @Test(expected = CursorIndexOutOfBoundsException.class)
112 @Test(expected = CursorIndexOutOfBoundsException.class)
119 @Test(expected = CursorIndexOutOfBoundsException.class)
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowMatrixCursorTest.java 7 import android.database.CursorIndexOutOfBoundsException;
127 @Test(expected = CursorIndexOutOfBoundsException.class)
133 @Test(expected = CursorIndexOutOfBoundsException.class)
140 @Test(expected = CursorIndexOutOfBoundsException.class)
  /frameworks/support/content/src/main/java/androidx/contentpager/content/
InMemoryCursor.java 24 import android.database.CursorIndexOutOfBoundsException;
240 throw new CursorIndexOutOfBoundsException("Before first row.");
243 throw new CursorIndexOutOfBoundsException("After last row.");
249 throw new CursorIndexOutOfBoundsException(
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
SuggestionCursorBackedCursor.java 20 import android.database.CursorIndexOutOfBoundsException;
152 throw new CursorIndexOutOfBoundsException("Requested column " + column
  /frameworks/base/core/tests/coretests/src/android/database/
DatabaseCursorTest.java 22 import android.database.CursorIndexOutOfBoundsException;
162 fail("CursorIndexOutOfBoundsException expected");
163 } catch (CursorIndexOutOfBoundsException ex) {
200 fail("CursorIndexOutOfBoundsException expected");
201 } catch (CursorIndexOutOfBoundsException ex) {
217 fail("CursorIndexOutOfBoundsException expected");
218 } catch (CursorIndexOutOfBoundsException ex) {
229 fail("CursorIndexOutOfBoundsException expected");
230 } catch (CursorIndexOutOfBoundsException ex) {
  /frameworks/base/config/
preloaded-classes     [all...]
  /external/robolectric/v1/lib/main/
android.jar 
  /external/robolectric/v3/runtime/
android-all-4.1.2_r1-robolectric-0.jar 
android-all-4.2.2_r1.2-robolectric-0.jar 
android-all-4.3_r2-robolectric-0.jar 
  /prebuilts/misc/common/robolectric/android-all/
android-all-4.1.2_r1-robolectric-0.jar 
android-all-4.2.2_r1.2-robolectric-0.jar 
android-all-4.3_r2-robolectric-0.jar 

Completed in 656 milliseconds

1 2