Searched refs:endTimestamp (Results 1 – 5 of 5) sorted by relevance
139 long endTimestamp = System.currentTimeMillis() + timeout * 1000L; in setEnabled() local140 LocalBluetoothPreferences.persistDiscoverableEndTimestamp(mContext, endTimestamp); in setEnabled()148 BluetoothDiscoverableTimeoutReceiver.setDiscoverableAlarm(mContext, endTimestamp); in setEnabled()282 long endTimestamp = LocalBluetoothPreferences.getDiscoverableEndTimestamp(mContext); in updateCountdownSummary() local284 if (currentTimestamp > endTimestamp) { in updateCountdownSummary()290 int timeLeft = (int) ((endTimestamp - currentTimestamp) / 1000L); in updateCountdownSummary()
142 static void persistDiscoverableEndTimestamp(Context context, long endTimestamp) { in persistDiscoverableEndTimestamp() argument144 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); in persistDiscoverableEndTimestamp()
216 static void persistDiscoverableEndTimestamp(Context context, long endTimestamp) { in persistDiscoverableEndTimestamp() argument218 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); in persistDiscoverableEndTimestamp()
108 long endTimestamp, INetworkStatsService statsService) in NetworkStats() argument115 mEndTimeStamp = endTimestamp; in NetworkStats()
244 final long endTimestamp = getLastEvenHourBeforeTimestamp(rawEndTimestamp); in getTimestampSlots() local246 if (startTimestamp >= endTimestamp) { in getTimestampSlots()249 for (long timestamp = startTimestamp; timestamp <= endTimestamp; in getTimestampSlots()