Searched refs:platformTrait (Results 1 – 3 of 3) sorted by relevance
/hardware/google/aemu/base/ |
D | ManagedDescriptor_unittest.cpp | 36 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/ |
D | ManagedDescriptor.hpp | 52 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()
|
D | ManagedDescriptor.h | 52 PlatformTrait& platformTrait = sPlatformTrait) 53 : mRawDescriptor(rawDescriptor), mPlatformTrait(platformTrait) {} in mRawDescriptor() 54 ManagedDescriptorBase(PlatformTrait& platformTrait = sPlatformTrait) 55 : mRawDescriptor(std::nullopt), mPlatformTrait(platformTrait) {} in mRawDescriptor()
|