Home
last modified time | relevance | path

Searched refs:endTimestamp (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDiscoverableEnabler.java138 long endTimestamp = System.currentTimeMillis() + timeout * 1000L; in setEnabled() local
139 LocalBluetoothPreferences.persistDiscoverableEndTimestamp(mContext, endTimestamp); in setEnabled()
147 BluetoothDiscoverableTimeoutReceiver.setDiscoverableAlarm(mContext, endTimestamp); in setEnabled()
281 long endTimestamp = LocalBluetoothPreferences.getDiscoverableEndTimestamp(mContext); in updateCountdownSummary() local
283 if (currentTimestamp > endTimestamp) { in updateCountdownSummary()
289 int timeLeft = (int) ((endTimestamp - currentTimestamp) / 1000L); in updateCountdownSummary()
DLocalBluetoothPreferences.java144 static void persistDiscoverableEndTimestamp(Context context, long endTimestamp) { in persistDiscoverableEndTimestamp() argument
146 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); in persistDiscoverableEndTimestamp()