Searched refs:endTimestamp (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/ |
D | BluetoothDiscoverableEnabler.java | 137 long endTimestamp = System.currentTimeMillis() + timeout * 1000L; in setEnabled() local 138 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()
|
D | LocalBluetoothPreferences.java | 142 static void persistDiscoverableEndTimestamp(Context context, long endTimestamp) { in persistDiscoverableEndTimestamp() argument 144 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); in persistDiscoverableEndTimestamp()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDiscoverableEnabler.java | 137 long endTimestamp = System.currentTimeMillis() + timeout * 1000L; in setEnabled() local 138 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()
|
D | LocalBluetoothPreferences.java | 142 static void persistDiscoverableEndTimestamp(Context context, long endTimestamp) { in persistDiscoverableEndTimestamp() argument 144 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); in persistDiscoverableEndTimestamp()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothUtils.java | 172 static void persistDiscoverableEndTimestamp(Context context, long endTimestamp) { in persistDiscoverableEndTimestamp() argument 174 editor.putLong(KEY_DISCOVERABLE_END_TIMESTAMP, endTimestamp); in persistDiscoverableEndTimestamp()
|