/art/runtime/base/ |
D | message_queue_test.cc | 58 TestMessageQueue queue; in TEST_F() local 60 queue.SendMessage(EmptyMessage{}); in TEST_F() 61 ASSERT_TRUE(std::holds_alternative<EmptyMessage>(queue.ReceiveMessage())); in TEST_F() 63 queue.SendMessage(IntMessage{42}); in TEST_F() 64 ASSERT_TRUE(std::holds_alternative<IntMessage>(queue.ReceiveMessage())); in TEST_F() 66 queue.SendMessage(OtherIntMessage{43}); in TEST_F() 67 ASSERT_TRUE(std::holds_alternative<OtherIntMessage>(queue.ReceiveMessage())); in TEST_F() 69 queue.SendMessage(TwoIntMessage{1, 2}); in TEST_F() 70 ASSERT_TRUE(std::holds_alternative<TwoIntMessage>(queue.ReceiveMessage())); in TEST_F() 72 queue.SendMessage(StringMessage{"Hello, World!"}); in TEST_F() [all …]
|
/art/runtime/gc/ |
D | reference_queue_test.cc | 41 ReferenceQueue queue(&lock); in TEST_F() local 42 ASSERT_TRUE(queue.IsEmpty()); in TEST_F() 43 ASSERT_EQ(queue.GetLength(), 0U); in TEST_F() 52 queue.EnqueueReference(ref1.Get()); in TEST_F() 53 ASSERT_TRUE(!queue.IsEmpty()); in TEST_F() 54 ASSERT_EQ(queue.GetLength(), 1U); in TEST_F() 55 queue.EnqueueReference(ref2.Get()); in TEST_F() 56 ASSERT_TRUE(!queue.IsEmpty()); in TEST_F() 57 ASSERT_EQ(queue.GetLength(), 2U); in TEST_F() 61 dequeued.insert(queue.DequeuePendingReference().Ptr()); in TEST_F() [all …]
|
/art/test/004-NativeAllocations/src-art/ |
D | Main.java | 43 public static PhantomReference allocPhantom(ReferenceQueue<Object> queue) { in allocPhantom() argument 44 return new PhantomReference(new Object(), queue); in allocPhantom() 54 ReferenceQueue<Object> queue = new ReferenceQueue<Object>(); in checkRegisterNativeAllocation() local 55 ref = allocPhantom(queue); in checkRegisterNativeAllocation() 71 if (queue.remove(MAX_EXPECTED_GC_DURATION_MS) == null) { in checkRegisterNativeAllocation()
|
/art/test/079-phantom/src/ |
D | Bitmap.java | 121 ReferenceQueue<PhantomWrapper> queue, int nativeDataPtr) in PhantomWrapper() argument 123 super(wrapper, queue); in PhantomWrapper() 138 BitmapWatcher(ReferenceQueue<PhantomWrapper> queue) { in BitmapWatcher() argument 139 mQueue = queue; in BitmapWatcher()
|
/art/dexlayout/ |
D | dex_writer.cc | 708 void DexWriter::WriteMapItems(Stream* stream, MapItemQueue* queue) { in WriteMapItems() argument 710 const uint32_t map_list_size = queue->size(); in WriteMapItems() 712 while (!queue->empty()) { in WriteMapItems() 713 const MapItem& item = queue->top(); in WriteMapItems() 720 queue->pop(); in WriteMapItems() 725 MapItemQueue queue; in GenerateAndWriteMapItems() local 728 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeHeaderItem, 1, 0)); in GenerateAndWriteMapItems() 729 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeStringIdItem, in GenerateAndWriteMapItems() 732 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeTypeIdItem, in GenerateAndWriteMapItems() 735 queue.AddIfNotEmpty(MapItem(DexFile::kDexTypeProtoIdItem, in GenerateAndWriteMapItems() [all …]
|
D | dex_writer.h | 261 void WriteMapItems(Stream* stream, MapItemQueue* queue);
|
/art/tools/dexanalyze/ |
D | dexanalyze_strings.cc | 249 T PopRealTop(Queue<T, Args...>& queue) { in PopRealTop() argument 250 auto pair = queue.top(); in PopRealTop() 251 queue.pop(); in PopRealTop() 255 queue.push(pair); in PopRealTop() 256 pair = queue.top(); in PopRealTop() 257 queue.pop(); in PopRealTop() 266 std::priority_queue<std::pair<int32_t, MatchTrie*>> queue; in ExtractPrefixes() local 280 queue.emplace(elem->Savings(), elem); in ExtractPrefixes() 285 while (max != 0u && !queue.empty()) { in ExtractPrefixes() 286 std::pair<int32_t, MatchTrie*> pair = PopRealTop(queue); in ExtractPrefixes()
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
D | AhatInstance.java | 730 Queue<Reference> queue = queues.get(reachability); in computeReachability() local 731 while (!queue.isEmpty()) { in computeReachability() 732 Reference ref = queue.poll(); in computeReachability() 743 queue.add(childRef); in computeReachability()
|
/art/libartservice/service/java/com/android/server/art/ |
D | DexoptHelper.java | 281 Queue<SharedLibrary> queue = new LinkedList<>(); in getPackageStates() local 289 queue.add(library); in getPackageStates() 305 while ((library = queue.poll()) != null) { in getPackageStates()
|
/art/odrefresh/ |
D | odr_fs_utils.cc | 115 std::queue<std::string> unvisited; in GetUsedSpace()
|
/art/libartbase/base/ |
D | arena_containers.h | 57 using ArenaQueue = std::queue<T, ArenaDeque<T>>;
|
D | scoped_arena_containers.h | 55 using ScopedArenaQueue = std::queue<T, ScopedArenaDeque<T>>;
|
/art/test/1940-ddms-ext/ |
D | ddm_ext.cc | 48 std::queue<DdmCallbackData> callbacks_received;
|
/art/runtime/ |
D | quick_exception_handler.cc | 118 std::queue<ArtMethod*>& GetUnwoundMethods() { in GetUnwoundMethods() 167 std::queue<ArtMethod*> unwound_methods_;
|
D | instrumentation.h | 574 std::queue<ArtMethod*>& methods,
|
D | instrumentation.cc | 128 std::queue<ArtMethod*>& methods, in ProcessMethodUnwindCallbacks()
|
D | class_linker.cc | 1044 ArtField* queue = java_lang_ref_Reference->GetInstanceField(1); in FinishInit() local 1045 CHECK_STREQ(queue->GetName(), "queue"); in FinishInit() 1046 CHECK_STREQ(queue->GetTypeDescriptor(), "Ljava/lang/ref/ReferenceQueue;"); in FinishInit()
|
/art/compiler/optimizing/ |
D | nodes.cc | 1381 ScopedArenaDeque<std::pair<HInstruction*, size_t>> queue(allocator.Adapter(kArenaAllocMisc)); in Dump() local 1382 auto add_args = [&queue](HInstruction* instruction, size_t indentation) { in Dump() 1384 queue.emplace_front(arg, indentation); in Dump() 1388 while (!queue.empty()) { in Dump() 1391 std::tie(instruction, indentation) = queue.front(); in Dump() 1392 queue.pop_front(); in Dump()
|
D | execution_subgraph_test.cc | 47 std::queue<const HBasicBlock*> worklist; in CalculateValidity()
|
/art/runtime/verifier/ |
D | reg_type_test.cc | 976 std::queue<const RegType*> work_list; in TEST_F()
|
/art/build/boot/hiddenapi/ |
D | hiddenapi-max-target-o-low-priority.txt | 2474 Ljava/lang/Daemons$FinalizerDaemon;->queue:Ljava/lang/ref/ReferenceQueue; 3041 Ljava/lang/ref/Reference;->queue:Ljava/lang/ref/ReferenceQueue; 6276 Ljava/util/Collections$CheckedQueue;->queue:Ljava/util/Queue; 7108 Ljava/util/concurrent/ConcurrentLinkedDeque$CLDSpliterator;->queue:Ljava/util/concurrent/Concurrent… 7162 Ljava/util/concurrent/ConcurrentLinkedQueue$CLQSpliterator;->queue:Ljava/util/concurrent/Concurrent… 7683 Ljava/util/concurrent/LinkedBlockingDeque$LBDSpliterator;->queue:Ljava/util/concurrent/LinkedBlocki… 7709 Ljava/util/concurrent/LinkedBlockingQueue$LBQSpliterator;->queue:Ljava/util/concurrent/LinkedBlocki… 8056 Ljava/util/concurrent/PriorityBlockingQueue$PBQSpliterator;->queue:Ljava/util/concurrent/PriorityBl… 8066 Ljava/util/concurrent/PriorityBlockingQueue;->queue:[Ljava/lang/Object; 8095 Ljava/util/concurrent/ScheduledThreadPoolExecutor$DelayedWorkQueue;->queue:[Ljava/util/concurrent/R… [all …]
|