/packages/apps/Messaging/src/com/android/messaging/sms/ |
DatabaseMessages.java | 158 mRowId = cursor.getLong(INDEX_ID); 161 mTimestampInMillis = cursor.getLong(INDEX_DATE); 163 mTimestampSentInMillis = cursor.getLong(INDEX_DATE_SENT); 165 mThreadId = cursor.getLong(INDEX_THREAD_ID); 357 mRowId = cursor.getLong(INDEX_ID); 369 mSize = cursor.getLong(INDEX_MESSAGE_SIZE); 371 mTimestampInMillis = cursor.getLong(INDEX_DATE) * 1000; 372 mSentTimestampInMillis = cursor.getLong(INDEX_DATE_SENT) * 1000; 373 mThreadId = cursor.getLong(INDEX_THREAD_ID); 381 mExpiryInMillis = cursor.getLong(INDEX_EXPIRY) * 1000 [all...] |
/packages/apps/TV/src/com/android/tv/data/ |
WatchedHistoryManager.java | 53 final long lastIndex = mSharedPreferences.getLong(PREF_KEY_LAST_INDEX, -1); 128 mLastIndex = mSharedPreferences.getLong(PREF_KEY_LAST_INDEX, -1); 223 long lastIndex = mSharedPreferences.getLong(PREF_KEY_LAST_INDEX, -1);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ |
SenderInfoLoader.java | 156 long contactId = cursor.getLong(DATA_CONTACT_ID_COLUMN); 162 long photoId = cursor.getLong(DATA_PHOTO_ID_COLUMN); 213 long photoId = cursor.getLong(PHOTO_PHOTO_ID_COLUMN);
|
/packages/apps/Dialer/java/com/android/dialer/app/calllog/ |
CallLogAdapter.java | 585 savedInstanceState.getLong(KEY_EXPANDED_ROW_ID, NO_EXPANDED_LIST_ITEM); 779 if (mHiddenRowIds.contains(c.getLong(CallLogQuery.ID))) { [all...] |
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/ |
TvContractUtils.java | 80 long rowId = cursor.getLong(0); 170 long channelId = cursor.getLong(0); 196 return cursor.getLong(0); 221 long startMs = cursor.getLong(0); 222 long endMs = cursor.getLong(1);
|
/developers/build/prebuilts/gradle/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/ |
CalendarQueryService.java | 155 event.id = cursor.getLong(idIdx); 156 event.eventId = cursor.getLong(eventIdIdx); 158 event.begin = cursor.getLong(beginIdx); 159 event.end = cursor.getLong(endIdx); 168 ownerId = contactCursor.getLong(ownerIdIdx);
|
/developers/samples/android/wearable/wear/AgendaData/Application/src/main/java/com/example/android/wearable/agendadata/ |
CalendarQueryService.java | 155 event.id = cursor.getLong(idIdx); 156 event.eventId = cursor.getLong(eventIdIdx); 158 event.begin = cursor.getLong(beginIdx); 159 event.end = cursor.getLong(endIdx); 168 ownerId = contactCursor.getLong(ownerIdIdx);
|
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/ |
CalendarQueryService.java | 155 event.id = cursor.getLong(idIdx); 156 event.eventId = cursor.getLong(eventIdIdx); 158 event.begin = cursor.getLong(beginIdx); 159 event.end = cursor.getLong(endIdx); 168 ownerId = contactCursor.getLong(ownerIdIdx);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
ArrayTest.java | 391 * java.lang.reflect.Array#getLong(java.lang.Object, int) 395 // java.lang.reflect.Array.getLong(java.lang.Object, int) 400 ret = Array.getLong(x, 0); 406 ret = Array.getLong(new Object(), 0); 416 ret = Array.getLong(x, 4); 426 ret = Array.getLong(null, 0); 909 assertEquals("Get returned incorrect value", 1, Array.getLong(x, 0));
|
/libcore/ojluni/src/main/java/java/nio/ |
HeapByteBuffer.java | 380 public long getLong() { 381 return Bits.getLong(this, ix(nextGetIndex(8)), bigEndian); 385 public long getLong(int i) { 386 return Bits.getLong(this, ix(checkIndex(i, 8)), bigEndian); 391 return Bits.getLong(this, ix(i), bigEndian);
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
HijrahDate.java | 361 public long getLong(TemporalField field) { 396 case ALIGNED_DAY_OF_WEEK_IN_MONTH: return plusDays(newValue - getLong(ALIGNED_DAY_OF_WEEK_IN_MONTH)); 397 case ALIGNED_DAY_OF_WEEK_IN_YEAR: return plusDays(newValue - getLong(ALIGNED_DAY_OF_WEEK_IN_YEAR)); 401 case ALIGNED_WEEK_OF_MONTH: return plusDays((newValue - getLong(ALIGNED_WEEK_OF_MONTH)) * 7); 402 case ALIGNED_WEEK_OF_YEAR: return plusDays((newValue - getLong(ALIGNED_WEEK_OF_YEAR)) * 7);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandler.java | 159 long dataId = c.getLong(DataUpdateQuery._ID); 160 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID); 319 long dataId = c.getLong(DataDeleteQuery._ID); 320 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID); 350 long dataId = c.getLong(DataDeleteQuery._ID);
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
PreferenceDataStoreTest.java | 350 verify(mDataStore, atLeast(0)).getLong(eq(KEY), anyLong()); 355 assertEquals(-1, mSharedPref.getLong(KEY, -1L)); 362 mPreference.getLong(1L); 363 verify(mDataStore, atLeastOnce()).getLong(eq(KEY), eq(1L)); 370 mPreference.getLong(1L); 371 verify(mDataStore, atLeastOnce()).getLong(eq(KEY), eq(1L)); 537 long getLong(long defaultValue) {
|
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
EABProvider.java | 451 cursor.getLong(cursor.getColumnIndex( 457 cursor.getLong(cursor.getColumnIndex( 466 cursor.getLong(cursor.getColumnIndex( 472 cursor.getLong(cursor.getColumnIndex( 498 long dataId = cursor.getLong(cursor.getColumnIndex( 500 long contactId = cursor.getLong(cursor.getColumnIndex( 502 long rawContactId = cursor.getLong(cursor.getColumnIndex(
|
EABService.java | 469 Long dataId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( 471 Long contactId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( 473 Long rawContactId = Long.valueOf(cursor.getLong(cursor.getColumnIndex( 498 long timestamp = cursor.getLong(cursor 657 Long eabDataId = Long.valueOf(eabDbCursor.getLong(eabDbCursor 675 Long contactDataId = Long.valueOf(contactDbCursor.getLong( [all...] |
/frameworks/support/tv-provider/src/android/support/media/tv/ |
BaseProgram.java | 319 builder.setId(cursor.getLong(index)); 390 builder.setVideoWidth((int) cursor.getLong(index)); 394 builder.setVideoHeight((int) cursor.getLong(index)); 408 builder.setInternalProviderFlag1(cursor.getLong(index)); 413 builder.setInternalProviderFlag2(cursor.getLong(index)); 418 builder.setInternalProviderFlag3(cursor.getLong(index)); 423 builder.setInternalProviderFlag4(cursor.getLong(index)); [all...] |
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
TestNumberParser.java | 180 assertEquals(parsed.getLong(DAY_OF_MONTH), expectedValue); 200 assertEquals(parsed.getLong(DAY_OF_WEEK), expectedValue); 315 assertEquals(parsed.getLong(DAY_OF_MONTH), (long)parseVal); 425 assertEquals(parsed.getLong(DAY_OF_MONTH), (long)parseVal); 516 assertEquals(parsed.getLong(DAY_OF_MONTH), (long)parseVal); 553 assertEquals(parsed.getLong(MONTH_OF_YEAR), (long) parseMonth); 554 assertEquals(parsed.getLong(DAY_OF_MONTH), (long) parsedDay);
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
TCKDateTimeFormatter.java | 385 public long getLong(TemporalField field) { 457 assertEquals(result.getLong(DAY_OF_MONTH), 30L); 469 assertEquals(result.getLong(YEAR), 2012L); 470 assertEquals(result.getLong(MONTH_OF_YEAR), 6L); 471 assertEquals(result.getLong(DAY_OF_MONTH), 30L); 492 assertEquals(result.getLong(DAY_OF_MONTH), 30L); 507 assertEquals(result.getLong(YEAR), 2012L); 508 assertEquals(result.getLong(MONTH_OF_YEAR), 6L); 509 assertEquals(result.getLong(DAY_OF_MONTH), 30L); [all...] |
/external/icu/icu4c/source/i18n/ |
fmtable.cpp | 396 //Formattable::getLong(UErrorCode* status) const 397 Formattable::getLong(UErrorCode& status) const 434 getNumber().getLong(status); 734 fDecimalNum->set(this->getLong()); 788 fValue.fInt64 = fDecimalNum->getLong(); 872 stream << obj.getLong() << 'L'; 961 return obj->getLong(*status);
|
/external/nist-sip/java/gov/nist/core/ |
GenericObject.java | 253 long longField = f.getLong(mergeObject); 447 if (f.getLong(this) != g.getLong(that)) 532 if (f.getLong(this) != g.getLong(that)) 631 long longField = f.getLong(this);
|
/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/ |
PreferenceDataStoreTest.java | 386 verify(mDataStore, atLeast(0)).getLong(eq(KEY), anyLong()); 391 assertEquals(-1, mSharedPref.getLong(KEY, -1L)); 400 mPreference.getLong(1L); 402 verify(mDataStore, atLeastOnce()).getLong(eq(KEY), eq(1L)); 411 mPreference.getLong(1L); 413 verify(mDataStore, atLeastOnce()).getLong(eq(KEY), eq(1L));
|
/libcore/json/src/test/java/org/json/ |
JSONArrayTest.java | 218 assertEquals(0, array.getLong(0)); 219 assertEquals(9223372036854775806L, array.getLong(1)); 220 assertEquals(Long.MAX_VALUE, array.getLong(2)); 221 assertEquals(0, array.getLong(3)); 278 assertEquals(5L, array.getLong(1)); 282 // The last digit of the string is a 6 but getLong returns a 7. It's probably parsing as a 284 assertEquals(9223372036854775807L, array.getLong(2));
|
/libcore/ojluni/src/main/java/java/time/format/ |
Parsed.java | 190 public long getLong(TemporalField field) { 197 return date.getLong(field); 200 return time.getLong(field); 590 long instant = date.atTime(time).atZone(zone).getLong(ChronoField.INSTANT_SECONDS); 596 long instant = date.atTime(time).atZone(offset).getLong(ChronoField.INSTANT_SECONDS); 641 val1 = target.getLong(field);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
AddressedMediaPlayer.java | 93 long mediaId = ByteBuffer.wrap(itemAttr.mUid).getLong(); 186 if (!bundle.containsKey(key)) bundle.putLong(key, metadata.getLong(key)); 193 long qid = ByteBuffer.wrap(uid).getLong(); 406 Long.toString(extras.getLong(MediaMetadata.METADATA_KEY_TRACK_NUMBER)); 411 Long.toString(extras.getLong(MediaMetadata.METADATA_KEY_NUM_TRACKS)); 419 attrValue = Long.toString(extras.getLong(MediaMetadata.METADATA_KEY_DURATION));
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
PhoneNumberListAdapter.java | 357 final long phoneId = cursor.getLong(PhoneQuery.PHONE_ID); 398 final long contactId = cursor.getLong(PhoneQuery.CONTACT_ID); 422 final long currentContactId = cursor.getLong(PhoneQuery.CONTACT_ID); 424 final long previousContactId = cursor.getLong(PhoneQuery.CONTACT_ID); 431 final long nextContactId = cursor.getLong(PhoneQuery.CONTACT_ID); 541 photoId = cursor.getLong(PhoneQuery.PHOTO_ID);
|