/frameworks/base/tools/preload/ |
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 …]
|
/frameworks/base/tools/aapt2/xml/ |
D | XmlDom.cpp | 44 std::stack<xml::Element*> node_stack; 66 static void FinishPendingText(Stack* stack) { in FinishPendingText() argument 67 if (stack->last_text_node != nullptr) { in FinishPendingText() 68 if (!stack->last_text_node->text.empty()) { in FinishPendingText() 69 CHECK(!stack->node_stack.empty()); in FinishPendingText() 70 stack->node_stack.top()->AppendChild(std::move(stack->last_text_node)); in FinishPendingText() 74 stack->last_text_node = nullptr; in FinishPendingText() 80 Stack* stack = reinterpret_cast<Stack*>(XML_GetUserData(parser)); in StartNamespaceHandler() local 81 FinishPendingText(stack); in StartNamespaceHandler() 89 if (stack->pending_element == nullptr) { in StartNamespaceHandler() [all …]
|
/frameworks/base/core/java/android/util/ |
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()
|
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackSizeCalculator.kt | 17 package com.android.systemui.statusbar.notification.stack in <lambda>() 114 stack: NotificationStackScrollLayout, in <lambda>() 121 val stackHeightSequence = computeHeightPerNotificationLimit(stack, shelfIntrinsicHeight, in <lambda>() 160 stack: NotificationStackScrollLayout, in <lambda>() 167 computeHeightPerNotificationLimit(stack, shelfIntrinsicHeight, in <lambda>() 194 stack: NotificationStackScrollLayout, in <lambda>() 200 val children = stack.showableChildren().toList() in <lambda>() 209 notifications += spaceNeeded(currentNotification, i, previous, stack, onLockscreen) in <lambda>() 219 stack, in <lambda>() 263 stack: NotificationStackScrollLayout, in <lambda>() [all …]
|
D | NotificationStackScrollLogger.kt | 1 package com.android.systemui.statusbar.notification.stack 9 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout.AnimationEve… 10 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout.AnimationEve… 11 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout.AnimationEve… 12 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout.AnimationEve… 13 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayout.AnimationEve…
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
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
|
D | PropertyAnimator.java | 28 import com.android.systemui.statusbar.notification.stack.AnimationFilter; 29 import com.android.systemui.statusbar.notification.stack.AnimationProperties; 30 import com.android.systemui.statusbar.notification.stack.ViewState;
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | GraphReader.java | 42 public void execute(CommandStack stack); in execute() argument 88 public void execute(CommandStack stack) { in execute() argument 90 stack.getFactory().addPackage(mPackageName); in execute() 105 public void execute(CommandStack stack) { in execute() argument 120 public void execute(CommandStack stack) { in execute() argument 123 filter = stack.getFactory().createFilterByClassName(mClassName, in execute() 125 stack.getContext()); in execute() 129 stack.getBuilder().addFilter(filter); in execute() 143 public void execute(CommandStack stack) { in execute() argument 144 stack.getBuilder().addFrameSlotSource(mName, mSlotName); in execute() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/ |
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;
|
/frameworks/base/libs/hwui/canvas/ |
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()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
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()
|
/frameworks/base/tools/lock_agent/java/com/android/lock_checker/ |
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 …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RunningTasksTest.java | 77 final Task stack = new TaskBuilder(mSupervisor) in testCollectTasksByLastActiveTime() local 122 final Task stack = new TaskBuilder(mSupervisor) in testTaskInfo_expectNoExtrasByDefault() local 128 createTask(stack, ".Task" + i, i, i, data); in testTaskInfo_expectNoExtrasByDefault() 147 final Task stack = new TaskBuilder(mSupervisor) in testTaskInfo_expectExtrasWithKeepExtraFlag() local 153 createTask(stack, ".Task" + i, i, i, data); in testTaskInfo_expectExtrasWithKeepExtraFlag() 202 private Task createTask(Task stack, String className, int taskId, in createTask() argument 207 .setParentTaskFragment(stack) in createTask() 226 final Task stack = new TaskBuilder(mSupervisor) in testMultipleDisplays() local 230 final Task task = createTask(stack, ".Task" + i, i, i, null); in testMultipleDisplays()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/planner/ |
D | PredictorTest.cpp | 99 LayerStack stack({&layerStateOne}); in TEST_F() local 101 EXPECT_FALSE(stack.getApproximateMatch({})); in TEST_F() 102 EXPECT_FALSE(stack.getApproximateMatch({&layerStateOne, &layerStateThree})); in TEST_F() 124 LayerStack stack({&layerStateOne}); in TEST_F() local 126 EXPECT_FALSE(stack.getApproximateMatch({&layerStateTwo})); in TEST_F() 150 LayerStack stack({&layerStateOne}); in TEST_F() local 152 const auto match = stack.getApproximateMatch({&layerStateTwo}); in TEST_F() 181 LayerStack stack({&layerStateOne, &layerStateOne}); in TEST_F() local 183 const auto match = stack.getApproximateMatch({&layerStateOne, &layerStateTwo}); in TEST_F() 225 LayerStack stack({&layerStateOne}); in TEST_F() local [all …]
|
/frameworks/base/services/core/java/com/android/server/ |
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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
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()
|
D | NotificationShelfController.java | 26 import com.android.systemui.statusbar.notification.stack.AmbientState; 27 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayoutController; 28 import com.android.systemui.statusbar.notification.stack.StackScrollAlgorithm;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/dagger/ |
D | CentralSurfacesComponent.java | 35 import com.android.systemui.statusbar.notification.stack.NotificationListContainer; 36 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayoutController; 37 import com.android.systemui.statusbar.notification.stack.NotificationStackScrollLayoutListContainer…
|
/frameworks/base/tools/traceinjection/src/com/android/traceinjection/ |
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()
|
/frameworks/base/media/java/android/media/metrics/ |
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()
|
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/ |
D | image_and_kernel.rsh | 21 // of a stack of kernel matrices. 23 // The starting position of a kernel matrix in a buffer of a stack of kernel
|
/frameworks/base/test-runner/src/junit/runner/ |
D | BaseTestRunner.java | 292 public static String getFilteredTrace(String stack) { in getFilteredTrace() argument 294 return stack; in getFilteredTrace() 298 StringReader sr= new StringReader(stack); in getFilteredTrace() 311 return stack; // return the stack unfiltered in getFilteredTrace()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationHeaderViewWrapper.java | 218 Stack<View> stack = new Stack<>(); in updateCropToPaddingForImageViews() local 219 stack.push(mView); in updateCropToPaddingForImageViews() 220 while (!stack.isEmpty()) { in updateCropToPaddingForImageViews() 221 View child = stack.pop(); in updateCropToPaddingForImageViews() 230 stack.push(group.getChildAt(i)); in updateCropToPaddingForImageViews()
|
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | README.md | 54 At the bottom of this decorator stack is `SoundTriggerMiddlewareImpl` / `SoundTriggerModule`, which 61 stack. It also provides concrete connections to the Audio service (for negotiating sessions shared 104 - Typically, a one or more mutexes that exist in every layer of the sound trigger middleware stack 107 inside the `ExternalCaptureStateTracker.setCaptureState()` call stack *AND* to be acquired from 113 - Upper layers of the stack, starting from the top (i.e. may not attempt to acquire a higher-layer 116 - Lower layers of the stack, starting from `ISoundTriggerHw2` all the way down to the HAL. 121 down the decorator stack. It is legal to call into the next layer down while holding a local 141 stack may call into the HAL (specifically, they must invoke `stopRecognition()`, but must not
|