Searched refs:workModeSwitch (Results 1 – 1 of 1) sorted by relevance
152 WorkModeSwitch workModeSwitch = switchWeakReference.get(); in onPreExecute() local153 if (workModeSwitch != null) { in onPreExecute()154 workModeSwitch.setEnabled(false); in onPreExecute()160 WorkModeSwitch workModeSwitch = switchWeakReference.get(); in doInBackground() local161 if (workModeSwitch == null || !Utilities.ATLEAST_P) { in doInBackground()165 Context context = workModeSwitch.getContext(); in doInBackground()180 WorkModeSwitch workModeSwitch = switchWeakReference.get(); in onPostExecute() local181 if (workModeSwitch != null) { in onPostExecute()182 workModeSwitch.setEnabled(true); in onPostExecute()