Home
last modified time | relevance | path

Searched refs:flag (Results 1 – 25 of 144) sorted by relevance

123456

/hardware/interfaces/radio/1.0/vts/functional/
Dvts_test_util.cpp24 CheckFlag flag) { in CheckAnyOfErrors() argument
29 if (flag == CHECK_GENERAL_ERROR || flag == CHECK_OEM_AND_GENERAL_ERROR) { in CheckAnyOfErrors()
36 if (flag == CHECK_OEM_ERROR || flag == CHECK_OEM_AND_GENERAL_ERROR) { in CheckAnyOfErrors()
Dvts_test_util.h45 CheckFlag flag = CHECK_DEFAULT);
/hardware/interfaces/neuralnetworks/
DTEST_MAPPING7 …"native-test-flag": "--hal_service_instance=android.hardware.neuralnetworks@1.0::IDevice/sample-al…
15 …"native-test-flag": "--hal_service_instance=android.hardware.neuralnetworks@1.1::IDevice/sample-al…
23 …"native-test-flag": "--hal_service_instance=android.hardware.neuralnetworks@1.2::IDevice/sample-al…
/hardware/interfaces/oemlock/1.0/
DIOemLock.hal44 * @param allowed is the new value of the flag.
47 * @return status is OK if the flag was successfully updated,
57 * @return status is OK if the flag was successfully read.
58 * @return allowed is the current state of the flag.
65 * @param allowed is the new value of the flag.
66 * @return status is OK if the flag was successfully updated.
73 * @return status is OK if the flag was successfully read.
74 * @return allowed is the current state of the flag.
/hardware/google/pixel/usb/
DMonitorFfs.cpp201 uint64_t flag; in startMonitorFd() local
202 read(monitorFfs->mEventFd, &flag, sizeof(flag)); in startMonitorFd()
203 if (flag == 100) { in startMonitorFd()
215 uint64_t flag = 100; in reset() local
220 ret = TEMP_FAILURE_RETRY(write(mEventFd, &flag, sizeof(flag))); in reset()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/common/
Dtestsupport.h41 void DataLogger (const unsigned long flag);
42 void DataLoggerSelector (const unsigned long flag);
/hardware/interfaces/broadcastradio/2.0/
DITunerSession.hal113 * Fetches the current setting of a given config flag.
117 * @param flag Flag to fetch.
118 * @return result OK successfully fetched the flag.
119 * INVALID_STATE if the flag is not applicable right now.
120 * NOT_SUPPORTED if the flag is not supported at all.
121 * @return value The current value of the flag, if result is OK.
123 isConfigFlagSet(ConfigFlag flag) generates (Result result, bool value);
126 * Sets the config flag.
130 * @param flag Flag to set.
131 * @param value The new value of a given flag.
[all …]
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/inc/
Dts_parser.h52 void set_timestamp_reorder_mode(bool flag);
53 void enable_debug_print(bool flag);
/hardware/interfaces/broadcastradio/2.0/vts/functional/
DVtsHalBroadcastradioV2_0TargetTest.cpp669 for (auto flag : gConfigFlagValues) { in TEST_F() local
672 auto hidlResult = mSession->isConfigFlagSet(flag, cb); in TEST_F()
680 auto setResult = mSession->setConfigFlag(flag, false); in TEST_F()
682 setResult = mSession->setConfigFlag(flag, true); in TEST_F()
697 auto get = [&](ConfigFlag flag) { in TEST_F() argument
704 auto hidlResult = mSession->isConfigFlagSet(flag, cb); in TEST_F()
710 for (auto flag : gConfigFlagValues) { in TEST_F() local
711 auto result = mSession->setConfigFlag(flag, false); in TEST_F()
714 auto secondResult = mSession->setConfigFlag(flag, true); in TEST_F()
721 auto value = get(flag); in TEST_F()
[all …]
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h69 void set_timestamp_reorder_mode(bool flag);
70 void enable_debug_print(bool flag);
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h69 void set_timestamp_reorder_mode(bool flag);
70 void enable_debug_print(bool flag);
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h68 void set_timestamp_reorder_mode(bool flag);
69 void enable_debug_print(bool flag);
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h69 void set_timestamp_reorder_mode(bool flag);
70 void enable_debug_print(bool flag);
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_queue.c69 int flag = 1; in mm_qcamera_queue_isempty() local
72 flag = 0; in mm_qcamera_queue_isempty()
76 return flag; in mm_qcamera_queue_isempty()
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_vendor_module_api.h96 void setInstalled(bool flag) {installed = flag;} in setInstalled() argument
/hardware/interfaces/broadcastradio/2.0/default/
DTunerSession.h45 virtual Return<void> isConfigFlagSet(ConfigFlag flag, isConfigFlagSet_cb _hidl_cb);
46 virtual Return<Result> setConfigFlag(ConfigFlag flag, bool value);
DTunerSession.cpp264 Return<void> TunerSession::isConfigFlagSet(ConfigFlag flag, isConfigFlagSet_cb _hidl_cb) { in isConfigFlagSet() argument
265 LOG(VERBOSE) << __func__ << " " << toString(flag); in isConfigFlagSet()
271 Return<Result> TunerSession::setConfigFlag(ConfigFlag flag, bool value) { in setConfigFlag() argument
272 LOG(VERBOSE) << __func__ << " " << toString(flag) << " " << value; in setConfigFlag()
/hardware/qcom/audio/legacy/libalsa-intf/
Daplay.c475 unsigned flag = 0; in play_raw() local
489 flag = PCM_MMAP; in play_raw()
491 flag = PCM_NMMAP; in play_raw()
495 return play_file(rate, ch, fd, flag, device, 0); in play_raw()
502 unsigned flag = 0; in play_wav() local
551 flag = PCM_MMAP; in play_wav()
553 flag = PCM_NMMAP; in play_wav()
556 return play_file(hdr.sample_rate, hdr.num_channels, fd, flag, device, hdr.data_sz); in play_wav()
Darec.c390 unsigned flag = 0; in rec_raw() local
417 flag = PCM_MMAP; in rec_raw()
419 flag = PCM_NMMAP; in rec_raw()
421 return record_file(rate, ch, fd, count, flag, device); in rec_raw()
426 unsigned flag = 0; in rec_wav() local
478 flag = PCM_MMAP; in rec_wav()
480 flag = PCM_NMMAP; in rec_wav()
482 return record_file(hdr.sample_rate, hdr.num_channels, fd, count, flag, device); in rec_wav()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_LanToLan.cpp824 bool flag[IPA_HDR_L2_MAX]; in handle_wlan_scc_mcc_switch() local
831 memset(flag, 0, sizeof(flag)); in handle_wlan_scc_mcc_switch()
835 if(flag[peer_l2_hdr_type] == false) in handle_wlan_scc_mcc_switch()
837 flag[peer_l2_hdr_type] = true; in handle_wlan_scc_mcc_switch()
952 bool flag[IPA_HDR_L2_MAX]; in handle_client_add() local
977 memset(flag, 0, sizeof(flag)); in handle_client_add()
981 if(flag[it_peer_info->peer->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type] == false) in handle_client_add()
985 flag[it_peer_info->peer->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type] = true; in handle_client_add()
1017 bool flag[IPA_HDR_L2_MAX]; in handle_client_del() local
1033 memset(flag, 0, sizeof(flag)); in handle_client_del()
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_LanToLan.cpp1449 bool flag[IPA_HDR_L2_MAX]; in handle_wlan_scc_mcc_switch() local
1456 memset(flag, 0, sizeof(flag)); in handle_wlan_scc_mcc_switch()
1460 if(flag[peer_l2_hdr_type] == false) in handle_wlan_scc_mcc_switch()
1462 flag[peer_l2_hdr_type] = true; in handle_wlan_scc_mcc_switch()
1577 bool flag[IPA_HDR_L2_MAX]; in handle_client_add() local
1606 memset(flag, 0, sizeof(flag)); in handle_client_add()
1610 if(flag[it_peer_info->peer->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type] == false) in handle_client_add()
1621 flag[it_peer_info->peer->get_iface_pointer()->tx_prop->tx[0].hdr_l2_type] = true; in handle_client_add()
1653 bool flag[IPA_HDR_L2_MAX]; in handle_client_del() local
1669 memset(flag, 0, sizeof(flag)); in handle_client_del()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraQueue.cpp125 bool flag = true; in isEmpty() local
128 flag = false; in isEmpty()
131 return flag; in isEmpty()
/hardware/libhardware/include/hardware/
Dhdmi_cec.h393 void (*set_option)(const struct hdmi_cec_device* dev, int flag, int value);
402 void (*set_audio_return_channel)(const struct hdmi_cec_device* dev, int port_id, int flag);
/hardware/qcom/sdm845/display/gralloc/
Dgr_device_impl.cpp786 int *flag = va_arg(args, int *); in Perform() local
792 if (!flag) { in Perform()
796 *flag = hnd->flags & private_handle_t::PRIV_FLAGS_UBWC_ALIGNED; in Perform()
800 *flag = 0; in Perform()
824 int *flag = va_arg(args, int *); in Perform() local
830 if (!flag) { in Perform()
834 if (getMetaData(hnd, GET_PP_PARAM_INTERLACED, flag) != 0) { in Perform()
835 *flag = 0; in Perform()
/hardware/qcom/audio/legacy/alsa_sound/
Dalsa_default.cpp73 static void s_enable_wide_voice(bool flag);
74 static void s_enable_fens(bool flag);
77 static void s_enable_slow_talk(bool flag);
1679 void s_enable_wide_voice(bool flag) in getUCMDevice()
1683 ALOGV("s_enable_wide_voice: flag %d", flag); in getUCMDevice()
1685 if(flag == true) { in getUCMDevice()
1696 err = csd_wide_voice(flag); in getUCMDevice()
1712 void s_enable_fens(bool flag) in getUCMDevice()
1716 ALOGV("s_enable_fens: flag %d", flag); in getUCMDevice()
1718 if(flag == true) { in getUCMDevice()
[all …]

123456