Home
last modified time | relevance | path

Searched refs:CREATED (Results 1 – 25 of 39) sorted by relevance

12

/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
H A DExtraSettingsPreferenceControllerTest.java103 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_initialized_noPreferenceAdded()
116 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_noPreferenceAdded_shouldNotBeVisible()
128 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_initialized_preferenceAdded()
140 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_preferenceAdded_shouldBeVisible()
152 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_refreshedTwice_shouldOnlyAddPreferenceOnce()
165 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in testRefreshUi_refreshedTwice_stillBeVisible()
177 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_unrestrictedAndDO_intentsIntoActivityNoMetadata_disabled()
193 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_unrestrictedAndDO_intentsIntoNonDOActivity_disabled()
208 mPreferenceControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_unrestrictedAndDO_intentsIntoDOActivity_enabled()
H A DPreferenceControllerTestHelper.java25 import static androidx.lifecycle.Lifecycle.State.CREATED;
203 return CREATED; in getStateAfter()
221 case CREATED: in downEvent()
238 case CREATED: in upEvent()
H A DPreferenceControllerTest.java132 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_created_restricted_preferenceDisabled()
143 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_created_restricted_unrestricted_preferenceEnabled()
168 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_restricted_allPreferencesIgnore_preferenceEnabled()
186 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_restricted_thisPreferenceIgnores_preferenceEnabled()
203 mControllerHelper.markState(Lifecycle.State.CREATED); in onUxRestrictionsChanged_restricted_uxRestrictionsNotIgnored_preferenceDisabled()
/aosp12/frameworks/base/core/java/android/app/
H A DLocalActivityManager.java71 static final int CREATED = 2; // Created, not started or resumed. field in LocalActivityManager
208 case CREATED: in moveToState()
232 if (desiredState == CREATED) { in moveToState()
235 r.curState = CREATED; in moveToState()
245 if (desiredState == CREATED) { in moveToState()
250 r.curState = CREATED; in moveToState()
527 mCurState = CREATED; in dispatchCreate()
628 mCurState = CREATED; in dispatchStop()
632 moveToState(r, CREATED); in dispatchStop()
H A DFragmentManager.java1173 newState = Fragment.CREATED; in moveToState()
1178 newState = Fragment.CREATED; in moveToState()
1270 case Fragment.CREATED: in moveToState()
1431 case Fragment.CREATED: in moveToState()
2422 if (mCurState < Fragment.CREATED) { in addAddedFragments()
2999 dispatchMoveToState(Fragment.CREATED); in dispatchCreate()
3134 if (mCurState < Fragment.CREATED) { in dispatchCreateOptionsMenu()
3167 if (mCurState < Fragment.CREATED) { in dispatchPrepareOptionsMenu()
3183 if (mCurState < Fragment.CREATED) { in dispatchOptionsItemSelected()
3198 if (mCurState < Fragment.CREATED) { in dispatchContextItemSelected()
[all …]
H A DFragment.java273 static final int CREATED = 1; // Created. field in Fragment
845 } else if (mState >= CREATED) { in getChildFragmentManager()
1510 && !mChildFragmentManager.isStateAtLeast(Fragment.CREATED)) {
2484 mState = CREATED;
2745 mState = CREATED;
H A DFragmentTransition.java90 if (fragmentManager.mCurState < Fragment.CREATED) { in startTransitions()
1320 if (fragment.mState < Fragment.CREATED && manager.mCurState >= Fragment.CREATED && in addToFirstInLastOut()
1324 manager.moveToState(fragment, Fragment.CREATED, 0, 0, false); in addToFirstInLastOut()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
H A DWifiBaseWorkerTestCase.java46 assertThat(mWorker.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.CREATED); in onCreate_lifecycleCreated()
61 assertThat(mWorker.getLifecycle().getCurrentState()).isEqualTo(Lifecycle.State.CREATED); in onUnsubscribe_lifecycleCreated()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/qc/
H A DWifiBaseWorker.java59 mLifecycleRegistry.setCurrentState(Lifecycle.State.CREATED); in WifiBaseWorker()
69 mLifecycleRegistry.setCurrentState(Lifecycle.State.CREATED); in onQCItemUnsubscribe()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/slice/
H A DWifiScanWorkerTest.java69 .isEqualTo(Lifecycle.State.CREATED); in onConstructor_shouldBeInCreatedState()
85 .isEqualTo(Lifecycle.State.CREATED); in onSliceUnpinned_shouldBeInCreatedState()
/aosp12/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
H A DLoginTest.java18 import static com.android.compatibility.common.util.ActivitiesWatcher.ActivityLifecycle.CREATED;
91 watcher.waitFor(CREATED); in testActivityLaunchTime()
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/slice/
H A DWifiScanWorker.java63 mLifecycleRegistry.markState(Lifecycle.State.CREATED); in WifiScanWorker()
76 mLifecycleRegistry.markState(Lifecycle.State.CREATED); in onSliceUnpinned()
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
H A DBluetoothNamePreferenceControllerTest.java80 mControllerHelper.markState(Lifecycle.State.CREATED); in setUp()
133 mControllerHelper.markState(Lifecycle.State.CREATED); in stopped_noUpdateOnLocalNameChangedBroadcast()
H A DBluetoothDeviceAddressPreferenceControllerTest.java77 controllerHelper.markState(Lifecycle.State.CREATED); in refreshUi_setsAddress()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
H A DWifiDialogActivityTest.java108 mWifiDialogActivity.moveToState(State.CREATED); in onSubmit2_whenConnectForCallerIsTrue_shouldConnectToNetwork()
148 mWifiDialogActivity.moveToState(State.CREATED); in onSubmit2_whenConnectForCallerIsFalse_shouldNotConnectToNetwork()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/
H A DAccessPointControllerImplTest.kt94 assertThat(controller.lifecycle.currentState).isEqualTo(Lifecycle.State.CREATED)
108 assertThat(controller.lifecycle.currentState).isEqualTo(Lifecycle.State.CREATED)
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
H A DNetworkProviderWorkerTest.java88 .isEqualTo(Lifecycle.State.CREATED); in onConstructor_shouldBeInCreatedState()
107 .isEqualTo(Lifecycle.State.CREATED); in onSliceUnpinned_shouldBeInCreatedState()
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/suggestions/
H A DSuggestionsPreferenceControllerTest.java120 mControllerHelper.markState(Lifecycle.State.CREATED); in onStop_stopsSuggestionController()
127 mControllerHelper.markState(Lifecycle.State.CREATED); in onStop_destroysLoader()
/aosp12/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/livedata/
H A DHeartBeatLiveDataTest.java54 activityScenario.moveToState(Lifecycle.State.CREATED); in active_onLifecycleStart()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
H A DAccessPointControllerImpl.java94 mMainExecutor.execute(() -> mLifecycle.setCurrentState(Lifecycle.State.CREATED)); in AccessPointControllerImpl()
150 mMainExecutor.execute(() -> mLifecycle.setCurrentState(Lifecycle.State.CREATED)); in removeAccessPointCallback()
/aosp12/packages/apps/Car/Radio/src/com/android/car/radio/service/
H A DRadioAppService.java145 mLifecycleRegistry.markState(Lifecycle.State.CREATED); in onCreate()
173 mLifecycleRegistry.markState(Lifecycle.State.CREATED); in onUnbind()
/aosp12/frameworks/proto_logging/stats/enums/stats/tv/
H A Dtif_enums.proto28 CREATED = 1; enumerator
/aosp12/frameworks/base/core/java/android/provider/
H A DBrowser.java466 public static final String CREATED = "created"; field in Browser.BookmarkColumns
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/network/
H A DProxySubscriptionManagerTest.java66 doReturn(Lifecycle.State.CREATED).when(mLifecycle_ON_PAUSE).getCurrentState(); in setUp()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
H A DQSTileImpl.java17 import static androidx.lifecycle.Lifecycle.State.CREATED;
195 mUiHandler.post(() -> mLifecycle.setCurrentState(CREATED)); in QSTileImpl()

12