Searched refs:getLong (Results 1 - 25 of 405) sorted by relevance

1234567891011>>

/packages/services/Car/car-lib/src/android/car/
H A DICarInfo.aidl37 long[] getLong(String key) = 2;
/packages/apps/Messaging/src/com/android/messaging/util/
H A DBugleGservices.java42 public abstract long getLong(final String key, final long defaultValue); method in class:BugleGservices
H A DBugleGservicesImpl.java40 public long getLong(final String key, final long defaultValue) { method in class:BugleGservicesImpl
H A DBuglePrefs.java84 public abstract long getLong(final String key, final long defaultValue); method in class:BuglePrefs
/packages/apps/Camera2/src/com/android/camera/data/
H A DVideoDataFactory.java36 long id = c.getLong(VideoDataQuery.COL_ID);
39 long creationDateInMilliSeconds = c.getLong(VideoDataQuery.COL_DATE_TAKEN);
40 long lastModifiedDateInSeconds = c.getLong(VideoDataQuery.COL_DATE_MODIFIED);
67 long sizeInBytes = c.getLong(VideoDataQuery.COL_SIZE);
70 long videoDurationMillis = c.getLong(VideoDataQuery.COL_DURATION);
H A DPhotoDataFactory.java33 long id = c.getLong(PhotoDataQuery.COL_ID);
36 long dateTakenInMilliSeconds = c.getLong(PhotoDataQuery.COL_DATE_TAKEN);
37 long dateModifiedInSeconds = c.getLong(PhotoDataQuery.COL_DATE_MODIFIED);
65 long sizeInBytes = c.getLong(PhotoDataQuery.COL_SIZE);
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DImageList.java116 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);
H A DVideoList.java54 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);
/packages/apps/ContactsCommon/src/com/android/contacts/commonbind/experiments/
H A DFlags.java54 public long getLong(String flagName, long defValue) { method in class:Flags
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
H A DFrequentContactsCursorBuilderTest.java36 assertEquals(expected.getLong(ContactUtil.INDEX_DATA_ID),
37 actual.getLong(ContactUtil.INDEX_DATA_ID));
38 assertEquals(expected.getLong(ContactUtil.INDEX_CONTACT_ID),
39 actual.getLong(ContactUtil.INDEX_CONTACT_ID));
/packages/apps/Messaging/tests/src/com/android/messaging/util/
H A DFakeBugleGservices.java31 public long getLong(final String key, final long defaultValue) { method in class:FakeBugleGservices
H A DFakeBuglePrefs.java33 public long getLong(final String key, final long defaultValue) { method in class:FakeBuglePrefs
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DDataRowHandlerForEmail.java59 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);
H A DDataRowHandlerForNickname.java56 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);
H A DDataRowHandlerForIdentity.java54 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
67 final long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
H A DReorderingCursorWrapper.java82 public long getLong(int column) { method in class:ReorderingCursorWrapper
83 return mCursor.getLong(column);
H A DDataRowHandlerForOrganization.java62 long dataId = c.getLong(DataUpdateQuery._ID);
63 long rawContactId = c.getLong(DataUpdateQuery.RAW_CONTACT_ID);
96 long dataId = c.getLong(DataUpdateQuery._ID);
97 long rawContactId = c.getLong(DataDeleteQuery.RAW_CONTACT_ID);
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocalVideo.java107 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/services/Car/car-support-lib/src/android/support/car/
H A DCarInfoManagerEmbedded.java56 public Long getLong(String key) throws CarNotConnectedException, IllegalArgumentException { method in class:CarInfoManagerEmbedded
58 return mManager.getLong(key);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
H A DImportantNoticeUtilsTests.java59 public Long getLong(final String key) { method in class:ImportantNoticeUtilsTests.ImportantNoticePreferences
61 return mPref.getLong(key, 0);
87 mLastTime = getLong(KEY_TIMESTAMP_OF_CONTACTS_NOTICE);
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DContactAggregator2.java266 mimeTypeCondition.append(c.getLong((0)));
409 if (!connectedRawContactIds.contains(cursor.getLong(0))) {
472 long rawContactId = cursor.getLong(RawContactIdQuery.RAW_CONTACT_ID);
522 long rawContactId1 = c.getLong(AggregateExceptionQuery.RAW_CONTACT_ID1);
528 rId = c.getLong(AggregateExceptionQuery.RAW_CONTACT_ID2);
529 contactId = c.getLong(AggregateExceptionQuery.CONTACT_ID2);
530 accountId = c.getLong(AggregateExceptionQuery.ACCOUNT_ID2);
534 rId = c.getLong(AggregateExceptionQuery.RAW_CONTACT_ID1);
535 contactId = c.getLong(AggregateExceptionQuery.CONTACT_ID1);
536 accountId = c.getLong(AggregateExceptionQuer
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/
H A DEmptyCursor.java62 public long getLong(int column) { method in class:EmptyCursor
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
H A DDataStatus.java66 final long newTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1);
79 mTimestamp = getLong(cursor, Data.STATUS_TIMESTAMP, -1);
157 private static long getLong(Cursor cursor, String columnName, long missingValue) { method in class:DataStatus
159 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DLocalBluetoothPreferences.java61 return getSharedPreferences(context).getLong(
89 long lastDiscoverableEndTime = sharedPreferences.getLong(
100 } else if ((sharedPreferences.getLong(KEY_DISCOVERING_TIMESTAMP, 0) +
111 long lastDeviceSelectedTime = sharedPreferences.getLong(
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/
H A DDataStatus.java64 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) { method in class:DataStatus
153 return cursor.isNull(columnIndex) ? missingValue : cursor.getLong(columnIndex);

Completed in 649 milliseconds

1234567891011>>