Home
last modified time | relevance | path

Searched refs:sensors (Results 1 – 25 of 324) sorted by relevance

12345678910>>...13

/frameworks/native/services/sensorservice/
DHidlSensorHalWrapper.cpp26 using android::hardware::sensors::V1_0::RateLevel;
27 using android::hardware::sensors::V1_0::Result;
28 using android::hardware::sensors::V1_0::SharedMemFormat;
29 using android::hardware::sensors::V1_0::SharedMemInfo;
30 using android::hardware::sensors::V1_0::SharedMemType;
31 using android::hardware::sensors::V2_0::EventQueueFlagBits;
32 using android::hardware::sensors::V2_0::WakeLockQueueFlagBits;
33 using android::hardware::sensors::V2_1::Event;
34 using android::hardware::sensors::V2_1::ISensorsCallback;
35 using android::hardware::sensors::V2_1::implementation::convertFromSensorEvent;
[all …]
DSensorList.cpp79 Vector<Sensor> sensors; in getUserSensors() local
81 [&sensors] (const Entry& e) -> bool { in getUserSensors()
84 sensors.add(e.si->getSensor()); in getUserSensors()
88 return sensors; in getUserSensors()
93 Vector<Sensor> sensors; in getUserDebugSensors() local
95 [&sensors] (const Entry& e) -> bool { in getUserDebugSensors()
98 sensors.add(e.si->getSensor()); in getUserDebugSensors()
102 return sensors; in getUserDebugSensors()
107 Vector<Sensor> sensors; in getDynamicSensors() local
109 [&sensors] (const Entry& e) -> bool { in getDynamicSensors()
[all …]
DAidlSensorHalWrapper.cpp28 using ::aidl::android::hardware::sensors::AdditionalInfo;
29 using ::aidl::android::hardware::sensors::DynamicSensorInfo;
30 using ::aidl::android::hardware::sensors::Event;
31 using ::aidl::android::hardware::sensors::ISensors;
32 using ::aidl::android::hardware::sensors::SensorInfo;
33 using ::aidl::android::hardware::sensors::SensorStatus;
34 using ::aidl::android::hardware::sensors::SensorType;
37 using ::android::hardware::sensors::V2_1::implementation::MAX_RECEIVE_BUFFER_EVENT_COUNT;
38 using ::android::hardware::sensors::implementation::convertToStatus;
39 using ::android::hardware::sensors::implementation::convertToSensor;
[all …]
DAndroid.bp59 "android.hardware.sensors@2.X-shared-utils",
81 "android.hardware.sensors@1.0",
82 "android.hardware.sensors@2.0",
83 "android.hardware.sensors@2.1",
92 "android.hardware.sensors@1.0-convert",
93 "android.hardware.sensors-V1-convert",
94 "android.hardware.sensors-V2-ndk",
Dsenserservice_flags.aconfig6 namespace: "sensors"
13 namespace: "sensors"
20 namespace: "sensors"
27 namespace: "sensors"
/frameworks/base/core/java/android/hardware/
DLegacySensorManager.java90 public boolean registerListener(SensorListener listener, int sensors, int rate) { in registerListener() argument
96 Sensor.TYPE_ACCELEROMETER, listener, sensors, rate) || result; in registerListener()
98 Sensor.TYPE_MAGNETIC_FIELD, listener, sensors, rate) || result; in registerListener()
100 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result; in registerListener()
102 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result; in registerListener()
104 Sensor.TYPE_TEMPERATURE, listener, sensors, rate) || result; in registerListener()
109 SensorListener listener, int sensors, int rate) { in registerLegacyListener() argument
112 if ((sensors & legacyType) != 0) { in registerLegacyListener()
145 public void unregisterListener(SensorListener listener, int sensors) { in unregisterListener() argument
150 listener, sensors); in unregisterListener()
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DHidlToAidlSensorAdapter.java17 package com.android.server.biometrics.sensors.fingerprint.hidl;
36 import com.android.server.biometrics.sensors.AuthSessionCoordinator;
37 import com.android.server.biometrics.sensors.BiometricScheduler;
38 import com.android.server.biometrics.sensors.ClientMonitorCallback;
39 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
40 import com.android.server.biometrics.sensors.LockoutTracker;
41 import com.android.server.biometrics.sensors.StartUserClient;
42 import com.android.server.biometrics.sensors.StopUserClient;
43 import com.android.server.biometrics.sensors.UserSwitchProvider;
44 import com.android.server.biometrics.sensors.fingerprint.FingerprintUtils;
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceResetLockoutClient.java17 package com.android.server.biometrics.sensors.face.aidl;
32 import com.android.server.biometrics.sensors.AuthSessionCoordinator;
33 import com.android.server.biometrics.sensors.ClientMonitorCallback;
34 import com.android.server.biometrics.sensors.ErrorConsumer;
35 import com.android.server.biometrics.sensors.HalClientMonitor;
36 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
37 import com.android.server.biometrics.sensors.LockoutTracker;
38 import com.android.server.biometrics.sensors.face.hidl.HidlToAidlSessionAdapter;
DAidlResponseHandler.java17 package com.android.server.biometrics.sensors.face.aidl;
32 import com.android.server.biometrics.sensors.AcquisitionClient;
33 import com.android.server.biometrics.sensors.AuthSessionCoordinator;
34 import com.android.server.biometrics.sensors.AuthenticationConsumer;
35 import com.android.server.biometrics.sensors.BaseClientMonitor;
36 import com.android.server.biometrics.sensors.BiometricScheduler;
37 import com.android.server.biometrics.sensors.EnumerateConsumer;
38 import com.android.server.biometrics.sensors.ErrorConsumer;
39 import com.android.server.biometrics.sensors.LockoutConsumer;
40 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
[all …]
DFaceInternalCleanupClient.java17 package com.android.server.biometrics.sensors.face.aidl;
28 import com.android.server.biometrics.sensors.BiometricUtils;
29 import com.android.server.biometrics.sensors.InternalCleanupClient;
30 import com.android.server.biometrics.sensors.InternalEnumerateClient;
31 import com.android.server.biometrics.sensors.RemovalClient;
32 import com.android.server.biometrics.sensors.face.FaceUtils;
DFaceSetFeatureClient.java17 package com.android.server.biometrics.sensors.face.aidl;
31 import com.android.server.biometrics.sensors.ClientMonitorCallback;
32 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
33 import com.android.server.biometrics.sensors.ErrorConsumer;
34 import com.android.server.biometrics.sensors.HalClientMonitor;
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DHidlToAidlSensorAdapter.java17 package com.android.server.biometrics.sensors.face.hidl;
36 import com.android.server.biometrics.sensors.AuthSessionCoordinator;
37 import com.android.server.biometrics.sensors.BiometricScheduler;
38 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
39 import com.android.server.biometrics.sensors.LockoutTracker;
40 import com.android.server.biometrics.sensors.StartUserClient;
41 import com.android.server.biometrics.sensors.face.FaceUtils;
42 import com.android.server.biometrics.sensors.face.LockoutHalImpl;
43 import com.android.server.biometrics.sensors.face.aidl.AidlResponseHandler;
44 import com.android.server.biometrics.sensors.face.aidl.AidlSession;
[all …]
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
DAidlResponseHandler.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
30 import com.android.server.biometrics.sensors.AcquisitionClient;
31 import com.android.server.biometrics.sensors.AuthSessionCoordinator;
32 import com.android.server.biometrics.sensors.AuthenticationConsumer;
33 import com.android.server.biometrics.sensors.BaseClientMonitor;
34 import com.android.server.biometrics.sensors.BiometricScheduler;
35 import com.android.server.biometrics.sensors.EnumerateConsumer;
36 import com.android.server.biometrics.sensors.ErrorConsumer;
37 import com.android.server.biometrics.sensors.LockoutConsumer;
38 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
[all …]
DFingerprintResetLockoutClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
31 import com.android.server.biometrics.sensors.AuthSessionCoordinator;
32 import com.android.server.biometrics.sensors.ClientMonitorCallback;
33 import com.android.server.biometrics.sensors.ErrorConsumer;
34 import com.android.server.biometrics.sensors.HalClientMonitor;
35 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
36 import com.android.server.biometrics.sensors.LockoutTracker;
DFingerprintInternalCleanupClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
28 import com.android.server.biometrics.sensors.BiometricUtils;
29 import com.android.server.biometrics.sensors.InternalCleanupClient;
30 import com.android.server.biometrics.sensors.InternalEnumerateClient;
31 import com.android.server.biometrics.sensors.RemovalClient;
32 import com.android.server.biometrics.sensors.fingerprint.FingerprintUtils;
DFingerprintDetectClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
37 import com.android.server.biometrics.sensors.AcquisitionClient;
38 import com.android.server.biometrics.sensors.AuthenticationStateListeners;
39 import com.android.server.biometrics.sensors.ClientMonitorCallback;
40 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
41 import com.android.server.biometrics.sensors.DetectionConsumer;
42 import com.android.server.biometrics.sensors.SensorOverlays;
DSensor.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
51 import com.android.server.biometrics.sensors.BaseClientMonitor;
52 import com.android.server.biometrics.sensors.BiometricScheduler;
53 import com.android.server.biometrics.sensors.BiometricStateCallback;
54 import com.android.server.biometrics.sensors.ErrorConsumer;
55 import com.android.server.biometrics.sensors.LockoutCache;
56 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
57 import com.android.server.biometrics.sensors.LockoutTracker;
58 import com.android.server.biometrics.sensors.StartUserClient;
59 import com.android.server.biometrics.sensors.StopUserClient;
[all …]
DFingerprintEnrollClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
57 import com.android.server.biometrics.sensors.AuthenticationStateListeners;
58 import com.android.server.biometrics.sensors.BiometricNotificationUtils;
59 import com.android.server.biometrics.sensors.BiometricUtils;
60 import com.android.server.biometrics.sensors.ClientMonitorCallback;
61 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
62 import com.android.server.biometrics.sensors.ClientMonitorCompositeCallback;
63 import com.android.server.biometrics.sensors.EnrollClient;
64 import com.android.server.biometrics.sensors.SensorOverlays;
65 import com.android.server.biometrics.sensors.fingerprint.PowerPressHandler;
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/hidl/
DHidlToAidlSensorAdapterTest.java17 package com.android.server.biometrics.sensors.fingerprint.hidl;
51 import com.android.server.biometrics.sensors.AuthSessionCoordinator;
52 import com.android.server.biometrics.sensors.AuthenticationStateListeners;
53 import com.android.server.biometrics.sensors.BiometricUtils;
54 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
55 import com.android.server.biometrics.sensors.LockoutTracker;
56 import com.android.server.biometrics.sensors.fingerprint.GestureAvailabilityDispatcher;
57 import com.android.server.biometrics.sensors.fingerprint.aidl.AidlResponseHandler;
58 import com.android.server.biometrics.sensors.fingerprint.aidl.FingerprintEnrollClient;
59 import com.android.server.biometrics.sensors.fingerprint.aidl.FingerprintProvider;
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/hidl/
DHidlToAidlSensorAdapterTest.java17 package com.android.server.biometrics.sensors.face.hidl;
19 import static com.android.server.biometrics.sensors.face.hidl.HidlToAidlSessionAdapter.ENROLL_TIMEO…
48 import com.android.server.biometrics.sensors.AuthSessionCoordinator;
49 import com.android.server.biometrics.sensors.AuthenticationStateListeners;
50 import com.android.server.biometrics.sensors.BiometricUtils;
51 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
52 import com.android.server.biometrics.sensors.LockoutTracker;
53 import com.android.server.biometrics.sensors.face.aidl.AidlResponseHandler;
54 import com.android.server.biometrics.sensors.face.aidl.FaceEnrollClient;
55 import com.android.server.biometrics.sensors.face.aidl.FaceProvider;
[all …]
/frameworks/native/services/sensorservice/hidl/
Dutils.cpp29 using ::android::hardware::sensors::V1_0::SensorInfo;
39 dst.type = static_cast<::android::hardware::sensors::V1_0::SensorType>( in convertSensor()
77 ::android::hardware::sensors::V1_0::Event convertEvent(const ::ASensorEvent& src) { in convertEvent()
78 ::android::hardware::sensors::V1_0::Event dst; in convertEvent()
79 ::android::hardware::sensors::V1_0::implementation::convertFromASensorEvent( in convertEvent()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
DSensorTest.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
47 import com.android.server.biometrics.sensors.AuthSessionCoordinator;
48 import com.android.server.biometrics.sensors.BaseClientMonitor;
49 import com.android.server.biometrics.sensors.BiometricScheduler;
50 import com.android.server.biometrics.sensors.LockoutCache;
51 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
52 import com.android.server.biometrics.sensors.LockoutTracker;
53 import com.android.server.biometrics.sensors.UserSwitchProvider;
54 import com.android.server.biometrics.sensors.fingerprint.GestureAvailabilityDispatcher;
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DInvalidationTrackerTest.java84 final ArrayList<BiometricSensor> sensors = new ArrayList<>(); in testCallbackReceived_whenAllStrongSensorsInvalidated() local
85 sensors.add(sensor1); in testCallbackReceived_whenAllStrongSensorsInvalidated()
86 sensors.add(sensor2); in testCallbackReceived_whenAllStrongSensorsInvalidated()
87 sensors.add(sensor3); in testCallbackReceived_whenAllStrongSensorsInvalidated()
88 sensors.add(sensor4); in testCallbackReceived_whenAllStrongSensorsInvalidated()
92 InvalidationTracker.start(mock(Context.class), sensors, 0 /* userId */, in testCallbackReceived_whenAllStrongSensorsInvalidated()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DFaceResetLockoutClientTest.java17 package com.android.server.biometrics.sensors.face.aidl;
36 import com.android.server.biometrics.sensors.AuthSessionCoordinator;
37 import com.android.server.biometrics.sensors.ClientMonitorCallback;
38 import com.android.server.biometrics.sensors.LockoutCache;
39 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
40 import com.android.server.biometrics.sensors.LockoutTracker;
/frameworks/hardware/interfaces/sensorservice/1.0/
DISensorManager.hal23 import android.hardware.sensors@1.0::SensorInfo;
24 import android.hardware.sensors@1.0::SensorType;
27 * ISensorManager is an interface to manage sensors
30 * ISensorManager to access and list hardware sensors.
35 * Get the list of available sensors.
37 * @return list the list of available sensors, or empty on failure
60 * android.hardware.sensors@1.0::SensorsEventFormatOffset.
65 * 0x0008 int32_t type (see android.hardware.sensors@1.0::SensorType)
67 * 0x0010 int64_t timestamp (see android.hardware.sensors@1.0::Event)
110 * Subsequently, one can enable sensors on the event queue so that sensor

12345678910>>...13