Home
last modified time | relevance | path

Searched refs:SharedRefBase (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/cmds/statsd/tests/
DStatsService_test.cpp33 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()
DStatsLogProcessor_test.cpp34 using ::ndk::SharedRefBase;
1554 shared_ptr<StatsService> service = SharedRefBase::make<StatsService>(nullptr, nullptr); in TEST()
/frameworks/av/media/libmediatranscoding/tests/
DTranscodingClientManager_tests.cpp102 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/
DPartialBucket_e2e_test.cpp26 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 …]
DValueMetric_pull_e2e_test.cpp24 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()
DGaugeMetric_e2e_pull_test.cpp24 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/
Dbinder_interface_utils.h51 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/
Dmediatranscodingservice_tests.cpp122 ::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/
DStatsCallbackPuller_test.cpp45 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()
DStatsPullerManager_test.cpp26 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/
DbinderVendorDoubleLoadTest.cpp43 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()
Dlibbinder_ndk_unit_test.cpp68 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/
DDrmSessionManager_test.cpp139 : 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/
Dmain.cpp35 using ::ndk::SharedRefBase;
82 gStatsService = SharedRefBase::make<StatsService>(looper, eventQueue); in main()
/frameworks/base/cmds/statsd/src/external/
DStatsCallbackPuller.cpp32 using ::ndk::SharedRefBase;
60 shared_ptr<PullResultReceiver> resultReceiver = SharedRefBase::make<PullResultReceiver>( in PullInternal()
/frameworks/av/services/mediatranscoding/
DMediaTranscodingService.cpp74 ::ndk::SharedRefBase::make<MediaTranscodingService>(); in instantiate()
/frameworks/av/services/mediaresourcemanager/test/
DResourceManagerService_test.cpp182 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/
DResourceManagerService.cpp264 ::ndk::SharedRefBase::make<ResourceManagerService>(); in instantiate()
/frameworks/av/drm/libmediadrm/
DDrmHal.cpp717 ndk::SharedRefBase::make<DrmSessionClient>(this, sessionId); in openSession()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp649 ::ndk::SharedRefBase::make<ResourceManagerClient>(this)); in MediaCodec()