Home
last modified time | relevance | path

Searched refs:stack (Results 1 – 20 of 20) sorted by relevance

/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerState.java238 final ActivityStack stack = getStackById(mTopFocusedStackId); in getFocusedStackActivityType() local
239 return stack != null ? stack.getActivityType() : ACTIVITY_TYPE_UNDEFINED; in getFocusedStackActivityType()
243 final ActivityStack stack = getStackById(mTopFocusedStackId); in getFocusedStackWindowingMode() local
244 return stack != null ? stack.getWindowingMode() : WINDOWING_MODE_UNDEFINED; in getFocusedStackWindowingMode()
283 for (ActivityStack stack : mStacks) { in containsStack()
285 && activityType != stack.getActivityType()) { in containsStack()
289 && windowingMode != stack.getWindowingMode()) { in containsStack()
298 for (ActivityStack stack : mStacks) { in getStackById()
299 if (stackId == stack.mStackId) { in getStackById()
300 return stack; in getStackById()
[all …]
DWindowManagerState.java204 final WindowStack stack = new WindowStack(stackProto); in parseSysDumpProto() local
205 mStacks.add(stack); in parseSysDumpProto()
206 stacks.add(stack); in parseSysDumpProto()
207 allWindows.addAll(stack.getWindows()); in parseSysDumpProto()
449 for (WindowStack stack : mStacks) { in containsStack()
450 if (stackId == stack.mStackId) { in containsStack()
458 for (WindowStack stack : mStacks) { in containsStack()
460 && activityType != stack.getActivityType()) { in containsStack()
464 && windowingMode != stack.getWindowingMode()) { in containsStack()
514 for (WindowStack stack : mStacks) { in getStack()
[all …]
DActivityManagerTestBase.java533 protected void tapOnStackCenter(ActivityManagerState.ActivityStack stack) { in tapOnStackCenter() argument
534 tapOnCenter(stack.getBounds(), stack.mDisplayId); in tapOnStackCenter()
608 for (ActivityManagerState.ActivityStack stack : stacks) { in getStackForTaskId()
609 for (ActivityManagerState.ActivityTask task : stack.mTasks) { in getStackForTaskId()
611 return stack; in getStackForTaskId()
720 final ActivityManagerState.ActivityStack stack = in moveTaskToPrimarySplitScreen()
723 return stack != null && stack.getResumedActivity() != null; in moveTaskToPrimarySplitScreen()
/cts/hostsidetests/jvmti/base/jni/
Dredefine.cpp72 std::stack<std::vector<unsigned char>> stack; in PushRedefinition() local
73 redefinitions_[name] = std::move(stack); in PushRedefinition()
79 auto stack = redefinitions_.find(name); in RetrieveRedefinition() local
80 if (stack == redefinitions_.end() || stack->second.empty()) { in RetrieveRedefinition()
83 *data = stack->second.top(); in RetrieveRedefinition()
90 auto stack = redefinitions_.find(name); in PopRedefinition() local
91 if (stack == redefinitions_.end() || stack->second.empty()) { in PopRedefinition()
94 stack->second.pop(); in PopRedefinition()
100 std::unordered_map<std::string, std::stack<std::vector<unsigned char>>> redefinitions_;
/cts/libs/json/src/com/android/json/stream/
DJsonReader.java191 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in JsonReader
507 stack.clear(); in close()
508 stack.add(JsonScope.CLOSED); in close()
535 return stack.get(stack.size() - 1); in peekStack()
539 return stack.remove(stack.size() - 1); in pop()
543 stack.add(newTop); in push()
550 stack.set(stack.size() - 1, newTop); in replaceTop()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java448 for (ActivityManagerState.ActivityStack stack : trimStacks(activityStacks, in fromStacks()
450 stacks.add(new StackState(stack)); in fromStacks()
462 for (StackState stack : mStacks) { in toJson()
463 stacks.put(stack.toJson()); in toJson()
489 for (ActivityManagerState.ActivityStack stack : trimFrom) { in trimStacks()
490 toTrim.removeIf(t -> t.getStackId() == stack.getStackId()); in trimStacks()
531 public StackState(ActivityManagerState.ActivityStack stack) { in StackState() argument
532 this.mResumedActivity = stack.getResumedActivity(); in StackState()
534 for (ActivityManagerState.ActivityTask task : stack.getTasks()) { in StackState()
574 StackState stack = (StackState) o; in equals()
[all …]
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/
DJdwpTunnelTest.java246 StackTraceElement[] stack = thrownException.getStackTrace(); in testAttachDebuggerToProfileableApp() local
247 for (int i = 0; i < stack.length; i++) { in testAttachDebuggerToProfileableApp()
248 if (stack[i].getClassName().equals("android.jdwptunnel.cts.JdwpTunnelTest") && in testAttachDebuggerToProfileableApp()
249 stack[i].getMethodName().equals("getDebuggerConnection")) { in testAttachDebuggerToProfileableApp()
252 assertEquals("attach", stack[i - 1].getMethodName()); in testAttachDebuggerToProfileableApp()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
Dimage_and_kernel.rsh21 // of a stack of kernel matrices.
23 // The starting position of a kernel matrix in a buffer of a stack of kernel
Dlayered_filter_d1new_helper.rsh18 // This allocation contains the kernel stack info: only one float per cell
130 // Extracts kernel matrix from kernel stack using kernel_info.
185 // Extracts kernel matrix from kernel stack using kernel_info.
218 // Extracts kernel matrix from kernel stack using kernel_info.
Dlayered_filter_f32_helper.rsh70 // Extracts kernel matrix from kernel stack using kernel_info.
122 // Extracts kernel matrix from kernel stack using kernel_info.
158 // Extracts kernel matrix from kernel stack using kernel_info.
/cts/tests/tests/keystore/src/android/server/am/
DActivityManagerState.java185 for (ActivityStack stack : mStacks) { in getStackByActivityType()
186 if (activityType == stack.getActivityType()) { in getStackByActivityType()
187 return stack; in getStackByActivityType()
207 for (ActivityStack stack : mStacks) { in isActivityVisible()
208 for (ActivityTask task : stack.mTasks) { in isActivityVisible()
DWindowManagerState.java159 final WindowStack stack = new WindowStack(stackProto); in parseSysDumpProto() local
160 mStacks.add(stack); in parseSysDumpProto()
161 stacks.add(stack); in parseSysDumpProto()
162 allWindows.addAll(stack.getWindows()); in parseSysDumpProto()
276 for (WindowStack stack : mStacks) { in getStack()
277 if (stackId == stack.mStackId) { in getStack()
278 return stack; in getStack()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DMediaUtils.java94 StackTraceElement[] stack = entry.getValue(); in getTestName() local
95 for (int index = 0; index < stack.length; ++index) { in getTestName()
97 String methodName = stack[index].getMethodName(); in getTestName()
106 clazz = Class.forName(stack[index].getClassName()); in getTestName()
130 while (index + depth < stack.length in getTestName()
131 && stack[index + depth].getMethodName().equals("invoke") in getTestName()
132 && stack[index + depth].getClassName().equals( in getTestName()
139 if (index + depth < stack.length) { in getTestName()
140 if (stack[index + depth].getClassName().startsWith("android.test.")) { in getTestName()
143 if (stack[index + depth].getMethodName().equals("runMethod")) { in getTestName()
[all …]
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DMediaUtils.java95 StackTraceElement[] stack = entry.getValue(); in getTestName() local
96 for (int index = 0; index < stack.length; ++index) { in getTestName()
98 String methodName = stack[index].getMethodName(); in getTestName()
107 clazz = Class.forName(stack[index].getClassName()); in getTestName()
131 while (index + depth < stack.length in getTestName()
132 && stack[index + depth].getMethodName().equals("invoke") in getTestName()
133 && stack[index + depth].getClassName().equals( in getTestName()
140 if (index + depth < stack.length) { in getTestName()
141 if (stack[index + depth].getClassName().startsWith("android.test.")) { in getTestName()
144 if (stack[index + depth].getMethodName().equals("runMethod")) { in getTestName()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DFreeformWindowingModeTests.java93 final ActivityStack stack = mAmWmState.getAmState().getStackById(task.mStackId); in testNonResizeableActivityHasFullDisplayBounds() local
103 assertEquals(mAmWmState.getWmState().getDisplay(stack.mDisplayId).getDisplayRect(), in testNonResizeableActivityHasFullDisplayBounds()
DAppConfigurationTests.java256 final ActivityManagerState.ActivityStack stack = mAmWmState.getAmState() in moveActivityFullSplitFull() local
262 resizeStack(stack.mStackId, displayRect.left, displayRect.top, displayRect.width(), in moveActivityFullSplitFull()
303 final ActivityManagerState.ActivityStack stack = mAmWmState.getAmState() in testDialogWhenLargeSplitSmall() local
306 mAmWmState.getWmState().getDisplay(stack.mDisplayId); in testDialogWhenLargeSplitSmall()
311 resizeStack(stack.mStackId, 0, 0, smallWidthPx, smallHeightPx); in testDialogWhenLargeSplitSmall()
DPinnedStackTests.java1019 ActivityStack stack = mAmWmState.getAmState().getStandardStackByWindowingMode( in testNoResumeAfterTaskOverlayFinishes() local
1021 int stackId = stack.mStackId; in testNoResumeAfterTaskOverlayFinishes()
1022 int taskId = stack.getTopTask().mTaskId; in testNoResumeAfterTaskOverlayFinishes()
1274 final ActivityStack stack = getPinnedStack(); in offsetPipWithinMovementBounds() local
1275 final Rect displayRect = mAmWmState.getWmState().getDisplay(stack.mDisplayId) in offsetPipWithinMovementBounds()
1285 resizeStack(stack.mStackId, offsetBoundsOut.left, offsetBoundsOut.top, in offsetPipWithinMovementBounds()
1418 WindowStack stack = wmState.getStandardStackByWindowingMode(WINDOWING_MODE_PINNED); in waitForEnterPipAnimationComplete() local
1419 return stack != null && !stack.mAnimatingBounds; in waitForEnterPipAnimationComplete()
/cts/tests/tests/os/src/android/os/cts/
DBinderTest.java367 StackTraceElement stack[] = joinThread.getStackTrace(); in testJoinThreadPool() local
369 for (StackTraceElement elem : stack) { in testJoinThreadPool()
375 assertTrue(Arrays.toString(stack), found); in testJoinThreadPool()
/cts/tools/release-parser/tests/resources/
Dbuild.prop58 dalvik.vm.stack-trace-dir=/data/anr
Dbuild.prop.pb.txt106 key: "dalvik.vm.stack-trace-dir"