/packages/apps/Settings/tests/robotests/src/com/android/settings/core/codeinspection/ |
D | LifecycleObserverCodeInspector.java | 23 import com.android.settingslib.core.lifecycle.LifecycleObserver; 24 import com.android.settingslib.core.lifecycle.events.OnAttach; 25 import com.android.settingslib.core.lifecycle.events.OnCreate; 26 import com.android.settingslib.core.lifecycle.events.OnCreateOptionsMenu; 27 import com.android.settingslib.core.lifecycle.events.OnDestroy; 28 import com.android.settingslib.core.lifecycle.events.OnOptionsItemSelected; 29 import com.android.settingslib.core.lifecycle.events.OnPause; 30 import com.android.settingslib.core.lifecycle.events.OnPrepareOptionsMenu; 31 import com.android.settingslib.core.lifecycle.events.OnResume; 32 import com.android.settingslib.core.lifecycle.events.OnSaveInstanceState; [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenModeSoundVibrationSettings.java | 27 import com.android.settingslib.core.lifecycle.Lifecycle; 42 Lifecycle lifecycle) { in buildPreferenceControllers() argument 44 controllers.add(new ZenModeCallsPreferenceController(context, lifecycle, in buildPreferenceControllers() 46 controllers.add(new ZenModeMessagesPreferenceController(context, lifecycle, in buildPreferenceControllers() 48 controllers.add(new ZenModeAlarmsPreferenceController(context, lifecycle, in buildPreferenceControllers() 50 controllers.add(new ZenModeMediaPreferenceController(context, lifecycle)); in buildPreferenceControllers() 51 controllers.add(new ZenModeSystemPreferenceController(context, lifecycle)); in buildPreferenceControllers() 52 controllers.add(new ZenModeRemindersPreferenceController(context, lifecycle)); in buildPreferenceControllers() 53 controllers.add(new ZenModeEventsPreferenceController(context, lifecycle)); in buildPreferenceControllers() 54 controllers.add(new ZenModeBehaviorFooterPreferenceController(context, lifecycle, in buildPreferenceControllers() [all …]
|
D | ZenModeBlockedEffectsSettings.java | 36 import com.android.settingslib.core.lifecycle.Lifecycle; 58 Lifecycle lifecycle) { in buildPreferenceControllers() argument 60 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 63 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 66 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 69 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 73 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 76 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 79 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers()
|
D | SoundSettings.java | 45 import com.android.settingslib.core.lifecycle.Lifecycle; 229 SoundSettings fragment, Lifecycle lifecycle) { in buildPreferenceControllers() argument 240 controllers.add(new WorkSoundPreferenceController(context, fragment, lifecycle)); in buildPreferenceControllers() 244 new DialPadTonePreferenceController(context, fragment, lifecycle); in buildPreferenceControllers() 246 new ScreenLockSoundPreferenceController(context, fragment, lifecycle); in buildPreferenceControllers() 248 new ChargingSoundPreferenceController(context, fragment, lifecycle); in buildPreferenceControllers() 250 new DockingSoundPreferenceController(context, fragment, lifecycle); in buildPreferenceControllers() 252 new TouchSoundPreferenceController(context, fragment, lifecycle); in buildPreferenceControllers() 254 new VibrateOnTouchPreferenceController(context, fragment, lifecycle); in buildPreferenceControllers() 256 new DockAudioMediaPreferenceController(context, fragment, lifecycle); in buildPreferenceControllers() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | ZenModeSoundVibrationSettings.java | 27 import com.android.settingslib.core.lifecycle.Lifecycle; 42 Lifecycle lifecycle) { in buildPreferenceControllers() argument 44 controllers.add(new ZenModeCallsPreferenceController(context, lifecycle, in buildPreferenceControllers() 46 controllers.add(new ZenModeMessagesPreferenceController(context, lifecycle, in buildPreferenceControllers() 48 controllers.add(new ZenModeAlarmsPreferenceController(context, lifecycle, in buildPreferenceControllers() 50 controllers.add(new ZenModeMediaPreferenceController(context, lifecycle)); in buildPreferenceControllers() 51 controllers.add(new ZenModeSystemPreferenceController(context, lifecycle)); in buildPreferenceControllers() 52 controllers.add(new ZenModeRemindersPreferenceController(context, lifecycle)); in buildPreferenceControllers() 53 controllers.add(new ZenModeEventsPreferenceController(context, lifecycle)); in buildPreferenceControllers() 54 controllers.add(new ZenModeBehaviorFooterPreferenceController(context, lifecycle, in buildPreferenceControllers() [all …]
|
D | ZenModeBlockedEffectsSettings.java | 36 import com.android.settingslib.core.lifecycle.Lifecycle; 58 Lifecycle lifecycle) { in buildPreferenceControllers() argument 60 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 63 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 66 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 69 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 73 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 76 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 79 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers()
|
D | SoundSettings.java | 45 import com.android.settingslib.core.lifecycle.Lifecycle; 229 SoundSettings fragment, Lifecycle lifecycle) { in buildPreferenceControllers() argument 239 controllers.add(new WorkSoundPreferenceController(context, fragment, lifecycle)); in buildPreferenceControllers() 243 new DialPadTonePreferenceController(context, fragment, lifecycle); in buildPreferenceControllers() 245 new ScreenLockSoundPreferenceController(context, fragment, lifecycle); in buildPreferenceControllers() 247 new ChargingSoundPreferenceController(context, fragment, lifecycle); in buildPreferenceControllers() 249 new DockingSoundPreferenceController(context, fragment, lifecycle); in buildPreferenceControllers() 251 new TouchSoundPreferenceController(context, fragment, lifecycle); in buildPreferenceControllers() 253 new VibrateOnTouchPreferenceController(context, fragment, lifecycle); in buildPreferenceControllers() 255 new DockAudioMediaPreferenceController(context, fragment, lifecycle); in buildPreferenceControllers() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | PreferenceControllerTestHelper.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE; 20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY; 21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME; 23 import static androidx.lifecycle.Lifecycle.Event.ON_START; 24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 25 import static androidx.lifecycle.Lifecycle.State.CREATED; 26 import static androidx.lifecycle.Lifecycle.State.DESTROYED; 27 import static androidx.lifecycle.Lifecycle.State.INITIALIZED; 28 import static androidx.lifecycle.Lifecycle.State.RESUMED; [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/location/ |
D | LocationServicePreferenceController.java | 31 import com.android.settingslib.core.lifecycle.Lifecycle; 32 import com.android.settingslib.core.lifecycle.LifecycleObserver; 33 import com.android.settingslib.core.lifecycle.events.OnPause; 34 import com.android.settingslib.core.lifecycle.events.OnResume; 60 Lifecycle lifecycle) { in LocationServicePreferenceController() argument 61 this(context, fragment, lifecycle, new AppSettingsInjector(context)); in LocationServicePreferenceController() 66 Lifecycle lifecycle, AppSettingsInjector injector) { in LocationServicePreferenceController() argument 67 super(context, lifecycle); in LocationServicePreferenceController() 70 if (lifecycle != null) { in LocationServicePreferenceController() 71 lifecycle.addObserver(this); in LocationServicePreferenceController()
|
D | LocationSwitchBarController.java | 22 import com.android.settingslib.core.lifecycle.Lifecycle; 23 import com.android.settingslib.core.lifecycle.LifecycleObserver; 24 import com.android.settingslib.core.lifecycle.events.OnStart; 25 import com.android.settingslib.core.lifecycle.events.OnStop; 36 Lifecycle lifecycle) { in LocationSwitchBarController() argument 39 mLocationEnabler = new LocationEnabler(context, this /* listener */, lifecycle); in LocationSwitchBarController() 40 if (lifecycle != null) { in LocationSwitchBarController() 41 lifecycle.addObserver(this); in LocationSwitchBarController()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | LocationServicePreferenceController.java | 31 import com.android.settingslib.core.lifecycle.Lifecycle; 32 import com.android.settingslib.core.lifecycle.LifecycleObserver; 33 import com.android.settingslib.core.lifecycle.events.OnPause; 34 import com.android.settingslib.core.lifecycle.events.OnResume; 60 Lifecycle lifecycle) { in LocationServicePreferenceController() argument 61 this(context, fragment, lifecycle, new AppSettingsInjector(context)); in LocationServicePreferenceController() 66 Lifecycle lifecycle, AppSettingsInjector injector) { in LocationServicePreferenceController() argument 67 super(context, lifecycle); in LocationServicePreferenceController() 70 if (lifecycle != null) { in LocationServicePreferenceController() 71 lifecycle.addObserver(this); in LocationServicePreferenceController()
|
D | LocationSwitchBarController.java | 22 import com.android.settingslib.core.lifecycle.Lifecycle; 23 import com.android.settingslib.core.lifecycle.LifecycleObserver; 24 import com.android.settingslib.core.lifecycle.events.OnStart; 25 import com.android.settingslib.core.lifecycle.events.OnStop; 36 Lifecycle lifecycle) { in LocationSwitchBarController() argument 39 mLocationEnabler = new LocationEnabler(context, this /* listener */, lifecycle); in LocationSwitchBarController() 40 if (lifecycle != null) { in LocationSwitchBarController() 41 lifecycle.addObserver(this); in LocationSwitchBarController()
|
/packages/apps/Settings/src/com/android/settings/wifi/tether/ |
D | WifiTetherPreferenceController.java | 37 import com.android.settingslib.core.lifecycle.Lifecycle; 38 import com.android.settingslib.core.lifecycle.LifecycleObserver; 39 import com.android.settingslib.core.lifecycle.events.OnStart; 40 import com.android.settingslib.core.lifecycle.events.OnStop; 57 public WifiTetherPreferenceController(Context context, Lifecycle lifecycle) { in WifiTetherPreferenceController() argument 58 this(context, lifecycle, true /* initSoftApManager */); in WifiTetherPreferenceController() 62 WifiTetherPreferenceController(Context context, Lifecycle lifecycle, in WifiTetherPreferenceController() argument 69 mLifecycle = lifecycle; in WifiTetherPreferenceController() 70 if (lifecycle != null) { in WifiTetherPreferenceController() 71 lifecycle.addObserver(this); in WifiTetherPreferenceController()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/tether/ |
D | WifiTetherPreferenceController.java | 37 import com.android.settingslib.core.lifecycle.Lifecycle; 38 import com.android.settingslib.core.lifecycle.LifecycleObserver; 39 import com.android.settingslib.core.lifecycle.events.OnStart; 40 import com.android.settingslib.core.lifecycle.events.OnStop; 57 public WifiTetherPreferenceController(Context context, Lifecycle lifecycle) { in WifiTetherPreferenceController() argument 58 this(context, lifecycle, true /* initSoftApManager */); in WifiTetherPreferenceController() 62 WifiTetherPreferenceController(Context context, Lifecycle lifecycle, in WifiTetherPreferenceController() argument 69 mLifecycle = lifecycle; in WifiTetherPreferenceController() 70 if (lifecycle != null) { in WifiTetherPreferenceController() 71 lifecycle.addObserver(this); in WifiTetherPreferenceController()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | NetworkDashboardFragment.java | 38 import com.android.settingslib.core.lifecycle.Lifecycle; 92 Lifecycle lifecycle, MetricsFeatureProvider metricsFeatureProvider, Fragment fragment, in buildPreferenceControllers() argument 108 if (lifecycle != null) { in buildPreferenceControllers() 109 lifecycle.addObserver(mobilePlanPreferenceController); in buildPreferenceControllers() 110 lifecycle.addObserver(wifiPreferenceController); in buildPreferenceControllers() 112 lifecycle.addObserver(mobileNetworkPreferenceController); in buildPreferenceControllers() 114 lifecycle.addObserver(vpnPreferenceController); in buildPreferenceControllers() 115 lifecycle.addObserver(privateDnsPreferenceController); in buildPreferenceControllers() 121 controllers.add(new MobileNetworkSummaryController(context, lifecycle)); in buildPreferenceControllers() 126 controllers.add(new TetherPreferenceController(context, lifecycle)); in buildPreferenceControllers()
|
D | MultiNetworkHeaderController.java | 28 import com.android.settingslib.core.lifecycle.Lifecycle; 48 public void init(Lifecycle lifecycle) { in init() argument 49 mWifiController = createWifiController(lifecycle); in init() 50 mSubscriptionsController = createSubscriptionsController(lifecycle); in init() 54 WifiConnectionPreferenceController createWifiController(Lifecycle lifecycle) { in createWifiController() argument 56 return new WifiConnectionPreferenceController(mContext, lifecycle, this, mPreferenceKey, in createWifiController() 61 SubscriptionsPreferenceController createSubscriptionsController(Lifecycle lifecycle) { in createSubscriptionsController() argument 63 return new SubscriptionsPreferenceController(mContext, lifecycle, this, mPreferenceKey, in createSubscriptionsController()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | MultiNetworkHeaderController.java | 28 import com.android.settingslib.core.lifecycle.Lifecycle; 48 public void init(Lifecycle lifecycle) { in init() argument 49 mWifiController = createWifiController(lifecycle); in init() 50 mSubscriptionsController = createSubscriptionsController(lifecycle); in init() 54 WifiConnectionPreferenceController createWifiController(Lifecycle lifecycle) { in createWifiController() argument 56 return new WifiConnectionPreferenceController(mContext, lifecycle, this, mPreferenceKey, in createWifiController() 61 SubscriptionsPreferenceController createSubscriptionsController(Lifecycle lifecycle) { in createSubscriptionsController() argument 63 return new SubscriptionsPreferenceController(mContext, lifecycle, this, mPreferenceKey, in createSubscriptionsController()
|
D | NetworkDashboardFragment.java | 38 import com.android.settingslib.core.lifecycle.Lifecycle; 92 Lifecycle lifecycle, MetricsFeatureProvider metricsFeatureProvider, Fragment fragment, in buildPreferenceControllers() argument 108 if (lifecycle != null) { in buildPreferenceControllers() 109 lifecycle.addObserver(mobilePlanPreferenceController); in buildPreferenceControllers() 110 lifecycle.addObserver(wifiPreferenceController); in buildPreferenceControllers() 112 lifecycle.addObserver(mobileNetworkPreferenceController); in buildPreferenceControllers() 114 lifecycle.addObserver(vpnPreferenceController); in buildPreferenceControllers() 115 lifecycle.addObserver(privateDnsPreferenceController); in buildPreferenceControllers() 121 controllers.add(new MobileNetworkSummaryController(context, lifecycle)); in buildPreferenceControllers() 126 controllers.add(new TetherPreferenceController(context, lifecycle)); in buildPreferenceControllers()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/manageapplications/ |
D | ResetAppPrefPreferenceController.java | 27 import com.android.settingslib.core.lifecycle.Lifecycle; 28 import com.android.settingslib.core.lifecycle.LifecycleObserver; 29 import com.android.settingslib.core.lifecycle.events.OnCreate; 30 import com.android.settingslib.core.lifecycle.events.OnSaveInstanceState; 37 public ResetAppPrefPreferenceController(Context context, Lifecycle lifecycle) { in ResetAppPrefPreferenceController() argument 40 if (lifecycle != null) { in ResetAppPrefPreferenceController() 41 lifecycle.addObserver(this); in ResetAppPrefPreferenceController()
|
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/ |
D | ResetAppPrefPreferenceController.java | 27 import com.android.settingslib.core.lifecycle.Lifecycle; 28 import com.android.settingslib.core.lifecycle.LifecycleObserver; 29 import com.android.settingslib.core.lifecycle.events.OnCreate; 30 import com.android.settingslib.core.lifecycle.events.OnSaveInstanceState; 37 public ResetAppPrefPreferenceController(Context context, Lifecycle lifecycle) { in ResetAppPrefPreferenceController() argument 40 if (lifecycle != null) { in ResetAppPrefPreferenceController() 41 lifecycle.addObserver(this); in ResetAppPrefPreferenceController()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | SettingsPreferenceFragment.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE; 20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY; 21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME; 23 import static androidx.lifecycle.Lifecycle.Event.ON_START; 24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 35 import androidx.lifecycle.LifecycleOwner; 41 import com.android.settingslib.core.lifecycle.Lifecycle;
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/ |
D | PictureColorModePreferenceController.java | 25 import com.android.settingslib.core.lifecycle.Lifecycle; 26 import com.android.settingslib.core.lifecycle.LifecycleObserver; 27 import com.android.settingslib.core.lifecycle.events.OnPause; 28 import com.android.settingslib.core.lifecycle.events.OnResume; 38 public PictureColorModePreferenceController(Context context, Lifecycle lifecycle) { in PictureColorModePreferenceController() argument 41 if (lifecycle != null) { in PictureColorModePreferenceController() 42 lifecycle.addObserver(this); in PictureColorModePreferenceController()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | PictureColorModePreferenceController.java | 25 import com.android.settingslib.core.lifecycle.Lifecycle; 26 import com.android.settingslib.core.lifecycle.LifecycleObserver; 27 import com.android.settingslib.core.lifecycle.events.OnPause; 28 import com.android.settingslib.core.lifecycle.events.OnResume; 38 public PictureColorModePreferenceController(Context context, Lifecycle lifecycle) { in PictureColorModePreferenceController() argument 41 if (lifecycle != null) { in PictureColorModePreferenceController() 42 lifecycle.addObserver(this); in PictureColorModePreferenceController()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | DisabledSubscriptionController.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 20 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME; 25 import androidx.lifecycle.Lifecycle; 26 import androidx.lifecycle.LifecycleObserver; 27 import androidx.lifecycle.OnLifecycleEvent; 48 public void init(Lifecycle lifecycle, int subId) { in init() argument 49 lifecycle.addObserver(this); in init()
|
D | DataDuringCallsPreferenceController.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 20 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME; 26 import androidx.lifecycle.Lifecycle; 27 import androidx.lifecycle.LifecycleObserver; 28 import androidx.lifecycle.OnLifecycleEvent; 49 public void init(Lifecycle lifecycle, int subId) { in init() argument 52 lifecycle.addObserver(this); in init()
|