/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileNetworkSettings.java | 139 use(CallsDefaultSubscriptionController.class).init(getLifecycle()); in onAttach() 140 use(SmsDefaultSubscriptionController.class).init(getLifecycle()); in onAttach() 141 use(MobileNetworkSwitchController.class).init(getLifecycle(), mSubId); in onAttach() 145 use(DataDuringCallsPreferenceController.class).init(getLifecycle(), mSubId); in onAttach() 146 use(DisabledSubscriptionController.class).init(getLifecycle(), mSubId); in onAttach() 160 use(EnabledNetworkModePreferenceController.class).init(getLifecycle(), mSubId); in onAttach() 163 use(CarrierWifiTogglePreferenceController.class).init(getLifecycle(), mSubId); in onAttach() 169 use(OpenNetworkSelectPagePreferenceController.class).init(getLifecycle(), mSubId); in onAttach() 172 .init(getLifecycle(), mSubId) in onAttach() 174 use(NetworkPreferenceCategoryController.class).init(getLifecycle(), mSubId) in onAttach() [all …]
|
D | MobileNetworkActivity.java | 126 getProxySubscriptionManager().setLifecycle(getLifecycle()); in onCreate() 161 if (!getLifecycle().getCurrentState().isAtLeast(Lifecycle.State.STARTED)) { in onChanged() 186 getProxySubscriptionManager().setLifecycle(getLifecycle()); in onStart()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/ |
D | PreferenceControllerTestHelper.java | 166 private Lifecycle getLifecycle() { in getLifecycle() method in PreferenceControllerTestHelper 174 mPreferenceController.onCreate(this::getLifecycle); in dispatchEvent() 177 mPreferenceController.onStart(this::getLifecycle); in dispatchEvent() 180 mPreferenceController.onResume(this::getLifecycle); in dispatchEvent() 183 mPreferenceController.onPause(this::getLifecycle); in dispatchEvent() 186 mPreferenceController.onStop(this::getLifecycle); in dispatchEvent() 190 mPreferenceController.onDestroy(this::getLifecycle); in dispatchEvent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/ |
D | WifiScanWorkerTest.java | 68 assertThat(mWifiScanWorker.getLifecycle().getCurrentState()) in onConstructor_shouldBeInCreatedState() 76 assertThat(mWifiScanWorker.getLifecycle().getCurrentState()) in onSlicePinned_shouldBeInResumedState() 84 assertThat(mWifiScanWorker.getLifecycle().getCurrentState()) in onSliceUnpinned_shouldBeInCreatedState() 92 assertThat(mWifiScanWorker.getLifecycle().getCurrentState()) in close_shouldBeInDestroyedState()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | NetworkProviderWorkerTest.java | 87 assertThat(mMockNetworkProviderWorker.getLifecycle().getCurrentState()) in onConstructor_shouldBeInCreatedState() 96 assertThat(mMockNetworkProviderWorker.getLifecycle().getCurrentState()) in onSlicePinned_shouldBeInResumedState() 106 assertThat(mMockNetworkProviderWorker.getLifecycle().getCurrentState()) in onSliceUnpinned_shouldBeInCreatedState() 115 assertThat(mMockNetworkProviderWorker.getLifecycle().getCurrentState()) in close_shouldBeInDestroyedState()
|
/packages/apps/Settings/src/com/android/settings/homepage/ |
D | SettingsHomepageActivity.java | 87 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate() 89 getLifecycle().addObserver(mCategoryMixin); in onCreate() 96 getLifecycle().addObserver(new AvatarViewMixin(this, avatarView)); in onCreate()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
D | WifiDetailsFragment.java | 84 getLifecycle().addObserver(mWifiInfoProvider); in onAttach() 126 getLifecycle().removeObserver(mWifiInfoProvider); in onDetach() 146 mNetworkDetailsTracker = WifiUtil.createNetworkDetailsTracker(getLifecycle(), in setUpNetworksDetailTracker()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | PermissionControllerLifecycleService.java | 95 public Lifecycle getLifecycle() { in getLifecycle() method in PermissionControllerLifecycleService 96 return mDispatcher.getLifecycle(); in getLifecycle()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | SettingsFragment.java | 181 Lifecycle lifecycle = getLifecycle(); in onAttach() 238 Lifecycle lifecycle = getLifecycle(); in onDetach() 343 return getLifecycle(); in getSettingsLifecycle()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/theme/ |
D | CustomThemeNameFragment.java | 78 mThemeOptionPreviewer = new ThemeOptionPreviewer(getLifecycle(), getContext(), in onCreateView() 86 getLifecycle(), in onCreateView()
|
D | ThemeFullPreviewFragment.java | 110 getLifecycle(), in onCreateView() 118 getLifecycle(), in onCreateView()
|
D | ThemeFragment.java | 122 getLifecycle(), in onCreateView() 129 getLifecycle(), in onCreateView()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | AllAppsFragment.java | 145 }, getLifecycle()); in onActivityCreated() 158 }, getLifecycle()); in onActivityCreated() 173 }, getLifecycle()); in onActivityCreated()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/ |
D | SettingsPanelActivityTest.java | 90 activity.getLifecycle().addObserver(new HideNonSystemOverlayMixin(activity)); in onStart_isNotDebuggable_shouldHideSystemOverlay() 106 activity.getLifecycle().addObserver(new HideNonSystemOverlayMixin(activity)); in onStop_isNotDebuggable_shouldRemoveHideSystemOverlay()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | ProxySubscriptionManager.java | 65 default Lifecycle getLifecycle() { in getLifecycle() method 280 Lifecycle lifecycle = listener.getLifecycle(); in getListenerState()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiRequestToggleActivity.java | 104 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate() 106 mCarWifiManager = new CarWifiManager(getApplicationContext(), getLifecycle()); in onCreate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/ |
D | SettingsHomepageActivityTest.java | 161 activity.getLifecycle().addObserver(new HideNonSystemOverlayMixin(activity)); in onStart_isNotDebuggable_shouldHideSystemOverlay() 180 activity.getLifecycle().addObserver(new HideNonSystemOverlayMixin(activity)); in onStop_isNotDebuggable_shouldRemoveHideSystemOverlay()
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | SettingsBaseActivity.java | 81 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate() 85 getLifecycle().addObserver(mCategoryMixin); in onCreate()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/ |
D | WallpaperSectionController.java | 188 mLockScreenPreviewer = new LockScreenPreviewer(mLifecycleOwner.getLifecycle(), context, in createView() 195 mLifecycleOwner.getLifecycle().addObserver(this); in createView() 238 mLifecycleOwner.getLifecycle().removeObserver(this); in release()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/ |
D | TestLifecycleOwner.java | 33 public Lifecycle getLifecycle() { in getLifecycle() method in TestLifecycleOwner
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/ |
D | ManageDomainUrlsFragment.java | 40 getLifecycle()); in onAttach()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/networkrequest/ |
D | NetworkRequestDialogActivity.java | 36 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate()
|
/packages/apps/Car/libs/car-arch-common/src/com/android/car/arch/common/testing/ |
D | TestLifecycleOwner.java | 38 public Lifecycle getLifecycle() { in getLifecycle() method in TestLifecycleOwner
|
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/ |
D | ActionDisabledByAdminActivity.java | 41 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate()
|
/packages/apps/Car/Media/src/com/android/car/media/ |
D | BrowseViewController.java | 199 activity.getLifecycle().addObserver(mUxrContentLimiter); in BrowseViewController() 256 mCallbacks.getActivity().getLifecycle().removeObserver(mUxrContentLimiter); in destroy()
|