Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 95) sorted by relevance

1234

/hardware/interfaces/automotive/vehicle/aidl/impl/grpc/
DGRPCVehicleProxyServer.h40 class GrpcVehicleProxyServer : public proto::VehicleServer::Service {
46 ::grpc::ServerWriter<proto::VehiclePropConfig>* stream) override;
49 const proto::VehiclePropValueRequests* requests,
50 proto::SetValueResults* results) override;
53 const proto::VehiclePropValueRequests* requests,
54 proto::GetValueResults* results) override;
57 const proto::UpdateSampleRateRequest* request,
58 proto::VehicleHalCallStatus* status) override;
60 ::grpc::Status Subscribe(::grpc::ServerContext* context, const proto::SubscribeRequest* request,
61 proto::VehicleHalCallStatus* status) override;
[all …]
DGRPCVehicleProxyServer.cpp53 ::grpc::ServerWriter<proto::VehiclePropConfig>* stream) { in GetAllPropertyConfig()
55 proto::VehiclePropConfig protoConfig; in GetAllPropertyConfig()
65 const proto::VehiclePropValueRequests* requests, in SetValues()
66 proto::SetValueResults* results) { in SetValues()
76 auto tmpResults = std::make_shared<proto::SetValueResults>(); in SetValues()
85 static_cast<proto::StatusCode>(aidlResult.status)); in SetValues()
110 const proto::VehiclePropValueRequests* requests, in GetValues()
111 proto::GetValueResults* results) { in GetValues()
121 auto tmpResults = std::make_shared<proto::GetValueResults>(); in GetValues()
130 static_cast<proto::StatusCode>(aidlResult.status)); in GetValues()
[all …]
DAndroid.bp25proto/VehicleServer.proto)) -Ihardware/interfaces/automotive/vehicle/aidl/impl/proto -Iexternal/pr…
27 "proto/VehicleServer.proto",
45proto/VehicleServer.proto)) -Ihardware/interfaces/automotive/vehicle/aidl/impl/proto -Iexternal/pr…
47 "proto/VehicleServer.proto",
DGRPCVehicleHardware.cpp39 mGrpcStub(proto::VehicleServer::NewStub(mGrpcChannel)), in GRPCVehicleHardware()
43 GRPCVehicleHardware::GRPCVehicleHardware(std::unique_ptr<proto::VehicleServer::StubInterface> stub) in GRPCVehicleHardware()
62 proto::VehiclePropConfig protoConfig; in getAllPropertyConfigs()
80 proto::VehiclePropValueRequests protoRequests; in setValues()
81 proto::SetValueResults protoResults; in setValues()
113 proto::VehiclePropValueRequests protoRequests; in getValues()
114 proto::GetValueResults protoResults; in getValues()
164 proto::DumpOptions protoDumpOptions; in dump()
165 proto::DumpResult protoDumpResult; in dump()
182 proto::VehicleHalCallStatus protoStatus; in checkHealth()
[all …]
/hardware/google/pixel/pixelstats/
DAndroid.bp23 proto: {
32 "pixelatoms.proto",
35 ":libprotobuf-internal-descriptor-proto",
42 proto: {
50 "pixelatoms.proto",
53 ":libprotobuf-internal-descriptor-proto",
60 proto: {
68 "pixelatoms.proto",
77 …s_defs.h --namespace hardware,google,pixel,PixelAtoms --vendor-proto $(location pixelatoms.proto)",
79 "pixelatoms.proto",
[all …]
DOWNERS6 per-file pixelatoms.proto = set noparent
7 per-file pixelatoms.proto = achant@google.com,jeffreyhuang@google.com,monicamwang@google.com,muhamm…
/hardware/interfaces/automotive/vehicle/aidl/impl/grpc/proto/
DVehicleServer.proto19 package android.hardware.automotive.vehicle.proto;
21 import "android/hardware/automotive/vehicle/DumpOptions.proto";
22 import "android/hardware/automotive/vehicle/DumpResult.proto";
23 import "android/hardware/automotive/vehicle/SubscribeRequest.proto";
24 import "android/hardware/automotive/vehicle/StatusCode.proto";
25 import "android/hardware/automotive/vehicle/UnsubscribeRequest.proto";
26 import "android/hardware/automotive/vehicle/VehiclePropConfig.proto";
27 import "android/hardware/automotive/vehicle/VehiclePropValue.proto";
28 import "android/hardware/automotive/vehicle/VehiclePropValueRequest.proto";
29 import "google/protobuf/empty.proto";
/hardware/interfaces/automotive/vehicle/aidl/impl/grpc/test/
DGRPCVehicleHardwareUnitTest.cpp39 using proto::MockVehicleServerStub;
43 class FakeVehicleServer : public proto::VehicleServer::Service {
47 ::grpc::ServerWriter<proto::VehiclePropValues>* stream) override { in StartPropertyValuesStream()
48 stream->Write(proto::VehiclePropValues()); in StartPropertyValuesStream()
56 ::grpc::ServerWriter<proto::VehiclePropConfig>* stream) override { in GetAllPropertyConfig()
61 const proto::VehiclePropValueRequests* requests, in SetValues()
62 proto::SetValueResults* results) override { in SetValues()
67 const proto::VehiclePropValueRequests* requests, in GetValues()
68 proto::GetValueResults* results) override { in GetValues()
126 proto::VehicleHalCallStatus protoStatus; in TEST_F()
[all …]
DGRPCVehicleProxyServerUnitTest.cpp181 proto::SubscribeRequest request; in TEST()
182 proto::VehicleHalCallStatus returnStatus; in TEST()
196 EXPECT_EQ(returnStatus.status_code(), proto::StatusCode::OK); in TEST()
210 proto::SubscribeRequest request; in TEST()
211 proto::VehicleHalCallStatus returnStatus; in TEST()
219 EXPECT_EQ(returnStatus.status_code(), proto::StatusCode::NOT_AVAILABLE); in TEST()
228 proto::UnsubscribeRequest request; in TEST()
229 proto::VehicleHalCallStatus returnStatus; in TEST()
238 EXPECT_EQ(returnStatus.status_code(), proto::StatusCode::OK); in TEST()
/hardware/ril/librilutils/
DAndroid.bp18 "proto/sap-api.proto",
31 proto: {
42 srcs: ["proto/sap-api.proto"],
43 proto: {
/hardware/interfaces/automotive/vehicle/aidl/impl/grpc/utils/proto_message_converter/include/
DProtoMessageConverter.h38 ::android::hardware::automotive::vehicle::proto::VehiclePropConfig* outProtoConfig);
41 const ::android::hardware::automotive::vehicle::proto::VehiclePropConfig& inProtoConfig,
45 ::android::hardware::automotive::vehicle::proto::VehiclePropValue* outProtoVal);
48 const ::android::hardware::automotive::vehicle::proto::VehiclePropValue& inProtoVal,
52 ::android::hardware::automotive::vehicle::proto::SubscribeOptions* out);
54 void protoToAidl(const ::android::hardware::automotive::vehicle::proto::SubscribeOptions& in,
/hardware/interfaces/automotive/vehicle/aidl/impl/grpc/utils/proto_message_converter/src/
DProtoMessageConverter.cpp33 namespace proto = ::android::hardware::automotive::vehicle::proto;
54 void aidlToProto(const aidl_vehicle::VehiclePropConfig& in, proto::VehiclePropConfig* out) { in aidlToProto()
56 out->set_access(static_cast<proto::VehiclePropertyAccess>(toInt(in.access))); in aidlToProto()
57 out->set_change_mode(static_cast<proto::VehiclePropertyChangeMode>(toInt(in.changeMode))); in aidlToProto()
70 protoACfg->set_access(static_cast<proto::VehiclePropertyAccess>(toInt(areaConfig.access))); in aidlToProto()
86 void protoToAidl(const proto::VehiclePropConfig& in, aidl_vehicle::VehiclePropConfig* out) { in protoToAidl()
96 auto cast_to_acfg = [](const proto::VehicleAreaConfig& protoAcfg) { in protoToAidl()
119 void aidlToProto(const aidl_vehicle::VehiclePropValue& in, proto::VehiclePropValue* out) { in aidlToProto()
122 out->set_status(static_cast<proto::VehiclePropertyStatus>(in.status)); in aidlToProto()
140 void protoToAidl(const proto::VehiclePropValue& in, aidl_vehicle::VehiclePropValue* out) { in protoToAidl()
[all …]
/hardware/google/gfxstream/common/detector/
DGraphicsDetectorVk.cpp25 ::gfxstream::proto::GraphicsAvailability* availability) { in PopulateVulkanAvailabilityImpl()
28 ::gfxstream::proto::VulkanAvailability* vulkanAvailability = availability->mutable_vulkan(); in PopulateVulkanAvailabilityImpl()
38 ::gfxstream::proto::VulkanPhysicalDevice::TYPE_DISCRETE_GPU : in PopulateVulkanAvailabilityImpl()
39 ::gfxstream::proto::VulkanPhysicalDevice::TYPE_OTHER); in PopulateVulkanAvailabilityImpl()
53 ::gfxstream::proto::GraphicsAvailability* availability) { in PopulateVulkanAvailability()
DGraphicsDetector.cpp27 ::gfxstream::proto::GraphicsAvailability DetectGraphicsAvailability() { in DetectGraphicsAvailability()
28 ::gfxstream::proto::GraphicsAvailability availability; in DetectGraphicsAvailability()
30 …using GraphicsCheckFn = gfxstream::expected<Ok, std::string>(::gfxstream::proto::GraphicsAvailabil… in DetectGraphicsAvailability()
DAndroid.bp7 proto: {
14 srcs: ["GraphicsDetector.proto"],
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c129 tuneserver_protocol_t *p = tsctrl->proto; in tuneserver_process_command()
229 tuneserver_protocol_t *p = tsctrl->proto; in tuneserver_process_client_message()
231 switch (tsctrl->proto->next_recv_code) { in tuneserver_process_client_message()
313 tsctrl->proto = malloc(sizeof(tuneserver_protocol_t)); in tuneserver_ack_onaccept_initprotocol()
314 if (!tsctrl->proto) { in tuneserver_ack_onaccept_initprotocol()
319 tsctrl->proto->current_cmd = 0xFFFF; in tuneserver_ack_onaccept_initprotocol()
320 tsctrl->proto->next_recv_code = TUNESERVER_RECV_COMMAND; in tuneserver_ack_onaccept_initprotocol()
321 tsctrl->proto->next_recv_len = 2; in tuneserver_ack_onaccept_initprotocol()
322 tsctrl->proto->recv_buf = NULL; in tuneserver_ack_onaccept_initprotocol()
323 tsctrl->proto->send_buf = NULL; in tuneserver_ack_onaccept_initprotocol()
[all …]
/hardware/interfaces/automotive/vehicle/proto/
DAndroid.bp34 proto: {
45 srcs: ["VehicleHalProto.proto"],
49 name: "vhal-proto-src",
54 "VehicleHalProto.proto",
66 "VehicleHalProto.proto",
82 "VehicleHalProto.proto",
/hardware/interfaces/automotive/vehicle/aidl/impl/grpc/utils/proto_message_converter/test/
Dproto_message_converter_test.cpp38 namespace proto = ::android::hardware::automotive::vehicle::proto;
87 proto::VehiclePropConfig protoCfg; in TEST_P()
97 proto::VehiclePropValue protoVal; in TEST_P()
119 proto::SubscribeOptions protoOptions; in TEST_F()
/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/
DREADME6 protocols/<proto>/<proto>.(cpp|h) - protocol definition (usually just a list of message types)
7 protocols/<proto>/*.(cpp|h) - message definition that covers all message types with the same
/hardware/google/pixel/vibrator/common/
DAndroid.bp89 "proto/capo.proto",
92 "proto",
94 proto: {
118 "proto",
/hardware/google/pixel/presubmit_tests/schemas/
DAndroid.bp5 "powerhint-schema.proto",
7 proto: {
/hardware/interfaces/automotive/vehicle/aidl/impl/proto/android/hardware/automotive/vehicle/
DVehiclePropConfig.proto19 package android.hardware.automotive.vehicle.proto;
21 import "android/hardware/automotive/vehicle/VehicleAreaConfig.proto";
22 import "android/hardware/automotive/vehicle/VehiclePropertyAccess.proto";
23 import "android/hardware/automotive/vehicle/VehiclePropertyChangeMode.proto";
DVehiclePropValueRequest.proto19 package android.hardware.automotive.vehicle.proto;
21 import "android/hardware/automotive/vehicle/StatusCode.proto";
22 import "android/hardware/automotive/vehicle/VehiclePropValue.proto";
/hardware/qcom/data/ipacfg-mgr/msm8998/hal/src/
DCtUpdateAmbassador.cpp63 in.proto); in updateTimeout()
88 && L4ToNetwork(in.proto, out.proto); in translate()
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/src/
DCtUpdateAmbassador.cpp63 in.proto); in updateTimeout()
91 && L4ToNetwork(in.proto, out.proto); in translate()

1234