public void noteWifiStopped(WorkSource ws) { enforceCallingPermission(); synchronized (mStats) { mStats.noteWifiStoppedLocked(ws); } }