Searched refs:getAsLong (Results 1 – 25 of 49) sorted by relevance
12
76 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()
115 public Long getAsLong(String key) { in getAsLong() method in ValuesDelta117 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()
269 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()
115 .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()
200 return getValues().getAsLong(RawContacts._ID); in getId()253 return getValues().getAsLong(Contacts.Entity.CONTACT_ID); in getContactId()
1698 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 …]
461 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()
99 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()
33 return getContentValues().getAsLong(Photo.PHOTO_FILE_ID); in getPhotoFileId()
34 return getContentValues().getAsLong(GroupMembership.GROUP_ROW_ID); in getGroupRowId()
86 final Long lastUpdate = values.getAsLong(MetadataDbHelper.DATE_COLUMN); in createFromContentValues()87 final Long fileSize = values.getAsLong(MetadataDbHelper.FILESIZE_COLUMN); in createFromContentValues()
121 manager.remove(values.getAsLong(MetadataDbHelper.PENDINGID_COLUMN)); in execute()274 manager.remove(values.getAsLong(MetadataDbHelper.PENDINGID_COLUMN)); in execute()
460 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()
530 Long messageId = values.getAsLong(BluetoothMapContract.MessageColumns._ID); in update()534 Long folderId = values.getAsLong(BluetoothMapContract.MessageColumns.FOLDER_ID); in update()
78 final long received = messageValues.getAsLong(Sms.DATE); in executeAction()127 final long sent = messageValues.getAsLong(Sms.DATE_SENT); in executeAction()
106 return mContentValues.getAsLong(Data.RAW_CONTACT_ID); in getRawContactId()113 return mContentValues.getAsLong(Data._ID); in getId()
34 return getContentValues().getAsLong(Photo.PHOTO_FILE_ID); in getPhotoFileId()
121 return getValues().getAsLong(RawContacts._ID); in getId()168 return getValues().getAsLong(Contacts.Entity.CONTACT_ID); in getContactId()
435 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()
195 Long i = from.getAsLong(key); in copyLong()239 Long ts = values.getAsLong(BluetoothShare.TIMESTAMP); in insert()
228 argument.getAsLong(Events.DTSTART).equals( in eventMatcher()230 argument.getAsLong(Events.DTEND).equals( in eventMatcher()
35 long id = contentValues.getAsLong(EpgContract.EpgInputs.COLUMN_ID); in createEpgChannel()
41 public long getAsLong() { in getAsLong() method in TestCopyJobProcessTracker.TestLongSupplier
649 (long) values.getAsLong(ImageColumns.BUCKET_ID)); in assertBucket()659 (long) values.getAsLong(ImageColumns.GROUP_ID)); in assertGroup()