Searched refs:TYPE_LIGHT (Results 1 – 10 of 10) sorted by relevance
76 mLightSensor = createSensor(Sensor.TYPE_LIGHT, null); in setUp()85 when(mSensorManagerMock.getDefaultSensor(Sensor.TYPE_LIGHT)).thenReturn(mLightSensor); in testAmbientBrightnessSensorCallback_NoCallbacks()105 when(mSensorManagerMock.getDefaultSensor(Sensor.TYPE_LIGHT)).thenReturn(mLightSensor); in testAmbientBrightnessSensorCallback_CallbacksCalled()
104 public static final int TYPE_LIGHT = 5; field in Sensor1169 case TYPE_LIGHT: in setType()
51 TYPE_LIGHT = ASENSOR_TYPE_LIGHT, enumerator
251 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in AmbientBrightnessSensor()
67 mFakeLightSensor = new FakeGenericSensor(createSensor(Sensor.TYPE_LIGHT)), in FakeSensorManager()
67 Sensor.TYPE_LIGHT,
1007 Sensor lightSensor = sensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in registerSensorListener()
559 return mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in findDisplayLightSensor()
12415 field public static final int TYPE_LIGHT = 5; // 0x5
16383 field public static final int TYPE_LIGHT = 5; // 0x5