/aosp14/frameworks/base/tools/preload/ |
H A D | Proc.java | 96 LinkedList<Operation> stack = stacks.get(threadId); in startOperation() local 97 if (stack == null) { in startOperation() 98 stack = new LinkedList<Operation>(); in startOperation() 99 stacks.put(threadId, stack); in startOperation() 102 if (!stack.isEmpty()) { in startOperation() 103 stack.getLast().subops.add(o); in startOperation() 106 stack.add(o); in startOperation() 118 LinkedList<Operation> stack = stacks.get(threadId); in endOperation() local 120 if (stack == null || stack.isEmpty()) { in endOperation() 125 Operation o = stack.getLast(); in endOperation() [all …]
|
/aosp14/frameworks/base/tools/aapt2/xml/ |
H A D | XmlDom.cpp | 70 stack->node_stack.top()->AppendChild(std::move(stack->last_text_node)); in FinishPendingText() 74 stack->last_text_node = nullptr; in FinishPendingText() 81 FinishPendingText(stack); in StartNamespaceHandler() 98 FinishPendingText(stack); in EndNamespaceHandler() 109 FinishPendingText(stack); in StartElementHandler() 139 stack->root = std::move(el); in StartElementHandler() 141 stack->node_stack.push(this_el); in StartElementHandler() 147 FinishPendingText(stack); in EndElementHandler() 151 stack->node_stack.pop(); in EndElementHandler() 178 FinishPendingText(stack); in CommentDataHandler() [all …]
|
/aosp14/system/core/libutils/include/utils/ |
H A D | CallStack.h | 93 void operator()(CallStack* stack) { in operator() 94 deleteStack(stack); in operator() 120 static void ALWAYS_INLINE logStack(const char* logtag, CallStack* stack = getCurrent().get(), 122 if (reinterpret_cast<uintptr_t>(logStackInternal) != 0 && stack != nullptr) { 123 logStackInternal(logtag, stack, priority); 138 const CallStack* stack = getCurrent().get()) { 139 if (reinterpret_cast<uintptr_t>(stackToStringInternal) != 0 && stack != nullptr) { 140 return stackToStringInternal(prefix, stack); 155 static void CALLSTACK_WEAK logStackInternal(const char* logtag, const CallStack* stack, 157 static String8 CALLSTACK_WEAK stackToStringInternal(const char* prefix, const CallStack* stack); [all …]
|
/aosp14/system/core/libutils/ |
H A D | CallStack.cpp | 95 CallStack::CallStackUPtr stack(new CallStack()); in getCurrentInternal() local 96 stack->update(ignoreDepth + 1); in getCurrentInternal() 97 return stack; in getCurrentInternal() 100 void CallStack::logStackInternal(const char* logtag, const CallStack* stack, in logStackInternal() argument 102 stack->log(logtag, priority); in logStackInternal() 105 String8 CallStack::stackToStringInternal(const char* prefix, const CallStack* stack) { in stackToStringInternal() argument 106 return stack->toString(prefix); in stackToStringInternal() 109 void CallStack::deleteStack(CallStack* stack) { in deleteStack() argument 110 delete stack; in deleteStack()
|
/aosp14/frameworks/base/core/java/android/util/ |
H A D | JsonWriter.java | 125 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in JsonWriter 127 stack.add(JsonScope.EMPTY_DOCUMENT); 240 stack.add(empty); in open() 253 throw new IllegalStateException("Nesting problem: " + stack); in close() 256 stack.remove(stack.size() - 1); in close() 268 return stack.get(stack.size() - 1); in peek() 275 stack.set(stack.size() - 1, topOfStack); in replaceTop() 467 for (int i = 1; i < stack.size(); i++) { in newline() 481 throw new IllegalStateException("Nesting problem: " + stack); in beforeName() 525 throw new IllegalStateException("Nesting problem: " + stack); in beforeValue()
|
H A D | JsonReader.java | 207 private final List<JsonScope> stack = new ArrayList<JsonScope>(); field in JsonReader 538 stack.clear(); in close() 539 stack.add(JsonScope.CLOSED); in close() 569 return stack.get(stack.size() - 1); in peekStack() 573 return stack.remove(stack.size() - 1); in pop() 577 stack.add(newTop); in push() 584 stack.set(stack.size() - 1, newTop); in replaceTop()
|
/aosp14/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GraphReader.java | 42 public void execute(CommandStack stack); in execute() argument 88 public void execute(CommandStack stack) { in execute() argument 105 public void execute(CommandStack stack) { in execute() argument 120 public void execute(CommandStack stack) { in execute() argument 129 stack.getBuilder().addFilter(filter); in execute() 143 public void execute(CommandStack stack) { in execute() argument 158 public void execute(CommandStack stack) { in execute() argument 173 public void execute(CommandStack stack) { in execute() argument 174 stack.getBuilder().addVariable(mName, mValue); in execute() 190 public void execute(CommandStack stack) { in execute() argument [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationStackSizeCalculator.kt | 17 package com.android.systemui.statusbar.notification.stack 151 stack: NotificationStackScrollLayout, 169 val stackHeightSequence = computeHeightPerNotificationLimit(stack, shelfHeight) 215 stack.showableChildren().toList().forEach { currentNotification -> 251 stack: NotificationStackScrollLayout, 258 val stackHeightSequence = computeHeightPerNotificationLimit(stack, shelfHeight) 312 stack: NotificationStackScrollLayout, 315 val children = stack.showableChildren().toList() 344 stack, 389 stack: NotificationStackScrollLayout, [all …]
|
H A D | NotificationStackScrollLogger.kt | 1 package com.android.systemui.statusbar.notification.stack 13 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout.AnimationEve… 14 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout.AnimationEve… 15 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout.AnimationEve… 16 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout.AnimationEve… 17 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout.AnimationEve…
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | NotificationSectionsFeatureManager.kt | 25 import com.android.systemui.statusbar.notification.stack.BUCKET_ALERTING 26 import com.android.systemui.statusbar.notification.stack.BUCKET_FOREGROUND_SERVICE 27 import com.android.systemui.statusbar.notification.stack.BUCKET_HEADS_UP 28 import com.android.systemui.statusbar.notification.stack.BUCKET_MEDIA_CONTROLS 29 import com.android.systemui.statusbar.notification.stack.BUCKET_PEOPLE 30 import com.android.systemui.statusbar.notification.stack.BUCKET_SILENT
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/ |
H A D | NotificationPanelLogger.java | 19 import static com.android.systemui.statusbar.notification.stack.NotificationPriorityBucketKt.BUCKET… 20 import static com.android.systemui.statusbar.notification.stack.NotificationPriorityBucketKt.BUCKET… 21 import static com.android.systemui.statusbar.notification.stack.NotificationPriorityBucketKt.BUCKET… 22 import static com.android.systemui.statusbar.notification.stack.NotificationPriorityBucketKt.BUCKET… 23 import static com.android.systemui.statusbar.notification.stack.NotificationPriorityBucketKt.BUCKET… 24 import static com.android.systemui.statusbar.notification.stack.NotificationPriorityBucketKt.BUCKET… 33 import com.android.systemui.statusbar.notification.stack.PriorityBucket;
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | RunningTasksTest.java | 72 final Task stack = new TaskBuilder(mSupervisor) in testTaskInfo_expectNoExtrasByDefault() local 78 createTask(stack, ".Task" + i, i, data); in testTaskInfo_expectNoExtrasByDefault() 97 final Task stack = new TaskBuilder(mSupervisor) in testTaskInfo_expectExtrasWithKeepExtraFlag() local 103 createTask(stack, ".Task" + i, i, data); in testTaskInfo_expectExtrasWithKeepExtraFlag() 122 final Task stack = new TaskBuilder(mSupervisor) in testGetTasksSortByFocusAndVisibility() local 130 final Task task = createTask(stack, ".Task" + i, i, null); in testGetTasksSortByFocusAndVisibility() 171 private Task createTask(Task stack, String className, int taskId, Bundle extras) { in createTask() argument 175 .setParentTask(stack) in createTask() 193 final Task stack = new TaskBuilder(mSupervisor) in testMultipleDisplays() local 197 final Task task = createTask(stack, ".Task" + i, i, null); in testMultipleDisplays()
|
/aosp14/frameworks/base/libs/hwui/canvas/ |
H A D | CanvasFrontend.h | 112 void pushEntry(FatVector<DeferredEntry<T>, N>* stack) { in pushEntry() argument 113 stack->back().deferredSaveCount += 1; in pushEntry() 117 void popEntry(FatVector<DeferredEntry<T>, N>* stack) { in popEntry() argument 118 if (!(stack->back().deferredSaveCount--)) { in popEntry() 119 stack->pop_back(); in popEntry() 124 T& writableEntry(FatVector<DeferredEntry<T>, N>* stack) { in writableEntry() argument 125 DeferredEntry<T>& back = stack->back(); in writableEntry() 132 return stack->emplace_back(state).entry; in writableEntry()
|
/aosp14/frameworks/base/tools/lock_agent/java/com/android/lock_checker/ |
H A D | OnThreadLockChecker.java | 121 OrderData(int tid, String threadName, AnnotatedStackTraceElement[] stack) { in OrderData() argument 124 this.mStack = stack; in OrderData() 234 AnnotatedStackTraceElement[] stack, OrderData oppositeData) { in Violation() argument 239 this.mStack = stack; in Violation() 267 private static int getTo(AnnotatedStackTraceElement[] stack, Object searchFor) { in getTo() argument 269 int to = stack.length - 1; in getTo() 270 for (int i = 0; i < stack.length; i++) { in getTo() 271 Object[] locks = stack[i].getHeldLocks(); in getTo() 300 private StackTraceElement[] synthesizeStackTrace(AnnotatedStackTraceElement[] stack) { in synthesizeStackTrace() argument 302 StackTraceElement[] out = new StackTraceElement[stack.length - STACK_OFFSET]; in synthesizeStackTrace() [all …]
|
/aosp14/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | StackActivity.java | 36 setContentView(R.layout.stack); in onCreate() 38 StackView stack = findViewById(R.id.stack_view); in onCreate() local 39 stack.setAdapter(new ArrayAdapter<Drawable>(this, android.R.layout.simple_list_item_1, in onCreate() 57 stack.setDisplayedChild(0); in onCreate()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
H A D | NotificationShelfController.kt | 22 import com.android.systemui.statusbar.notification.stack.AmbientState 23 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout 24 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayoutController
|
H A D | ViewTransformationHelper.java | 31 import com.android.systemui.statusbar.notification.stack.StackStateAnimator; 251 Stack<View> stack = new Stack<>(); in addRemainingTransformTypes() local 253 stack.push(viewRoot); in addRemainingTransformTypes() 254 while (!stack.isEmpty()) { in addRemainingTransformTypes() 255 View child = stack.pop(); in addRemainingTransformTypes() 270 stack.push(group.getChildAt(i)); in addRemainingTransformTypes()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/ |
H A D | SharedNotificationContainerBinder.kt | 17 package com.android.systemui.statusbar.notification.stack.ui.viewbinder 22 import com.android.systemui.statusbar.notification.stack.ui.view.SharedNotificationContainer 23 import com.android.systemui.statusbar.notification.stack.ui.viewmodel.SharedNotificationContainerVi…
|
H A D | NotificationListViewBinder.kt | 17 package com.android.systemui.statusbar.notification.stack.ui.viewbinder 25 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout 26 import com.android.systemui.statusbar.notification.stack.ui.viewmodel.NotificationListViewModel
|
/aosp14/frameworks/base/services/core/java/com/android/server/ |
H A D | WatchdogDiagnostics.java | 52 AnnotatedStackTraceElement stack[] = VMStack.getAnnotatedThreadStackTrace(thread); in printAnnotatedStack() local 53 if (stack == null) { in printAnnotatedStack() 57 for (AnnotatedStackTraceElement element : stack) { in printAnnotatedStack()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/ |
H A D | SharedNotificationContainerViewModel.kt | 18 package com.android.systemui.statusbar.notification.stack.ui.viewmodel 20 import com.android.systemui.statusbar.notification.stack.domain.interactor.SharedNotificationContai…
|
/aosp14/frameworks/base/tools/traceinjection/src/com/android/traceinjection/ |
H A D | TraceInjectionMethodAdapter.java | 120 final Object[] stack = new Object[]{ "java/lang/Throwable"}; in visitMaxs() local 122 visitFrame(F_NEW, /* numLocal= */ 0, /* local= */ null, stack.length, stack); in visitMaxs()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
H A D | NotificationStackSizeCalculatorTest.kt | 17 package com.android.systemui.statusbar.notification.stack 252 stack = stackLayout, 272 stack = stackLayout, 291 stack = stackLayout, 311 stack = stackLayout, 330 stack = stackLayout,
|
/aosp14/frameworks/base/media/java/android/media/metrics/ |
H A D | PlaybackErrorEvent.java | 382 String stack; in build() local 385 stack = mException.getStackTrace()[0].toString(); in build() 387 stack = null; in build() 391 stack, in build()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/dagger/ |
H A D | NotificationsModule.java | 67 import com.android.systemui.statusbar.notification.stack.NotificationListContainer; 68 import com.android.systemui.statusbar.notification.stack.NotificationSectionsManager; 69 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayoutController; 70 import com.android.systemui.statusbar.notification.stack.StackScrollAlgorithm; 71 import com.android.systemui.statusbar.notification.stack.ui.viewmodel.NotificationListViewModelModu…
|