Home
last modified time | relevance | path

Searched refs:initialState (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Settings/tests/spa_unit/src/com/android/settings/datausage/
DDataUsageListTest.kt70 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in launchFragment_withoutArguments_finish()
91 initialState = Lifecycle.State.CREATED, in launchFragment_isGuestUser_finish()
108 initialState = Lifecycle.State.CREATED, in launchFragment_withArguments_getTemplateFromArgument()
125 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in launchFragment_withIntent_getTemplateFromIntent()
144 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in warning_wifiAndHasSim_displayNonCarrierWarning()
162 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in warning_wifiAndNoSim_noWarning()
176 val scenario = launchFragment<TestDataUsageList>(initialState = Lifecycle.State.CREATED) in warning_mobile_operatorWarning()
DDataUsageListHeaderControllerTest.kt55 private val testLifecycleOwner = TestLifecycleOwner(initialState = Lifecycle.State.CREATED)
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/util/
DStateMachineShim.java70 public void start(final State initialState) { in start() argument
72 mSyncSM.start(initialState); in start()
74 mAsyncSM.setInitialState(initialState); in start()
DSyncStateMachine.java149 public final void start(@NonNull final State initialState) { in start() argument
151 ensureExistingState(initialState); in start()
153 mDestState = initialState; in start()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/permission/
DGrantTimePersistenceUnitTest.java214 UserGrantTimeState restoredState, UserGrantTimeState initialState) { in assertRestoredStateIsCorrect() argument
215 assertThat(initialState.getVersion()).isEqualTo(restoredState.getVersion()); in assertRestoredStateIsCorrect()
216 assertThat(initialState.getPackageGrantTimes()) in assertRestoredStateIsCorrect()
218 assertThat(initialState.getSharedUserGrantTimes()) in assertRestoredStateIsCorrect()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DCursorPreviewsInteractor.kt84 initialState = readInitialState(pagedCursor, startPosition, unclaimedRecords), in <lambda>()
92 initialState: CursorWindow, in <lambda>()
96 var state = initialState in <lambda>()
123 initialState: CursorWindow, in <lambda>()
127 var state = initialState in <lambda>()
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
DStateMachineImpl.java88 public boolean setInitialState(State initialState) { in setInitialState() argument
94 jumpToState(initialState); in setInitialState()
DStateMachine.java40 public boolean setInitialState(@Nonnull State initialState); in setInitialState() argument
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionTestHelpers.java99 protected StubChatActionMonitor(final int initialState, final String actionKey, in StubChatActionMonitor() argument
101 super(initialState, actionKey, data); in StubChatActionMonitor()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DFinalizationControllerImpl.java161 initialState -> {
162 LogUtil.d(TAG, "Enforcing initial state: " + initialState);
163 return mDispatchQueue.enqueueStateChange(initialState);
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/albumgrid/
DAlbumGridFeature.kt97 if (initialState.destination.route == ALBUM_MEDIA_GRID.route) { in registerNavigationRoutes()
119 if (initialState.destination.route == ALBUM_MEDIA_GRID.route) { in registerNavigationRoutes()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/bubbles/
DBubbleBarController.java159 final boolean initialState; field in BubbleBarController.BubbleBarViewUpdate
177 initialState = update.initialState; in BubbleBarViewUpdate()
321 update.initialState || mBubbleBarViewController.isHiddenForSysui() in applyViewChanges()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DActionMonitor.java188 protected ActionMonitor(final int initialState, final String actionKey, in ActionMonitor() argument
192 mState = initialState; in ActionMonitor()
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModule.java101 final State initialState = StateBackground.create(mStateMachine, mResourceConstructed); in CaptureIntentModule() local
103 mStateMachine.setInitialState(initialState); in CaptureIntentModule()
/packages/apps/TV/tests/robotests/src/com/android/tv/ui/hideable/
DAutoHideSchedulerTest.java48 public void initialState() { in initialState() method in AutoHideSchedulerTest
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallsManagerTest.java3779 private Call addSpyCall(int initialState) { in addSpyCall() argument
3780 return addSpyCall(SIM_2_HANDLE, initialState); in addSpyCall()
3783 private Call addSpyCall(PhoneAccountHandle targetPhoneAccount, int initialState) { in addSpyCall() argument
3784 return addSpyCall(targetPhoneAccount, null, initialState, 0 /*caps*/, 0 /*props*/); in addSpyCall()
3788 PhoneAccountHandle connectionMgrAcct, int initialState) { in addSpyCall() argument
3789 return addSpyCall(targetPhoneAccount, connectionMgrAcct, initialState, 0 /*caps*/, in addSpyCall()
3794 PhoneAccountHandle connectionMgrAcct, int initialState, in addSpyCall() argument
3796 Call ongoingCall = createCall(targetPhoneAccount, connectionMgrAcct, initialState); in addSpyCall()
3811 private Call createSpyCall(PhoneAccountHandle handle, int initialState) { in createSpyCall() argument
3812 Call ongoingCall = createCall(handle, initialState); in createSpyCall()
[all …]
DTransactionTests.java429 private Call createSpyCall(PhoneAccountHandle targetPhoneAccount, int initialState, String id) { in createSpyCall() argument
451 callSpy.setState(initialState, "manual set in test"); in createSpyCall()
DBluetoothRouteManagerTest.java297 private BluetoothRouteManager setupStateMachine(String initialState, in setupStateMachine() argument
304 sm.setInitialStateForTesting(initialState, initialDevice); in setupStateMachine()
DBluetoothRouteTransitionTests.java409 private BluetoothRouteManager setupStateMachine(String initialState, in setupStateMachine() argument
425 sm.setInitialStateForTesting(initialState, initialDevice); in setupStateMachine()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/platform/
DFakeUserManagerTest.kt35 fun initialState() { in <lambda>() method in com.android.intentresolver.platform.FakeUserManagerTest
/packages/services/Car/service/src/com/android/car/occupantconnection/
DCarRemoteDeviceService.java426 @OccupantZoneState int initialState = calculateOccupantZoneState(occupantZone); in initAllOccupantZones() local
428 occupantZoneStateToString(initialState)); in initAllOccupantZones()
429 mOccupantZoneStateMap.put(occupantZone, initialState); in initAllOccupantZones()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/core/user/
DUserMonitorTest.kt616 val initialState = in <lambda>() constant
667 assertUserStatusIsEqualIgnoringFields(emissions.get(0), initialState) in <lambda>()
/packages/apps/TV/tests/robotests/src/com/android/tv/guide/
DProgramItemViewTest.java153 public void initialState() { in initialState() method in ProgramItemViewTest
/packages/apps/TV/src/com/android/tv/dvr/
DDvrManager.java276 @SeriesRecording.SeriesState int initialState) { in addSeriesRecording() argument
294 .setState(initialState) in addSeriesRecording()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/telephony/
DBluetoothInCallService.java211 public CallStateCallback(int initialState) { in CallStateCallback() argument
212 mLastState = initialState; in CallStateCallback()

12