Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsEnablementTrackerTest.java119 assertTrue(mTracker.isState(SLOT_1, mTracker.STATE_IMS_ENABLED)); in testEnableCommandInDefaultState()
136 assertTrue(mTracker.isState(SLOT_1, mTracker.STATE_IMS_DISABLED)); in testDisableCommandInDefaultState()
156 assertTrue(mTracker.isState(SLOT_1, mTracker.STATE_IMS_ENABLED)); in testResetCommandInDefaultState()
172 assertTrue(mTracker.isState(SLOT_1, mTracker.STATE_IMS_ENABLED)); in testEnableCommandInEnabledState()
189 assertTrue(mTracker.isState(SLOT_1, mTracker.STATE_IMS_DISABLED)); in testDisableCommandInEnabledState()
211 assertTrue(mTracker.isState(SLOT_1, mTracker.STATE_IMS_ENABLED)); in testResetCommandInEnabledState()
228 assertTrue(mTracker.isState(SLOT_1, mTracker.STATE_IMS_DISABLED)); in testDisableCommandInDisabledState()
245 assertTrue(mTracker.isState(SLOT_1, mTracker.STATE_IMS_ENABLED)); in testEnableCommandInDisabledState()
264 assertTrue(mTracker.isState(SLOT_1, mTracker.STATE_IMS_ENABLED)); in testEnableCommandWithoutTimeoutInDisableState()
286 assertTrue(mTracker.isState(SLOT_1, mTracker.STATE_IMS_ENABLED)); in testResetCommandInDisabledState()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsEnablementTracker.java281 public boolean isState(int state) { in isState() method in ImsEnablementTracker.ImsEnablementTrackerStateMachine
771 public boolean isState(int slotId, int state) { in isState() method in ImsEnablementTracker
772 return mStateMachines.get(slotId).isState(state); in isState()
/frameworks/base/services/core/java/com/android/server/wm/
DEnsureActivitiesVisibleHelper.java162 } else if (r.isState(INITIALIZING)) { in setActivityVisibilityState()
DWindowProcessController.java945 if (mPreQTopResumedActivity != null && mPreQTopResumedActivity.isState(RESUMED)) { in updateTopResumingActivityInProcessIfNeeded()
1111 if (r.finishing || r.isState(DESTROYING, DESTROYED)) { in releaseSomeActivities()
1118 || r.isState(STARTED, RESUMED, PAUSING, PAUSED, STOPPING)) { in releaseSomeActivities()
1263 if (r.isState(RESUMED)) { in computeProcessActivityState()
1277 if (r.isState(PAUSING, PAUSED)) { in computeProcessActivityState()
1279 } else if (r.isState(STOPPING)) { in computeProcessActivityState()
DActivityRecord.java1703 if (isState(RESUMED)) { in onParentChanged()
3568 return !isState(RESUMED); in moveFocusableActivityToTop()
3635 if (mForceSendResultForMediaProjection || resultTo.isState(RESUMED)) { in finishActivityResults()
3714 final boolean mayAdjustTop = (isState(RESUMED) || rootTask.getTopResumedActivity() == null) in finishIfPossible()
3764 if (isState(RESUMED)) { in finishIfPossible()
3821 } else if (!isState(PAUSING)) { in finishIfPossible()
3839 if (oomAdj && isState(STOPPING)) { in finishIfPossible()
3897 if (!finishing || isState(RESUMED)) { in completeFinishing()
3903 if (isState(PAUSING)) { in completeFinishing()
3908 final boolean isCurrentVisible = mVisibleRequested || isState(PAUSED, STARTED); in completeFinishing()
[all …]
DActivityClientController.java257 if (!r.isState(STOPPING, RESTARTING_PROCESS) in activityStopped()
262 if (r.attachedToProcess() && r.isState(RESTARTING_PROCESS)) { in activityStopped()
422 return r.isState(DESTROYING, DESTROYED); in releaseActivityInstance()
1523 if (r != null && r.isState(RESUMED, PAUSING)) { in overridePendingTransition()
DRecentsAnimation.java164 && !targetActivity.isState(STOPPING, STOPPED)) { in preloadRecentsActivity()
DTaskFragment.java1355 if (mResumedActivity == next && next.isState(RESUMED) in resumeTopActivity()
1445 } else if (mResumedActivity == next && next.isState(RESUMED) in resumeTopActivity()
1924 final boolean wasStopping = prev.isState(STOPPING); in completePause()
DTask.java893 if (r.isState(RESUMED) && r == mRootWindowContainer.getTopResumedActivity()) { in reparent()
1645 if (r.isState(RESUMED) || (r.isVisible() in removeActivities()
3445 && top.getOrganizedTask() == this && top.isState(RESUMED);
5395 if (topActivity != null && topActivity.isState(RESUMED, PAUSING)
5514 if (activityBelow.isState(STARTED, RESUMED, PAUSING, PAUSED)) {
5719 if (r != null && !r.isState(RESUMED)) {
5923 if (topRootTask != null && topRootTask != this && topActivity.isState(RESUMED)) {
DActivityTaskSupervisor.java1729 if (!r.finishing && r.isState(RESUMED) && r.getTask() == task) { in removeTask()
2124 if (!processPausingActivities && s.isState(PAUSING)) { in processStoppingAndFinishingActivities()
2630 if (r.attachedToProcess() && r.isState(RESTARTING_PROCESS)) { in handleMessage()
DActivityStarter.java914 || (res == START_TASK_TO_FRONT && r.nowVisible && r.isState(RESUMED))) { in waitResultIfNeeded()
1685 } else if (result == START_SUCCESS && mStartActivity.isState(RESUMED)) { in handleStartResult()
2546 if (top != null && !top.isState(RESUMED)) { in setInitialState()
DRootWindowContainer.java2226 if (oldTopActivity != null && oldTopActivity.isState(STOPPED) in moveActivityToPinnedRootTask()
2512 if (topRunningActivity.isState(RESUMED) && topRunningActivity == topOfDisplay) { in resumeFocusedTasksTopActivities()
3485 if (r != null && !r.isState(PAUSED, STOPPED, STOPPING, FINISHING)) {
DWindowOrganizerController.java1249 if (pipActivity.isState(RESUMED)) { in applyHierarchyOp()
1263 if (pipActivity.isState(PAUSING) && pipActivity.mPauseSchedulePendingForPip) { in applyHierarchyOp()
DActivityTaskManagerService.java2075 if ((touchedActivity == null || r == touchedActivity) && r.isState(RESUMED) in setFocusedTask()
3748 if (fromClient && r.isState(PAUSING) && params.isAutoEnterEnabled()) { in enterPictureInPictureMode()
3774 && (!r.isState(PAUSING) || params.isAutoEnterEnabled()); in enterPictureInPictureMode()
3807 if (r.isState(PAUSING) && r.mPauseSchedulePendingForPip) { in enterPictureInPictureMode()
4217 && !task.getTopMostActivity().isState(FINISHING, DESTROYING, DESTROYED)) { in onPictureInPictureUiStateChanged()
DTaskDisplayArea.java1249 if (r != null && !r.isState(RESUMED)) {
DTransition.java1122 if (!mCanPipOnFinish || !ar.isVisible() || ar.getTask() == null || !ar.isState(RESUMED)) { in checkEnterPipOnFinish()
1386 if ((ar.isVisibleRequested() || !ar.isState(ActivityRecord.State.INITIALIZING)) in finishTransition()
DBackNavigationController.java557 if (check.isState(ActivityRecord.State.INITIALIZING)) { in isAllActivitiesCreated()
DRecentTasks.java1304 if (!mHiddenTasks.isEmpty() && r.isActivityTypeHome() && r.isState(RESUMED)) { in onActivityIdle()
DActivityMetricsLogger.java949 if (r.isState(ActivityRecord.State.RESUMED) && r.mDisplayContent.isSleeping()) { in notifyVisibilityChanged()
DDisplayContent.java1895 if (r.isState(RESUMED) && !r.getTask().mInResumeTopActivity) { in handleTopActivityLaunchingInDifferentOrientation()
6428 if (r.isState(RESUMED) && r.inSizeCompatMode()) { in handleActivitySizeCompatModeIfNeeded()
DWindowManagerService.java9784 if (win.mActivityRecord == null || !win.mActivityRecord.isState( in generateDisplayHash()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTaskManagerServiceTests.java326 doReturn(true).when(activity).isState(RESUMED); in testEnterPipModeWhenResumed_autoEnterEnabled_returnTrue()
342 doReturn(true).when(activity).isState(RESUMED); in testEnterPipModeWhenResumed_autoEnterDisabled_returnTrue()
358 doReturn(true).when(activity).isState(PAUSING); in testEnterPipModeWhenPausing_autoEnterEnabled_returnFalse()
374 doReturn(true).when(activity).isState(PAUSING); in testEnterPipModeWhenPausing_autoEnterDisabled_returnTrue()
DActivityRecordTests.java285 assertTrue(activity.isState(RESUMED)); in testPausingWhenVisibleFromStopped()
296 assertTrue(activity.isState(PAUSING)); in testPausingWhenVisibleFromStopped()
305 assertTrue(activity.isState(INITIALIZING)); in testPausingWhenVisibleFromStopped()
314 assertTrue(activity.isState(STARTED)); in testPausingWhenVisibleFromStopped()
320 assertTrue(activity.isState(STARTED)); in testPausingWhenVisibleFromStopped()
1209 assertTrue(bottomActivity.isState(RESUMED)); in testFinishActivityIfPossible_nonVisibleNoAppTransition()
DWindowOrganizerTests.java1673 doReturn(true).when(activity).isState(RESUMED); in testSizeCompatModeChangedOnFirstOrganizedTask()
/frameworks/base/services/
Dart-wear-profile25649 HPLcom/android/server/wm/ActivityRecord;->isState(Lcom/android/server/wm/ActivityRecord$State;)Z
25650 PLcom/android/server/wm/ActivityRecord;->isState(Lcom/android/server/wm/ActivityRecord$State;Lcom/a…
25651 HPLcom/android/server/wm/ActivityRecord;->isState(Lcom/android/server/wm/ActivityRecord$State;Lcom/…