Home
last modified time | relevance | path

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

123456789

/frameworks/native/services/sensorservice/
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.bp43 "android.hardware.sensors@2.X-shared-utils",
63 "android.hardware.sensors@1.0",
64 "android.hardware.sensors@2.0",
65 "android.hardware.sensors@2.1",
69 "android.hardware.sensors@1.0-convert",
/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/aidl/
DFingerprintInternalCleanupClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
26 import com.android.server.biometrics.sensors.BiometricUtils;
27 import com.android.server.biometrics.sensors.InternalCleanupClient;
28 import com.android.server.biometrics.sensors.InternalEnumerateClient;
29 import com.android.server.biometrics.sensors.RemovalClient;
30 import com.android.server.biometrics.sensors.fingerprint.FingerprintUtils;
DFingerprintResetLockoutClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
30 import com.android.server.biometrics.sensors.ErrorConsumer;
31 import com.android.server.biometrics.sensors.HalClientMonitor;
32 import com.android.server.biometrics.sensors.LockoutCache;
33 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
34 import com.android.server.biometrics.sensors.LockoutTracker;
DFingerprintEnrollClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
38 import com.android.server.biometrics.sensors.BiometricNotificationUtils;
39 import com.android.server.biometrics.sensors.BiometricUtils;
40 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
41 import com.android.server.biometrics.sensors.EnrollClient;
42 import com.android.server.biometrics.sensors.fingerprint.FingerprintUtils;
43 import com.android.server.biometrics.sensors.fingerprint.SidefpsHelper;
44 import com.android.server.biometrics.sensors.fingerprint.Udfps;
45 import com.android.server.biometrics.sensors.fingerprint.UdfpsHelper;
DFingerprintAuthenticationClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
36 import com.android.server.biometrics.sensors.AuthenticationClient;
37 import com.android.server.biometrics.sensors.BiometricNotificationUtils;
38 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
39 import com.android.server.biometrics.sensors.LockoutCache;
40 import com.android.server.biometrics.sensors.LockoutConsumer;
41 import com.android.server.biometrics.sensors.LockoutTracker;
42 import com.android.server.biometrics.sensors.fingerprint.Udfps;
43 import com.android.server.biometrics.sensors.fingerprint.UdfpsHelper;
DFingerprintDetectClient.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
31 import com.android.server.biometrics.sensors.AcquisitionClient;
32 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
33 import com.android.server.biometrics.sensors.DetectionConsumer;
34 import com.android.server.biometrics.sensors.fingerprint.UdfpsHelper;
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;
DSensor.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
48 import com.android.server.biometrics.sensors.AcquisitionClient;
49 import com.android.server.biometrics.sensors.AuthenticationConsumer;
50 import com.android.server.biometrics.sensors.BaseClientMonitor;
51 import com.android.server.biometrics.sensors.BiometricScheduler;
52 import com.android.server.biometrics.sensors.EnumerateConsumer;
53 import com.android.server.biometrics.sensors.ErrorConsumer;
54 import com.android.server.biometrics.sensors.HalClientMonitor;
55 import com.android.server.biometrics.sensors.LockoutCache;
56 import com.android.server.biometrics.sensors.LockoutConsumer;
[all …]
/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.ErrorConsumer;
31 import com.android.server.biometrics.sensors.HalClientMonitor;
32 import com.android.server.biometrics.sensors.LockoutCache;
33 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
34 import com.android.server.biometrics.sensors.LockoutTracker;
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;
DFaceRemovalClient.java17 package com.android.server.biometrics.sensors.face.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;
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/
DFingerprintDetectClient.java17 package com.android.server.biometrics.sensors.fingerprint.hidl;
32 import com.android.server.biometrics.sensors.AcquisitionClient;
33 import com.android.server.biometrics.sensors.AuthenticationConsumer;
34 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
35 import com.android.server.biometrics.sensors.PerformanceTracker;
36 import com.android.server.biometrics.sensors.fingerprint.Udfps;
37 import com.android.server.biometrics.sensors.fingerprint.UdfpsHelper;
DFingerprintEnrollClient.java17 package com.android.server.biometrics.sensors.fingerprint.hidl;
34 import com.android.server.biometrics.sensors.BiometricNotificationUtils;
35 import com.android.server.biometrics.sensors.BiometricUtils;
36 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
37 import com.android.server.biometrics.sensors.EnrollClient;
38 import com.android.server.biometrics.sensors.fingerprint.SidefpsHelper;
39 import com.android.server.biometrics.sensors.fingerprint.Udfps;
40 import com.android.server.biometrics.sensors.fingerprint.UdfpsHelper;
DFingerprintInternalCleanupClient.java17 package com.android.server.biometrics.sensors.fingerprint.hidl;
26 import com.android.server.biometrics.sensors.BiometricUtils;
27 import com.android.server.biometrics.sensors.InternalCleanupClient;
28 import com.android.server.biometrics.sensors.InternalEnumerateClient;
29 import com.android.server.biometrics.sensors.RemovalClient;
DFingerprintRemovalClient.java17 package com.android.server.biometrics.sensors.fingerprint.hidl;
28 import com.android.server.biometrics.sensors.BiometricUtils;
29 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
30 import com.android.server.biometrics.sensors.RemovalClient;
/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/
DFaceInternalCleanupClient.java17 package com.android.server.biometrics.sensors.face.hidl;
26 import com.android.server.biometrics.sensors.BiometricUtils;
27 import com.android.server.biometrics.sensors.InternalCleanupClient;
28 import com.android.server.biometrics.sensors.InternalEnumerateClient;
29 import com.android.server.biometrics.sensors.RemovalClient;
DFaceRemovalClient.java17 package com.android.server.biometrics.sensors.face.hidl;
28 import com.android.server.biometrics.sensors.BiometricUtils;
29 import com.android.server.biometrics.sensors.ClientMonitorCallbackConverter;
30 import com.android.server.biometrics.sensors.RemovalClient;
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
DSensorTest.java17 package com.android.server.biometrics.sensors.fingerprint.aidl;
35 import com.android.server.biometrics.sensors.BiometricScheduler;
36 import com.android.server.biometrics.sensors.LockoutCache;
37 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
38 import com.android.server.biometrics.sensors.LockoutTracker;
39 import com.android.server.biometrics.sensors.UserAwareBiometricScheduler;
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DSensorTest.java17 package com.android.server.biometrics.sensors.face.aidl;
35 import com.android.server.biometrics.sensors.BiometricScheduler;
36 import com.android.server.biometrics.sensors.LockoutCache;
37 import com.android.server.biometrics.sensors.LockoutResetDispatcher;
38 import com.android.server.biometrics.sensors.LockoutTracker;
39 import com.android.server.biometrics.sensors.UserAwareBiometricScheduler;
/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
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/
DVtsHalSensorManagerV1_0TargetTest.cpp43 using ::android::hardware::sensors::V1_0::Event;
44 using ::android::hardware::sensors::V1_0::RateLevel;
45 using ::android::hardware::sensors::V1_0::SensorFlagBits;
46 using ::android::hardware::sensors::V1_0::SensorFlagShift;
47 using ::android::hardware::sensors::V1_0::SensorInfo;
48 using ::android::hardware::sensors::V1_0::SensorsEventFormatOffset;
49 using ::android::hardware::sensors::V1_0::SensorType;
50 using ::android::hardware::sensors::V1_0::toString;
193 using ::android::hardware::sensors::V1_0::implementation::convertFromSensorEvent; in parseEvents()
238 using ::android::hardware::sensors::V1_0::implementation::convertFromRateLevel; in TEST_P()

123456789