Home
last modified time | relevance | path

Searched refs:oldSensor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenBrightness.java357 final Sensor oldSensor = mLightSensorOptional[mDevicePosture].get();
359 if (Objects.equals(oldSensor, newSensor)) {
374 + "{" + oldSensor + "} => {" + newSensor + "}, mRegistered=" + mRegistered);
DDozeSensors.java632 Sensor oldSensor = mSensors[mPosture]; in setPosture() local
634 if (Objects.equals(oldSensor, newSensor)) { in setPosture()
642 final boolean rt = mSensorManager.cancelTriggerSensor(this, oldSensor); in setPosture()
643 mDozeLog.traceSensorUnregisterAttempt(oldSensor.toString(), rt, "posture changed"); in setPosture()
651 + "{" + oldSensor + "} => {" + newSensor + "}, mRegistered=" + mRegistered); in setPosture()