/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceBackgroundWorker.java | 53 public abstract class SliceBackgroundWorker<E> implements Closeable { class 59 private static final Map<Uri, SliceBackgroundWorker> LIVE_WORKERS = new ArrayMap<>(); 66 protected SliceBackgroundWorker(Context context, Uri uri) { in SliceBackgroundWorker() method in SliceBackgroundWorker 85 public static <T extends SliceBackgroundWorker> T getInstance(Uri uri) { in getInstance() 93 static SliceBackgroundWorker getInstance(Context context, Sliceable sliceable, Uri uri) { in getInstance() 94 SliceBackgroundWorker worker = getInstance(uri); in getInstance() 96 final Class<? extends SliceBackgroundWorker> workerClass = in getInstance() 104 private static SliceBackgroundWorker createInstance(Context context, Uri uri, in createInstance() 105 Class<? extends SliceBackgroundWorker> clazz) { in createInstance() 117 for (SliceBackgroundWorker worker : LIVE_WORKERS.values()) { in shutdown() [all …]
|
D | SettingsSliceProvider.java | 145 final Map<Uri, SliceBackgroundWorker> mPinnedWorkers = new ArrayMap<>(); 391 SliceBackgroundWorker.shutdown(); in shutdown() 492 final SliceBackgroundWorker worker = SliceBackgroundWorker.getInstance( in startBackgroundWorker() 499 final SliceBackgroundWorker worker = mPinnedWorkers.get(uri); in stopBackgroundWorker()
|
D | Sliceable.java | 131 default Class<? extends SliceBackgroundWorker> getBackgroundWorkerClass() { in getBackgroundWorkerClass()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/ |
D | WifiSliceTest.java | 47 import com.android.settings.slices.SliceBackgroundWorker; 149 final SliceBackgroundWorker worker = SliceBackgroundWorker.getInstance(mWifiSlice.getUri()); in setWorkerResults() 224 @Implements(SliceBackgroundWorker.class) 229 public static SliceBackgroundWorker getInstance(Uri uri) { in getInstance()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/testutils/ |
D | FakeToggleController.java | 25 import com.android.settings.slices.SliceBackgroundWorker; 74 public Class<? extends SliceBackgroundWorker> getBackgroundWorkerClass() { in getBackgroundWorkerClass() 87 public static class TestWorker extends SliceBackgroundWorker<Void> {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/ |
D | FakeToggleController.java | 25 import com.android.settings.slices.SliceBackgroundWorker; 74 public Class<? extends SliceBackgroundWorker> getBackgroundWorkerClass() { in getBackgroundWorkerClass() 87 public static class TestWorker extends SliceBackgroundWorker<Void> {
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | BatteryFixSlice.java | 53 import com.android.settings.slices.SliceBackgroundWorker; 105 final SliceBackgroundWorker worker = SliceBackgroundWorker.getInstance(getUri()); in getSlice() 227 public static class BatteryTipWorker extends SliceBackgroundWorker<BatteryTip> {
|
D | BluetoothUpdateWorker.java | 29 import com.android.settings.slices.SliceBackgroundWorker; 34 public class BluetoothUpdateWorker extends SliceBackgroundWorker implements BluetoothCallback {
|
D | DarkThemeSlice.java | 48 import com.android.settings.slices.SliceBackgroundWorker; 186 public static class DarkThemeWorker extends SliceBackgroundWorker<Void> {
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
D | NfcPreferenceController.java | 31 import com.android.settings.slices.SliceBackgroundWorker; 107 public Class<? extends SliceBackgroundWorker> getBackgroundWorkerClass() { in getBackgroundWorkerClass() 148 public static class NfcSliceWorker extends SliceBackgroundWorker<Void> {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/media/ |
D | RemoteMediaSliceTest.java | 46 import com.android.settings.slices.SliceBackgroundWorker; 156 @Implements(SliceBackgroundWorker.class) 160 public static SliceBackgroundWorker getInstance(Uri uri) { in getInstance()
|
D | MediaOutputIndicatorSliceTest.java | 50 import com.android.settings.slices.SliceBackgroundWorker; 288 @Implements(SliceBackgroundWorker.class) 292 public static SliceBackgroundWorker getInstance(Uri uri) { in getInstance()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | ShadowSliceBackgroundWorker.java | 23 @Implements(SliceBackgroundWorker.class) 27 private SliceBackgroundWorker mRealWorker;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | BatteryFixSliceTest.java | 41 import com.android.settings.slices.SliceBackgroundWorker; 167 @Implements(SliceBackgroundWorker.class) 178 protected static <T extends SliceBackgroundWorker> T getInstance(Uri uri) { in getInstance()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileDataSlice.java | 45 import com.android.settings.slices.SliceBackgroundWorker; 149 public Class<? extends SliceBackgroundWorker> getBackgroundWorkerClass() { in getBackgroundWorkerClass() 212 public static class MobileDataWorker extends SliceBackgroundWorker<Void> {
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | ConnectToWifiHandler.java | 28 import com.android.settings.slices.SliceBackgroundWorker; 66 return SliceBackgroundWorker.getInstance(intent.getParcelableExtra(KEY_WIFI_SLICE_URI)); in getWifiScanWorker()
|
D | WifiScanWorker.java | 31 import com.android.settings.slices.SliceBackgroundWorker; 43 public class WifiScanWorker extends SliceBackgroundWorker<WifiSliceItem> implements
|
D | WifiSlice.java | 48 import com.android.settings.slices.SliceBackgroundWorker; 90 final WifiScanWorker worker = SliceBackgroundWorker.getInstance(getUri()); in getSlice()
|
/packages/apps/Settings/src/com/android/settings/media/ |
D | MediaOutputIndicatorSlice.java | 38 import com.android.settings.slices.SliceBackgroundWorker; 102 mWorker = SliceBackgroundWorker.getInstance(getUri()); in getWorker()
|
D | MediaOutputIndicatorWorker.java | 35 import com.android.settings.slices.SliceBackgroundWorker; 51 public class MediaOutputIndicatorWorker extends SliceBackgroundWorker implements BluetoothCallback,
|
D | MediaDeviceUpdateWorker.java | 35 import com.android.settings.slices.SliceBackgroundWorker; 50 public class MediaDeviceUpdateWorker extends SliceBackgroundWorker
|
D | RemoteMediaSlice.java | 48 import com.android.settings.slices.SliceBackgroundWorker; 231 mWorker = SliceBackgroundWorker.getInstance(getUri()); in getWorker()
|
/packages/apps/Settings/ |
D | proguard.flags | 65 # Keep classes that extends SliceBackgroundWorker, which are used by reflection. 66 -keepclasseswithmembers class * extends com.android.settings.slices.SliceBackgroundWorker {
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | ProviderModelSlice.java | 52 import com.android.settings.slices.SliceBackgroundWorker; 310 return SliceBackgroundWorker.getInstance(getUri()); in getWorker()
|