Searched refs:endTimestamp (Results 1 – 2 of 2) sorted by relevance
138 long endTimestamp = System.currentTimeMillis() + timeout * 1000L; in setEnabled() local139 LocalBluetoothPreferences.persistDiscoverableEndTimestamp(mContext, endTimestamp); in setEnabled()147 BluetoothDiscoverableTimeoutReceiver.setDiscoverableAlarm(mContext, endTimestamp); in setEnabled()281 long endTimestamp = LocalBluetoothPreferences.getDiscoverableEndTimestamp(mContext); in updateCountdownSummary() local283 if (currentTimestamp > endTimestamp) { in updateCountdownSummary()289 int timeLeft = (int) ((endTimestamp - currentTimestamp) / 1000L); in updateCountdownSummary()
144 static void persistDiscoverableEndTimestamp(Context context, long endTimestamp) { in persistDiscoverableEndTimestamp() argument146 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); in persistDiscoverableEndTimestamp()