Home
last modified time | relevance | path

Searched refs:mStack (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/telephony/common/com/google/android/mms/pdu/
DPduComposer.java107 private BufferStack mStack = null; field in PduComposer
147 mStack = new BufferStack(); in PduComposer()
355 mStack.newbuf(); in appendEncodedString()
356 PositionMarker start = mStack.mark(); in appendEncodedString()
362 mStack.pop(); in appendEncodedString()
364 mStack.copy(); in appendEncodedString()
563 mStack.newbuf(); in appendHeader()
564 PositionMarker fstart = mStack.mark(); in appendHeader()
577 mStack.pop(); in appendHeader()
579 mStack.copy(); in appendHeader()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStackTests.java93 private ActivityStack mStack; field in ActivityStackTests
99 mStack = mDefaultTaskDisplayArea.createStack(WINDOWING_MODE_UNDEFINED, in setUp()
101 spyOn(mStack); in setUp()
102 mTask = new TaskBuilder(mSupervisor).setStack(mStack).build(); in setUp()
108 assertNull(mStack.getResumedActivity()); in testResumedActivity()
110 assertEquals(r, mStack.getResumedActivity()); in testResumedActivity()
112 assertNull(mStack.getResumedActivity()); in testResumedActivity()
120 assertEquals(r, mStack.getResumedActivity()); in testResumedActivityFromTaskReparenting()
129 assertNull(mStack.getResumedActivity()); in testResumedActivityFromTaskReparenting()
138 assertEquals(r, mStack.getResumedActivity()); in testResumedActivityFromActivityReparenting()
[all …]
DActivityTestsBase.java115 private ActivityStack mStack; field in ActivityTestsBase.ActivityBuilder
168 mStack = stack; in setStack()
252 .setStack(mStack).build(); in buildInner()
253 } else if (mTask == null && mStack != null && DisplayContent.alwaysCreateStack( in buildInner()
254 mStack.getWindowingMode(), mStack.getActivityType())) { in buildInner()
256 mTask = mStack; in buildInner()
341 private ActivityStack mStack; field in ActivityTestsBase.TaskBuilder
388 mStack = stack; in setStack()
400 if (mStack == null && mCreateStack) { in build()
403 mStack = displayArea.createStack( in build()
[all …]
DActivityRecordTests.java120 private ActivityStack mStack; field in ActivityRecordTests
126 mStack = new StackBuilder(mRootWindowContainer).build(); in setUp()
127 mTask = mStack.getBottomMostTask(); in setUp()
136 verify(mStack, times(1)).cleanUpActivityReferences(any()); in testStackCleanupOnClearingTask()
142 verify(mStack, times(1)).cleanUpActivityReferences(any()); in testStackCleanupOnActivityRemoval()
147 mStack.removeChild(mTask, null /*reason*/); in testStackCleanupOnTaskRemoval()
149 assertNull(mService.mRootWindowContainer.getStack(mStack.mTaskId)); in testStackCleanupOnTaskRemoval()
167 final Task newTask = new TaskBuilder(mService.mStackSupervisor).setStack(mStack).build(); in testNoCleanupMovingActivityInSameStack()
169 verify(mStack, times(0)).cleanUpActivityReferences(any()); in testNoCleanupMovingActivityInSameStack()
211 mStack.mTranslucentActivityWaiting = topActivity; in testPausingWhenVisibleFromStopped()
[all …]
DSizeCompatTests.java68 private ActivityStack mStack; field in SizeCompatTests
73 mStack = new StackBuilder(mRootWindowContainer).setDisplay(display).build(); in setUpApp()
74 mTask = mStack.getBottomMostTask(); in setUpApp()
93 resizeDisplay(mStack.getDisplay(), 600, 1200); in testRestartProcessIfVisible()
203 mStack.reparent(newDisplay.getDefaultTaskDisplayArea(), true /* onTop */); in testFixedScreenConfigurationWhenMovingToDisplay()
221 resizeDisplay(mStack.getDisplay(), 1000, 2000); in testFixedScreenBoundsWhenDisplaySizeChanged()
232 resizeDisplay(mStack.getDisplay(), 2000, 1000); in testFixedScreenBoundsWhenDisplaySizeChanged()
300 mStack.reparent(newDisplay.getDefaultTaskDisplayArea(), true /* onTop */); in testMoveToDifferentOrientDisplay()
342 assertEquals(ROTATION_270, mStack.getWindowConfiguration().getRotation()); in testFixedOrientRotateCutoutDisplay()
415 final DisplayContent display = mStack.getDisplay(); in testResetNonVisibleActivity()
[all …]
DAppChangeTransitionTests.java56 private ActivityStack mStack; field in AppChangeTransitionTests
63 mStack = mTask.getStack(); in setUpOnDisplay()
146 mStack.reparent(mDisplayContent.getDefaultTaskDisplayArea(), true); in testNoChangeOnOldDisplayWhenMoveDisplay()
DAppWindowTokenTests.java85 ActivityStack mStack; field in AppWindowTokenTests
93 mStack = createTaskStackOnDisplay(mDisplayContent); in setUp()
94 mTask = createTaskInStack(mStack, 0 /* userId */); in setUp()
307 final ActivityRecord topActivity = WindowTestUtils.createTestActivityRecord(mStack); in testRespectTopFullscreenOrientation()
427 doCallRealMethod().when(mStack).startActivityLocked( in testTransferStartingWindowFromFinishingActivity()
432 mStack.startActivityLocked(middle, null /* focusedTopActivity */, in testTransferStartingWindowFromFinishingActivity()
445 mStack.startActivityLocked(top, null /* focusedTopActivity */, in testTransferStartingWindowFromFinishingActivity()
527 mStack.getWindowConfiguration().setBounds(stackBounds); in testTransitionAnimationBounds()
554 assertEquals(mStack.getBounds(), mActivity.getAnimationBounds(STACK_CLIP_BEFORE_ANIM)); in testTransitionAnimationBounds()
DRecentTasksTest.java108 private ActivityStack mStack; field in RecentTasksTest
134 mStack = mTaskContainer.createStack( in setUp()
337 .setStack(mStack).build(); in testAddTasksDifferentStacks_expectNoRemove()
353 .setStack(mStack) in testAddTaskCompatibleActivityType_expectRemove()
362 .setStack(mStack) in testAddTaskCompatibleActivityType_expectRemove()
377 .setStack(mStack) in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
387 .setStack(mStack) in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove()
402 .setStack(mStack) in testAddTaskCompatibleWindowingMode_expectRemove()
411 .setStack(mStack) in testAddTaskCompatibleWindowingMode_expectRemove()
428 .setStack(mStack) in testAddTaskIncompatibleWindowingMode_expectNoRemove()
[all …]
/frameworks/rs/
DrsDebugHelper.h35 mStack.update(2); in DebugHelper()
41 ALOGV("%s", mStack.toString().string()); in dump()
48 CallStack mStack;
/frameworks/base/tools/lock_agent/java/com/android/lock_checker/
DOnThreadLockChecker.java119 final AnnotatedStackTraceElement[] mStack; field in OnThreadLockChecker.OrderData
124 this.mStack = stack; in OrderData()
228 AnnotatedStackTraceElement[] mStack; field in OnThreadLockChecker.Violation
239 this.mStack = stack; in Violation()
292 inner.setStackTrace(synthesizeStackTrace(mOppositeData.mStack)); in getException()
295 outer.setStackTrace(synthesizeStackTrace(mStack)); in getException()
319 sb.append(getAnnotatedStackString(mOppositeData.mStack, STACK_OFFSET, in toString()
320 describeLocking(mAlreadyHeld, "will lock"), getTo(mOppositeData.mStack, mLock) in toString()
328 sb.append(getAnnotatedStackString(mStack, STACK_OFFSET, in toString()
330 getTo(mStack, mAlreadyHeld) + 1, " | ")); in toString()
[all …]
/frameworks/base/core/java/android/os/
DParcel.java217 private RuntimeException mStack; field in Parcel
430 p.mStack = new RuntimeException(); in obtain()
445 if (DEBUG_RECYCLE) mStack = null; in recycle()
3489 p.mStack = new RuntimeException(); in obtain()
3501 mStack = new RuntimeException(); in Parcel()
3539 if (mStack != null) { in finalize()
3540 Log.w(TAG, "Client did not call Parcel.recycle()", mStack); in finalize()