Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: components/proximity_auth/screenlock_state.h

Issue 2898513002: [EasyUnlock] Observe proximity changes and clean up TX power strategy. (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_STATE_H 5 #ifndef COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_STATE_H
6 #define COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_STATE_H 6 #define COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_STATE_H
7 7
8 namespace proximity_auth { 8 namespace proximity_auth {
9 9
10 // Possible user states of the proximity auth feature on the lock or sign-in 10 // Possible user states of the proximity auth feature on the lock or sign-in
(...skipping 16 matching lines...) Expand all
27 // A phone eligible to unlock the local device is found, but it does not have 27 // A phone eligible to unlock the local device is found, but it does not have
28 // a lock screen enabled. 28 // a lock screen enabled.
29 PHONE_NOT_LOCKABLE, 29 PHONE_NOT_LOCKABLE,
30 // An enabled phone is found, but it is not allowed to unlock the local device 30 // An enabled phone is found, but it is not allowed to unlock the local device
31 // because it does not support reporting its lock screen state. 31 // because it does not support reporting its lock screen state.
32 PHONE_UNSUPPORTED, 32 PHONE_UNSUPPORTED,
33 // A phone eligible to unlock the local device is found, but its received 33 // A phone eligible to unlock the local device is found, but its received
34 // signal strength is too low, i.e. the phone is roughly more than 30 feet 34 // signal strength is too low, i.e. the phone is roughly more than 30 feet
35 // away, and therefore is not allowed to unlock the device. 35 // away, and therefore is not allowed to unlock the device.
36 RSSI_TOO_LOW, 36 RSSI_TOO_LOW,
37 // A phone eligible to unlock the local device is found, but the local
38 // device's transmission power is too high, indicating that the phone is
39 // (probably) more than 1 foot away, and therefore is not allowed to unlock
40 // the device.
41 TX_POWER_TOO_HIGH,
42 // A phone eligible to unlock the local device is found; but (a) the phone is 37 // A phone eligible to unlock the local device is found; but (a) the phone is
43 // locked, and (b) the local device's transmission power is too high, 38 // locked, and (b) the local device's transmission power is too high,
44 // indicating that the phone is (probably) more than 1 foot away, and 39 // indicating that the phone is (probably) more than 1 foot away, and
45 // therefore is not allowed to unlock the device. 40 // therefore is not allowed to unlock the device.
46 PHONE_LOCKED_AND_TX_POWER_TOO_HIGH, 41 PHONE_LOCKED_AND_RSSI_TOO_LOW,
47 // The local device can be unlocked using proximity-based authentication. 42 // The local device can be unlocked using proximity-based authentication.
48 AUTHENTICATED, 43 AUTHENTICATED,
49 }; 44 };
50 45
51 } // namespace proximity_auth 46 } // namespace proximity_auth
52 47
53 #endif // COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_STATE_H 48 #endif // COMPONENTS_PROXIMITY_AUTH_SCREENLOCK_STATE_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698