Home
last modified time | relevance | path

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

12345678910

/hardware/google/av/codec2/include/
D_C2MacroUtils.h80 #define _C2_MAP_64(fn, arg, head, ...) fn(head, arg), _C2_MAP_63(fn, arg, ##__VA_ARGS__) argument
81 #define _C2_MAP_63(fn, arg, head, ...) fn(head, arg), _C2_MAP_62(fn, arg, ##__VA_ARGS__) argument
82 #define _C2_MAP_62(fn, arg, head, ...) fn(head, arg), _C2_MAP_61(fn, arg, ##__VA_ARGS__) argument
83 #define _C2_MAP_61(fn, arg, head, ...) fn(head, arg), _C2_MAP_60(fn, arg, ##__VA_ARGS__) argument
84 #define _C2_MAP_60(fn, arg, head, ...) fn(head, arg), _C2_MAP_59(fn, arg, ##__VA_ARGS__) argument
85 #define _C2_MAP_59(fn, arg, head, ...) fn(head, arg), _C2_MAP_58(fn, arg, ##__VA_ARGS__) argument
86 #define _C2_MAP_58(fn, arg, head, ...) fn(head, arg), _C2_MAP_57(fn, arg, ##__VA_ARGS__) argument
87 #define _C2_MAP_57(fn, arg, head, ...) fn(head, arg), _C2_MAP_56(fn, arg, ##__VA_ARGS__) argument
88 #define _C2_MAP_56(fn, arg, head, ...) fn(head, arg), _C2_MAP_55(fn, arg, ##__VA_ARGS__) argument
89 #define _C2_MAP_55(fn, arg, head, ...) fn(head, arg), _C2_MAP_54(fn, arg, ##__VA_ARGS__) argument
[all …]
/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/nxp/secure_element/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/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/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 …]
DCasImpl.h43 static void OnEvent(void* appData, int32_t event, int32_t arg, uint8_t* data, size_t size);
45 static void CallBackExt(void* appData, int32_t event, int32_t arg, uint8_t* data, size_t size,
49 void onEvent(int32_t event, int32_t arg, uint8_t* data, size_t size);
51 void onEvent(const CasSessionId* sessionId, int32_t event, int32_t arg, uint8_t* data,
70 virtual Return<Status> sendEvent(int32_t event, int32_t arg,
74 int32_t arg, const HidlCasData& eventData) override;
/hardware/qcom/wlan/cld80211-lib/
Dcld80211_lib.c116 static int response_handler(struct nl_msg *msg, void *arg) in response_handler() argument
119 UNUSED(arg); in response_handler()
127 static int ack_handler(struct nl_msg *msg, void *arg) in ack_handler() argument
129 int *err = (int *)arg; in ack_handler()
136 static int finish_handler(struct nl_msg *msg, void *arg) in finish_handler() argument
138 int *ret = (int *)arg; in finish_handler()
146 void *arg) in error_handler() argument
148 int *ret = (int *)arg; in error_handler()
157 static int no_seq_check(struct nl_msg *msg, void *arg) in no_seq_check() argument
160 UNUSED(arg); in no_seq_check()
[all …]
/hardware/interfaces/usb/1.1/vts/functional/
DVtsHalUsbV1_1TargetTest.cpp96 UsbClientCallbackArgs arg; in notifyPortStatusChange_1_1() local
98 arg.usb_last_port_status.status.supportedModes = in notifyPortStatusChange_1_1()
100 arg.usb_last_port_status.status.currentMode = currentPortStatus[0].status.currentMode; in notifyPortStatusChange_1_1()
102 arg.usb_last_status = retval; in notifyPortStatusChange_1_1()
103 arg.last_usb_cookie = cookie; in notifyPortStatusChange_1_1()
105 NotifyFromCallback(kCallbackNameNotifyPortStatusChange_1_1, arg); in notifyPortStatusChange_1_1()
/hardware/interfaces/usb/1.2/vts/functional/
DVtsHalUsbV1_2TargetTest.cpp107 UsbClientCallbackArgs arg; in notifyPortStatusChange_1_2() local
109 arg.usb_last_port_status.status_1_1.status.supportedModes = in notifyPortStatusChange_1_2()
111 arg.usb_last_port_status.status_1_1.status.currentMode = in notifyPortStatusChange_1_2()
113 arg.usb_last_port_status.status_1_1.status.portName = in notifyPortStatusChange_1_2()
115 arg.usb_last_port_status.contaminantDetectionStatus = in notifyPortStatusChange_1_2()
117 arg.usb_last_port_status.contaminantProtectionStatus = in notifyPortStatusChange_1_2()
119 arg.usb_last_port_status.supportsEnableContaminantPresenceProtection = in notifyPortStatusChange_1_2()
121 arg.usb_last_port_status.supportsEnableContaminantPresenceDetection = in notifyPortStatusChange_1_2()
123 arg.usb_last_port_status.supportedContaminantProtectionModes = in notifyPortStatusChange_1_2()
126 arg.usb_last_status = retval; in notifyPortStatusChange_1_2()
[all …]
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dcommon.cpp59 wifi_error wifi_register_handler(wifi_handle handle, int cmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_handler() argument
69 info->event_cb[i].cb_arg == arg) { in wifi_register_handler()
72 " and arg %p", func, cmd, arg); in wifi_register_handler()
83 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_handler()
96 uint32_t id, int subcmd, nl_recvmsg_msg_cb_t func, void *arg) in wifi_register_vendor_handler() argument
109 info->event_cb[i].cb_arg = arg; in wifi_register_vendor_handler()
111 " and arg %p", func, id, subcmd, arg); in wifi_register_vendor_handler()
122 info->event_cb[info->num_event_cb].cb_arg = arg; in wifi_register_vendor_handler()
125 " %p", func, id, subcmd, arg); in wifi_register_vendor_handler()
/hardware/qcom/gps/msm8909w_3100/utils/platform_lib_abstractions/loc_stub/src/
Dloc_stub_android_runtime.cpp34 void (*start)(void *), void* arg) in createJavaThread() argument
37 pthread_create(&threadId, NULL, (void *(*)(void*))start, arg); in createJavaThread()
/hardware/interfaces/wifi/offload/1.0/vts/functional/
Dhidl_call_util.h38 std::function<void(ArgT)> saveArgs = [this](ArgT arg) {
39 this->saved_values = arg;
74 std::function<void(ArgT...)> saveArgs = [this](ArgT... arg) {
75 this->saved_values = {arg...};
/hardware/qcom/sdm845/data/ipacfg-mgr/hal/src/
DLocalLogBuffer.cpp59 void LocalLogBuffer::FunctionLog::addArg(string kw, string arg) { in addArg() argument
61 mSSArgs << kw << "=" << arg; in addArg()
75 void LocalLogBuffer::FunctionLog::addArg(string kw, uint64_t arg) { in addArg() argument
77 mSSArgs << kw << "=" << arg; in addArg()
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_hidl_call_util.h42 std::function<void(ArgT)> saveArgs = [this](ArgT arg) {
43 this->saved_values = arg;
78 std::function<void(ArgT...)> saveArgs = [this](ArgT... arg) {
79 this->saved_values = {arg...};
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_hidl_call_util.h40 std::function<void(ArgT)> saveArgs = [this](ArgT arg) {
41 this->saved_values = arg;
76 std::function<void(ArgT...)> saveArgs = [this](ArgT... arg) {
77 this->saved_values = {arg...};
/hardware/qcom/sm8150/data/ipacfg-mgr/hal/src/
DLocalLogBuffer.cpp59 void LocalLogBuffer::FunctionLog::addArg(string kw, string arg) { in addArg() argument
61 mSSArgs << kw << "=" << arg; in addArg()
75 void LocalLogBuffer::FunctionLog::addArg(string kw, uint64_t arg) { in addArg() argument
77 mSSArgs << kw << "=" << arg; in addArg()
/hardware/interfaces/wifi/hostapd/1.0/vts/functional/
Dhostapd_hidl_call_util.h42 std::function<void(ArgT)> saveArgs = [this](ArgT arg) {
43 this->saved_values = arg;
78 std::function<void(ArgT...)> saveArgs = [this](ArgT... arg) {
79 this->saved_values = {arg...};
/hardware/qcom/gps/msm8998/utils/platform_lib_abstractions/loc_stub/src/
Dloc_stub_android_runtime.cpp34 void (*start)(void *), void* arg) in createJavaThread() argument
37 pthread_create(&threadId, NULL, (void *(*)(void*))start, arg); in createJavaThread()
/hardware/qcom/sdm845/gps/msm8998/utils/platform_lib_abstractions/loc_stub/src/
Dloc_stub_android_runtime.cpp34 void (*start)(void *), void* arg) in createJavaThread() argument
37 pthread_create(&threadId, NULL, (void *(*)(void*))start, arg); in createJavaThread()
/hardware/interfaces/cas/1.0/default/
DCasImpl.cpp48 int32_t arg, in OnEvent() argument
56 casImpl->onEvent(event, arg, data, size); in OnEvent()
66 int32_t event, int32_t arg, uint8_t *data, size_t size) { in onEvent() argument
76 mListener->onEvent(event, arg, eventData); in onEvent()
148 int32_t event, int32_t arg, in sendEvent() argument
156 status_t err = holder->sendEvent(event, arg, eventData); in sendEvent()

12345678910