Home
last modified time | relevance | path

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

1234567891011

/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()
83 sensors.add(e.si->getSensor()); in getUserSensors()
87 return sensors; in getUserSensors()
92 Vector<Sensor> sensors; in getUserDebugSensors() local
94 [&sensors] (const Entry& e) -> bool { in getUserDebugSensors()
96 sensors.add(e.si->getSensor()); in getUserDebugSensors()
100 return sensors; in getUserDebugSensors()
105 Vector<Sensor> sensors; in getDynamicSensors() local
107 [&sensors] (const Entry& e) -> bool { in getDynamicSensors()
[all …]
DAndroid.bp46 "android.hardware.sensors@2.X-shared-utils",
68 "android.hardware.sensors@1.0",
69 "android.hardware.sensors@2.0",
70 "android.hardware.sensors@2.1",
77 "android.hardware.sensors@1.0-convert",
78 "android.hardware.sensors-V1-ndk",
/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/
DFingerprintDetectClient.java17 package com.android.server.biometrics.sensors.fingerprint.hidl;
34 import com.android.server.biometrics.sensors.AcquisitionClient;
35 import com.android.server.biometrics.sensors.AuthenticationConsumer;
36 import com.android.server.biometrics.sensors.ClientMonitorCallback;
37 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
38 import com.android.server.biometrics.sensors.PerformanceTracker;
39 import com.android.server.biometrics.sensors.SensorOverlays;
40 import com.android.server.biometrics.sensors.fingerprint.Udfps;
41 import com.android.server.biometrics.sensors.fingerprint.UdfpsHelper;
DFingerprintEnrollClient.java17 package com.android.server.biometrics.sensors.fingerprint.hidl;
36 import com.android.server.biometrics.sensors.BiometricNotificationUtils;
37 import com.android.server.biometrics.sensors.BiometricUtils;
38 import com.android.server.biometrics.sensors.ClientMonitorCallback;
39 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
40 import com.android.server.biometrics.sensors.ClientMonitorCompositeCallback;
41 import com.android.server.biometrics.sensors.EnrollClient;
42 import com.android.server.biometrics.sensors.SensorOverlays;
43 import com.android.server.biometrics.sensors.fingerprint.Udfps;
44 import com.android.server.biometrics.sensors.fingerprint.UdfpsHelper;
DFingerprintAuthenticationClient.java17 package com.android.server.biometrics.sensors.fingerprint.hidl;
38 import com.android.server.biometrics.sensors.AuthenticationClient;
39 import com.android.server.biometrics.sensors.BiometricNotificationUtils;
40 import com.android.server.biometrics.sensors.ClientMonitorCallback;
41 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
42 import com.android.server.biometrics.sensors.ClientMonitorCompositeCallback;
43 import com.android.server.biometrics.sensors.LockoutTracker;
44 import com.android.server.biometrics.sensors.SensorOverlays;
45 import com.android.server.biometrics.sensors.fingerprint.Udfps;
46 import com.android.server.biometrics.sensors.fingerprint.UdfpsHelper;
DFingerprintInternalCleanupClient.java17 package com.android.server.biometrics.sensors.fingerprint.hidl;
27 import com.android.server.biometrics.sensors.BiometricUtils;
28 import com.android.server.biometrics.sensors.InternalCleanupClient;
29 import com.android.server.biometrics.sensors.InternalEnumerateClient;
30 import com.android.server.biometrics.sensors.RemovalClient;
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DFaceResetLockoutClient.java17 package com.android.server.biometrics.sensors.face.aidl;
30 import com.android.server.biometrics.sensors.ClientMonitorCallback;
31 import com.android.server.biometrics.sensors.ErrorConsumer;
32 import com.android.server.biometrics.sensors.HalClientMonitor;
33 import com.android.server.biometrics.sensors.LockoutCache;
34 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
35 import com.android.server.biometrics.sensors.LockoutTracker;
DFaceEnrollClient.java17 package com.android.server.biometrics.sensors.face.aidl;
42 import com.android.server.biometrics.sensors.BaseClientMonitor;
43 import com.android.server.biometrics.sensors.BiometricNotificationUtils;
44 import com.android.server.biometrics.sensors.BiometricUtils;
45 import com.android.server.biometrics.sensors.ClientMonitorCallback;
46 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
47 import com.android.server.biometrics.sensors.ClientMonitorCompositeCallback;
48 import com.android.server.biometrics.sensors.EnrollClient;
49 import com.android.server.biometrics.sensors.face.FaceService;
50 import com.android.server.biometrics.sensors.face.FaceUtils;
DFaceInternalCleanupClient.java17 package com.android.server.biometrics.sensors.face.aidl;
27 import com.android.server.biometrics.sensors.BiometricUtils;
28 import com.android.server.biometrics.sensors.InternalCleanupClient;
29 import com.android.server.biometrics.sensors.InternalEnumerateClient;
30 import com.android.server.biometrics.sensors.RemovalClient;
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/fingerprint/aidl/
DFingerprintResetLockoutClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
30 import com.android.server.biometrics.sensors.ClientMonitorCallback;
31 import com.android.server.biometrics.sensors.ErrorConsumer;
32 import com.android.server.biometrics.sensors.HalClientMonitor;
33 import com.android.server.biometrics.sensors.LockoutCache;
34 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
35 import com.android.server.biometrics.sensors.LockoutTracker;
DFingerprintEnrollClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
46 import com.android.server.biometrics.sensors.BiometricNotificationUtils;
47 import com.android.server.biometrics.sensors.BiometricUtils;
48 import com.android.server.biometrics.sensors.ClientMonitorCallback;
49 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
50 import com.android.server.biometrics.sensors.ClientMonitorCompositeCallback;
51 import com.android.server.biometrics.sensors.EnrollClient;
52 import com.android.server.biometrics.sensors.SensorOverlays;
53 import com.android.server.biometrics.sensors.fingerprint.FingerprintUtils;
54 import com.android.server.biometrics.sensors.fingerprint.PowerPressHandler;
[all …]
DFingerprintInternalCleanupClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
27 import com.android.server.biometrics.sensors.BiometricUtils;
28 import com.android.server.biometrics.sensors.InternalCleanupClient;
29 import com.android.server.biometrics.sensors.InternalEnumerateClient;
30 import com.android.server.biometrics.sensors.RemovalClient;
31 import com.android.server.biometrics.sensors.fingerprint.FingerprintUtils;
DFingerprintDetectClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
32 import com.android.server.biometrics.sensors.AcquisitionClient;
33 import com.android.server.biometrics.sensors.ClientMonitorCallback;
34 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
35 import com.android.server.biometrics.sensors.DetectionConsumer;
36 import com.android.server.biometrics.sensors.SensorOverlays;
DFingerprintRemovalClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
29 import com.android.server.biometrics.sensors.BiometricUtils;
30 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
31 import com.android.server.biometrics.sensors.RemovalClient;
DFingerprintAuthenticationClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
45 import com.android.server.biometrics.sensors.AuthenticationClient;
46 import com.android.server.biometrics.sensors.BiometricNotificationUtils;
47 import com.android.server.biometrics.sensors.ClientMonitorCallback;
48 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
49 import com.android.server.biometrics.sensors.ClientMonitorCompositeCallback;
50 import com.android.server.biometrics.sensors.LockoutCache;
51 import com.android.server.biometrics.sensors.LockoutConsumer;
52 import com.android.server.biometrics.sensors.LockoutTracker;
53 import com.android.server.biometrics.sensors.SensorOverlays;
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DSensorTest.java17 package com.android.server.biometrics.sensors.face.aidl;
37 import com.android.server.biometrics.sensors.BiometricScheduler;
38 import com.android.server.biometrics.sensors.CoexCoordinator;
39 import com.android.server.biometrics.sensors.LockoutCache;
40 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
41 import com.android.server.biometrics.sensors.LockoutTracker;
42 import com.android.server.biometrics.sensors.UserAwareBiometricScheduler;
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
DSensorTest.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
37 import com.android.server.biometrics.sensors.BiometricScheduler;
38 import com.android.server.biometrics.sensors.CoexCoordinator;
39 import com.android.server.biometrics.sensors.LockoutCache;
40 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
41 import com.android.server.biometrics.sensors.LockoutTracker;
42 import com.android.server.biometrics.sensors.UserAwareBiometricScheduler;
/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::convertFromSensorEvent( in convertEvent()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/
DFaceAuthenticationClient.java17 package com.android.server.biometrics.sensors.face.hidl;
36 import com.android.server.biometrics.sensors.AuthenticationClient;
37 import com.android.server.biometrics.sensors.BiometricNotificationUtils;
38 import com.android.server.biometrics.sensors.ClientMonitorCallback;
39 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
40 import com.android.server.biometrics.sensors.ClientMonitorCompositeCallback;
41 import com.android.server.biometrics.sensors.LockoutTracker;
42 import com.android.server.biometrics.sensors.face.UsageStats;
DFaceInternalCleanupClient.java17 package com.android.server.biometrics.sensors.face.hidl;
27 import com.android.server.biometrics.sensors.BiometricUtils;
28 import com.android.server.biometrics.sensors.InternalCleanupClient;
29 import com.android.server.biometrics.sensors.InternalEnumerateClient;
30 import com.android.server.biometrics.sensors.RemovalClient;
/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/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

1234567891011