Searched refs:sensorList (Results 1 – 8 of 8) sorted by relevance
93 Sensor const* const* sensorList; in ASensorManager_getDefaultSensorEx() local94 size_t size = static_cast<SensorManager*>(manager)->getSensorList(&sensorList); in ASensorManager_getDefaultSensorEx()96 if (ASensor_getType(sensorList[i]) == type && in ASensorManager_getDefaultSensorEx()97 ASensor_isWakeUpSensor(sensorList[i]) == wakeUp) { in ASensorManager_getDefaultSensorEx()98 return reinterpret_cast<ASensor const *>(sensorList[i]); in ASensorManager_getDefaultSensorEx()
203 Sensor const* const* sensorList; in nativeGetSensorAtIndex() local204 ssize_t count = mgr->getSensorList(&sensorList); in nativeGetSensorAtIndex()209 return translateNativeSensorToJavaSensor(env, sensor, *sensorList[index]) != NULL; in nativeGetSensorAtIndex()213 nativeGetDynamicSensors(JNIEnv *env, jclass clazz, jlong sensorManager, jobject sensorList) { in nativeGetDynamicSensors() argument226 env->CallBooleanMethod(sensorList, listOffsets.add, sensor); in nativeGetDynamicSensors()
129 final List<Sensor> sensorList = ImmutableList.of(mLightSensor, mAmbientColorSensor); in testAmbientColorTemperatureSensorCallback_CallbacksCalled() local130 when(mSensorManagerMock.getSensorList(Sensor.TYPE_ALL)).thenReturn(sensorList); in testAmbientColorTemperatureSensorCallback_CallbacksCalled()
88 final List<Sensor> sensorList = ImmutableList.of(mLightSensor, mAmbientColorSensor); in setUp() local89 when(mSensorManagerMock.getSensorList(Sensor.TYPE_ALL)).thenReturn(sensorList); in setUp()
325 List<Sensor> sensorList = mSensorManager.getSensorList(Sensor.TYPE_ALL); in findSensorByType() local327 for (Sensor s : sensorList) { in findSensorByType()
252 List<Sensor> sensorList = sensorManager.getSensorList(Sensor.TYPE_ALL); in findSensorWithType() local253 for (Sensor s : sensorList) { in findSensorWithType()
410 void makeUuidsIntoIdsForSensorList(Vector<Sensor> &sensorList) const;
1258 void SensorService::makeUuidsIntoIdsForSensorList(Vector<Sensor> &sensorList) const { in makeUuidsIntoIdsForSensorList()1259 for (auto &sensor : sensorList) { in makeUuidsIntoIdsForSensorList()