Searched refs:destructor (Results 1 – 11 of 11) sorted by relevance
/hardware/google/pixel/vibrator/cs40l25/tests/ |
D | mocks.h | 25 MOCK_METHOD0(destructor, void()); 55 ~MockApi() override { destructor(); }; in ~MockApi() 60 MOCK_METHOD0(destructor, void()); 75 ~MockCal() override { destructor(); }; in ~MockCal() 80 MOCK_METHOD0(destructor, void()); 88 ~MockStats() override { destructor(); }; in ~MockStats()
|
D | test-vibrator.cpp | 179 ON_CALL(*mMockApi, destructor()).WillByDefault(Assign(&mMockApi, nullptr)); in createMock() 190 ON_CALL(*mMockCal, destructor()).WillByDefault(Assign(&mMockCal, nullptr)); in createMock() 242 EXPECT_CALL(*mMockApi, destructor()).Times(times); in relaxMock() 265 EXPECT_CALL(*mMockCal, destructor()).Times(times); in relaxMock() 272 ON_CALL(*mMockStats, destructor()).WillByDefault(Assign(&mMockStats, nullptr)); in relaxMock() 298 EXPECT_CALL(*mMockApi, destructor()).WillOnce(DoDefault()); in TEST_F() 299 EXPECT_CALL(*mMockCal, destructor()).WillOnce(DoDefault()); in TEST_F() 300 EXPECT_CALL(*mMockStats, destructor()).WillOnce(DoDefault()); in TEST_F()
|
/hardware/google/pixel/vibrator/cs40l26/tests/ |
D | mocks.h | 25 MOCK_METHOD0(destructor, void()); 57 ~MockApi() override { destructor(); }; in ~MockApi() 62 MOCK_METHOD0(destructor, void()); 79 ~MockCal() override { destructor(); }; in ~MockCal() 88 MOCK_METHOD0(destructor, void()); 96 ~MockStats() override { destructor(); }; in ~MockStats()
|
D | test-vibrator.cpp | 226 ON_CALL(*mMockApi, destructor()).WillByDefault(Assign(&mMockApi, nullptr)); in createMock() 239 ON_CALL(*mMockCal, destructor()).WillByDefault(Assign(&mMockCal, nullptr)); in createMock() 251 ON_CALL(*mMockStats, destructor()).WillByDefault(Assign(&mMockStats, nullptr)); in createMock() 287 EXPECT_CALL(*mMockApi, destructor()).Times(times); in relaxMock() 311 EXPECT_CALL(*mMockCal, destructor()).Times(times); in relaxMock() 324 EXPECT_CALL(*mMockStats, destructor()).Times(times); in relaxMock() 353 EXPECT_CALL(*mMockApi, destructor()).WillOnce(DoDefault()); in TEST_F() 354 EXPECT_CALL(*mMockCal, destructor()).WillOnce(DoDefault()); in TEST_F() 355 EXPECT_CALL(*mMockStats, destructor()).WillOnce(DoDefault()); in TEST_F()
|
/hardware/google/pixel/vibrator/drv2624/tests/ |
D | mocks.h | 23 MOCK_METHOD0(destructor, void()); 41 ~MockApi() override { destructor(); }; in ~MockApi() 46 MOCK_METHOD0(destructor, void()); 60 ~MockCal() override { destructor(); }; in ~MockCal()
|
D | test-vibrator.cpp | 136 ON_CALL(*mMockApi, destructor()).WillByDefault(Assign(&mMockApi, nullptr)); in createMock() 145 ON_CALL(*mMockCal, destructor()).WillByDefault(Assign(&mMockCal, nullptr)); in createMock() 202 EXPECT_CALL(*mMockApi, destructor()).Times(times); in relaxMock() 220 EXPECT_CALL(*mMockCal, destructor()).Times(times); in relaxMock() 258 EXPECT_CALL(*mMockApi, destructor()).WillOnce(DoDefault()); in TEST_P() 259 EXPECT_CALL(*mMockCal, destructor()).WillOnce(DoDefault()); in TEST_P()
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | ralloc.c | 69 void (*destructor)(void *); member 134 info->destructor = NULL; in ralloc_size() 296 if (info->destructor != NULL) in unsafe_free() 297 info->destructor(PTR_FROM_HEADER(info)); in unsafe_free() 360 ralloc_set_destructor(const void *ptr, void(*destructor)(void *)) in ralloc_set_destructor() 363 info->destructor = destructor; in ralloc_set_destructor()
|
D | ralloc.h | 314 void ralloc_set_destructor(const void *ptr, void(*destructor)(void *));
|
/hardware/google/gfxstream/guest/egl/ |
D | eglDisplay.cpp | 52 static void __attribute__ ((destructor)) do_on_unload(void) in do_on_unload()
|
/hardware/nxp/nfc/snxxx/halimpl/hal/ |
D | phNxpNciHal.cc | 209 static __attribute__((destructor)) void onUnloadLibrary(void) { in onUnloadLibrary()
|
/hardware/google/gfxstream/guest/mesa/ |
D | meson.build | 1000 '/wd4624', # destructor was implicitly defined as deleted [from LLVM]
|