Home
last modified time | relevance | path

Searched refs:allocations (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/services/core/java/com/android/server/stats/pull/
DIonMemoryUtil.java104 IonAllocations allocations = entries.get(pid); in parseProcessIonHeapSizesFromDebugfs() local
105 if (allocations == null) { in parseProcessIonHeapSizesFromDebugfs()
106 allocations = new IonAllocations(); in parseProcessIonHeapSizesFromDebugfs()
107 entries.put(pid, allocations); in parseProcessIonHeapSizesFromDebugfs()
109 allocations.pid = pid; in parseProcessIonHeapSizesFromDebugfs()
110 allocations.totalSizeInBytes += sizeInBytes; in parseProcessIonHeapSizesFromDebugfs()
111 allocations.count += 1; in parseProcessIonHeapSizesFromDebugfs()
112 allocations.maxSizeInBytes = Math.max(allocations.maxSizeInBytes, sizeInBytes); in parseProcessIonHeapSizesFromDebugfs()
DStatsPullAtomService.java2593 for (IonAllocations allocations : result) {
2594 pulledData.add(FrameworkStatsLog.buildStatsEvent(atomTag, getUidForPid(allocations.pid),
2595 readCmdlineFromProcfs(allocations.pid),
2596 (int) (allocations.totalSizeInBytes / 1024), allocations.count,
2597 (int) (allocations.maxSizeInBytes / 1024)));
/frameworks/base/services/tests/servicestests/src/com/android/server/stats/pull/
DIonMemoryUtilTest.java151 IonAllocations allocations = new IonAllocations(); in createIonAllocations() local
152 allocations.pid = pid; in createIonAllocations()
153 allocations.totalSizeInBytes = totalSizeInBytes; in createIonAllocations()
154 allocations.count = count; in createIonAllocations()
155 allocations.maxSizeInBytes = maxSizeInBytes; in createIonAllocations()
156 return allocations; in createIonAllocations()
/frameworks/av/media/utils/tests/
Dshared_memory_allocator_tests.cpp206 const auto& allocations = primary_allocator->getAllocations(); in TEST() local
207 EXPECT_TRUE(allocations.size() == 1); in TEST()
209 EXPECT_TRUE(allocations.size() == 0); in TEST()
211 EXPECT_TRUE(allocations.size() == 1); in TEST()
215 EXPECT_TRUE(allocations.size() == 0); in TEST()
234 const auto& allocations = allocator.getAllocations(); in TEST() local
235 EXPECT_EQ(allocations.size(), 1ul); in TEST()
236 for (const auto& [key, val] : allocations) { in TEST()
335 const auto& allocations = underlying_allocator->getAllocations(); in TEST() local
339 EXPECT_EQ(allocations.size(), 0ul); in TEST()
[all …]
/frameworks/av/media/utils/
DMemoryLeakTrackUtil.cpp75 size_t allocations; in dumpMemoryAddresses() member
81 oss << (e->size * e->allocations) in dumpMemoryAddresses()
82 << " bytes ( " << e->size << " bytes * " << e->allocations << " allocations )\n"; in dumpMemoryAddresses()
DEventLogTags.logtags29 # 4: Number of allocations
/frameworks/compile/slang/tests/F_foreach_unexpected_allocs/
Dstderr.txt.expect1 foreach_unexpected_allocs.rscript:10:3: error: Number of input and output allocations unexpected fo…
2 foreach_unexpected_allocs.rscript:11:3: error: Number of input and output allocations unexpected fo…
/frameworks/rs/script_api/
Drs_for_each.spec39 allocations. This is a hint only. Implementations may not follow the suggestion.
50 The kernel context contains common characteristics of the allocations being iterated
105 Runs the kernel over zero or more input allocations. They are passed after the
107 must be specified as the last argument. All input allocations,
111 the work has completed for all cells of the input allocations. If the kernel
202 this API. If allocations are passed in, they must match the number of arguments
241 The kernel context contains common characteristics of the allocations being iterated
Drs_allocation_data.spec77 …map_face srcFace, "Cubemap face of the source allocation. Ignored for allocations that aren't cub…
Drs_object_types.spec20 The types below are used to manipulate RenderScript objects like allocations, samplers,
Drs_graphics.spec771 summary: Return the number of vertex allocations
773 Returns the number of allocations in the mesh that contain
/frameworks/rs/script_api/include/
Drs_for_each.rsh36 * allocations. This is a hint only. Implementations may not follow the suggestion.
53 * The kernel context contains common characteristics of the allocations being iterated
106 * Runs the kernel over zero or more input allocations. They are passed after the
108 * must be specified as the last argument. All input allocations,
112 * the work has completed for all cells of the input allocations. If the kernel
141 * ...: Input and output allocations
183 * this API. If allocations are passed in, they must match the number of arguments
199 * ...: Input and output allocations
212 * The kernel context contains common characteristics of the allocations being iterated
361 * The kernel context contains common characteristics of the allocations being iterated
Drs_allocation_data.rsh40 * rsAllocationCopy1DRange: Copy consecutive cells between allocations
44 * The two allocations must be different. Using this function to copy whithin
50 * This function should only be called between 1D allocations. Calling it
51 * on other allocations is undefined.
73 * rsAllocationCopy2DRange: Copy a rectangular region of cells between allocations
78 * The two allocations must be different. Using this function to copy whithin
84 * This function should only be called between 2D allocations. Calling it
85 * on other allocations is undefined.
96 …* dstFace: Cubemap face of the destination allocation. Ignored for allocations that aren't cube…
103 * srcFace: Cubemap face of the source allocation. Ignored for allocations that aren't cubemaps.
[all …]
Drs_object_types.rsh22 * The types below are used to manipulate RenderScript objects like allocations, samplers,
Drs_graphics.rsh1119 …ve groups in the mesh. This would include simple primitives as well as allocations containing inde…
1158 * rsgMeshGetVertexAllocationCount: Return the number of vertex allocations
1162 * Returns the number of allocations in the mesh that contain
1168 * Returns: number of allocations in the mesh that contain vertex data
/frameworks/compile/libbcc/tests/libbcc/
Dtbaa.ll2 ; alias with stores to allocations.
/frameworks/base/core/proto/android/util/
Devent_log_tags.proto58 ALLOCATIONS = 4; // Number of allocations
/frameworks/native/services/surfaceflinger/EventLog/
DEventLogTags.logtags29 # 4: Number of allocations
/frameworks/native/services/inputflinger/dispatcher/
DEventLogTags.logtags29 # 4: Number of allocations
/frameworks/base/core/java/android/view/
DEventLogTags.logtags33 # 4: Number of allocations
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dsingle_source_alloc.rscript32 // 'z' will be zero for 2D and 1D allocations. 'y' will be zero for 1D
33 // allocations.
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dsingle_source_alloc.rscript34 // 'z' will be zero for 2D and 1D allocations. 'y' will be zero for 1D
35 // allocations.
/frameworks/rs/driver/runtime/ll32/
Dallocation.ll9 ; understands that loads and stores from two allocations with different types
21 ; allocations are either annotated with the RenderScript TBAA information or
/frameworks/rs/driver/runtime/ll64/
Dallocation.ll11 ; understands that loads and stores from two allocations with different types
23 ; allocations are either annotated with the RenderScript TBAA information or
/frameworks/proto_logging/stats/
Datoms.proto12100 // Sum of sizes of all allocations.
12103 // Number of allocations.
12134 // Essentially points to kernel allocations (as all userspace allocs are
12139 // GPU kernel driver allocations.
12144 // GPU kernel driver private allocations.
12150 // Total DMABUF memory allocations
12154 // Total shmem allocations