Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/hardware/interfaces/configstore/1.0/vts/functional/
DVtsHalConfigstoreV1_0TargetTest.cpp58 [&tmp](OptionalInt64 arg) { tmp = arg.specified; }); in TEST_P() argument
62 [&tmp](OptionalInt64 arg) { tmp = arg.specified; }); in TEST_P() argument
66 [&tmp](OptionalBool arg) { tmp = arg.specified; }); in TEST_P() argument
70 [&tmp](OptionalBool arg) { tmp = arg.specified; }); in TEST_P() argument
74 [&tmp](OptionalBool arg) { tmp = arg.specified; }); in TEST_P() argument
78 [&tmp](OptionalInt64 arg) { tmp = arg.specified; }); in TEST_P() argument
82 [&tmp](OptionalBool arg) { tmp = arg.specified; }); in TEST_P() argument
86 [&tmp](OptionalUInt64 arg) { tmp = arg.specified; }); in TEST_P() argument
90 [&tmp](OptionalBool arg) { tmp = arg.specified; }); in TEST_P() argument
94 [&tmp](OptionalBool arg) { tmp = arg.specified; }); in TEST_P() argument
[all …]
/hardware/interfaces/audio/aidl/common/
DEffectRangeSpecific.cpp30 auto func = [](const DynamicsProcessing::InputGain& arg) { in isInputGainConfigInRange() argument
31 return std::make_tuple(arg.channel, arg.gainDb); in isInputGainConfigInRange()
39 auto func = [](const DynamicsProcessing::LimiterConfig& arg) { in isLimiterConfigInRange() argument
40 return std::make_tuple(arg.channel, arg.enable, arg.linkGroup, arg.attackTimeMs, in isLimiterConfigInRange()
41 arg.releaseTimeMs, arg.ratio, arg.thresholdDb, arg.postGainDb); in isLimiterConfigInRange()
49 auto func = [](const DynamicsProcessing::MbcBandConfig& arg) { in isMbcBandConfigInRange() argument
50 return std::make_tuple(arg.channel, arg.band, arg.enable, arg.cutoffFrequencyHz, in isMbcBandConfigInRange()
51 arg.attackTimeMs, arg.releaseTimeMs, arg.ratio, arg.thresholdDb, in isMbcBandConfigInRange()
52 arg.kneeWidthDb, arg.noiseGateThresholdDb, arg.expanderRatio, in isMbcBandConfigInRange()
53 arg.preGainDb, arg.postGainDb); in isMbcBandConfigInRange()
[all …]
/hardware/google/pixel/vibrator/cs40l26/
DTrace.cpp57 std::ostream &operator<<(std::ostream &out, std::shared_ptr<IVibratorCallback> arg) { in operator <<() argument
58 return out << arg->descriptor << "()"; in operator <<()
61 std::ostream &operator<<(std::ostream &out, const ff_effect *arg) { in operator <<() argument
62 if (arg == nullptr) { in operator <<()
66 return out << StringPrintf("%p", arg).c_str(); in operator <<()
69 std::ostream &operator<<(std::ostream &out, const ff_effect &arg) { in operator <<() argument
71 out << "FF_PERIODIC, " << arg.id << ", " << arg.replay.length << "ms, " in operator <<()
72 << arg.u.periodic.custom_len << " bytes"; in operator <<()
77 std::ostream &operator<<(std::ostream &out, const CompositePrimitive &arg) { in operator <<() argument
78 return out << toString(arg).c_str(); in operator <<()
[all …]
DTrace.h145 std::ostream &operator<<(std::ostream &out, const std::vector<T> &arg) {
147 for (size_t i = 0; i < arg.size(); i++) {
148 out << arg[i];
149 if (i != arg.size() - 1) {
157 std::ostream &operator<<(std::ostream &out, const std::shared_ptr<IVibratorCallback> arg);
158 std::ostream &operator<<(std::ostream &out, const ff_effect *arg);
159 std::ostream &operator<<(std::ostream &out, const ff_effect &arg);
160 std::ostream &operator<<(std::ostream &out, const CompositePrimitive &arg);
161 std::ostream &operator<<(std::ostream &out, const Braking &arg);
162 std::ostream &operator<<(std::ostream &out, const PrimitivePwle &arg);
[all …]
/hardware/google/gfxstream/codegen/generic-apigen/
Dgetopt.c20 const char* arg = argv[optind]; in getopt() local
21 if (arg[0] != '-') { in getopt()
25 if (arg[1] == '-' && !arg[2]) { in getopt()
29 if (!arg[1]) { in getopt()
36 place = arg + 1; in getopt()
38 optopt = arg[1]; in getopt()
39 place = arg + 2; in getopt()
/hardware/nxp/secure_element/snxxx/libese-spi/p73/spm/
DphNxpEse_Spm.cpp95 ESESTATUS phNxpEse_SPM_ConfigPwr(spm_power_t arg) { in phNxpEse_SPM_ConfigPwr() argument
101 if (arg != SPM_RECOVERY_RESET) { in phNxpEse_SPM_ConfigPwr()
105 ret = phPalEse_ioctl(phPalEse_e_ChipRst, pEseDeviceHandle, arg); in phNxpEse_SPM_ConfigPwr()
106 switch (arg) { in phNxpEse_SPM_ConfigPwr()
212 ESESTATUS phNxpEse_SPM_SetPwrScheme(long arg) { in phNxpEse_SPM_SetPwrScheme() argument
216 NXP_LOG_ESE_D("%s : Power scheme is set to = 0x%ld", __FUNCTION__, arg); in phNxpEse_SPM_SetPwrScheme()
217 ret = phPalEse_ioctl(phPalEse_e_SetPowerScheme, pEseDeviceHandle, arg); in phNxpEse_SPM_SetPwrScheme()
235 ESESTATUS phNxpEse_SPM_DisablePwrControl(unsigned long arg) { in phNxpEse_SPM_DisablePwrControl() argument
240 arg); in phNxpEse_SPM_DisablePwrControl()
241 ret = phPalEse_ioctl(phPalEse_e_DisablePwrCntrl, pEseDeviceHandle, arg); in phNxpEse_SPM_DisablePwrControl()
[all …]
DphNxpEse_Spm.h82 ESESTATUS phNxpEse_SPM_ConfigPwr(spm_power_t arg);
101 ESESTATUS phNxpEse_SPM_SetState(long arg);
121 ESESTATUS phNxpEse_SPM_SetPwrScheme(long arg);
132 ESESTATUS phNxpEse_SPM_DisablePwrControl(unsigned long arg);
141 ESESTATUS phNxpEse_SPM_SetEseClientUpdateState(long arg);
151 ESESTATUS phNxpEse_SPM_SetJcopDwnldState(long arg);
/hardware/google/gfxstream/guest/mesa/src/util/
Du_qsort.h37 void *arg);
57 void *arg) in util_qsort_r() argument
61 qsort_r(base, nmemb, size, compar, arg); in util_qsort_r()
68 arg in util_qsort_r()
78 arg in util_qsort_r()
83 qsort_s(base, nmemb, size, compar, arg); in util_qsort_r()
87 util_tls_qsort_r(base, nmemb, size, compar, arg); in util_qsort_r()
Du_process.c63 char * arg = strrchr(program_invocation_name, '/'); in __getProgramName() local
64 if (arg) { in __getProgramName()
86 program_name = strdup(arg+1); in __getProgramName()
94 arg = strrchr(program_invocation_name, '\\'); in __getProgramName()
95 if (arg) in __getProgramName()
96 return strdup(arg+1); in __getProgramName()
181 char * arg = strrchr(__progname, '/'); in __getProgramName() local
182 if (arg) in __getProgramName()
183 return strdup(arg+1); in __getProgramName()
/hardware/google/graphics/common/libacryl/
Dacrylic_device.h27 int ioctl(int cmd, void *arg);
40 int ioctl_unique(int cmd, void *arg);
41 int ioctl_current(int cmd, void *arg);
42 int ioctl_broadcast(int cmd, void *arg);
43 int ioctl_single(int cmd, void *arg) { in ioctl_single() argument
44 int ret = ioctl_current(cmd, arg); in ioctl_single()
Dacrylic_device.cpp56 int AcrylicDevice::ioctl(int cmd, void *arg) in ioctl() argument
61 return ::ioctl(mDevFD, cmd, arg); in ioctl()
100 int AcrylicRedundantDevice::ioctl_unique(int cmd, void *arg) in ioctl_unique() argument
105 return ::ioctl(mDevFd[0], cmd, arg); in ioctl_unique()
108 int AcrylicRedundantDevice::ioctl_current(int cmd, void *arg) in ioctl_current() argument
113 return ::ioctl(mDevFd[mFdIdx], cmd, arg); in ioctl_current()
116 int AcrylicRedundantDevice::ioctl_broadcast(int cmd, void *arg) { in ioctl_broadcast() argument
121 int ret = ::ioctl(mDevFd[i], cmd, arg); in ioctl_broadcast()
/hardware/nxp/secure_element/pn8x/libese-spi/p73/spm/
DphNxpEse_Spm.cpp94 ESESTATUS phNxpEse_SPM_ConfigPwr(spm_power_t arg) { in phNxpEse_SPM_ConfigPwr() argument
99 ret = phPalEse_ioctl(phPalEse_e_ChipRst, pEseDeviceHandle, arg); in phNxpEse_SPM_ConfigPwr()
100 switch (arg) { in phNxpEse_SPM_ConfigPwr()
251 ESESTATUS phNxpEse_SPM_SetPwrScheme(long arg) { in phNxpEse_SPM_SetPwrScheme() argument
256 __FUNCTION__, arg); in phNxpEse_SPM_SetPwrScheme()
257 ret = phPalEse_ioctl(phPalEse_e_SetPowerScheme, pEseDeviceHandle, arg); in phNxpEse_SPM_SetPwrScheme()
275 ESESTATUS phNxpEse_SPM_DisablePwrControl(unsigned long arg) { in phNxpEse_SPM_DisablePwrControl() argument
280 __FUNCTION__, arg); in phNxpEse_SPM_DisablePwrControl()
281 ret = phPalEse_ioctl(phPalEse_e_DisablePwrCntrl, pEseDeviceHandle, arg); in phNxpEse_SPM_DisablePwrControl()
327 ESESTATUS phNxpEse_SPM_SetJcopDwnldState(long arg) { in phNxpEse_SPM_SetJcopDwnldState() argument
[all …]
DphNxpEse_Spm.h56 ESESTATUS phNxpEse_SPM_ConfigPwr(spm_power_t arg);
65 ESESTATUS phNxpEse_SPM_SetState(long arg);
70 ESESTATUS phNxpEse_SPM_SetPwrScheme(long arg);
72 ESESTATUS phNxpEse_SPM_DisablePwrControl(unsigned long arg);
74 ESESTATUS phNxpEse_SPM_SetJcopDwnldState(long arg);
/hardware/interfaces/cas/aidl/default/
DCasImpl.cpp40 void CasImpl::OnEvent(void* appData, int32_t event, int32_t arg, uint8_t* data, size_t size) { in OnEvent() argument
46 casImpl->onEvent(event, arg, data, size); in OnEvent()
50 void CasImpl::CallBackExt(void* appData, int32_t event, int32_t arg, uint8_t* data, size_t size, in CallBackExt() argument
57 casImpl->onEvent(sessionId, event, arg, data, size); in CallBackExt()
61 void CasImpl::StatusUpdate(void* appData, int32_t event, int32_t arg) { in StatusUpdate() argument
67 casImpl->onStatusUpdate(event, arg); in StatusUpdate()
75 void CasImpl::onEvent(int32_t event, int32_t arg, uint8_t* data, size_t size) { in onEvent() argument
85 mListener->onEvent(event, arg, eventData); in onEvent()
88 void CasImpl::onEvent(const CasSessionId* sessionId, int32_t event, int32_t arg, uint8_t* data, in onEvent() argument
100 mListener->onSessionEvent(*sessionId, event, arg, eventData); in onEvent()
[all …]
DCasImpl.h35 static void OnEvent(void* appData, int32_t event, int32_t arg, uint8_t* data, size_t size);
37 static void CallBackExt(void* appData, int32_t event, int32_t arg, uint8_t* data, size_t size,
40 static void StatusUpdate(void* appData, int32_t event, int32_t arg);
43 void onEvent(int32_t event, int32_t arg, uint8_t* data, size_t size);
45 void onEvent(const CasSessionId* sessionId, int32_t event, int32_t arg, uint8_t* data,
48 void onStatusUpdate(int32_t event, int32_t arg);
71 virtual ScopedAStatus sendEvent(int32_t event, int32_t arg,
75 int32_t arg, const vector<uint8_t>& eventData) override;
/hardware/interfaces/cas/1.2/default/
DCasImpl.cpp45 void CasImpl::OnEvent(void* appData, int32_t event, int32_t arg, uint8_t* data, size_t size) { in OnEvent() argument
51 casImpl->onEvent(event, arg, data, size); in OnEvent()
55 void CasImpl::CallBackExt(void* appData, int32_t event, int32_t arg, uint8_t* data, size_t size, in CallBackExt() argument
62 casImpl->onEvent(sessionId, event, arg, data, size); in CallBackExt()
66 void CasImpl::StatusUpdate(void* appData, int32_t event, int32_t arg) { in StatusUpdate() argument
72 casImpl->onStatusUpdate(event, arg); in StatusUpdate()
81 void CasImpl::onEvent(int32_t event, int32_t arg, uint8_t* data, size_t size) { in onEvent() argument
91 mListener->onEvent(event, arg, eventData); in onEvent()
94 void CasImpl::onEvent(const CasSessionId* sessionId, int32_t event, int32_t arg, uint8_t* data, in onEvent() argument
106 mListener->onSessionEvent(*sessionId, event, arg, eventData); in onEvent()
[all …]
DCasImpl.h47 static void OnEvent(void* appData, int32_t event, int32_t arg, uint8_t* data, size_t size);
49 static void CallBackExt(void* appData, int32_t event, int32_t arg, uint8_t* data, size_t size,
52 static void StatusUpdate(void* appData, int32_t event, int32_t arg);
55 void onEvent(int32_t event, int32_t arg, uint8_t* data, size_t size);
57 void onEvent(const CasSessionId* sessionId, int32_t event, int32_t arg, uint8_t* data,
60 void onStatusUpdate(int32_t event, int32_t arg);
83 virtual Return<Status> sendEvent(int32_t event, int32_t arg,
87 int32_t arg, const HidlCasData& eventData) override;
/hardware/interfaces/health/aidl/vts/functional/
DVtsHalHealthTargetTest.cpp68 *result_listener << "status is " << arg.getDescription();
69 return arg.isOk();
73 *result_listener << "status is " << arg.getDescription();
74 return arg.getExceptionCode() == exception_code;
88 if (!arg) {
91 if (arg->size() < 6) {
94 for (const auto& c : *arg) {
289 *result_listener << "value is " << arg.toString() << ".";
290 if (!ExplainMatchResult(Ge(-1), arg.batteryManufacturingDateSeconds, result_listener)) {
294 if (!ExplainMatchResult(Ge(-1), arg.batteryFirstUsageSeconds, result_listener)) {
[all …]
/hardware/interfaces/gnss/1.0/default/
DThreadCreationWrapper.h33 ThreadFuncArgs(void (*start)(void*), void* arg) : fptr(start), args(arg) {} in ThreadFuncArgs()
46 void* threadFunc(void* arg);
55 pthread_t createPthread(const char* name, void (*start)(void*), void* arg,
DThreadCreationWrapper.cpp19 void* threadFunc(void* arg) { in threadFunc() argument
20 ThreadFuncArgs* threadArgs = reinterpret_cast<ThreadFuncArgs*>(arg); in threadFunc()
27 void* arg, std::vector<std::unique_ptr<ThreadFuncArgs>> * listArgs) { in createPthread() argument
29 auto threadArgs = new ThreadFuncArgs(start, arg); in createPthread()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu_nl80211.c38 static int dhd_nl_error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, void *arg) in dhd_nl_error_handler() argument
40 int *ret = arg; in dhd_nl_error_handler()
45 static int dhd_nl_finish_handler(struct nl_msg *msg, void *arg) in dhd_nl_finish_handler() argument
47 int *ret = arg; in dhd_nl_finish_handler()
52 static int dhd_nl_ack_handler(struct nl_msg *msg, void *arg) in dhd_nl_ack_handler() argument
54 int *ret = arg; in dhd_nl_ack_handler()
59 static int dhd_nl_valid_handler(struct nl_msg *msg, void *arg) in dhd_nl_valid_handler() argument
/hardware/interfaces/cas/1.1/default/
DCasImpl.cpp44 void CasImpl::OnEvent(void* appData, int32_t event, int32_t arg, uint8_t* data, size_t size) { in OnEvent() argument
50 casImpl->onEvent(event, arg, data, size); in OnEvent()
54 void CasImpl::CallBackExt(void* appData, int32_t event, int32_t arg, uint8_t* data, size_t size, in CallBackExt() argument
61 casImpl->onEvent(sessionId, event, arg, data, size); in CallBackExt()
70 void CasImpl::onEvent(int32_t event, int32_t arg, uint8_t* data, size_t size) { in onEvent() argument
80 mListener->onEvent(event, arg, eventData); in onEvent()
83 void CasImpl::onEvent(const CasSessionId* sessionId, int32_t event, int32_t arg, uint8_t* data, in onEvent() argument
95 mListener->onSessionEvent(*sessionId, event, arg, eventData); in onEvent()
97 mListener->onEvent(event, arg, eventData); in onEvent()
165 Return<Status> CasImpl::sendEvent(int32_t event, int32_t arg, const HidlCasData& eventData) { in sendEvent() argument
[all …]
/hardware/google/gfxstream/third-party/fuchsia/magma/
Dregen.py28 args = [f'{arg["type"]} {arg["name"]}' for arg in export["arguments"]]
60 out_args = [arg for arg in export["arguments"] if arg["name"].endswith('_out')]
64 for arg in out_args:
/hardware/google/aemu/base/include/aemu/base/testing/
DResultMatchers.h45 return arg.ok();
49 if (!arg.ok()) {
53 return ::testing::Matches(value)(arg.ok().value());
57 if (!arg.err()) {
61 return ::testing::Matches(err)(arg.err().value());
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_compute_variance.cpp105 const pixel_region_args& arg in compute_pixel_region_variance() argument
108 const astcenc_image* img = arg.img; in compute_pixel_region_variance()
109 astcenc_swizzle swz = arg.swz; in compute_pixel_region_variance()
110 bool have_z = arg.have_z; in compute_pixel_region_variance()
112 int size_x = arg.size_x; in compute_pixel_region_variance()
113 int size_y = arg.size_y; in compute_pixel_region_variance()
114 int size_z = arg.size_z; in compute_pixel_region_variance()
116 int offset_x = arg.offset_x; in compute_pixel_region_variance()
117 int offset_y = arg.offset_y; in compute_pixel_region_variance()
118 int offset_z = arg.offset_z; in compute_pixel_region_variance()
[all …]

12345678910>>...12