Home
last modified time | relevance | path

Searched refs:opts (Results 1 – 25 of 40) sorted by relevance

12

/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DSubscriptionManager.cpp50 void HalClient::addOrUpdateSubscription(const SubscribeOptions &opts) { in addOrUpdateSubscription() argument
51 ALOGI("%s opts.propId: 0x%x", __func__, opts.propId); in addOrUpdateSubscription()
53 auto it = mSubscriptions.find(opts.propId); in addOrUpdateSubscription()
55 mSubscriptions.emplace(opts.propId, opts); in addOrUpdateSubscription()
59 if (mergeSubscribeOptions(oldOpts, opts, &updatedOptions)) { in addOrUpdateSubscription()
61 mSubscriptions.emplace(opts.propId, updatedOptions); in addOrUpdateSubscription()
72 const SubscribeOptions& opts = it->second; in isSubscribed() local
73 bool res = (opts.flags & flags); in isSubscribed()
103 const SubscribeOptions& opts = optionList[i]; in addOrUpdateSubscription() local
104 ALOGI("SubscriptionManager::addOrUpdateSubscription, prop: 0x%x", opts.propId); in addOrUpdateSubscription()
[all …]
/hardware/qcom/gps/msm8998/android/location_api/
DFlpAPIClient.cpp88 int FlpAPIClient::flpStartSession(const IGnssBatching::Options& opts) in flpStartSession() argument
91 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in flpStartSession()
94 convertBatchOption(opts, options, mLocationCapabilitiesMask); in flpStartSession()
96 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in flpStartSession()
105 int FlpAPIClient::flpUpdateSessionOptions(const IGnssBatching::Options& opts) in flpUpdateSessionOptions() argument
108 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in flpUpdateSessionOptions()
111 convertBatchOption(opts, options, mLocationCapabilitiesMask); in flpUpdateSessionOptions()
114 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in flpUpdateSessionOptions()
/hardware/qcom/gps/msm8909w_3100/android/location_api/
DBatchingAPIClient.cpp93 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) in startSession() argument
96 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
99 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
101 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
110 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
113 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
116 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
119 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/qcom/sm8150p/gps/android/1.1/location_api/
DBatchingAPIClient.cpp97 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) in startSession() argument
100 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
103 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
105 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
114 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
117 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
120 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
123 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/qcom/sm8150/gps/android/1.0/location_api/
DBatchingAPIClient.cpp98 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) in startSession() argument
101 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
104 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
106 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
115 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
118 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
121 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
124 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/qcom/sm7250/gps/android/1.1/location_api/
DBatchingAPIClient.cpp98 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) in startSession() argument
101 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
104 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
106 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
115 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
118 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
121 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
124 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/qcom/sm7150/gps/android/1.1/location_api/
DBatchingAPIClient.cpp97 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) in startSession() argument
100 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
103 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
105 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
114 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
117 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
120 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
123 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/qcom/sm8150p/gps/android/1.0/location_api/
DBatchingAPIClient.cpp97 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) in startSession() argument
100 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
103 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
105 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
114 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
117 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
120 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
123 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/qcom/sm7150/gps/android/1.0/location_api/
DBatchingAPIClient.cpp97 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) in startSession() argument
100 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
103 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
105 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
114 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
117 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
120 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
123 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/qcom/sm8150/gps/android/1.1/location_api/
DBatchingAPIClient.cpp98 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) in startSession() argument
101 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
104 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
106 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
115 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
118 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
121 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
124 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/qcom/sm7250/gps/android/1.0/location_api/
DBatchingAPIClient.cpp98 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) in startSession() argument
101 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
104 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
106 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
115 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
118 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
121 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
124 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu.c615 miniopt_t opts; in dhd_pktgen() local
619 miniopt_init(&opts, "pktgen", "", FALSE); in dhd_pktgen()
621 while ((opt_err = miniopt(&opts, argv)) != -1) { in dhd_pktgen()
627 argv += opts.consumed; in dhd_pktgen()
629 if (!opts.good_int && opts.opt != 'd') { in dhd_pktgen()
630 fprintf(stderr, "invalid integer %s\n", opts.valstr); in dhd_pktgen()
635 switch (opts.opt) { in dhd_pktgen()
637 pktgen.freq = opts.uval; in dhd_pktgen()
640 pktgen.count = opts.uval; in dhd_pktgen()
643 pktgen.print = opts.uval; in dhd_pktgen()
[all …]
/hardware/qcom/sm8150p/gps/android/2.0/location_api/
DBatchingAPIClient.cpp135 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) in startSession() argument
138 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
141 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
143 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
152 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
155 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
158 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
161 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/qcom/sm7150/gps/android/2.0/location_api/
DBatchingAPIClient.cpp135 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) in startSession() argument
138 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
141 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
143 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
152 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
155 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
158 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
161 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/qcom/sm7250/gps/android/2.0/location_api/
DBatchingAPIClient.cpp136 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) in startSession() argument
139 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
142 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
144 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
153 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
156 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
159 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
162 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/qcom/sm8150/gps/android/2.1/location_api/
DBatchingAPIClient.cpp137 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) { in startSession() argument
142 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
145 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
147 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
156 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
159 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
162 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
165 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/qcom/sm8150/gps/android/2.0/location_api/
DBatchingAPIClient.cpp137 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) { in startSession() argument
142 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
145 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
147 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
156 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
159 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
162 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
165 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/qcom/sm7250/gps/android/2.1/location_api/
DBatchingAPIClient.cpp136 int BatchingAPIClient::startSession(const IGnssBatching::Options& opts) { in startSession() argument
141 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in startSession()
144 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
146 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in startSession()
155 int BatchingAPIClient::updateSessionOptions(const IGnssBatching::Options& opts) in updateSessionOptions() argument
158 static_cast<long long>(opts.periodNanos), static_cast<uint8_t>(opts.flags)); in updateSessionOptions()
161 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
164 if (opts.flags == static_cast<uint8_t>(IGnssBatching::Flag::WAKEUP_ON_FIFO_FULL)) { in updateSessionOptions()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/
Drouge-extend-css.rb17 def docinfo location, doc, opts
/hardware/google/pixel/power-libperfmgr/libperfmgr/tools/
DConfigVerifier.cc117 static struct option opts[] = { in main() local
128 int c = getopt_long(argc, argv, "c:ei:d:hv", opts, &option_index); in main()
/hardware/google/pixel/power-libperfmgr/utilities/
Dsendhint.cc110 static struct option opts[] = { in main() local
119 while ((c = getopt_long(argc, argv, "b:d:m:e:h", opts, nullptr)) != -1) { in main()
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DSubscriptionManager.h51 void addOrUpdateSubscription(const SubscribeOptions &opts);
127 bool updateHalEventSubscriptionLocked(const SubscribeOptions& opts, SubscribeOptions* out);
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTests.cpp501 GfxstreamEnd2EndTest::SetUpTypicalVkTestEnvironment(const TypicalVkTestEnvironmentOptions& opts) { in SetUpTypicalVkTestEnvironment() argument
521 .apiVersion = opts.apiVersion, in SetUpTypicalVkTestEnvironment()
524 .pNext = opts.instanceCreateInfoPNext ? *opts.instanceCreateInfoPNext : nullptr, in SetUpTypicalVkTestEnvironment()
587 if (opts.deviceExtensions) { in SetUpTypicalVkTestEnvironment()
588 for (const std::string& ext : *opts.deviceExtensions) { in SetUpTypicalVkTestEnvironment()
593 .pNext = opts.deviceCreateInfoPNext ? *opts.deviceCreateInfoPNext : nullptr, in SetUpTypicalVkTestEnvironment()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Ddrawing.adoc250 ^.^| image:{images}/primitive_topology_key_vertex.svg[pdfwidth=6pt,align="center",opts="{imageopts}…
256 ^.^| image:{images}/primitive_topology_key_vertex_number.svg[pdfwidth=6pt,align="center",opts="{ima…
260 ^.^| image:{images}/primitive_topology_key_provoking_vertex.svg[pdfwidth=30pt,align="center",opts="…
266 ^.^| image:{images}/primitive_topology_key_edge.svg[pdfwidth=30pt,align="center",opts="{imageopts}"]
270 ^.^| image:{images}/primitive_topology_key_adjacency_edge.svg[pdfwidth=30pt,align="center",opts="{i…
275 ^.^| image:{images}/primitive_topology_key_winding_order.svg[pdfwidth=30pt,align="center",opts="{im…
371 image::{images}/primitive_topology_point_list.svg[align="center",opts="{imageopts}"]
395 image::{images}/primitive_topology_line_list.svg[align="center",opts="{imageopts}"]
402 image::{images}/primitive_topology_line_list_last.svg[align="center",opts="{imageopts}"]
427 image::{images}/primitive_topology_line_strip.svg[align="center",opts="{imageopts}"]
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dgenvk.py482 opts = CGeneratorOptions(
509 genOpts[headername] = [ COutputGenerator, opts ]
870 opts = CGeneratorOptions(
892 genOpts[headername] = [ COutputGenerator, opts ]

12