Searched refs:sensorList (Results 1 – 9 of 9) 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()
99 List<Sensor> sensorList = sensorManager.getSensorList(Sensor.TYPE_ALL); in findCustomProxSensor() local101 for (Sensor s : sensorList) { in findCustomProxSensor()
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()
85 final List<Sensor> sensorList = ImmutableList.of(mLightSensor, mAmbientColorSensor); in setUp() local86 when(mSensorManagerMock.getSensorList(Sensor.TYPE_ALL)).thenReturn(sensorList); in setUp()
528 List<Sensor> sensorList = mSensorManager.getSensorList(Sensor.TYPE_ALL); in register() local529 for (Sensor s : sensorList) { in register()
169 List<Sensor> sensorList = sensorManager.getSensorList(Sensor.TYPE_ALL); in findSensorWithType() local170 for (Sensor s : sensorList) { in findSensorWithType()
341 void makeUuidsIntoIdsForSensorList(Vector<Sensor> &sensorList) const;
1048 void SensorService::makeUuidsIntoIdsForSensorList(Vector<Sensor> &sensorList) const { in makeUuidsIntoIdsForSensorList()1049 for (auto &sensor : sensorList) { in makeUuidsIntoIdsForSensorList()