Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 470) sorted by relevance

12345678910>>...19

/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DDefaultVehicleHalServer.cpp231 const std::vector<std::string>& options) { in onDump() argument
233 if (options.size() == 0) { in onDump()
245 if (options[0] != "--debughal") { in onDump()
252 return debugCommand(options); in onDump()
256 const std::vector<std::string>& options) { in debugCommand() argument
261 if (options.size() < 2) { in debugCommand()
267 std::string command = options[1]; in debugCommand()
272 return genFakeDataCommand(options); in debugCommand()
274 return setValueCommand(options); in debugCommand()
309 const std::vector<std::string>& options) { in genFakeDataCommand() argument
[all …]
DDefaultVehicleHalServer.h51 DumpResult onDump(const std::vector<std::string>& options) override;
76 DumpResult debugCommand(const std::vector<std::string>& options);
87 DumpResult genFakeDataCommand(const std::vector<std::string>& options);
90 DumpResult setValueCommand(const std::vector<std::string>& options);
/hardware/google/gfxstream/guest/mesa/src/util/tests/
Dxmlconfig.cpp38 driOptionCache options; member in xmlconfig_test
56 options = {}; in xmlconfig_test()
61 driDestroyOptionInfo(&options); in ~xmlconfig_test()
74 driParseOptionInfo(&options, driconf, ARRAY_SIZE(driconf)); in TEST_F()
76 EXPECT_EQ(driQueryOptionb(&options, "glsl_zero_init"), false); in TEST_F()
77 EXPECT_EQ(driQueryOptionb(&options, "always_have_depth_buffer"), true); in TEST_F()
86 driParseOptionInfo(&options, driconf, ARRAY_SIZE(driconf)); in TEST_F()
88 EXPECT_EQ(driQueryOptioni(&options, "opt"), 2); in TEST_F()
97 driParseOptionInfo(&options, driconf, ARRAY_SIZE(driconf)); in TEST_F()
99 EXPECT_EQ(driQueryOptionf(&options, "opt"), 2.0); in TEST_F()
[all …]
/hardware/interfaces/automotive/audiocontrol/2.0/default/
DAudioControl.cpp92 Return<void> AudioControl::debug(const hidl_handle& fd, const hidl_vec<hidl_string>& options) { in debug() argument
98 cmdDump(fd->data[0], options); in debug()
102 void AudioControl::cmdDump(int fd, const hidl_vec<hidl_string>& options) { in cmdDump() argument
103 if (options.size() == 0) { in cmdDump()
108 std::string option = options[0]; in cmdDump()
112 cmdRequestFocus(fd, options); in cmdDump()
114 cmdAbandonFocus(fd, options); in cmdDump()
140 void AudioControl::cmdRequestFocus(int fd, const hidl_vec<hidl_string>& options) { in cmdRequestFocus() argument
141 if (!checkCallerHasWritePermissions(fd) || !checkArgumentsSize(fd, options, 3)) return; in cmdRequestFocus()
144 if (!safelyParseInt(options[1], &usage)) { in cmdRequestFocus()
[all …]
DAudioControl.h38 Return<void> debug(const hidl_handle& fd, const hidl_vec<hidl_string>& options) override;
46 static bool checkArgumentsSize(int fd, const hidl_vec<hidl_string>& options, size_t minSize);
51 void cmdDump(int fd, const hidl_vec<hidl_string>& options);
53 void cmdRequestFocus(int fd, const hidl_vec<hidl_string>& options);
54 void cmdAbandonFocus(int fd, const hidl_vec<hidl_string>& options);
/hardware/interfaces/
Dupdate-base-files.sh17 options="-Lexport-header \
22 hidl-gen $options \
25 hidl-gen $options \
28 hidl-gen $options \
33 hidl-gen $options \
36 hidl-gen $options \
39 hidl-gen $options \
44 hidl-gen $options \
47 hidl-gen $options \
50 hidl-gen $options \
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/
Dkatex.js407 function Settings(options) {
422 options = options || {};
423 this.displayMode = utils.deflt(options.displayMode, false);
424 this.output = utils.deflt(options.output, "htmlAndMathml");
425 this.leqno = utils.deflt(options.leqno, false);
426 this.fleqn = utils.deflt(options.fleqn, false);
427 this.throwOnError = utils.deflt(options.throwOnError, true);
428 this.errorColor = utils.deflt(options.errorColor, "#cc0000");
429 this.macros = options.macros || {};
430 this.minRuleThickness = Math.max(0, utils.deflt(options.minRuleThickness, 0));
[all …]
/hardware/interfaces/gnss/aidl/default/
DGnssBatching.cpp55 ndk::ScopedAStatus GnssBatching::start(const Options& options) { in start() argument
56 ALOGD("start: periodNanos=%" PRId64 ", minDistanceMeters=%f, flags=%d", options.periodNanos, in start()
57 options.minDistanceMeters, options.flags); in start()
64 long periodNanos = (options.periodNanos < 1e9) ? 1e9 : options.periodNanos; in start()
66 mWakeUpOnFifoFull = (options.flags & IGnssBatching::WAKEUP_ON_FIFO_FULL) ? true : false; in start()
67 mMinDistanceMeters = options.minDistanceMeters; in start()
DGnssMeasurementInterface.cpp66 const std::shared_ptr<IGnssMeasurementCallback>& callback, const Options& options) { in setCallbackWithOptions() argument
68 (int)options.enableFullTracking, (int)options.enableCorrVecOutputs, options.intervalMs); in setCallbackWithOptions()
78 mIntervalMs = std::max(options.intervalMs, 1000); in setCallbackWithOptions()
80 start(options.enableCorrVecOutputs, options.enableFullTracking); in setCallbackWithOptions()
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleHalManager.cpp153 const hidl_vec<SubscribeOptions> &options) { in subscribe() argument
154 hidl_vec<SubscribeOptions> verifiedOptions(options); in subscribe()
207 Return<void> VehicleHalManager::debug(const hidl_handle& fd, const hidl_vec<hidl_string>& options) { in debug() argument
213 bool shouldContinue = mHal->dump(fd, options); in debug()
220 cmdDump(fd->data[0], options); in debug()
224 void VehicleHalManager::cmdDump(int fd, const hidl_vec<hidl_string>& options) { in cmdDump() argument
225 if (options.size() == 0) { in cmdDump()
229 std::string option = options[0]; in cmdDump()
235 cmdDumpSpecificProperties(fd, options); in cmdDump()
242 cmdSetOneProperty(fd, options); in cmdDump()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/common/include/vhal_v2_0/
DVehicleHalManager.h71 const hidl_vec<SubscribeOptions>& options) override;
76 Return<void> debug(const hidl_handle& fd, const hidl_vec<hidl_string>& options) override;
107 void cmdDump(int fd, const hidl_vec<hidl_string>& options);
111 bool cmdSetOneProperty(int fd, const hidl_vec<hidl_string>& options);
113 static bool checkArgumentsSize(int fd, const hidl_vec<hidl_string>& options, size_t minSize);
124 void cmdDumpSpecificProperties(int fd, const hidl_vec<hidl_string>& options);
135 static bool parseSetPropOptions(int fd, const hidl_vec<hidl_string>& options,
140 static std::vector<std::string> getOptionValues(const hidl_vec<hidl_string>& options,
/hardware/interfaces/automotive/vehicle/aidl/impl/vhal/test/
DSubscriptionManagerTest.cpp130 std::vector<SubscribeOptions> options = {{ in TEST_F() local
136 auto result = getManager()->subscribe(getCallbackClient(), options, true); in TEST_F()
151 std::vector<SubscribeOptions> options = {{ in TEST_F() local
162 auto result = getManager()->subscribe(getCallbackClient(), options, true); in TEST_F()
185 std::vector<SubscribeOptions> options = {{ in TEST_F() local
191 auto result = getManager()->subscribe(getCallbackClient(), options, true); in TEST_F()
195 options[0].sampleRate = 10.0; in TEST_F()
196 result = getManager()->subscribe(getCallbackClient(), options, true); in TEST_F()
207 std::vector<SubscribeOptions> options = { in TEST_F() local
215 auto result = getManager()->subscribe(getCallbackClient(), options, true); in TEST_F()
[all …]
/hardware/libhardware/modules/camera/3_4/metadata/
Dmenu_control_options.h33 MenuControlOptions(std::vector<T> options, in MenuControlOptions() argument
35 : options_(options), defaults_(defaults){}; in MenuControlOptions()
36 MenuControlOptions(std::vector<T> options, std::map<int, T> defaults) in MenuControlOptions() argument
37 : options_(options), in MenuControlOptions()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/htmldiff/
Dhtmldiff43 options = dict(tidy_mark=0,show_warnings=0,quiet=1,char_encoding='utf8')
61 options.update(html5_options)
62 newtidy = tidy.parseString(ifp.read(), **options)
66 options.update(html5_options)
67 newtidy = tidy.parseString(ifp.read(), **options)
/hardware/qcom/gps/msm8998/android/location_api/
DFlpAPIClient.cpp93 LocationOptions options; in flpStartSession() local
94 convertBatchOption(opts, options, mLocationCapabilitiesMask); in flpStartSession()
99 if (locAPIStartSession(mDefaultId, mode, options) == LOCATION_ERROR_SUCCESS) { in flpStartSession()
110 LocationOptions options; in flpUpdateSessionOptions() local
111 convertBatchOption(opts, options, mLocationCapabilitiesMask); in flpUpdateSessionOptions()
117 if (locAPIUpdateSessionOptions(mDefaultId, mode, options) == LOCATION_ERROR_SUCCESS) { in flpUpdateSessionOptions()
/hardware/qcom/gps/msm8998/location/
Dlocation_interface.h41 uint32_t (*startTracking)(LocationAPI* client, LocationOptions& options);
42 void (*updateTrackingOptions)(LocationAPI* client, uint32_t id, LocationOptions& options);
66 uint32_t (*startTracking)(LocationAPI* client, LocationOptions& options);
67 void (*updateTrackingOptions)(LocationAPI* client, uint32_t id, LocationOptions& options);
86 GeofenceOption* options);
/hardware/qcom/sm8150p/gps/geofence/
Dlocation_geofence.cpp44 GeofenceOption* options);
108 GeofenceOption* options, GeofenceInfo* info) in addGeofences() argument
111 return gGeofenceAdapter->addGeofencesCommand(client, count, options, info); in addGeofences()
125 GeofenceOption* options) in modifyGeofences() argument
128 return gGeofenceAdapter->modifyGeofencesCommand(client, count, ids, options); in modifyGeofences()
/hardware/qcom/sm7150/gps/geofence/
Dlocation_geofence.cpp44 GeofenceOption* options);
108 GeofenceOption* options, GeofenceInfo* info) in addGeofences() argument
111 return gGeofenceAdapter->addGeofencesCommand(client, count, options, info); in addGeofences()
125 GeofenceOption* options) in modifyGeofences() argument
128 return gGeofenceAdapter->modifyGeofencesCommand(client, count, ids, options); in modifyGeofences()
/hardware/qcom/sm7250/gps/geofence/
Dlocation_geofence.cpp44 GeofenceOption* options);
108 GeofenceOption* options, GeofenceInfo* info) in addGeofences() argument
111 return gGeofenceAdapter->addGeofencesCommand(client, count, options, info); in addGeofences()
125 GeofenceOption* options) in modifyGeofences() argument
128 return gGeofenceAdapter->modifyGeofencesCommand(client, count, ids, options); in modifyGeofences()
/hardware/qcom/sm8150/gps/geofence/
Dlocation_geofence.cpp44 GeofenceOption* options);
108 GeofenceOption* options, GeofenceInfo* info) in addGeofences() argument
111 return gGeofenceAdapter->addGeofencesCommand(client, count, options, info); in addGeofences()
125 GeofenceOption* options) in modifyGeofences() argument
128 return gGeofenceAdapter->modifyGeofencesCommand(client, count, ids, options); in modifyGeofences()
/hardware/qcom/gps/msm8909w_3100/android/location_api/
DBatchingAPIClient.cpp98 LocationOptions options; in startSession() local
99 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
104 if (locAPIStartSession(mDefaultId, mode, options) == LOCATION_ERROR_SUCCESS) { in startSession()
115 LocationOptions options; in updateSessionOptions() local
116 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
122 if (locAPIUpdateSessionOptions(mDefaultId, mode, options) == LOCATION_ERROR_SUCCESS) { in updateSessionOptions()
/hardware/qcom/gps/msm8909w_3100/location/
Dlocation_interface.h42 uint32_t (*startTracking)(LocationAPI* client, LocationOptions& options);
43 void (*updateTrackingOptions)(LocationAPI* client, uint32_t id, LocationOptions& options);
68 uint32_t (*startTracking)(LocationAPI* client, LocationOptions& options);
69 void (*updateTrackingOptions)(LocationAPI* client, uint32_t id, LocationOptions& options);
89 GeofenceOption* options);
/hardware/qcom/sm8150p/gps/android/1.1/location_api/
DBatchingAPIClient.cpp102 LocationOptions options; in startSession() local
103 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
108 if (locAPIStartSession(mDefaultId, mode, options) == LOCATION_ERROR_SUCCESS) { in startSession()
119 LocationOptions options; in updateSessionOptions() local
120 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
126 if (locAPIUpdateSessionOptions(mDefaultId, mode, options) == LOCATION_ERROR_SUCCESS) { in updateSessionOptions()
/hardware/qcom/sm8150/gps/android/1.0/location_api/
DBatchingAPIClient.cpp103 LocationOptions options; in startSession() local
104 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
109 if (locAPIStartSession(mDefaultId, mode, options) == LOCATION_ERROR_SUCCESS) { in startSession()
120 LocationOptions options; in updateSessionOptions() local
121 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
127 if (locAPIUpdateSessionOptions(mDefaultId, mode, options) == LOCATION_ERROR_SUCCESS) { in updateSessionOptions()
/hardware/qcom/sm7250/gps/android/1.1/location_api/
DBatchingAPIClient.cpp103 LocationOptions options; in startSession() local
104 convertBatchOption(opts, options, mLocationCapabilitiesMask); in startSession()
109 if (locAPIStartSession(mDefaultId, mode, options) == LOCATION_ERROR_SUCCESS) { in startSession()
120 LocationOptions options; in updateSessionOptions() local
121 convertBatchOption(opts, options, mLocationCapabilitiesMask); in updateSessionOptions()
127 if (locAPIUpdateSessionOptions(mDefaultId, mode, options) == LOCATION_ERROR_SUCCESS) { in updateSessionOptions()

12345678910>>...19