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

1 2 3 4 5 6 7 8 91011>>

  /external/apache-xml/src/main/java/org/apache/xml/utils/res/
LongArrayWrapper.java 35 public long getLong(int index){
  /packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
SyncCalendarTest.java 82 long dtStart = cursor.getLong(cursor.getColumnIndex("dtstart"));
83 long dtEnd = cursor.getLong(cursor.getColumnIndex("dtend"));
86 long eventId = cursor.getLong(cursor.getColumnIndex("_id"));
93 if (cursor.getLong(cursor.getColumnIndex("_id")) == eventId) {
109 long dtStart = cursor.getLong(cursor.getColumnIndex("dtstart"));
116 long eventId = cursor.getLong(cursor.getColumnIndex("_id"));
125 if (cursor.getLong(cursor.getColumnIndex("_id")) == eventId) {
126 assertEquals(cursor.getLong(cursor.getColumnIndex("dtstart")), newDtStart);
127 assertEquals(cursor.getLong(cursor.getColumnIndex("dtend")), newDtEnd);
141 long dtStart = cursor.getLong(cursor.getColumnIndex("dtstart"))
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/util/
StreamItemPhotoEntry.java 51 mId = getLong(cursor, StreamItemPhotos._ID);
53 mPhotoFileId = getLong(cursor, StreamItemPhotos.PHOTO_FILE_ID);
121 private static long getLong(Cursor cursor, String columnName) {
123 return cursor.getLong(columnIndex);
StreamItemEntry.java 72 mId = getLong(cursor, StreamItems._ID);
75 mTimestamp = getLong(cursor, StreamItems.TIMESTAMP);
143 private static long getLong(Cursor cursor, String columnName) {
145 return cursor.getLong(columnIndex);
  /frameworks/base/core/tests/coretests/src/android/database/
CursorWindowTest.java 57 long int2 = window.getLong(0, 1);
62 assertEquals(1198032740000L, window.getLong(0, 3));
66 assertEquals(1198032740000L, window.getLong(0, 3));
  /libcore/luni/src/test/java/libcore/java/lang/
OldLongTest.java 41 Long.getLong("testIncLong"));
46 // java.lang.Long.getLong(java.lang.String, long)
50 assertTrue("returned incorrect default Long", Long.getLong("testIncLong", 4L)
56 // java.lang.Long.getLong(java.lang.String, java.lang.Long)
60 assertTrue("returned incorrect default Long", Long.getLong("testIncLong",
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Audio_Genres_MembersTest.java 52 mAudioIdOfJam = c.getLong(c.getColumnIndex(Media._ID));
58 mAudioIdOfJamLive = c.getLong(c.getColumnIndex(Media._ID));
105 long genreId = c.getLong(c.getColumnIndex(Genres._ID));
126 assertEquals(mAudioIdOfJam, c.getLong(c.getColumnIndex(Members.AUDIO_ID)));
127 assertEquals(genreId, c.getLong(c.getColumnIndex(Members.GENRE_ID)));
128 assertEquals(mAudioIdOfJam, c.getLong(c.getColumnIndex(Members._ID)));
130 assertTrue(c.getLong(c.getColumnIndex(Members.DATE_ADDED)) > 0);
131 assertEquals(Audio1.DATE_MODIFIED, c.getLong(c.getColumnIndex(Members.DATE_MODIFIED)));
140 long albumId = c.getLong(c.getColumnIndex(Members.ALBUM_ID));
145 long artistId = c.getLong(c.getColumnIndex(Members.ARTIST_ID))
    [all...]
MediaStore_Audio_PlaylistsTest.java 95 long realDateAdded = c.getLong(c.getColumnIndex(Playlists.DATE_ADDED));
97 assertEquals(dateModified, c.getLong(c.getColumnIndex(Playlists.DATE_MODIFIED)));
98 assertTrue(c.getLong(c.getColumnIndex(Playlists._ID)) > 0);
113 assertEquals(realDateAdded, c.getLong(c.getColumnIndex(Playlists.DATE_ADDED)));
114 assertEquals(dateModified, c.getLong(c.getColumnIndex(Playlists.DATE_MODIFIED)));
MediaStore_Audio_Playlists_MembersTest.java 110 mIdOfAudio1 = c.getLong(c.getColumnIndex(Media._ID));
116 mIdOfAudio2 = c.getLong(c.getColumnIndex(Media._ID));
152 long playlistId = c.getLong(c.getColumnIndex(Playlists._ID));
174 long memberId = c.getLong(c.getColumnIndex(Members._ID));
177 assertTrue(c.getLong(c.getColumnIndex(Members.DATE_ADDED)) > 0);
178 assertEquals(Audio1.DATE_MODIFIED, c.getLong(c.getColumnIndex(Members.DATE_MODIFIED)));
186 assertTrue(c.getLong(c.getColumnIndex(Members.ALBUM_ID)) > 0);
189 assertTrue(c.getLong(c.getColumnIndex(Members.ARTIST_ID)) > 0);
191 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Members.DURATION)));
224 assertEquals(memberId, c.getLong(c.getColumnIndex(Members._ID)))
    [all...]
ContactsContract_ContactsTest.java 66 long oldLastContacted = contact.getLong(Contacts.LAST_TIME_CONTACTED);
71 long lastContacted = contact.getLong(Contacts.LAST_TIME_CONTACTED);
78 lastContacted = contact.getLong(Contacts.LAST_TIME_CONTACTED);
MediaStore_Audio_MediaTest.java 103 long id = c.getLong(c.getColumnIndex(Media._ID));
107 assertTrue(c.getLong(c.getColumnIndex(Media.DATE_ADDED)) > 0);
108 assertEquals(Audio1.DATE_MODIFIED, c.getLong(c.getColumnIndex(Media.DATE_MODIFIED)));
117 long albumId = c.getLong(c.getColumnIndex(Media.ALBUM_ID));
122 long artistId = c.getLong(c.getColumnIndex(Media.ARTIST_ID));
125 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Media.DURATION)));
146 long id2 = c.getLong(c.getColumnIndex(Media._ID));
150 assertEquals(Audio2.DATE_MODIFIED, c.getLong(c.getColumnIndex(Media.DATE_MODIFIED)));
158 assertTrue(albumId != c.getLong(c.getColumnIndex(Media.ALBUM_ID)));
161 assertTrue(artistId != c.getLong(c.getColumnIndex(Media.ARTIST_ID)))
    [all...]
  /packages/apps/Gallery/src/com/android/camera/gallery/
ImageList.java 116 return cursor.getLong(INDEX_ID);
121 long id = cursor.getLong(INDEX_ID);
123 long dateTaken = cursor.getLong(INDEX_DATE_TAKEN);
125 dateTaken = cursor.getLong(INDEX_DATE_MODIFIED) * 1000;
127 long miniThumbMagic = cursor.getLong(INDEX_MINI_THUMB_MAGIC);
VideoList.java 54 return cursor.getLong(INDEX_ID);
59 long id = cursor.getLong(INDEX_ID);
61 long dateTaken = cursor.getLong(INDEX_DATE_TAKEN);
63 dateTaken = cursor.getLong(INDEX_DATE_MODIFIED) * 1000;
65 long miniThumbMagic = cursor.getLong(INDEX_MIMI_THUMB_MAGIC);
  /frameworks/base/core/tests/coretests/src/android/os/
PerformanceCollectorTest.java 183 assertEquals(0, results.getLong("testAddMeasurementLongZero"));
185 assertEquals(348573, results.getLong("testAddMeasurementLongPos"));
187 assertEquals(-19354, results.getLong("testAddMeasurementLongNeg"));
403 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_CPU_TIME) > 0);
405 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_EXECUTION_TIME) > 0);
415 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_ALLOCATED) > 0);
417 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_FREE) > 0);
419 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_PRIVATE_DIRTY) > 0);
421 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_PSS) > 0);
423 assertTrue(snapshot.getLong(PerformanceCollector.METRIC_KEY_JAVA_SHARED_DIRTY) > 0)
    [all...]
  /packages/apps/Settings/src/com/android/settings/bluetooth/
LocalBluetoothPreferences.java 55 return getSharedPreferences(context).getLong(
75 long lastDiscoverableEndTime = sharedPreferences.getLong(
86 } else if ((sharedPreferences.getLong(KEY_DISCOVERING_TIMESTAMP, 0) +
97 long lastDeviceSelectedTime = sharedPreferences.getLong(
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForEmail.java 59 long dataId = c.getLong(DataUpdateQuery._ID);
60 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
74 long dataId = c.getLong(DataDeleteQuery._ID);
75 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
DataRowHandlerForNickname.java 56 long dataId = c.getLong(DataUpdateQuery._ID);
57 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
76 long dataId = c.getLong(DataDeleteQuery._ID);
77 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
ReorderingCursorWrapper.java 82 public long getLong(int column) {
83 return mCursor.getLong(column);
  /frameworks/base/core/tests/systemproperties/src/android/os/
SystemPropertiesTest.java 32 long ret = SystemProperties.getLong(PERSIST_KEY, -1);
41 long ret = SystemProperties.getLong(KEY, -1);
  /packages/apps/Settings/src/com/android/settings/net/
SummaryForAllUidLoader.java 59 final long start = mArgs.getLong(KEY_START);
60 final long end = mArgs.getLong(KEY_END);
  /external/icu4c/i18n/unicode/
fmtable.h 225 * Selector indicating a 32-bit integer value. Use getLong to
303 int32_t getLong(void) const { return (int32_t)fValue.fInt64; }
314 * getNumber().getLong(status) is returned. If this object is
321 int32_t getLong(UErrorCode& status) const;
588 * Deprecated variant of getLong(UErrorCode&).
591 * @deprecated ICU 3.0 use getLong(UErrorCode&) instead
593 inline int32_t getLong(UErrorCode* status) const;
664 inline int32_t Formattable::getLong(UErrorCode* status) const {
665 return getLong(*status);
  /packages/experimental/AndroidVendorSecurityTool/src/com/android/vending/sectool/v1/
GservicesValue.java 65 return sGservicesReader.getLong(mKey, mDefaultValue);
100 public Long getLong(String key, Long defaultValue);
121 public Long getLong(String key, Long defaultValue) {
122 return Gservices.getLong(mContentResolver, key, defaultValue);
138 public Long getLong(String key, Long defaultValue) { return defaultValue; }
  /frameworks/ex/chips/src/com/android/ex/chips/
RecipientAlternatesAdapter.java 91 c.getLong(EmailQuery.CONTACT_ID),
92 c.getLong(EmailQuery.DATA_ID),
98 + " CONTACT ID : " + c.getLong(EmailQuery.CONTACT_ID)
126 c.getLong(EmailQuery.DATA_ID);
137 c.getLong(EmailQuery.CONTACT_ID), c.getLong(EmailQuery.DATA_ID),
148 if (cursor.getLong(EmailQuery.DATA_ID) == mCurrentId) {
  /external/icu4c/test/intltest/
tfsmalls.cpp 168 if (!ftp || !(ftp->getType() == Formattable::kLong) || !(ftp->getLong() == 0)) {
169 it_errln("*** Formattable constructor or getType or getLong");
178 fta.getLong(&status);
180 it_errln("*** FT getLong(UErrorCode* status) failed on real Long");
182 it_logln("FT getLong(UErrorCode* status) tested.");
220 fta.getLong(&status);
222 it_errln("*** FT getLong(UErrorCode* status) should fail on non-Long");
263 && (ft_arr[2].getType() == Formattable::kLong) && (ft_arr[2].getLong() == (int32_t)3)
323 if ((ft_arr[0].getType() == Formattable::kLong) && (ft_arr[0].getLong() == (int32_t)1)) {
333 if ((ft_dynarr[0].getType() == Formattable::kLong) && (ft_dynarr[0].getLong() == (int32_t)3
    [all...]
  /cts/tests/tests/database/src/android/database/cts/
MatrixCursorTest.java 150 assertEquals(Long.MIN_VALUE, mMatrixCursor.getLong(COLUMN0_INDEX));
152 assertEquals(0, mMatrixCursor.getLong(COLUMN1_INDEX));
154 assertEquals(Long.MAX_VALUE, mMatrixCursor.getLong(COLUMN2_INDEX));
240 method = "getLong",
270 assertEquals(Short.MIN_VALUE, mMatrixCursor.getLong(COLUMN0_INDEX));
271 assertEquals(0, mMatrixCursor.getLong(COLUMN1_INDEX));
272 assertEquals(Short.MAX_VALUE, mMatrixCursor.getLong(COLUMN2_INDEX));
301 assertEquals(0, mMatrixCursor.getLong(COLUMN0_INDEX));
302 assertEquals(0, mMatrixCursor.getLong(COLUMN1_INDEX));
303 assertEquals(Long.MAX_VALUE, mMatrixCursor.getLong(COLUMN2_INDEX))
    [all...]

Completed in 705 milliseconds

1 2 3 4 5 6 7 8 91011>>