Home
last modified time | relevance | path

Searched refs:service_ (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/services/vr/virtual_touchpad/
DVirtualTouchpadClient.cpp15 if (service_ != nullptr) { in ~VirtualTouchpadClientImpl()
21 if (service_ != nullptr) { in Attach()
36 service_ = service; in Attach()
37 return service_->attach().transactionError(); in Attach()
41 if (service_ == nullptr) { in Detach()
44 status_t status = service_->detach().transactionError(); in Detach()
45 service_ = nullptr; in Detach()
50 if (service_ == nullptr) { in Touch()
53 return service_->touch(touchpad, x, y, pressure).transactionError(); in Touch()
57 if (service_ == nullptr) { in ButtonState()
[all …]
/frameworks/native/libs/vr/libpdx/
Dservice.cpp23 : service_{Service::GetFromMessageInfo(info)}, in Message()
27 auto svc = service_.lock();
41 std::swap(service_, other.service_); in operator =()
52 auto svc = service_.lock(); in Destroy()
64 service_.reset(); in Destroy()
79 if (auto svc = service_.lock()) { in ReadVector()
89 if (auto svc = service_.lock()) { in ReadVectorAll()
107 if (auto svc = service_.lock()) { in Read()
118 if (auto svc = service_.lock()) { in WriteVector()
128 if (auto svc = service_.lock()) { in WriteVectorAll()
[all …]
Dservice_tests.cpp108 service_ = std::make_shared<MockService>("MockSvc", std::move(endpoint)); in ServiceTest()
112 return static_cast<MockEndpoint*>(service_->endpoint()); in endpoint()
124 info->service = service_.get(); in SetupMessageInfo()
144 std::shared_ptr<MockService> service_; member in __anon695911e20111::ServiceTest
166 EXPECT_TRUE(service_->IsInitialized()); in TEST_F()
167 service_ = std::make_shared<MockService>("MockSvc2", nullptr); in TEST_F()
168 EXPECT_FALSE(service_->IsInitialized()); in TEST_F()
188 EXPECT_EQ(service_, message.GetService()); in TEST_F()
210 EXPECT_EQ(service_, message.GetService()); in TEST_F()
227 EXPECT_CALL(*service_, OnChannelOpen(Ref(message))).WillOnce(Return(channel)); in TEST_F()
[all …]
/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel_tests.cpp84 service_ = TestService::Create(std::move(endpoint)); in TestServiceRunner()
86 dispatcher_->AddService(service_); in TestServiceRunner()
94 dispatcher_->RemoveService(service_); in ~TestServiceRunner()
98 std::shared_ptr<TestService> service_; member in __anon865c75930111::TestServiceRunner
Dservice_endpoint.cpp261 service_ = service; in SetService()
522 info.service = service_; in ReceiveMessageForChannel()
571 info.service = service_; in BuildCloseMessage()
/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp196 InstalldNativeService* service_; member in android::installd::DexoptTest
223 service_ = new InstalldNativeService(); in SetUp()
235 service_->destroyAppData( in TearDown()
241 delete service_; in TearDown()
283 binder::Status status = service_->createAppData( in create_mock_app()
330 status = service_->fixupAppData(volume_uuid_, kTestUserId); in create_mock_app()
367 binder::Status result = service_->dexopt(path, in CompileSecondaryDex()
405 binder::Status result = service_->reconcileSecondaryDexFile( in reconcile_secondary_dex()
489 ASSERT_BINDER_SUCCESS(service_->prepareAppProfile( in CompilePrimaryDex()
494 binder::Status result = service_->dexopt(apk_path_, in CompilePrimaryDex()
[all …]
/frameworks/native/services/vr/bufferhubd/include/private/dvr/
Dbuffer_hub.h33 : service_(service), in BufferHubChannel()
101 BufferHubService* service() const { return service_; } in service()
110 BufferHubService* service_;
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_manager_service.h21 : service_(service), channel_id_(channel_id) {} in DisplayManager()
35 DisplayManagerService* service_; variable
Ddisplay_surface.h36 DisplayService* service() const { return service_; } in service()
101 DisplayService* service_; variable
Ddisplay_manager_service.cpp26 auto status = service_->ModifyChannelEvents(channel_id_, pending ? 0 : POLLIN, in SetNotificationsPending()
Ddisplay_surface.cpp30 : service_(service), in DisplaySurface()
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
Dbuffer_transport_benchmark.cpp160 service_ = sm->getService(kBinderService); in Start()
161 if (service_ == nullptr) { in Start()
173 int error = service_->transact(CREATE_BUFFER_QUEUE, data, &reply); in CreateSurface()
203 sp<IBinder> service_; member in BinderBufferTransport
/frameworks/native/services/vr/bufferhubd/
Dbuffer_hub.cpp317 const auto status = service_->ModifyChannelEvents(channel_id_, 0, POLLIN); in SignalAvailable()
330 const auto status = service_->ModifyChannelEvents(channel_id_, POLLIN, 0); in ClearAvailable()
341 const auto status = service_->ModifyChannelEvents(channel_id_, 0, POLLHUP); in Hangup()
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dservice_endpoint.h160 Service* service_{nullptr};
/frameworks/native/libs/vr/libpdx/private/pdx/
Dservice.h337 bool IsServiceExpired() const { return service_.expired(); } in IsServiceExpired()
355 std::weak_ptr<Service> service_; variable