Home | History | Annotate | Download | only in libsensors

Lines Matching refs:what

797     int what = -1;
801 what = Accelerometer;
804 what = MagneticField;
807 what = Orientation;
810 what = Gyro;
813 what = Gravity;
816 what = RotationVector;
819 what = LinearAccel;
822 what = handle;
826 if (uint32_t(what) >= numSensors)
831 //ALOGV_IF((uint32_t(newState) << what) != (mEnabled & (1 << what)),
832 // "sensor state change what=%d", what);
835 if ((uint32_t(newState) << what) != (mEnabled & (1 << what))) {
838 mEnabled &= ~(1 << what);
839 mEnabled |= (uint32_t(flags) << what);
856 int what = -1;
859 what = Accelerometer;
862 what = MagneticField;
865 what = Orientation;
868 what = Gyro;
871 what = Gravity;
874 what = RotationVector;
877 what = LinearAccel;
880 what = handle;
884 if (uint32_t(what) >= numSensors)
891 mDelays[what] = ns;