Home
last modified time | relevance | path

Searched refs:getAsLong (Results 1 – 25 of 49) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DInputHalServiceTest.java76 when(mUptimeSupplier.getAsLong()).thenReturn(0L); in setUp()
156 when(mUptimeSupplier.getAsLong()).thenReturn(5L); in handlesRepeatedKeys()
165 when(mUptimeSupplier.getAsLong()).thenReturn(10L); in handlesRepeatedKeys()
174 when(mUptimeSupplier.getAsLong()).thenReturn(15L); in handlesRepeatedKeys()
197 when(mUptimeSupplier.getAsLong()).thenReturn(5L); in handlesRepeatedKeyWithIndents()
210 when(mUptimeSupplier.getAsLong()).thenReturn(42L); in handlesKeyUp_withoutKeyDown()
222 when(mUptimeSupplier.getAsLong()).thenReturn(27L); in separateKeyDownEvents_areIndependent()
225 when(mUptimeSupplier.getAsLong()).thenReturn(42L); in separateKeyDownEvents_areIndependent()
/packages/apps/Contacts/src/com/android/contacts/model/
DValuesDelta.java115 public Long getAsLong(String key) { in getAsLong() method in ValuesDelta
117 return mAfter.getAsLong(key); in getAsLong()
119 return mBefore.getAsLong(key); in getAsLong()
159 return getAsLong(mIdColumn); in getId()
167 final Long isPrimary = getAsLong(ContactsContract.Data.IS_PRIMARY); in isPrimary()
180 final Long isSuperPrimary = getAsLong(ContactsContract.Data.IS_SUPER_PRIMARY); in isSuperPrimary()
492 return getAsLong(ContactsContract.CommonDataKinds.GroupMembership.GROUP_ROW_ID); in getGroupRowId()
DRawContactDeltaList.java269 Long rawContactId1 = get(index1).getValues().getAsLong(RawContacts._ID); in buildSplitContactDiffHelper()
279 Long rawContactId2 = get(index2).getValues().getAsLong(RawContacts._ID); in buildSplitContactDiffHelper()
298 final Long rawContactId = delta.getValues().getAsLong(RawContacts._ID); in findRawContactId()
314 return values.getAsLong(RawContacts._ID); in getRawContactId()
DRawContactDelta.java115 .getAsLong(RawContacts.VERSION); in mergeAfter()
116 final Long remoteVersion = remote.mValues.getAsLong(RawContacts.VERSION); in mergeAfter()
218 return getValues().getAsLong(RawContacts._ID); in getRawContactId()
440 final Long beforeVersion = mValues.getAsLong(RawContacts.VERSION); in buildAssertHelper()
DRawContact.java200 return getValues().getAsLong(RawContacts._ID); in getId()
253 return getValues().getAsLong(Contacts.Entity.CONTACT_ID); in getContactId()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java1698 Long dtstart = values.getAsLong(Events.DTSTART); in fixAllDayTime()
1699 Long dtend = values.getAsLong(Events.DTEND); in fixAllDayTime()
1794 long startTimeMillis = values.getAsLong(Events.DTSTART); in setRecurrenceEnd()
1883 Long originalInstanceTime = modValues.getAsLong(Events.ORIGINAL_INSTANCE_TIME); in handleInsertException()
2045 start = values.getAsLong(Events.DTSTART); in handleInsertException()
2047 start = values.getAsLong(Events.ORIGINAL_INSTANCE_TIME); in handleInsertException()
2054 ", generated DTEND=" + values.getAsLong(Events.DTEND)); in handleInsertException()
2070 if (originalInstanceTime.equals(values.getAsLong(Events.DTSTART))) { in handleInsertException()
2167 long calendarId = values.getAsLong(Events.CALENDAR_ID); in handleInsertException()
2353 final long origStart = values.getAsLong(Events.ORIGINAL_INSTANCE_TIME); in insertInTransactionInner()
[all …]
DCalendarInstancesHelper.java461 long originalTime = values.getAsLong(Events.ORIGINAL_INSTANCE_TIME); in performInstanceExpansion()
476 long beginTime = originalValues.getAsLong(Instances.BEGIN); in performInstanceExpansion()
627 Long dtstartMillis = values.getAsLong(Events.DTSTART); in updateInstancesLocked()
655 Long lastDateMillis = values.getAsLong(Events.LAST_DATE); in updateInstancesLocked()
656 Long originalInstanceTime = values.getAsLong(Events.ORIGINAL_INSTANCE_TIME); in updateInstancesLocked()
681 Long dtendMillis = values.getAsLong(Events.DTEND); in updateInstancesLocked()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java99 return mContentValues.getAsLong(Data.RAW_CONTACT_ID); in getRawContactId()
108 return mContentValues.getAsLong(Data._ID); in getId()
188 return mContentValues.getAsLong(Entity.LAST_TIME_USED); in getLastTimeUsed()
DPhotoDataItem.java33 return getContentValues().getAsLong(Photo.PHOTO_FILE_ID); in getPhotoFileId()
DGroupMembershipDataItem.java34 return getContentValues().getAsLong(GroupMembership.GROUP_ROW_ID); in getGroupRowId()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DWordListMetadata.java86 final Long lastUpdate = values.getAsLong(MetadataDbHelper.DATE_COLUMN); in createFromContentValues()
87 final Long fileSize = values.getAsLong(MetadataDbHelper.FILESIZE_COLUMN); in createFromContentValues()
DActionBatch.java121 manager.remove(values.getAsLong(MetadataDbHelper.PENDINGID_COLUMN)); in execute()
274 manager.remove(values.getAsLong(MetadataDbHelper.PENDINGID_COLUMN)); in execute()
/packages/apps/Bluetooth/lib/mapapi/com/android/bluetooth/mapapi/
DBluetoothMapEmailProvider.java460 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in insert()
630 Long messageId = values.getAsLong(BluetoothMapContract.MessageColumns._ID); in update()
634 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in update()
DBluetoothMapIMProvider.java530 Long messageId = values.getAsLong(BluetoothMapContract.MessageColumns._ID); in update()
534 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in update()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DReceiveSmsMessageAction.java78 final long received = messageValues.getAsLong(Sms.DATE); in executeAction()
127 final long sent = messageValues.getAsLong(Sms.DATE_SENT); in executeAction()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataItem.java106 return mContentValues.getAsLong(Data.RAW_CONTACT_ID); in getRawContactId()
113 return mContentValues.getAsLong(Data._ID); in getId()
DPhotoDataItem.java34 return getContentValues().getAsLong(Photo.PHOTO_FILE_ID); in getPhotoFileId()
DGroupMembershipDataItem.java34 return getContentValues().getAsLong(GroupMembership.GROUP_ROW_ID); in getGroupRowId()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DRawContact.java121 return getValues().getAsLong(RawContacts._ID); in getId()
168 return getValues().getAsLong(Contacts.Entity.CONTACT_ID); in getContactId()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java435 assertEquals(insertedValues.getAsLong(CallLog.Calls.DATE), in testCreationTimeAndAge()
437 assertEquals(insertedValues.getAsLong(CallLog.Calls.DURATION), in testCreationTimeAndAge()
699 assertEquals(Long.valueOf(1000), insertedValues.getAsLong(CallLog.Calls.DATA_USAGE)); in testLogCallDataUsageSet()
726 assertNull(insertedValues.getAsLong(CallLog.Calls.DATA_USAGE)); in testLogCallDataUsageNotSet()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java195 Long i = from.getAsLong(key); in copyLong()
239 Long ts = values.getAsLong(BluetoothShare.TIMESTAMP); in insert()
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/
DCalendarImporterTest.java228 argument.getAsLong(Events.DTSTART).equals( in eventMatcher()
230 argument.getAsLong(Events.DTEND).equals( in eventMatcher()
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/
DEpgInput.java35 long id = contentValues.getAsLong(EpgContract.EpgInputs.COLUMN_ID); in createEpgChannel()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestCopyJobProcessTracker.java41 public long getAsLong() { in getAsLong() method in TestCopyJobProcessTracker.TestLongSupplier
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java649 (long) values.getAsLong(ImageColumns.BUCKET_ID)); in assertBucket()
659 (long) values.getAsLong(ImageColumns.GROUP_ID)); in assertGroup()

12