HomeSort by relevance Sort by last modified time
    Searched full:getlong (Results 101 - 125 of 797) sorted by null

1 2 3 45 6 7 8 91011>>

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandler.java 151 long dataId = c.getLong(DataUpdateQuery._ID);
152 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
249 long dataId = c.getLong(DataDeleteQuery._ID);
250 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
279 long dataId = c.getLong(DataDeleteQuery._ID);
  /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));
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapContent.java 174 if (D) Log.d(TAG, "printSms " + BaseColumns._ID + ": " + c.getLong(c.getColumnIndex(BaseColumns._ID)) +
175 " " + Sms.THREAD_ID + " : " + c.getLong(c.getColumnIndex(Sms.THREAD_ID)) +
178 " " + Sms.DATE + " : " + c.getLong(c.getColumnIndex(Sms.DATE)) +
183 if (D) Log.d(TAG, "printMms " + BaseColumns._ID + ": " + c.getLong(c.getColumnIndex(BaseColumns._ID)) +
184 "\n " + Mms.THREAD_ID + " : " + c.getLong(c.getColumnIndex(Mms.THREAD_ID)) +
189 "\n " + Mms.DATE + " : " + c.getLong(c.getColumnIndex(Mms.DATE)) +
190 "\n " + Mms.DATE_SENT + " : " + c.getLong(c.getColumnIndex(Mms.DATE_SENT)) +
258 Long partid = c.getLong(c.getColumnIndex(BaseColumns._ID));
296 long id = c.getLong(c.getColumnIndex(BaseColumns._ID));
437 long id = c.getLong(c.getColumnIndex(BaseColumns._ID))
    [all...]
  /external/ppp/pppd/
ipcp.c 865 GETLONG(l, p); \
869 GETLONG(l, p); \
908 GETLONG(l, p); \
923 GETLONG(l, p); \
993 GETLONG(l, p); \
995 GETLONG(l, p); \
1020 GETLONG(l, p); \
1033 GETLONG(l, p); \
1140 GETLONG(l, p);
1144 GETLONG(l, p)
    [all...]
  /frameworks/ex/common/java/com/android/common/
OperationScheduler.java 165 long triggerTimeMillis = mStorage.getLong(PREFIX + "triggerTimeMillis", Long.MAX_VALUE);
203 return mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0);
214 mStorage.getLong(PREFIX + "lastSuccessTimeMillis", 0),
215 mStorage.getLong(PREFIX + "lastErrorTimeMillis", 0));
228 long time = mStorage.getLong(name, 0);
362 time.set(mStorage.getLong(key, 0));
  /packages/apps/ContactsCommon/src/com/android/contacts/common/list/
PhoneNumberListAdapter.java 269 final long phoneId = cursor.getLong(PhoneQuery.PHONE_ID);
300 final long contactId = cursor.getLong(PhoneQuery.CONTACT_ID);
323 final long currentContactId = cursor.getLong(PhoneQuery.CONTACT_ID);
325 final long previousContactId = cursor.getLong(PhoneQuery.CONTACT_ID);
332 final long nextContactId = cursor.getLong(PhoneQuery.CONTACT_ID);
420 photoId = cursor.getLong(PhoneQuery.PHOTO_ID);
  /packages/providers/DownloadProvider/src/com/android/providers/downloads/
DownloadInfo.java 73 info.mId = getLong(Downloads.Impl._ID);
85 info.mLastMod = getLong(Downloads.Impl.COLUMN_LAST_MODIFICATION);
92 info.mTotalBytes = getLong(Downloads.Impl.COLUMN_TOTAL_BYTES);
93 info.mCurrentBytes = getLong(Downloads.Impl.COLUMN_CURRENT_BYTES);
152 private Long getLong(String column) {
153 return mCursor.getLong(mCursor.getColumnIndexOrThrow(column));
  /cts/tests/tests/provider/src/android/provider/cts/
Contacts_PeopleTest.java 228 long oldLastContacted = cursor.getLong(PEOPLE_LAST_CONTACTED_INDEX);
234 long lastContacted = cursor.getLong(PEOPLE_LAST_CONTACTED_INDEX);
243 lastContacted = cursor.getLong(PEOPLE_LAST_CONTACTED_INDEX);
MediaStore_Audio_AlbumsTest.java 94 long id = c.getLong(c.getColumnIndex(Albums._ID));
145 long fid = c.getLong(c.getColumnIndex(Albums._ID));
184 long aid = c.getLong(c.getColumnIndex(Albums.ALBUM_ID));
VoicemailContractTest.java 106 assertEquals(insertDate, cursor.getLong(DATE_INDEX));
107 assertEquals(insertCallsDuration, cursor.getLong(DURATION_INDEX));
131 assertEquals(updateDate, cursor.getLong(DATE_INDEX));
132 assertEquals(updateCallsDuration, cursor.getLong(DURATION_INDEX));
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/
LongTest.java 153 * @tests java.lang.Long#getLong(java.lang.String)
157 // java.lang.Long.getLong(java.lang.String)
161 assertTrue("returned incorrect Long", Long.getLong("testLong").equals(
164 Long.getLong("ff"));
168 * @tests java.lang.Long#getLong(java.lang.String, long)
172 // java.lang.Long.getLong(java.lang.String, long)
176 assertTrue("returned incorrect Long", Long.getLong("testLong", 4L)
178 assertTrue("returned incorrect default Long", Long.getLong("ff", 4L)
183 * @tests java.lang.Long#getLong(java.lang.String, java.lang.Long)
187 // java.lang.Long.getLong(java.lang.String, java.lang.Long
    [all...]
  /frameworks/base/services/java/com/android/server/
BootReceiver.java 115 if (SystemProperties.getLong("ro.runtime.firstboot", 0) == 0) {
169 long lastTime = prefs.getLong(filename, 0);
190 long lastTime = prefs.getLong(tag, 0);
  /packages/apps/Browser/src/com/android/browser/
BrowserSnapshotPage.java 88 mAnimateId = getArguments().getLong(EXTRA_ANIMATE_ID);
252 long id = cursor.getLong(SNAPSHOT_ID);
287 long timestamp = cursor.getLong(SNAPSHOT_DATE_CREATED);
  /packages/apps/Camera/src/com/android/camera/
ComboPreferences.java 172 public long getLong(String key, long defValue) {
174 return mPrefGlobal.getLong(key, defValue);
176 return mPrefLocal.getLong(key, defValue);
  /packages/apps/Camera2/src/com/android/camera/
ComboPreferences.java 176 public long getLong(String key, long defValue) {
178 return mPrefGlobal.getLong(key, defValue);
180 return mPrefLocal.getLong(key, defValue);
  /packages/apps/Dialer/src/com/android/dialer/database/
DialerDatabaseHelper.java 533 deletedContactCursor.getLong(DeleteContactQuery.DELETED_CONTACT_ID);
594 final Long contactId = updatedContactCursor.getLong(PhoneQuery.PHONE_CONTACT_ID);
672 insert.bindLong(1, updatedContactCursor.getLong(PhoneQuery.PHONE_ID));
673 insert.bindLong(3, updatedContactCursor.getLong(PhoneQuery.PHONE_CONTACT_ID));
674 insert.bindLong(6, updatedContactCursor.getLong(PhoneQuery.PHONE_PHOTO_ID));
675 insert.bindLong(7, updatedContactCursor.getLong(PhoneQuery.PHONE_LAST_TIME_USED));
689 numberInsert.bindLong(1, updatedContactCursor.getLong(
729 insert.bindLong(1, nameCursor.getLong(columnIndexContactId));
762 databaseLastUpdateSharedPref.getLong(LAST_UPDATED_MILLIS, 0));
    [all...]
  /packages/apps/Email/src/com/android/email/
AttachmentInfo.java 90 this(context, c.getLong(COLUMN_ID), c.getLong(COLUMN_SIZE), c.getString(COLUMN_FILENAME),
91 c.getString(COLUMN_MIME_TYPE), c.getLong(COLUMN_ACCOUNT_KEY),
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
FileCache.java 207 if (cursor.moveToNext()) mTotalBytes = cursor.getLong(0);
225 long id = cursor.getLong(0);
228 long size = cursor.getLong(3);
  /packages/apps/Mms/src/com/android/mms/transaction/
RetryScheduler.java 196 threadId = c.getLong(0);
226 long id = cursor.getLong(columnIndex);
284 long retryAt = cursor.getLong(cursor.getColumnIndexOrThrow(
  /packages/apps/UnifiedEmail/src/com/android/mail/
SenderInfoLoader.java 139 long contactId = cursor.getLong(DATA_CONTACT_ID_COLUMN);
150 long photoId = cursor.getLong(DATA_PHOTO_ID_COLUMN);
184 long photoId = cursor.getLong(PHOTO_PHOTO_ID_COLUMN);
  /cts/tests/tests/database/src/android/database/cts/
AbstractCursor_SelfContentObserverTest.java 84 public long getLong(int column) {
DatabaseUtils_InsertHelperTest.java 131 assertEquals(1000L, cursor.getLong(longValueIndex));
163 assertEquals(987654L, cursor.getLong(longValueIndex));
227 assertEquals(1000L, cursor.getLong(longValueIndex));
273 assertEquals(987654L, cursor.getLong(longValueIndex));
  /cts/tests/tests/database/src/android/database/sqlite/cts/
DatabaseStatementTest.java 144 long num = c.getLong(numCol);
237 long num = c.getLong(numCol);
272 long num = c.getLong(numCol);
319 long num = c.getLong(numCol);
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
DeletedContactUtil.java 42 return cursor.getLong(0);
  /development/tutorials/NotepadCodeLab/Notepadv3Solution/src/com/android/demo/notepad3/
NoteEdit.java 51 mRowId = extras != null ? extras.getLong(NotesDbAdapter.KEY_ROWID)

Completed in 772 milliseconds

1 2 3 45 6 7 8 91011>>