/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/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | WifiBaseWorkerTestCase.java | 46 assertThat(mWorker.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.CREATED); in onCreate_lifecycleCreated() 53 assertThat(mWorker.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.RESUMED); in onSubscribe_lifecycleResumed() 61 assertThat(mWorker.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.CREATED); in onUnsubscribe_lifecycleCreated() 69 assertThat(mWorker.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.DESTROYED); in onClose_lifecycleDestroyed()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/ |
D | WifiScanWorkerTest.java | 82 assertThat(mWifiScanWorker.getLifecycle().getCurrentState()) in onConstructor_shouldBeInCreatedState() 90 assertThat(mWifiScanWorker.getLifecycle().getCurrentState()) in onSlicePinned_shouldBeInResumedState() 98 assertThat(mWifiScanWorker.getLifecycle().getCurrentState()) in onSliceUnpinned_shouldBeInCreatedState() 106 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/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()
|
D | ServiceLifecycleDispatcher.java | 98 public Lifecycle getLifecycle() { in getLifecycle() method in ServiceLifecycleDispatcher
|
/packages/services/Car/car-lib/src/android/car/app/ |
D | CarTaskViewControllerHostLifecycleFactory.java | 44 return new CarTaskViewControllerHostActivityLifecycleAdapter(activity).getLifecycle(); in forActivity() 97 public CarTaskViewControllerHostLifecycle getLifecycle() { in getLifecycle() method in CarTaskViewControllerHostLifecycleFactory.CarTaskViewControllerHostActivityLifecycleAdapter
|
/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/apps/Settings/src/com/android/settings/accounts/ |
D | WorkModePreferenceController.java | 62 lifecycleOwner.getLifecycle().addObserver(mQuietModeEnabler); in onStart() 67 lifecycleOwner.getLifecycle().removeObserver(mQuietModeEnabler); in onStop()
|
D | ContactSearchPreferenceController.java | 82 lifecycleOwner.getLifecycle().addObserver(mQuietModeEnabler); in onStart() 87 lifecycleOwner.getLifecycle().removeObserver(mQuietModeEnabler); in onStop()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | FreeUpStorageFragment.java | 56 volumeName, applicationsState, getLifecycle(), in onCreatePreferences() 60 volumeName, applicationsState, getLifecycle(), in onCreatePreferences()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | SettingsFragment.java | 172 Lifecycle lifecycle = getLifecycle(); in onAttach() 228 Lifecycle lifecycle = getLifecycle(); in onDetach() 335 return getLifecycle(); in getSettingsLifecycle()
|
/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 | 102 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate() 104 mCarWifiManager = new CarWifiManager(getApplicationContext(), getLifecycle()); in onCreate()
|
/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/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/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/Settings/src/com/android/car/settings/enterprise/ |
D | ActionDisabledByAdminActivity.java | 43 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/ |
D | SettingsPanelActivityTest.java | 116 activity.getLifecycle().addObserver(new HideNonSystemOverlayMixin(activity)); in onStart_isNotDebuggable_shouldHideSystemOverlay() 133 activity.getLifecycle().addObserver(new HideNonSystemOverlayMixin(activity)); in onStop_isNotDebuggable_shouldRemoveHideSystemOverlay()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | DeviceStateAutoRotateDetailsFragment.java | 52 getLifecycle(), in onAttach()
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | SettingsBaseActivity.java | 101 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate() 105 getLifecycle().addObserver(mCategoryMixin); in onCreate()
|
/packages/apps/Settings/src/com/android/settings/homepage/ |
D | SettingsHomepageActivity.java | 268 getLifecycle().addObserver(new HideNonSystemOverlayMixin(this)); in onCreate() 270 getLifecycle().addObserver(mCategoryMixin); in onCreate() 437 getLifecycle().addObserver(new AvatarViewMixin(this, avatarView)); in initAvatarView() 441 getLifecycle().addObserver(new AvatarViewMixin(this, avatarTwoPaneView)); in initAvatarView()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
D | ApplicationsSettingsFragment.java | 49 mAppListItemManager = new ApplicationListItemManager(volume, getLifecycle(), in onAttach()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | WifiBaseWorker.java | 80 public Lifecycle getLifecycle() { in getLifecycle() method in WifiBaseWorker
|