HomeSort by relevance Sort by last modified time
    Searched refs:getLong (Results 1 - 25 of 829) 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){
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/
UUIDConverter.java 46 return new UUID(b.getLong(), b.getLong());
  /cts/tests/tests/text/src/android/text/style/cts/
TtsSpanTest.java 42 assertEquals(3, args.getLong("argument.three"));
43 assertEquals(4, args.getLong("argument.four"));
75 assertEquals(3, args.getLong("argument.three"));
76 assertEquals(4, args.getLong("argument.four"));
  /frameworks/base/core/java/android/hardware/camera2/marshal/impl/
MarshalQueryableStreamConfigurationDuration.java 63 int format = (int)buffer.getLong();
64 int width = (int)buffer.getLong();
65 int height = (int)buffer.getLong();
66 long durationNs = buffer.getLong();
  /cts/tests/tests/provider/src/android/provider/cts/
MediaStore_Audio_Genres_MembersTest.java 47 mAudioIdOfJam = c.getLong(c.getColumnIndex(Media._ID));
53 mAudioIdOfJamLive = c.getLong(c.getColumnIndex(Media._ID));
97 long genreId = c.getLong(c.getColumnIndex(Genres._ID));
118 assertEquals(mAudioIdOfJam, c.getLong(c.getColumnIndex(Members.AUDIO_ID)));
119 assertEquals(genreId, c.getLong(c.getColumnIndex(Members.GENRE_ID)));
120 assertEquals(mAudioIdOfJam, c.getLong(c.getColumnIndex(Members._ID)));
122 assertTrue(c.getLong(c.getColumnIndex(Members.DATE_ADDED)) > 0);
123 assertEquals(Audio1.DATE_MODIFIED, c.getLong(c.getColumnIndex(Members.DATE_MODIFIED)));
132 long albumId = c.getLong(c.getColumnIndex(Members.ALBUM_ID));
137 long artistId = c.getLong(c.getColumnIndex(Members.ARTIST_ID))
    [all...]
MediaStore_Audio_PlaylistsTest.java 86 long realDateAdded = c.getLong(c.getColumnIndex(Playlists.DATE_ADDED));
88 assertEquals(dateModified, c.getLong(c.getColumnIndex(Playlists.DATE_MODIFIED)));
89 assertTrue(c.getLong(c.getColumnIndex(Playlists._ID)) > 0);
104 assertEquals(realDateAdded, c.getLong(c.getColumnIndex(Playlists.DATE_ADDED)));
105 assertEquals(dateModified, c.getLong(c.getColumnIndex(Playlists.DATE_MODIFIED)));
  /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/
BatteryProperty.java 42 public long getLong() {
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
ImportantNoticeUtilsTests.java 54 public Long getLong(final String key) {
56 return mPref.getLong(key, 0);
83 mLastTime = getLong(KEY_TIMESTAMP_OF_FIRST_IMPORTANT_NOTICE);
153 mImportantNoticePreferences.getLong(KEY_TIMESTAMP_OF_FIRST_IMPORTANT_NOTICE));
157 mImportantNoticePreferences.getLong(KEY_TIMESTAMP_OF_FIRST_IMPORTANT_NOTICE));
167 mImportantNoticePreferences.getLong(KEY_TIMESTAMP_OF_FIRST_IMPORTANT_NOTICE));
184 mImportantNoticePreferences.getLong(KEY_TIMESTAMP_OF_FIRST_IMPORTANT_NOTICE));
200 mImportantNoticePreferences.getLong(KEY_TIMESTAMP_OF_FIRST_IMPORTANT_NOTICE));
216 mImportantNoticePreferences.getLong(KEY_TIMESTAMP_OF_FIRST_IMPORTANT_NOTICE));
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForEmail.java 60 long dataId = c.getLong(DataUpdateQuery._ID);
61 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
75 long dataId = c.getLong(DataDeleteQuery._ID);
76 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
DataRowHandlerForNickname.java 57 long dataId = c.getLong(DataUpdateQuery._ID);
58 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
77 long dataId = c.getLong(DataDeleteQuery._ID);
78 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
DataRowHandlerForIdentity.java 55 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
68 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
ReorderingCursorWrapper.java 82 public long getLong(int column) {
83 return mCursor.getLong(column);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSQLiteStatement.java 40 return resultSet.getLong(1);
55 return rs.getLong(1);
  /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/Gallery2/src/com/android/gallery3d/data/
LocalVideo.java 107 dateTakenInMs = cursor.getLong(INDEX_DATE_TAKEN);
108 dateAddedInSec = cursor.getLong(INDEX_DATE_ADDED);
109 dateModifiedInSec = cursor.getLong(INDEX_DATE_MODIFIED);
113 fileSize = cursor.getLong(INDEX_SIZE);
140 dateTakenInMs, cursor.getLong(INDEX_DATE_TAKEN));
142 dateAddedInSec, cursor.getLong(INDEX_DATE_ADDED));
144 dateModifiedInSec, cursor.getLong(INDEX_DATE_MODIFIED));
149 fileSize = uh.update(fileSize, cursor.getLong(INDEX_SIZE));
  /packages/apps/Settings/src/com/android/settings/net/
SummaryForAllUidLoader.java 58 final long start = mArgs.getLong(KEY_START);
59 final long end = mArgs.getLong(KEY_END);
  /external/chromium_org/third_party/icu/source/i18n/unicode/
fmtable.h 239 * Selector indicating a 32-bit integer value. Use getLong to
317 int32_t getLong(void) const { return (int32_t)fValue.fInt64; }
328 * getNumber().getLong(status) is returned. If this object is
335 int32_t getLong(UErrorCode& status) const;
639 * Deprecated variant of getLong(UErrorCode&).
642 * @deprecated ICU 3.0 use getLong(UErrorCode&) instead
644 inline int32_t getLong(UErrorCode* status) const;
736 inline int32_t Formattable::getLong(UErrorCode* status) const {
737 return getLong(*status);
  /external/icu/icu4c/source/i18n/unicode/
fmtable.h 239 * Selector indicating a 32-bit integer value. Use getLong to
317 int32_t getLong(void) const { return (int32_t)fValue.fInt64; }
328 * getNumber().getLong(status) is returned. If this object is
335 int32_t getLong(UErrorCode& status) const;
639 * Deprecated variant of getLong(UErrorCode&).
642 * @deprecated ICU 3.0 use getLong(UErrorCode&) instead
644 inline int32_t getLong(UErrorCode* status) const;
736 inline int32_t Formattable::getLong(UErrorCode* status) const {
737 return getLong(*status);
  /external/chromium_org/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/icu/icu4c/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...]
  /cts/tests/tests/database/src/android/database/cts/
MatrixCursorTest.java 104 assertEquals(Long.MIN_VALUE, mMatrixCursor.getLong(COLUMN0_INDEX));
106 assertEquals(0, mMatrixCursor.getLong(COLUMN1_INDEX));
108 assertEquals(Long.MAX_VALUE, mMatrixCursor.getLong(COLUMN2_INDEX));
187 assertEquals(Short.MIN_VALUE, mMatrixCursor.getLong(COLUMN0_INDEX));
188 assertEquals(0, mMatrixCursor.getLong(COLUMN1_INDEX));
189 assertEquals(Short.MAX_VALUE, mMatrixCursor.getLong(COLUMN2_INDEX));
218 assertEquals(0, mMatrixCursor.getLong(COLUMN0_INDEX));
219 assertEquals(0, mMatrixCursor.getLong(COLUMN1_INDEX));
220 assertEquals(Long.MAX_VALUE, mMatrixCursor.getLong(COLUMN2_INDEX));
248 assertEquals(-1, mMatrixCursor.getLong(COLUMN0_INDEX))
    [all...]

Completed in 2387 milliseconds

1 2 3 4 5 6 7 8 91011>>