Home
last modified time | relevance | path

Searched refs:platformTrait (Results 1 – 3 of 3) sorted by relevance

/hardware/google/aemu/base/
DManagedDescriptor_unittest.cpp36 PlatformTraitTest platformTrait; in TEST() local
38 EXPECT_CALL(platformTrait, closeDescriptor(rawDescriptor)).Times(1); in TEST()
39 { ManagedDescriptorForTesting descriptor(rawDescriptor, platformTrait); } in TEST()
42 EXPECT_CALL(platformTrait, closeDescriptor(rawDescriptor)).Times(1); in TEST()
44 ManagedDescriptorForTesting descriptor(rawDescriptor, platformTrait); in TEST()
45 descriptor = ManagedDescriptorForTesting(platformTrait); in TEST()
51 PlatformTraitTest platformTrait; in TEST() local
52 EXPECT_CALL(platformTrait, closeDescriptor(_)).Times(0); in TEST()
53 { ManagedDescriptorForTesting descriptor(platformTrait); } in TEST()
55 ManagedDescriptorForTesting descriptor(42, platformTrait); in TEST()
[all …]
/hardware/google/aemu/base/include/aemu/base/
DManagedDescriptor.hpp52 PlatformTrait& platformTrait = sPlatformTrait) in ManagedDescriptorBase() argument
53 : mRawDescriptor(rawDescriptor), mPlatformTrait(platformTrait) {} in ManagedDescriptorBase()
54 ManagedDescriptorBase(PlatformTrait& platformTrait = sPlatformTrait) in ManagedDescriptorBase() argument
55 : mRawDescriptor(std::nullopt), mPlatformTrait(platformTrait) {} in ManagedDescriptorBase()
DManagedDescriptor.h52 PlatformTrait& platformTrait = sPlatformTrait)
53 : mRawDescriptor(rawDescriptor), mPlatformTrait(platformTrait) {} in mRawDescriptor()
54 ManagedDescriptorBase(PlatformTrait& platformTrait = sPlatformTrait)
55 : mRawDescriptor(std::nullopt), mPlatformTrait(platformTrait) {} in mRawDescriptor()