OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:ashmemAllocator
(Results
1 - 4
of
4
) sorted by null
/test/vts/compilation_tools/vtsc/test/golden/DRIVER/
MemoryTest.driver.cpp
96
sp<::android::hidl::allocator::V1_0::IAllocator>
ashmemAllocator
= ::android::hidl::allocator::V1_0::IAllocator::getService("ashmem");
97
if (
ashmemAllocator
== nullptr) {
98
cerr << "Failed to get
ashmemAllocator
! " << endl;
101
auto res =
ashmemAllocator
->allocate(func_msg.arg(0).hidl_memory_value().size(), [&](bool success, const hardware::hidl_memory& memory) {
129
sp<::android::hidl::allocator::V1_0::IAllocator>
ashmemAllocator
= ::android::hidl::allocator::V1_0::IAllocator::getService("ashmem");
130
if (
ashmemAllocator
== nullptr) {
131
cerr << "Failed to get
ashmemAllocator
! " << endl;
134
auto res =
ashmemAllocator
->allocate(func_msg.arg(0).hidl_memory_value().size(), [&](bool success, const hardware::hidl_memory& memory) {
/hardware/interfaces/drm/1.0/vts/functional/
drm_hal_clearkey_test.cpp
901
sp<IAllocator>
ashmemAllocator
= IAllocator::getService("ashmem");
902
EXPECT_NE(nullptr,
ashmemAllocator
.get());
905
auto res =
ashmemAllocator
->allocate(
[
all
...]
drm_hal_vendor_test.cpp
[
all
...]
/system/tools/hidl/test/
hidl_test_client.cpp
366
sp<IAllocator>
ashmemAllocator
;
394
ashmemAllocator
= IAllocator::getService("ashmem");
395
ASSERT_NE(
ashmemAllocator
, nullptr);
396
ASSERT_TRUE(
ashmemAllocator
->isRemote()); // allocator is always remote
450
sp<IAllocator>
ashmemAllocator
;
465
ashmemAllocator
= gHidlEnvironment->
ashmemAllocator
;
787
EXPECT_OK(
ashmemAllocator
->allocate(1024, [&](bool success, const hidl_memory& mem) {
852
EXPECT_OK(
ashmemAllocator
->batchAllocate(1024, kBatchSize,
897
EXPECT_OK(
ashmemAllocator
->batchAllocate(1024, UINT64_MAX, [&](bool success, const auto& v)
[
all
...]
Completed in 201 milliseconds