/frameworks/native/services/vr/virtual_touchpad/ |
D | VirtualTouchpadClient.cpp | 15 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/ |
D | service.cpp | 23 : 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 …]
|
D | service_tests.cpp | 108 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 __anon2a7cbd3b0111::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/cmds/installd/tests/ |
D | installd_dexopt_test.cpp | 188 InstalldNativeService* service_; member in android::installd::DexoptTest 220 service_ = new InstalldNativeService(); in SetUp() 236 service_->controlDexOptBlocking(false); in TearDown() 237 service_->destroyAppData( in TearDown() 243 delete service_; in TearDown() 266 service_->createAppData(volume_uuid_, package_name_, kTestUserId, kAppDataFlags, in create_mock_app() 347 status = service_->fixupAppData(volume_uuid_, kTestUserId); in create_mock_app() 385 binder::Status result = service_->dexopt(path, in CompileSecondaryDex() 425 binder::Status result = service_->reconcileSecondaryDexFile( in reconcile_secondary_dex() 537 ASSERT_BINDER_SUCCESS(service_->prepareAppProfile( in CompilePrimaryDex() [all …]
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | client_channel_tests.cpp | 84 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 __anonff9ab74c0111::TestServiceRunner
|
D | service_endpoint.cpp | 261 service_ = service; in SetService() 522 info.service = service_; in ReceiveMessageForChannel() 571 info.service = service_; in BuildCloseMessage()
|
/frameworks/native/services/vr/bufferhubd/include/private/dvr/ |
D | buffer_hub.h | 33 : service_(service), in BufferHubChannel() 101 BufferHubService* service() const { return service_; } in service() 110 BufferHubService* service_;
|
/frameworks/native/services/vr/bufferhubd/ |
D | buffer_hub.cpp | 317 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/ |
D | service_endpoint.h | 160 Service* service_{nullptr};
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | service.h | 337 bool IsServiceExpired() const { return service_.expired(); } in IsServiceExpired() 355 std::weak_ptr<Service> service_; variable
|