Searched refs:stack (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/base/tools/preload/
H A DProc.java46 /** Maps thread ID to operation stack. */
96 LinkedList<Operation> stack = stacks.get(threadId);
97 if (stack == null) {
98 stack = new LinkedList<Operation>();
99 stacks.put(threadId, stack);
102 if (!stack.isEmpty()) {
103 stack.getLast().subops.add(o);
106 stack.add(o);
118 LinkedList<Operation> stack = stacks.get(threadId);
120 if (stack
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DStackActivity.java36 setContentView(R.layout.stack);
38 StackView stack = (StackView) findViewById(R.id.stack_view);
39 stack.setAdapter(new ArrayAdapter<Drawable>(this, android.R.layout.simple_list_item_1,
57 stack.setDisplayedChild(0);
/frameworks/base/core/java/android/util/
H A DJsonWriter.java125 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in class:JsonWriter
127 stack.add(JsonScope.EMPTY_DOCUMENT);
240 stack.add(empty);
253 throw new IllegalStateException("Nesting problem: " + stack);
256 stack.remove(stack.size() - 1);
265 * Returns the value on the top of the stack.
268 return stack.get(stack.size() - 1);
272 * Replace the value on the top of the stack wit
[all...]
H A DJsonReader.java205 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in class:JsonReader
536 stack.clear();
537 stack.add(JsonScope.CLOSED);
564 return stack.get(stack.size() - 1);
568 return stack.remove(stack.size() - 1);
572 stack.add(newTop);
576 * Replace the value on the top of the stack with the given value.
579 stack
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_tls.cpp81 CallStack stack; local
82 stack.update();
83 stack.dump();
H A Degl.cpp69 * 2. libs/EGL/trace.cpp: Logs a stack trace for GL errors after each function call.
216 CallStack stack; local
217 stack.update();
218 stack.dump();
/frameworks/native/libs/utils/
H A DRefBase.cpp108 refs->stack.dump();
126 refs->stack.dump();
133 CallStack stack; local
134 stack.update();
135 stack.dump();
201 snprintf(name, 100, "/data/%p.stack", this);
219 CallStack stack; member in struct:android::RefBase::weakref_impl::ref_entry
236 ref->stack.update(2);
277 CallStack stack; local
278 stack
[all...]
H A DThreads.cpp713 status_t Thread::run(const char* name, int32_t priority, size_t stack) argument
736 this, name, priority, stack, &mThread);
739 this, name, priority, stack, &mThread);
/frameworks/compile/mclinker/lib/Support/Unix/
H A DPathV3.inc20 #include <stack>
35 // SepTable - stack of result separators
40 // -> push current into stack
55 std::stack<size_t> slash_stack;
/frameworks/base/services/java/com/android/server/am/
H A DActivityRecord.java54 * An entry in the history stack, representing an activity.
58 final ActivityStack stack; // owner field in class:ActivityRecord
129 private boolean inHistory; // are we in the history stack?
326 stack = _stack;
571 // stack.
573 && stack.topRunningActivityLocked(null) == this))
719 Message msg = stack.mHandler.obtainMessage(ActivityStack.LAUNCH_TICK_MSG);
721 stack.mHandler.removeMessages(ActivityStack.LAUNCH_TICK_MSG);
722 stack.mHandler.sendMessageDelayed(msg, ActivityStack.LAUNCH_TICK);
730 stack
[all...]
/frameworks/compile/slang/
H A Dslang_rs_object_ref_count.h21 #include <stack>
76 std::stack<Scope*> mScopeStack;
/frameworks/ex/variablespeed/jni/
H A Dvariablespeed.h33 #include <stack>
104 std::stack<int16*> freeBuffers_;
/frameworks/native/include/utils/
H A DThread.h50 size_t stack = 0);
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
H A DPduComposer.java101 * Message compose buffer stack.
1035 private int currentStackSize; // Current stack size
1055 private LengthRecordNode stack = null; field in class:PduComposer.BufferStack
1061 * Create a new message buffer and push it into the stack.
1076 temp.next = stack;
1077 stack = temp;
1086 * Pop the message before and record current message in the stack.
1092 mMessage = stack.currentMessage;
1093 mPosition = stack.currentPosition;
1095 toCopy = stack;
[all...]
/frameworks/base/tools/aapt/
H A DXMLNode.cpp1119 if (st->stack.size() > 0) {
1120 st->stack.itemAt(st->stack.size()-1)->addChild(node);
1124 st->stack.push(node);
1140 if (st->stack.size() > 0) {
1141 st->stack.itemAt(st->stack.size()-1)->addChild(node);
1145 st->stack.push(node);
1159 if (st->stack.size() == 0) {
1162 sp<XMLNode> parent = st->stack
[all...]
/frameworks/native/opengl/libagl/
H A Dmatrix.cpp127 // Validate the projection stack (in fact, it's never needed)
152 // Validate the texture stack
387 stack = new matrixf_t[depth];
396 delete [] stack;
402 stack[depth].loadIdentity();
409 stack[depth].load(rhs);
415 stack[depth].load(rhs);
421 stack[depth].multiply(rhs);
427 stack[depth].translate(x,y,z);
433 stack[dept
912 matrix_stack_t* stack = 0; local
[all...]
H A Dcontext.h450 matrixf_t *stack; member in struct:android::gl::matrix_stack_t
464 matrixf_t& top() { return stack[depth]; }
465 const matrixf_t& top() const { return stack[depth]; }
/frameworks/rs/
H A Dspec.l1 %option stack
/frameworks/support/renderscript/v8/rs_support/
H A Dspec.l1 %option stack
/frameworks/native/libs/binder/
H A DIMemory.cpp249 CallStack stack; local
250 stack.update();
251 stack.dump("callstack");
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h48 // region in layer-stack space
103 void setLayerStack(uint32_t stack);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DDelegateMethodAdapter2.java213 // Push this.getField("this$0") on the call stack.
243 // we pushed on the call stack. The return type remains unchanged.
384 public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) { argument
386 mOrgWriter.visitFrame(type, nLocal, local, nStack, stack);
H A DStubMethodAdapter.java153 /* Pops the stack, depending on the return type.
259 // Pop the last word from the stack since invoke will generate its own return.
299 public void visitFrame(int type, int nLocal, Object[] local, int nStack, Object[] stack) { argument
301 mParentVisitor.visitFrame(type, nLocal, local, nStack, stack);
/frameworks/compile/mclinker/lib/CodeGen/
H A DSectLinker.cpp29 #include <stack>
131 // 5. - check if we can do static linking and if we use split-stack.
259 std::stack<InputTree::iterator> returnStack;
/frameworks/base/services/java/com/android/server/
H A DWatchdog.java408 // We've waited half the deadlock-detection interval. Pull a stack
420 // First collect stack traces from all threads of the system process.
432 final File stack = ActivityManagerService.dumpStackTraces(
435 // Give some extra time to make sure the stack traces get written.
461 name, null, stack, null);
483 String tracesPath = SystemProperties.get("dalvik.vm.stack-trace-file", null);

Completed in 6345 milliseconds

12