Home
last modified time | relevance | path

Searched refs:option (Results 1 – 25 of 61) sorted by relevance

123

/hardware/libhardware/modules/camera/3_4/metadata/
Dslider_control_options.h46 virtual bool IsSupported(const T& option) override { in IsSupported() argument
47 return option >= min_ && option <= max_; in IsSupported()
Dmenu_control_options.h41 virtual bool IsSupported(const T& option) override { in IsSupported() argument
42 return (std::find(options_.begin(), options_.end(), option) != in IsSupported()
Dmenu_control_options_test.cpp52 for (auto option : options_) { in TEST_F() local
53 EXPECT_TRUE(dut_->IsSupported(option)); in TEST_F()
Dcontrol_options_interface.h35 virtual bool IsSupported(const T& option);
/hardware/interfaces/gnss/common/utils/default/include/v2_1/
DGnssTemplate.h690 std::string option = options[i]; in setLocation() local
691 if (option.rfind("lat=", 0) == 0) { in setLocation()
692 option = option.substr(4); in setLocation()
693 lat = stof(option); in setLocation()
694 } else if (option.rfind("lon=", 0) == 0) { in setLocation()
695 option = option.substr(4); in setLocation()
696 lon = stof(option); in setLocation()
697 } else if (option.rfind("ele=", 0) == 0) { in setLocation()
698 option = option.substr(4); in setLocation()
699 ele = stof(option); in setLocation()
[all …]
/hardware/interfaces/automotive/audiocontrol/2.0/default/
DAudioControl.cpp108 std::string option = options[0]; in cmdDump() local
109 if (EqualsIgnoreCase(option, "--help")) { in cmdDump()
111 } else if (EqualsIgnoreCase(option, "--request")) { in cmdDump()
113 } else if (EqualsIgnoreCase(option, "--abandon")) { in cmdDump()
116 dprintf(fd, "Invalid option: %s\n", option.c_str()); in cmdDump()
/hardware/google/camera/common/profiler/
Dprofiler.h148 static std::shared_ptr<Profiler> Create(int option);
239 ScopedProfiler(const std::string target, int option) in ScopedProfiler() argument
241 profiler_ = Profiler::Create(option); in ScopedProfiler()
/hardware/interfaces/automotive/audiocontrol/aidl/default/
DAudioControl.cpp155 string option = string(args[0]); in dump() local
156 if (EqualsIgnoreCase(option, "--help")) { in dump()
158 } else if (EqualsIgnoreCase(option, "--request")) { in dump()
160 } else if (EqualsIgnoreCase(option, "--abandon")) { in dump()
163 dprintf(fd, "Invalid option: %s\n", option.c_str()); in dump()
/hardware/samsung/nfc/halimpl/src/
Dhal_nci.cc185 int option = SET_SLEEP_TIME_ONCE; in nfc_hal_prehandler() local
190 if (NCI_LEN(pkt) > 2) option = NCI_PAYLOAD(pkt)[2]; in nfc_hal_prehandler()
192 setSleepTimeout(option, timeout); in nfc_hal_prehandler()
Dhal.cc318 void setSleepTimeout(int option, uint32_t timeout) { in setSleepTimeout() argument
322 if (option == SET_SLEEP_TIME_CFG) { in setSleepTimeout()
326 } else if (option == SET_SLEEP_TIME_ONCE) { in setSleepTimeout()
329 } else if (option == SET_SLEEP_TIME_FORCE) in setSleepTimeout()
332 ALOGE("Unknown option: %d", option); in setSleepTimeout()
Dutil.cc89 const char* field, int* data, int option) { in __get_config_int() argument
132 if (((*p == '0') && (*(p + 1) == 'x')) || option == HAL_UTIL_GET_INT_16) in __get_config_int()
/hardware/google/camera/common/hal/google_camera_hal/
Dcamera_device.cc309 uint32_t camera_id, int option) { in GetProfiler() argument
310 if (option & google::camera_common::Profiler::SetPropFlag::kCustomProfiler) { in GetProfiler()
311 return camera_device_hwl_->GetProfiler(camera_id, option); in GetProfiler()
Dcamera_device.h87 int option);
/hardware/nxp/nfc/snxxx/halimpl/hal/
DphNxpNciHal_IoctlOperations.cc702 long option; in phNxpNciHal_CheckFwRegFlashRequired() local
710 if (!GetNxpNumValue(NAME_NXP_FLASH_CONFIG, &option, in phNxpNciHal_CheckFwRegFlashRequired()
713 option = 1; in phNxpNciHal_CheckFwRegFlashRequired()
715 switch (option) { in phNxpNciHal_CheckFwRegFlashRequired()
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/1.0/generic/
DGenericOperation.h37 inline bool hasOption(UIOption option, const hidl_vec<UIOption>& uiOptions) { in hasOption() argument
39 if (o == option) return true; in hasOption()
/hardware/interfaces/wifi/hostapd/1.1/
DIHostapd.hal47 * This option can be used to specify the channels selected by ACS.
51 * Note: this option is ignored if ACS is disabled.
/hardware/google/camera/common/hal/tests/
Dmock_device_session_hwl.h106 uint32_t camera_id, int option) override;
201 uint32_t camera_id, int option));
/hardware/interfaces/tv/cec/1.0/vts/functional/
DREADME.md30 Note : atest internally handles building as well. To update the test use '-c' (clear cache) option
/hardware/google/pixel/misc_writer/
Dmisc_writer_main.cpp53 constexpr struct option OPTIONS[] = { in main()
/hardware/interfaces/tests/extension/vibrator/aidl/client/
DAndroid.bp17 // system code has the option to use the unstable C++ libbinder API
/hardware/google/pixel/pwrstats_util/
Dpwrstatsutil.proto18 option java_package = "com.google.android.pwrstatsutil";
/hardware/interfaces/wifi/supplicant/1.2/
DISupplicantStaNetwork.hal201 * Supported option:
242 * @param saePassword string with the above option
257 * @param sae_password_id string with the above option
/hardware/qcom/audio/hal/audio_extn/
Dcirrus_playback.c214 uint32_t option = 1; in audio_extn_cirrus_run_calibration() local
252 header.data_length = sizeof(option); in audio_extn_cirrus_run_calibration()
253 header.data = &option; in audio_extn_cirrus_run_calibration()
266 header.data_length = sizeof(option); in audio_extn_cirrus_run_calibration()
267 header.data = &option; in audio_extn_cirrus_run_calibration()
/hardware/interfaces/gnss/1.0/
DIGnssBatchingCallback.hal23 * a flush request, as well as the buffer becoming full (if appropriate option
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_socket.c557 int option; in tunning_server_socket_listen() local
582 option = 1; in tunning_server_socket_listen()
584 &option, sizeof(option)); in tunning_server_socket_listen()

123