HomeSort by relevance Sort by last modified time
    Searched refs:sensorType (Results 76 - 100 of 128) sorted by null

1 2 34 5 6

  /development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/
BatchStepSensorFragment.java 230 * @param sensorType
232 private void registerEventListener(int maxdelay, int sensorType) {
238 if (sensorType == Sensor.TYPE_STEP_COUNTER) {
256 // sensorType is either Sensor.TYPE_STEP_COUNTER or Sensor.TYPE_STEP_DETECTOR
257 Sensor sensor = sensorManager.getDefaultSensor(sensorType);
  /device/google/contexthub/firmware/os/drivers/vsync/
vsync.c 148 .sensorType = SENS_TYPE_VSYNC,
  /system/chre/apps/chqts/src/general_test/
heap_exhaustion_stability_test.cc 180 if (info.sensorType != kSensorType) {
  /device/google/contexthub/firmware/app/chre/common/
chre_app_syscalls.c 94 bool chreSensorFindDefault(uint8_t sensorType, uint32_t *handle)
96 return syscallDo2P(SYSCALL_CHRE_API(SENSOR_FIND_DEFAULT), sensorType, handle);
  /hardware/interfaces/sensors/1.0/
types.hal 55 * These types must start at SensorType::DEVICE_PRIVATE_BASE.
65 * type = SensorType::Acclerometer
83 * SensorType::ON_HEAD_DETECTOR and STRING_SensorType::ON_HEAD_DETECTOR,
87 * type (SensorType::ON_HEAD_DETECTOR) and stringType.
107 * SensorType::PROXIMITY and SensorType::SIGNIFICANT_MOTION for more info.
111 * For example, A device can have two sensors both of SensorType::ACCELEROMETER
118 enum SensorType : int32_t {
    [all...]
  /device/google/contexthub/firmware/os/core/
sensors.c 411 osLog(LOG_WARN, "Bad rate 0x%08" PRIX32 " for sensor %u", extraReqedRate, s->si->sensorType);
507 osEnqueueEvtOrFree(sensorGetMyCfgEventType(s->si->sensorType), evt, sensorInternalEvtFreeF);
530 osEnqueueEvtOrFree(sensorGetMyCfgEventType(s->si->sensorType), evt, sensorInternalEvtFreeF);
559 const struct SensorInfo* sensorFind(uint32_t sensorType, uint32_t idx, uint32_t *handleP)
564 if (mSensors[i].handle && mSensors[i].si->sensorType == sensorType && !idx--) {
  /hardware/interfaces/sensors/1.0/vts/functional/
VtsHalSensorsV1_0TargetTest.cpp 296 .sensorType = static_cast<SensorType>(type),
501 SensorInfo defaultSensorByType(SensorType type);
554 inline static bool isMetaSensorType(SensorType type) {
555 return (type == SensorType::META_DATA
556 || type == SensorType::DYNAMIC_SENSOR_META
557 || type == SensorType::ADDITIONAL_INFO);
560 inline static bool isValidType(SensorType type) {
564 void testStreamingOperation(SensorType type,
568 void testSamplingRateHotSwitchOperation(SensorType type, bool fastToSlow = true)
    [all...]
  /device/google/contexthub/firmware/os/drivers/st_mag40/
st_mag40.c 398 .sensorType = type, \
409 .sensorType = type, \
542 static void sendTestResult(uint8_t status, uint8_t sensorType)
553 data->data_header.sensorType = sensorType;
  /device/google/contexthub/firmware/os/drivers/bosch_bmp280/
bosch_bmp280.c 301 data->data_header.sensorType = SENS_TYPE_BARO;
471 .sensorType = SENS_TYPE_BARO,
491 .sensorType = SENS_TYPE_TEMP,
  /cts/tests/sensor/src/android/hardware/cts/
SingleSensorTests.java 581 private void runSensorTest(int sensorType, int rateUs) throws Throwable {
585 sensorType,
  /device/google/contexthub/firmware/os/inc/
syscallDo.h 122 static inline const struct SensorInfo* eOsSensorFind(uint32_t sensorType, uint32_t idx, uint32_t *handleP)
124 return (const struct SensorInfo*)syscallDo3P(SYSCALL_NO(SYSCALL_DOMAIN_OS, SYSCALL_OS_MAIN, SYSCALL_OS_MAIN_SENSOR, SYSCALL_OS_MAIN_SENSOR_FIND), sensorType, idx, handleP);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
FalsingManager.java 179 for (int sensorType : sensors) {
180 Sensor s = mSensorManager.getDefaultSensor(sensorType);
  /device/google/contexthub/firmware/os/drivers/ams_tmd4903/
ams_tmd4903.c 437 data->data_header.sensorType = SENS_TYPE_ALS;
457 data->data_header.sensorType = SENS_TYPE_PROX;
666 .sensorType = SENS_TYPE_ALS,
688 .sensorType = SENS_TYPE_PROX,
    [all...]
  /device/google/contexthub/firmware/os/drivers/hall/
hall.c 130 .sensorType = SENS_TYPE_HALL,
  /device/google/contexthub/firmware/os/drivers/hall_twopole/
hall_twopole.c 147 .sensorType = SENS_TYPE_HALL,
  /device/google/contexthub/firmware/os/drivers/leds/
leds_gpio.c 136 .sensorType = SENS_TYPE_LEDS,
leds_lp3943.c 258 .sensorType = SENS_TYPE_LEDS_I2C,
  /device/google/contexthub/firmware/os/drivers/orientation/
orientation.c 158 .sensorType = type, \
334 EVENT_TYPE_BIT_DISCARDABLE | sensorGetMyEventType(mSi[mSensor->idx].sensorType),
546 osEnqueueEvtOrFree(EVENT_TYPE_BIT_DISCARDABLE | sensorGetMyEventType(mSi[i].sensorType),
771 uint32_t evtType = sensorGetMyEventType(mSi[mSensor->idx].sensorType);
  /device/google/contexthub/firmware/os/drivers/tilt_detection/
tilt_detection.c 182 .sensorType = SENS_TYPE_TILT,
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
sensorsapi.h 136 REFSENSOR_TYPE_ID sensorType,
179 REFSENSOR_TYPE_ID sensorType,
211 #define ISensorManager_GetSensorsByType(This,sensorType,ppSensorsFound) (This)->lpVtbl->GetSensorsByType(This,sensorType,ppSensorsFound)
230 static FORCEINLINE HRESULT ISensorManager_GetSensorsByType(ISensorManager* This,REFSENSOR_TYPE_ID sensorType,ISensorCollection **ppSensorsFound) {
231 return This->lpVtbl->GetSensorsByType(This,sensorType,ppSensorsFound);
258 REFSENSOR_TYPE_ID sensorType,
    [all...]
  /device/google/contexthub/firmware/os/drivers/ams_tmd2772/
ams_tmd2772.c 437 .sensorType = SENS_TYPE_ALS,
458 .sensorType = SENS_TYPE_PROX,
  /device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
rohm_rpr0521.c 519 .sensorType = SENS_TYPE_ALS,
540 .sensorType = SENS_TYPE_PROX,
  /device/google/contexthub/firmware/os/drivers/st_lps22hb/
lps22hb.c 294 data->data_header.sensorType = SENS_TYPE_BARO;
316 .sensorType = type, \
  /device/google/contexthub/firmware/os/drivers/intersil_isl29034/
isl29034.c 292 .sensorType = SENS_TYPE_ALS,
  /packages/services/Car/tests/vehiclehal_test/src/com/android/car/vehiclehal/test/
E2ePerformanceTest.java 116 OnSensorChangedListener listener = e -> eventsCounters.get(e.sensorType).countDown();

Completed in 425 milliseconds

1 2 34 5 6