Home
last modified time | relevance | path

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

12345678910

/hardware/google/aemu/host-common/include/host-common/
DMultiDisplay.h36 uint32_t flag; member
40 pos_x(0), pos_y(0), width(0), height(0), dpi(0), flag(0), cb(0), enabled(true) {} in MultiDisplayInfo()
43 pos_x(x), pos_y(y), width(w), height(h), dpi(d), flag(f), enabled(e), cb(c) {} in pos_x()
73 uint32_t flag,
81 uint32_t* flag, in getMultiDisplay() argument
83 return getMultiDisplay(id, x, y, width, height, dpi, flag, nullptr, enabled); in getMultiDisplay()
92 uint32_t* flag,
95 uint32_t dpi, uint32_t flag);
105 uint32_t flag);
146 uint32_t* flag,
Dmulti_display_agent.h32 uint32_t flag,
40 uint32_t* flag,
49 uint32_t* flag,
54 uint32_t dpi, uint32_t flag);
/hardware/interfaces/radio/1.6/vts/functional/
Dvts_test_util_v1_6.cpp25 std::vector<::android::hardware::radio::V1_6::RadioError> errors, CheckFlag flag) { in CheckAnyOfErrors() argument
33 if (flag == CHECK_GENERAL_ERROR || flag == CHECK_OEM_AND_GENERAL_ERROR) { in CheckAnyOfErrors()
40 if (flag == CHECK_OEM_ERROR || flag == CHECK_OEM_AND_GENERAL_ERROR) { in CheckAnyOfErrors()
/hardware/interfaces/automotive/can/1.0/default/libnl++/protocols/
Dstructs.cpp32 for (const auto& [flag, name] : flags) { in flagsToStream()
33 if ((val & flag) != flag) continue; in flagsToStream()
34 val &= ~flag; in flagsToStream()
/hardware/samsung/nfc/halimpl/src/
Dhal_task.cc53 nfc_hal_info.flag &= ~HAL_FLAG_PROP_ONE_TIMER; in hal_sleep()
62 if (nfc_hal_info.flag & HAL_FLAG_MASK_USING_TIMER) return; in hal_update_sleep_timer()
64 if (nfc_hal_info.flag & HAL_FLAG_PROP_ONE_TIMER) in hal_update_sleep_timer()
137 if (nfc_hal_info.flag & HAL_FLAG_ALREADY_RESET) goto complete; in nfc_hal_postinit_sm()
139 nfc_hal_info.flag |= HAL_FLAG_W4_CORE_RESET_RSP; in nfc_hal_postinit_sm()
142 OSI_logd("set flag to 0x%06X", nfc_hal_info.flag); in nfc_hal_postinit_sm()
145 if (nfc_hal_info.flag & HAL_FLAG_ALREADY_INIT) goto complete; in nfc_hal_postinit_sm()
147 nfc_hal_info.flag |= HAL_FLAG_W4_CORE_INIT_RSP; in nfc_hal_postinit_sm()
150 OSI_logd("set flag to 0x%06X", nfc_hal_info.flag); in nfc_hal_postinit_sm()
161 nfc_hal_info.flag &= ~HAL_FLAG_W4_CORE_RESET_RSP; in nfc_hal_postinit_sm()
[all …]
/hardware/google/aemu/host-common/testing/
DMockAndroidMultiDisplayAgent.cpp30 uint32_t flag,
40 uint32_t* flag,
51 uint32_t* flag,
82 if (flag) { in __anon20a3b1400302()
83 *flag = i->second.flag; in __anon20a3b1400302()
100 uint32_t flag) -> bool { in __anon20a3b1400602()
/hardware/google/aemu/host-common/
DMultiDisplayPipe.cpp50 uint32_t w, h, dpi, flag, id; in onMessage() local
54 &w, &h, &dpi, &flag, nullptr)) { in onMessage()
61 fillData(buf, id, w, h, dpi, flag, true); in onMessage()
63 << " height " << h << " dpi " << dpi << " flag " << flag; in onMessage()
86 uint32_t dpi, uint32_t flag, bool add) { in fillData() argument
87 uint32_t input[] = {id, w, h, dpi, flag}; in fillData()
DMultiDisplay.cpp69 uint32_t flag, in setMultiDisplay() argument
75 << dpi << " " << flag << " " << (add? "add":"del"); in setMultiDisplay()
90 if (add && !multiDisplayParamValidate(id, w, h, dpi, flag)) { in setMultiDisplay()
143 pipe->fillData(data, id, w, h, dpi, flag, add); in setMultiDisplay()
146 << " flag " << flag; in setMultiDisplay()
158 uint32_t* flag, in getMultiDisplay() argument
183 if (flag) { in getMultiDisplay()
184 *flag = mMultiDisplay[id].flag; in getMultiDisplay()
194 << " flag " << mMultiDisplay[id].flag in getMultiDisplay()
206 uint32_t* flag, in getNextMultiDisplay() argument
[all …]
/hardware/interfaces/audio/core/all-versions/default/util/
DCoreUtils.cpp400 audio_input_flags_t flag = static_cast<audio_input_flags_t>(1u << bit); in audioInputFlagsFromHal() local
401 if ((flag & halFlagMask) == flag) { in audioInputFlagsFromHal()
402 AudioInOutFlag flagStr = audio_input_flag_to_string(flag); in audioInputFlagsFromHal()
406 ALOGE("Unknown audio input flag value 0x%X", flag); in audioInputFlagsFromHal()
409 halFlagMask = static_cast<audio_input_flags_t>(halFlagMask & ~flag); in audioInputFlagsFromHal()
420 for (const auto& flag : flags) { in audioInputFlagsToHal() local
422 if (!xsd::isUnknownAudioInOutFlag(flag) && in audioInputFlagsToHal()
423 audio_input_flag_from_string(flag.c_str(), &halFlag)) { in audioInputFlagsToHal()
426 ALOGE("Unknown audio input flag \"%s\"", flag.c_str()); in audioInputFlagsToHal()
438 audio_output_flags_t flag = static_cast<audio_output_flags_t>(1u << bit); in audioOutputFlagsFromHal() local
[all …]
/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/interfaces/audio/aidl/default/include/effect-impl/
DEffectThread.h86 void operator()(::android::hardware::EventFlag* flag) const { in operator()
87 if (flag) { in operator()
88 ::android::hardware::EventFlag::deleteEventFlag(&flag); in operator()
/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/radio/1.0/vts/functional/
Dvts_test_util.cpp29 CheckFlag flag) { in CheckAnyOfErrors() argument
34 if (flag == CHECK_GENERAL_ERROR || flag == CHECK_OEM_AND_GENERAL_ERROR) { in CheckAnyOfErrors()
41 if (flag == CHECK_OEM_ERROR || flag == CHECK_OEM_AND_GENERAL_ERROR) { in CheckAnyOfErrors()
/hardware/google/graphics/common/libhwjpeg/include/
Dexynos-hwjpeg.h532 void SetFlag(unsigned int flag) { m_uiHWConfigFlags |= flag; } in SetFlag() argument
533 void ClearFlag(unsigned int flag) { m_uiHWConfigFlags &= ~flag; } in ClearFlag() argument
534 bool TestFlag(unsigned int flag) { return (m_uiHWConfigFlags & flag) == flag; } in TestFlag() argument
535 bool TestFlagEither(unsigned int flag) { return !!(m_uiHWConfigFlags & flag); } in TestFlagEither() argument
/hardware/nxp/nfc/snxxx/halimpl/hal/
DphNxpNciHal_ULPDet.cc61 void phNxpNciHal_setULPDetFlag(bool flag) { in phNxpNciHal_setULPDetFlag() argument
62 nxpncihal_ctrl.isUlpdetModeEnabled = flag; in phNxpNciHal_setULPDetFlag()
64 RefreshNfccPowerState state = (flag) ? ULPDET_ON : ULPDET_OFF; in phNxpNciHal_setULPDetFlag()
/hardware/google/pixel/common/
Dinit.pixel.rc6 # Set dark boot flag when the device is provisioned.
10 # Set or clear the warm reset flag upon the change of system property. The flag itself is set
/hardware/interfaces/usb/gadget/1.1/default/lib/
DMonitorFfs.cpp177 uint64_t flag; in startMonitorFd() local
178 read(monitorFfs->mEventFd, &flag, sizeof(flag)); in startMonitorFd()
179 if (flag == 100) { in startMonitorFd()
191 uint64_t flag = 100; in reset() local
196 ret = TEMP_FAILURE_RETRY(write(mEventFd, &flag, sizeof(flag))); in reset()
/hardware/interfaces/usb/gadget/1.2/default/lib/
DMonitorFfs.cpp177 uint64_t flag; in startMonitorFd() local
178 read(monitorFfs->mEventFd, &flag, sizeof(flag)); in startMonitorFd()
179 if (flag == 100) { in startMonitorFd()
191 uint64_t flag = 100; in reset() local
196 ret = TEMP_FAILURE_RETRY(write(mEventFd, &flag, sizeof(flag))); in reset()
/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/audio/aidl/common/include/
DUtils.h157 constexpr U makeBitPositionFlagMask(E flag) { in makeBitPositionFlagMask() argument
158 return 1 << static_cast<U>(flag); in makeBitPositionFlagMask()
163 constexpr bool isBitPositionFlagSet(U mask, E flag) { in isBitPositionFlagSet() argument
164 return (mask & makeBitPositionFlagMask(flag)) != 0; in isBitPositionFlagSet()
171 for (const auto flag : flags) { in makeBitPositionFlagMask() local
172 result |= makeBitPositionFlagMask(flag); in makeBitPositionFlagMask()
/hardware/google/pixel/usb/
DMonitorFfs.cpp219 uint64_t flag; in startMonitorFd() local
220 read(monitorFfs->mEventFd, &flag, sizeof(flag)); in startMonitorFd()
221 if (flag == 100) { in startMonitorFd()
233 uint64_t flag = 100; in reset() local
238 ret = TEMP_FAILURE_RETRY(write(mEventFd, &flag, sizeof(flag))); in reset()
/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/google/graphics/common/libscaler/
Dlibscaler-v4l2.h176 inline void SetFlag(unsigned long &flags, unsigned long flag) { in SetFlag() argument
177 flags |= (1 << flag); in SetFlag()
180 inline void ClearFlag(unsigned long &flags, unsigned long flag) { in ClearFlag() argument
181 flags &= ~(1 << flag); in ClearFlag()
184 inline bool TestFlag(unsigned long &flags, unsigned long flag) { in TestFlag() argument
185 return (flags & (1 << flag)) != 0; in TestFlag()
/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/sm8150/media/mm-video-v4l2/vidc/vdec/inc/
Dts_parser.h69 void set_timestamp_reorder_mode(bool flag);
70 void enable_debug_print(bool flag);

12345678910