/libcore/luni/src/main/java/org/apache/xml/utils/res/ |
LongArrayWrapper.java | 35 public long getLong(int index){
|
/packages/apps/Camera/src/com/android/camera/gallery/ |
VideoList.java | 46 long id = cursor.getLong(INDEX_ID); 47 long dateTaken = cursor.getLong(INDEX_DATE_TAKEN); 49 dateTaken = cursor.getLong(INDEX_DATE_MODIFIED) * 1000; 51 long miniThumbMagic = cursor.getLong(INDEX_MIMI_THUMB_MAGIC);
|
ImageList.java | 88 long id = cursor.getLong(INDEX_ID); 89 long dateTaken = cursor.getLong(INDEX_DATE_TAKEN); 91 dateTaken = cursor.getLong(INDEX_DATE_MODIFIED) * 1000; 93 long miniThumbMagic = cursor.getLong(INDEX_MINI_THUMB_MAGIC);
|
/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/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...] |
/frameworks/base/core/java/android/os/ |
Build.java | 206 public static final long TIME = getLong("ro.build.date.utc") * 1000; 214 private static long getLong(String property) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
ReorderingCursorWrapper.java | 82 public long getLong(int column) { 83 return mCursor.getLong(column);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_PlaylistsTest.java | 94 assertEquals(dateAdded, c.getLong(c.getColumnIndex(Playlists.DATE_ADDED))); 95 assertEquals(dateModified, c.getLong(c.getColumnIndex(Playlists.DATE_MODIFIED))); 96 assertTrue(c.getLong(c.getColumnIndex(Playlists._ID)) > 0); 111 assertEquals(dateAdded, c.getLong(c.getColumnIndex(Playlists.DATE_ADDED))); 112 assertEquals(dateModified, c.getLong(c.getColumnIndex(Playlists.DATE_MODIFIED)));
|
MediaStore_Audio_MediaTest.java | 105 assertTrue(c.getLong(c.getColumnIndex(Media._ID)) > 0); 108 assertTrue(c.getLong(c.getColumnIndex(Media.DATE_ADDED)) > 0); 109 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))); 156 assertEquals(Audio2.DATE_MODIFIED, c.getLong(c.getColumnIndex(Media.DATE_MODIFIED))); 163 assertTrue(albumId != c.getLong(c.getColumnIndex(Media.ALBUM_ID))); 166 assertTrue(artistId != c.getLong(c.getColumnIndex(Media.ARTIST_ID))); 168 assertEquals(Audio2.DURATION, c.getLong(c.getColumnIndex(Media.DURATION))) [all...] |
MediaStore_Video_MediaTest.java | 98 long id = c.getLong(c.getColumnIndex(Media._ID)); 103 assertEquals(dateTaken, c.getLong(c.getColumnIndex(Media.DATE_TAKEN))); 111 assertEquals(0, c.getLong(c.getColumnIndex(Media.MINI_THUMB_MAGIC))); 119 long realDateAdded = c.getLong(c.getColumnIndex(Media.DATE_ADDED)); 121 assertEquals(dateModified, c.getLong(c.getColumnIndex(Media.DATE_MODIFIED))); 152 assertEquals(id, c.getLong(c.getColumnIndex(Media._ID))); 156 assertEquals(dateTaken, c.getLong(c.getColumnIndex(Media.DATE_TAKEN))); 164 assertEquals(2, c.getLong(c.getColumnIndex(Media.MINI_THUMB_MAGIC))); 173 assertEquals(realDateAdded, c.getLong(c.getColumnIndex(Media.DATE_ADDED))); 174 assertEquals(dateModified, c.getLong(c.getColumnIndex(Media.DATE_MODIFIED))) [all...] |
MediaStore_Audio_Genres_MembersTest.java | 52 mAudioIdOfJam = c.getLong(c.getColumnIndex(Media._ID)); 58 mAudioIdOfJamLive = c.getLong(c.getColumnIndex(Media._ID)); 107 long genreId = c.getLong(c.getColumnIndex(Genres._ID)); 147 assertTrue(c.getLong(c.getColumnIndex(Members._ID)) > 0); 149 assertTrue(c.getLong(c.getColumnIndex(Members.DATE_ADDED)) > 0); 150 assertEquals(Audio1.DATE_MODIFIED, c.getLong(c.getColumnIndex(Members.DATE_MODIFIED))); 158 long albumId = c.getLong(c.getColumnIndex(Members.ALBUM_ID)); 163 long artistId = c.getLong(c.getColumnIndex(Members.ARTIST_ID)); 166 assertEquals(Audio1.DURATION, c.getLong(c.getColumnIndex(Members.DURATION)));
|
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);
|
/external/chromium/third_party/icu/public/i18n/unicode/ |
fmtable.h | 205 * Selector indicating a 32-bit integer value. Use getLong to 283 int32_t getLong(void) const { return (int32_t)fValue.fInt64; } 294 * getNumber().getLong(status) is returned. If this object is 301 int32_t getLong(UErrorCode& status) const; 531 * Deprecated variant of getLong(UErrorCode&). 534 * @deprecated ICU 3.0 use getLong(UErrorCode&) instead 536 inline int32_t getLong(UErrorCode* status) const; 581 inline int32_t Formattable::getLong(UErrorCode* status) const { 582 return getLong(*status);
|
/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; 665 inline int32_t Formattable::getLong(UErrorCode* status) const { 666 return getLong(*status);
|
/frameworks/base/core/tests/coretests/src/android/database/ |
CursorWindowTest.java | 105 long int2 = window.getLong(0, 1); 110 assertEquals(1198032740000L, window.getLong(0, 3)); 114 assertEquals(1198032740000L, window.getLong(0, 3)); 135 assertEquals(0, window.getLong(0, 0)); 147 assertEquals(0, window.getLong(0, 0));
|
/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
OSMemory.java | 364 public static native long getLong(int address); 366 public static long getLong(int address, ByteOrder byteOrder) { 368 ? getLong(address) 369 : Long.reverseBytes(getLong(address)); 464 long doubleBits = Long.reverseBytes(getLong(address));
|
/external/chromium/third_party/icu/source/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...] |
/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...] |
/libcore/luni/src/main/java/java/util/zip/ |
ZipInputStream.java | 174 long sig = getLong(hdrBuf, 0); 178 currentEntry.crc = getLong(hdrBuf, EXTCRC); 179 currentEntry.compressedSize = getLong(hdrBuf, EXTSIZ); 180 currentEntry.size = getLong(hdrBuf, EXTLEN); 212 long hdr = getLong(hdrBuf, 0); 240 cecrc = getLong(hdrBuf, LOCCRC - LOCVER); 241 cecompressedSize = getLong(hdrBuf, LOCSIZ - LOCVER); 242 cesize = getLong(hdrBuf, LOCLEN - LOCVER); 402 private long getLong(byte[] buffer, int off) {
|
/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...] |
/libcore/luni/src/main/java/java/nio/ |
DirectByteBuffer.java | 181 public final long getLong() { 186 long result = getBaseAddress().getLong(offset + position, order); 192 public final long getLong(int index) { 196 return getBaseAddress().getLong(offset + index, order);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
DataStatus.java | 64 final long newTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1); 77 mTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1); 151 private static long getLong(Cursor cursor, String columnName, long missingValue) { 153 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex);
|
/packages/apps/Email/src/com/android/exchange/ |
EmailSyncAlarmReceiver.java | 77 long mailboxId = c.getLong(0); 93 long mailboxId = c.getLong(0);
|