Home
last modified time | relevance | path

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

/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/sdm845/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/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/sdm845/gps/sdm845/android/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.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.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/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/sm8150/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/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/interfaces/camera/metadata/3.4/
Dtypes.hal90 * <p>The version of buffer management API this camera device supports and opts into.</p>