63 Platform implementation of the quick settings tile host *
64 public class QSTileHost implements QSTile.Host {
65 private static final String TAG = "QSTileHost";
66 private static final boolean DEBUG = Log.isLoggable(TAG, Log.DEBUG);
67
68 private static final String TILES_SETTING = "sysui_qs_tiles";
69
70 private final Context mContext;
71 private final PhoneStatusBar mStatusBar;
72 private final LinkedHashMap<String, QSTile<?>> mTiles = new LinkedHashMap<>();
73 private final Observer mObserver = new Observer();
74 private final BluetoothController mBluetooth; 1
75 private final LocationController mLocation; 2
76 private final RotationLockController mRotation; 3
77 private final NetworkController mNetwork; 4
78 private final ZenModeController mZen; 5
79 private final HotspotController mHotspot; 6
80 private final CastController mCast; 7
81 private final Looper mLooper;
82 private final CurrentUserTracker mUserTracker;
83 private final FlashlightController mFlashlight; 8
84 private final UserSwitcherController mUserSwitcherController; 9
85 private final KeyguardMonitor mKeyguard;
86 private final SecurityController mSecurity; 10
87
88 private Callback mCallback;