Searched refs:oldSensor (Results 1 – 2 of 2) sorted by relevance
357 final Sensor oldSensor = mLightSensorOptional[mDevicePosture].get();359 if (Objects.equals(oldSensor, newSensor)) {374 + "{" + oldSensor + "} => {" + newSensor + "}, mRegistered=" + mRegistered);
631 Sensor oldSensor = mSensors[mPosture]; in setPosture() local633 if (Objects.equals(oldSensor, newSensor)) { in setPosture()641 final boolean rt = mSensorManager.cancelTriggerSensor(this, oldSensor); in setPosture()642 mDozeLog.traceSensorUnregisterAttempt(oldSensor.toString(), rt, "posture changed"); in setPosture()650 + "{" + oldSensor + "} => {" + newSensor + "}, mRegistered=" + mRegistered); in setPosture()