/frameworks/base/cmds/statsd/tests/ |
D | StatsService_test.cpp | 33 using ::ndk::SharedRefBase; 38 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>(nullptr, nullptr); in TEST() 48 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>(nullptr, nullptr); in TEST() 56 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>(nullptr, nullptr); in TEST() 73 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>(nullptr, nullptr); in TEST()
|
D | StatsLogProcessor_test.cpp | 34 using ::ndk::SharedRefBase; 1554 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>(nullptr, nullptr); in TEST()
|
/frameworks/av/media/libmediatranscoding/tests/ |
D | TranscodingClientManager_tests.cpp | 102 mTestClient = ::ndk::SharedRefBase::make<TestClient>(mService); in SetUp() 119 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F() 133 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F() 147 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F() 161 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F() 175 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F() 193 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F() 211 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F() 221 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F() 231 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F() [all …]
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | PartialBucket_e2e_test.cpp | 26 using::ndk::SharedRefBase; 120 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>(nullptr, nullptr); in TEST() 135 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>(nullptr, nullptr); in TEST() 155 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>(nullptr, nullptr); in TEST() 189 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>(nullptr, nullptr); in TEST() 222 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>(nullptr, nullptr); in TEST() 251 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>(nullptr, nullptr); in TEST() 254 SharedRefBase::make<FakeSubsystemSleepCallback>()); in TEST() 281 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>(nullptr, nullptr); in TEST() 284 SharedRefBase::make<FakeSubsystemSleepCallback>()); in TEST() [all …]
|
D | ValueMetric_pull_e2e_test.cpp | 24 using ::ndk::SharedRefBase; 163 SharedRefBase::make<FakeSubsystemSleepCallback>(), tagId); in TEST() 211 SharedRefBase::make<FakeSubsystemSleepCallback>(), in TEST() 315 SharedRefBase::make<FakeSubsystemSleepCallback>(), in TEST() 427 SharedRefBase::make<FakeSubsystemSleepCallback>(), in TEST()
|
D | GaugeMetric_e2e_pull_test.cpp | 24 using ::ndk::SharedRefBase; 78 SharedRefBase::make<FakeSubsystemSleepCallback>(), ATOM_TAG); in TEST() 217 SharedRefBase::make<FakeSubsystemSleepCallback>(), ATOM_TAG); in TEST() 314 SharedRefBase::make<FakeSubsystemSleepCallback>(), ATOM_TAG); in TEST() 422 SharedRefBase::make<FakeSubsystemSleepCallback>(), ATOM_TAG); in TEST() 539 SharedRefBase::make<FakeSubsystemSleepCallback>(), in TEST()
|
/frameworks/native/libs/binder/ndk/include_ndk/android/ |
D | binder_interface_utils.h | 51 class SharedRefBase { 53 SharedRefBase() {} in SharedRefBase() function 54 virtual ~SharedRefBase() { in ~SharedRefBase() 64 std::shared_ptr<SharedRefBase> ref() { in ref() 65 std::shared_ptr<SharedRefBase> thiz = mThis.lock(); in ref() 67 std::call_once(mFlagThis, [&]() { mThis = thiz = std::shared_ptr<SharedRefBase>(this); }); in ref() 93 std::weak_ptr<SharedRefBase> mThis; 103 class ICInterface : public SharedRefBase {
|
/frameworks/av/services/mediatranscoding/tests/ |
D | mediatranscodingservice_tests.cpp | 122 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F() 134 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F() 146 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F() 158 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F() 186 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F() 216 ::ndk::SharedRefBase::make<TestClient>(mService); in TEST_F()
|
/frameworks/base/cmds/statsd/tests/external/ |
D | StatsCallbackPuller_test.cpp | 45 using ::ndk::SharedRefBase; 122 shared_ptr<FakePullAtomCallback> cb = SharedRefBase::make<FakePullAtomCallback>(); in TEST_F() 143 shared_ptr<FakePullAtomCallback> cb = SharedRefBase::make<FakePullAtomCallback>(); in TEST_F() 156 shared_ptr<FakePullAtomCallback> cb = SharedRefBase::make<FakePullAtomCallback>(); in TEST_F() 185 shared_ptr<FakePullAtomCallback> cb = SharedRefBase::make<FakePullAtomCallback>(); in TEST_F()
|
D | StatsPullerManager_test.cpp | 26 using ::ndk::SharedRefBase; 91 shared_ptr<FakePullAtomCallback> cb1 = SharedRefBase::make<FakePullAtomCallback>(uid1); in createPullerManagerAndRegister() 93 shared_ptr<FakePullAtomCallback> cb2 = SharedRefBase::make<FakePullAtomCallback>(uid2); in createPullerManagerAndRegister()
|
/frameworks/native/libs/binder/ndk/test/ |
D | binderVendorDoubleLoadTest.cpp | 43 using ::ndk::SharedRefBase; 87 std::shared_ptr<NdkServer> ndkServer = SharedRefBase::make<NdkServer>(); in TEST() 151 std::shared_ptr<NdkServer> ndkServer = SharedRefBase::make<NdkServer>(); in main() 165 std::shared_ptr<NdkServer> ndkServer = SharedRefBase::make<NdkServer>(); in main()
|
D | libbinder_ndk_unit_test.cpp | 68 auto service = ndk::SharedRefBase::make<MyBinderNdkUnitTest>(); in generatedService() 289 std::shared_ptr<MyEmpty> empty = ndk::SharedRefBase::make<MyEmpty>(); in TEST()
|
/frameworks/av/media/libmediaplayerservice/tests/ |
D | DrmSessionManager_test.cpp | 139 : mService(::ndk::SharedRefBase::make<ResourceManagerService> in DrmSessionManagerTest() 142 mTestDrm1(::ndk::SharedRefBase::make<FakeDrm>( in DrmSessionManagerTest() 144 mTestDrm2(::ndk::SharedRefBase::make<FakeDrm>( in DrmSessionManagerTest() 146 mTestDrm3(::ndk::SharedRefBase::make<FakeDrm>( in DrmSessionManagerTest() 209 ::ndk::SharedRefBase::make<FakeDrm>(sid, mDrmSessionManager); in TEST_F()
|
/frameworks/base/cmds/statsd/src/ |
D | main.cpp | 35 using ::ndk::SharedRefBase; 82 gStatsService = SharedRefBase::make<StatsService>(looper, eventQueue); in main()
|
/frameworks/base/cmds/statsd/src/external/ |
D | StatsCallbackPuller.cpp | 32 using ::ndk::SharedRefBase; 60 shared_ptr<PullResultReceiver> resultReceiver = SharedRefBase::make<PullResultReceiver>( in PullInternal()
|
/frameworks/av/services/mediatranscoding/ |
D | MediaTranscodingService.cpp | 74 ::ndk::SharedRefBase::make<MediaTranscodingService>(); in instantiate()
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 182 mService(::ndk::SharedRefBase::make<ResourceManagerService>( in ResourceManagerServiceTest() 184 mTestClient1(::ndk::SharedRefBase::make<TestClient>(kTestPid1, mService)), in ResourceManagerServiceTest() 185 mTestClient2(::ndk::SharedRefBase::make<TestClient>(kTestPid2, mService)), in ResourceManagerServiceTest() 186 mTestClient3(::ndk::SharedRefBase::make<TestClient>(kTestPid2, mService)) { in ResourceManagerServiceTest()
|
/frameworks/av/services/mediaresourcemanager/ |
D | ResourceManagerService.cpp | 264 ::ndk::SharedRefBase::make<ResourceManagerService>(); in instantiate()
|
/frameworks/av/drm/libmediadrm/ |
D | DrmHal.cpp | 717 ndk::SharedRefBase::make<DrmSessionClient>(this, sessionId); in openSession()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 649 ::ndk::SharedRefBase::make<ResourceManagerClient>(this)); in MediaCodec()
|