HomeSort by relevance Sort by last modified time
    Searched refs:mSensors (Results 1 - 25 of 112) sorted by null

1 2 3 4 5

  /device/google/contexthub/contexthubhal/
nanohubhal_default.cpp 43 static const connected_sensor_t mSensors[] = {
71 .connected_sensors = mSensors,
72 .num_connected_sensors = sizeof(mSensors) / sizeof(*mSensors),
  /frameworks/base/core/java/com/android/internal/os/
SensorPowerCalculator.java 26 private final List<Sensor> mSensors;
30 mSensors = sensorManager.getSensorList(Sensor.TYPE_ALL);
51 final int sensorsCount = mSensors.size();
53 final Sensor s = mSensors.get(i);
  /hardware/akm/AK8975_FS/libsensors/
sensors.cpp 149 SensorBase* mSensors[numSensorDrivers];
164 mSensors[acc] = new AdxlSensor();
167 mSensors[acc] = new KionixSensor();
169 mPollFds[acc].fd = mSensors[acc]->getFd();
173 mSensors[akm] = new AkmSensor();
174 mPollFds[akm].fd = mSensors[akm]->getFd();
192 delete mSensors[i];
221 mSensors[handleToDriver(ID_A)]->setEnable(ID_A, enabled);
222 mSensors[handleToDriver(ID_M)]->setEnable(ID_M, enabled);
228 err = mSensors[drv]->setEnable(handle, enabled)
    [all...]
  /frameworks/base/core/java/android/hardware/
LegacySensorManager.java 208 private int mSensors;
213 mSensors = 0;
217 if ((mSensors & legacyType) != 0) {
220 boolean alreadyHasOrientationSensor = hasOrientationSensor(mSensors);
221 mSensors |= legacyType;
229 if ((mSensors & legacyType) == 0) {
232 mSensors &= ~legacyType;
233 if (hasOrientationSensor(legacyType) && hasOrientationSensor(mSensors)) {
240 return mSensors != 0;
266 if ((mSensors & SensorManager.SENSOR_ORIENTATION_RAW)!=0)
    [all...]
  /sdk/testapps/testSensors/src/com/android/tests/testsensors/
TestSensorsActivity.java 36 private List<MonitoredSensor> mSensors;
210 mSensors = new ArrayList<MonitoredSensor>();
225 mSensors.add(to_add);
239 for (int n = 0; n < mSensors.size(); n++) {
240 if (mSensors.get(n).getType() == type) {
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/
SensorChannel.java 58 private final List<MonitoredSensor> mSensors = new ArrayList<MonitoredSensor>();
99 mSensors.add(to_add);
115 return mSensors;
182 for (MonitoredSensor sensor : mSensors) {
247 for (MonitoredSensor sensor : mSensors) {
268 for (MonitoredSensor sensor : mSensors) {
284 for (MonitoredSensor sensor : mSensors) {
293 for (MonitoredSensor sensor : mSensors) {
310 for (MonitoredSensor sensor : mSensors) {
326 for (MonitoredSensor sensor : mSensors) {
    [all...]
  /frameworks/native/libs/gui/
SensorManager.cpp 106 mSensors.clear();
150 mSensors = mSensorServer->getSensorList(mOpPackageName);
151 size_t count = mSensors.size();
157 mSensorList[i] = mSensors.array() + i;
171 return static_cast<ssize_t>(mSensors.size());
203 for (size_t i=0 ; i<mSensors.size() ; i++) {
  /frameworks/native/include/gui/
SensorManager.h 77 Vector<Sensor> mSensors;
  /device/htc/flounder/sensor_hub/libsensors/
sensors.cpp 609 SensorBase* mSensors[numSensorDrivers];
653 mSensors[cwmcu] = new CwMcuSensor();
654 mPollFds[cwmcu].fd = mSensors[cwmcu]->getFd();
672 delete mSensors[i];
681 int err = mSensors[index]->setEnable(handle, enabled);
694 return mSensors[index]->setDelay(handle, ns);
704 SensorBase* const sensor(mSensors[i]);
748 int err = mSensors[index]->batch(handle, flags, period_ns, timeout);
760 int err = mSensors[index]->flush(handle);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DozeService.java 76 private SensorManager mSensors;
132 mSensors = (SensorManager) mContext.getSystemService(Context.SENSOR_SERVICE);
496 mSensor = mSensors.getDefaultSensor(type);
517 mRegistered = mSensors.requestTriggerSensor(this, mSensor);
520 final boolean rt = mSensors.cancelTriggerSensor(this, mSensor);
592 final Sensor sensor = mSensors.getDefaultSensor(Sensor.TYPE_PROXIMITY);
602 mSensors.registerListener(this, sensor, SensorManager.SENSOR_DELAY_NORMAL, 0, mHandler);
629 mSensors.unregisterListener(this);
  /frameworks/native/services/sensorservice/
SensorService.cpp 216 mSensors.forEachSensor(
271 if (mSensors.add(handle, s, isDebug, isVirtual)){
275 return mSensors.getNonSensor();
284 bool ret = mSensors.remove(handle);
365 } else if (!mSensors.hasAnySensor()) {
374 result.append(mSensors.dump().c_str());
381 sp<SensorInterface> s = mSensors.getInterface(i.first);
485 const size_t vcount = mSensors.getVirtualSensors().size();
552 sp<SensorInterface> si = mSensors.getInterface(handle);
610 if (mSensors.isNewHandle(handle))
    [all...]
SensorService.h 222 SensorList mSensors;
  /device/google/contexthub/firmware/src/
sensors.c 77 static struct Sensor mSensors[MAX_REGISTERED_SENSORS];
114 if (mSensors[i].handle == handle)
115 return mSensors + i;
139 s = mSensors + idx;
200 atomicBitsetClearBit(mSensorsUsed, s - mSensors);
577 if (mSensors[i].handle && mSensors[i].si->sensorType == sensorType && !idx--) {
579 *handleP = mSensors[i].handle;
580 return mSensors[i].si;
840 if (HANDLE_TO_TID(mSensors[i].handle) == tid)
    [all...]
  /prebuilts/gradle-plugin/com/android/tools/sdklib/22.2.0/
sdklib-22.2.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdklib/22.4.0/
sdklib-22.4.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdklib/22.4.2/
sdklib-22.4.2.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdklib/22.5.0/
sdklib-22.5.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdklib/22.5.1/
sdklib-22.5.1.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdklib/22.5.3/
sdklib-22.5.3.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdklib/22.7.0/
sdklib-22.7.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdklib/22.7.1/
sdklib-22.7.1.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdklib/22.7.3/
sdklib-22.7.3.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdklib/22.8.0/
sdklib-22.8.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdklib/22.9.2/
sdklib-22.9.2.jar 
  /prebuilts/gradle-plugin/com/android/tools/sdklib/23.0.1/
sdklib-23.0.1.jar 

Completed in 811 milliseconds

1 2 3 4 5