Home
last modified time | relevance | path

Searched refs:service_ (Results 1 – 21 of 21) 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 __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/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 __anonff9ab74c0111::TestServiceRunner
Dservice_endpoint.cpp261 service_ = service; in SetService()
522 info.service = service_; in ReceiveMessageForChannel()
571 info.service = service_; in BuildCloseMessage()
/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/cmds/installd/tests/
Dinstalld_dexopt_test.cpp194 InstalldNativeService* service_; member in android::installd::DexoptTest
220 service_ = new InstalldNativeService(); in SetUp()
232 service_->destroyAppData( in TearDown()
238 delete service_; in TearDown()
249 binder::Status status = service_->createOatDir(app_oat_dir_, kRuntimeIsa); in create_mock_app()
264 status = service_->createAppData( in create_mock_app()
311 status = service_->fixupAppData(volume_uuid_, kTestUserId); in create_mock_app()
352 binder::Status result = service_->dexopt(path, in CompileSecondaryDex()
390 binder::Status result = service_->reconcileSecondaryDexFile( in reconcile_secondary_dex()
480 ASSERT_BINDER_SUCCESS(service_->prepareAppProfile( in CompilePrimaryDex()
[all …]
/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/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor_unittest.cc1390 service_ = foo_file_->service(0); in SetUp()
1392 ASSERT_EQ(2, service_->method_count()); in SetUp()
1393 foo_ = service_->method(0); in SetUp()
1394 bar_ = service_->method(1); in SetUp()
1416 const ServiceDescriptor* service_; member in google::protobuf::descriptor_unittest::ServiceDescriptorTest
1427 EXPECT_EQ("TestService", service_->name()); in TEST_F()
1428 EXPECT_EQ("TestService", service_->full_name()); in TEST_F()
1429 EXPECT_EQ(foo_file_, service_->file()); in TEST_F()
1437 ASSERT_EQ(2, service_->method_count()); in TEST_F()
1438 EXPECT_EQ(foo_, service_->method(0)); in TEST_F()
[all …]
Ddescriptor.h1141 const ServiceDescriptor* service_; variable
1858 return static_cast<int>(this - service_->methods_); in index()
Ddescriptor.pb.h513 ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto > service_;
4172 return service_.size(); in service_size()
4175 service_.Clear(); in clear_service()
4179 return service_.Get(index); in service()
4183 return service_.Mutable(index); in mutable_service()
4187 return service_.Add(); in add_service()
4192 return &service_; in mutable_service()
4197 return service_; in service()
Ddescriptor.pb.cc140 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, service_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
1297 service_.Clear(); in Clear()
1881 service_.MergeFrom(from.service_); in MergeFrom()
1948 service_.UnsafeArenaSwap(&other->service_); in InternalSwap()
2254 return service_.size(); in service_size()
2257 service_.Clear(); in clear_service()
2261 return service_.Get(index); in service()
2265 return service_.Mutable(index); in mutable_service()
2269 return service_.Add(); in add_service()
2274 return &service_; in mutable_service()
[all …]
Ddescriptor.cc4680 result->service_ = parent; in BuildMethod()
/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
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DDescriptor.cs320 service_ = other.service_.Clone(); in FileDescriptorProto()
427 …epeatedField<global::Google.Protobuf.Reflection.ServiceDescriptorProto> service_ = new pbc::Repeat… field in Google.Protobuf.Reflection.FileDescriptorProto
430 get { return service_; }
506 if(!service_.Equals(other.service_)) return false; in Equals()
524 hash ^= service_.GetHashCode(); in GetHashCode()
550 service_.WriteTo(output, _repeated_service_codec); in WriteTo()
582 size += service_.CalculateSize(_repeated_service_codec); in CalculateSize()
612 service_.Add(other.service_); in MergeFrom()
660 service_.AddEntriesFrom(input, _repeated_service_codec); in MergeFrom()