Home
last modified time | relevance | path

Searched refs:code (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_sta_network_hidl_test.cpp96 ASSERT_EQ(SupplicantStatusCode::SUCCESS, status.code); in removeNetwork()
100 ASSERT_EQ(SupplicantStatusCode::SUCCESS, status.code); in removeNetwork()
141 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
152 status_and_interface_name.first.code); in TEST_F()
162 status_and_interface_type.first.code); in TEST_F()
172 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
176 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
188 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
192 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
204 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
[all …]
Dsupplicant_p2p_iface_hidl_test.cpp192 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
202 status_and_interface_name.first.code); in TEST_F()
212 status_and_interface_type.first.code); in TEST_F()
223 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
234 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
243 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
252 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
256 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
265 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
278 EXPECT_EQ(SupplicantStatusCode::FAILURE_UNKNOWN, status.code); in TEST_F()
[all …]
Dsupplicant_sta_iface_hidl_test.cpp174 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
184 status_and_interface_name.first.code); in TEST_F()
194 status_and_interface_type.first.code); in TEST_F()
204 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
213 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
223 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
233 status.code); in TEST_F()
242 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
251 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
254 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
[all …]
Dsupplicant_hidl_test.cpp69 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
94 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
102 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
120 status.code); in TEST_F()
137 status.code); in TEST_F()
155 status.code); in TEST_F()
173 status.code); in TEST_F()
184 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
189 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
/hardware/interfaces/gatekeeper/1.0/default/
DGatekeeper.cpp74 rsp.code = GatekeeperStatusCode::STATUS_OK; in enroll()
77 rsp.code = GatekeeperStatusCode::ERROR_RETRY_TIMEOUT; in enroll()
79 rsp.code = GatekeeperStatusCode::ERROR_GENERAL_FAILURE; in enroll()
104 rsp.code = GatekeeperStatusCode::STATUS_REENROLL; in verify()
106 rsp.code = GatekeeperStatusCode::STATUS_OK; in verify()
110 rsp.code = GatekeeperStatusCode::ERROR_RETRY_TIMEOUT; in verify()
112 rsp.code = GatekeeperStatusCode::ERROR_GENERAL_FAILURE; in verify()
124 rsp.code = GatekeeperStatusCode::STATUS_OK; in deleteUser()
127 rsp.code = GatekeeperStatusCode::ERROR_RETRY_TIMEOUT; in deleteUser()
129 rsp.code = GatekeeperStatusCode::ERROR_GENERAL_FAILURE; in deleteUser()
[all …]
/hardware/interfaces/wifi/supplicant/1.2/vts/functional/
Dsupplicant_sta_network_hidl_test.cpp59 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
64 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
77 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
82 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
96 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
102 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
114 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
119 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
133 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
139 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
[all …]
Dsupplicant_sta_iface_hidl_test.cpp73 uint32_t code; member in SupplicantStaIfaceHidlTest
109 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in isDppSupported()
220 parent_.code = 0; in onDppSuccessConfigReceived()
227 parent_.code = 0; in onDppSuccessConfigSent()
233 Return<void> onDppProgress(DppProgressCode code) override { in onDppProgress() argument
234 parent_.code = (uint32_t)code; in onDppProgress()
240 Return<void> onDppFailure(DppFailureCode code) override { in onDppFailure() argument
241 parent_.code = (uint32_t)code; in onDppFailure()
258 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
268 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
[all …]
Dsupplicant_p2p_iface_hidl_test.cpp69 status.code); in TEST_F()
88 EXPECT_EQ(SupplicantStatusCode::FAILURE_ARGS_INVALID, status.code); in TEST_F()
107 EXPECT_EQ(SupplicantStatusCode::FAILURE_ARGS_INVALID, status.code); in TEST_F()
126 EXPECT_EQ(SupplicantStatusCode::FAILURE_UNKNOWN, status.code); in TEST_F()
131 return status.code != SupplicantStatusCode::FAILURE_ARGS_INVALID; in isMacRandomizationSupported()
140 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
146 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
151 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
157 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
/hardware/libhardware/modules/input/evdev/
DMouseInputMapper.cpp92 event.type, event.code, event.value); in process()
95 processButton(event.code, event.value); in process()
98 processMotion(event.code, event.value); in process()
101 if (event.code == SYN_REPORT) { in process()
110 void MouseInputMapper::processMotion(int32_t code, int32_t value) { in processMotion() argument
111 switch (code) { in processMotion()
132 uint32_t buttonToBit(int32_t code) { in buttonToBit() argument
133 return static_cast<uint32_t>(code - BTN_MOUSE); in buttonToBit()
136 void MouseInputMapper::processButton(int32_t code, int32_t value) { in processButton() argument
140 if (code >= BTN_MOUSE && code < BTN_JOYSTICK) { in processButton()
[all …]
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_sta_iface_hidl_test.cpp57 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in isCapabilitySupported()
79 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_F()
89 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_type.first.code); in TEST_F()
105 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_F()
121 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in TEST_F()
131 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_freqs.first.code); in TEST_F()
158 .code); in TEST_F()
161 HIDL_INVOKE(wifi_sta_iface_, getLinkLayerStats).first.code); in TEST_F()
165 HIDL_INVOKE(wifi_sta_iface_, disableLinkLayerStatsCollection).code); in TEST_F()
189 .code); in TEST_F()
[all …]
Dwifi_chip_hidl_test.cpp104 if (status_and_caps.first.code != WifiStatusCode::SUCCESS) { in configureChipForStaIfaceAndGetCapabilities()
105 EXPECT_EQ(WifiStatusCode::ERROR_NOT_SUPPORTED, status_and_caps.first.code); in configureChipForStaIfaceAndGetCapabilities()
113 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_name.first.code); in getIfaceName()
120 return status_and_iface.first.code; in createApIface()
124 return HIDL_INVOKE(wifi_chip_, removeApIface, name).code; in removeApIface()
130 return status_and_iface.first.code; in createNanIface()
134 return HIDL_INVOKE(wifi_chip_, removeNanIface, name).code; in removeNanIface()
140 return status_and_iface.first.code; in createP2pIface()
144 return HIDL_INVOKE(wifi_chip_, removeP2pIface, name).code; in removeP2pIface()
150 return status_and_iface.first.code; in createStaIface()
[all …]
/hardware/interfaces/thermal/2.0/vts/functional/
DVtsHalThermalV2_0TargetTest.cpp92 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); }); in SetUp()
97 [](ThermalStatus status) { EXPECT_NE(ThermalStatusCode::SUCCESS, status.code); }); in SetUp()
104 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); }); in TearDown()
109 [](ThermalStatus status) { EXPECT_NE(ThermalStatusCode::SUCCESS, status.code); }); in TearDown()
136 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::FAILURE, status.code); }); in TEST_F()
141 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::FAILURE, status.code); }); in TEST_F()
147 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); }); in TEST_F()
152 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); }); in TEST_F()
156 EXPECT_EQ(ThermalStatusCode::FAILURE, status.code); in TEST_F()
167 [](ThermalStatus status) { EXPECT_NE(ThermalStatusCode::SUCCESS, status.code); }); in TEST_F()
[all …]
/hardware/interfaces/thermal/2.0/default/
DThermal.cpp87 status.code = ThermalStatusCode::SUCCESS; in getTemperatures()
95 status.code = ThermalStatusCode::SUCCESS; in getCpuUsages()
103 status.code = ThermalStatusCode::SUCCESS; in getCoolingDevices()
113 status.code = ThermalStatusCode::SUCCESS; in getCurrentTemperatures()
116 status.code = ThermalStatusCode::FAILURE; in getCurrentTemperatures()
128 status.code = ThermalStatusCode::SUCCESS; in getTemperatureThresholds()
131 status.code = ThermalStatusCode::FAILURE; in getTemperatureThresholds()
143 status.code = ThermalStatusCode::SUCCESS; in getCurrentCoolingDevices()
146 status.code = ThermalStatusCode::FAILURE; in getCurrentCoolingDevices()
160 status.code = ThermalStatusCode::FAILURE; in registerThermalChangedCallback()
[all …]
/hardware/interfaces/wifi/supplicant/1.1/vts/functional/
Dsupplicant_hidl_test.cpp76 (status.code == SupplicantStatusCode::SUCCESS) || in TEST_F()
77 (status.code == SupplicantStatusCode::FAILURE_IFACE_EXISTS)); in TEST_F()
94 (status.code == SupplicantStatusCode::SUCCESS) || in TEST_F()
95 (status.code == SupplicantStatusCode::FAILURE_IFACE_EXISTS)); in TEST_F()
112 (status.code == SupplicantStatusCode::SUCCESS) || in TEST_F()
113 (status.code == SupplicantStatusCode::FAILURE_IFACE_EXISTS)); in TEST_F()
118 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
135 (status.code == SupplicantStatusCode::SUCCESS) || in TEST_F()
136 (status.code == SupplicantStatusCode::FAILURE_IFACE_EXISTS)); in TEST_F()
141 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
/hardware/qcom/display/msm8996/libqservice/
DIQService.cpp83 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
85 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); in onTransact()
97 if (code == CONNECT_HWC_CLIENT) { in onTransact()
108 } else if(code == CONNECT_HDMI_CLIENT) { in onTransact()
119 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { in onTransact()
122 code, callerPid, callerUid); in onTransact()
126 dispatch(code, &data, reply); in onTransact()
129 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/hardware/qcom/display/msm8909w_3100/libqservice/
DIQService.cpp83 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
85 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); in onTransact()
99 if (code == CONNECT_HWC_CLIENT) { in onTransact()
110 } else if(code == CONNECT_HDMI_CLIENT) { in onTransact()
121 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { in onTransact()
124 code, callerPid, callerUid); in onTransact()
128 dispatch(code, &data, reply); in onTransact()
131 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/hardware/qcom/sdm845/display/libqservice/
DIQService.cpp83 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
85 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); in onTransact()
99 if (code == CONNECT_HWC_CLIENT) { in onTransact()
110 } else if(code == CONNECT_HDMI_CLIENT) { in onTransact()
121 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { in onTransact()
124 code, callerPid, callerUid); in onTransact()
128 dispatch(code, &data, reply); in onTransact()
131 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/hardware/qcom/display/msm8909/libqservice/
DIQService.cpp83 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
85 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); in onTransact()
99 if (code == CONNECT_HWC_CLIENT) { in onTransact()
110 } else if(code == CONNECT_HDMI_CLIENT) { in onTransact()
121 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { in onTransact()
124 code, callerPid, callerUid); in onTransact()
128 dispatch(code, &data, reply); in onTransact()
131 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/hardware/qcom/display/msm8998/libqservice/
DIQService.cpp83 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
85 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); in onTransact()
99 if (code == CONNECT_HWC_CLIENT) { in onTransact()
110 } else if(code == CONNECT_HDMI_CLIENT) { in onTransact()
121 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { in onTransact()
124 code, callerPid, callerUid); in onTransact()
128 dispatch(code, &data, reply); in onTransact()
131 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/hardware/interfaces/gatekeeper/1.0/vts/functional/
DVtsHalGatekeeperV1_0TargetTest.cpp106 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doEnroll()
118 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doVerify()
129 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doDeleteUser()
140 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doDeleteAllUsers()
153 EXPECT_EQ(GatekeeperStatusCode::STATUS_OK, rsp.code); in checkEnroll()
157 EXPECT_EQ(GatekeeperStatusCode::ERROR_GENERAL_FAILURE, rsp.code); in checkEnroll()
165 EXPECT_GE(rsp.code, GatekeeperStatusCode::STATUS_OK); in checkVerify()
166 EXPECT_LE(rsp.code, GatekeeperStatusCode::STATUS_REENROLL); in checkVerify()
172 EXPECT_EQ(GatekeeperStatusCode::ERROR_GENERAL_FAILURE, rsp.code); in checkVerify()
337 EXPECT_EQ(GatekeeperStatusCode::ERROR_GENERAL_FAILURE, verifyRsp.code); in TEST_F()
[all …]
/hardware/interfaces/wifi/1.3/vts/functional/
Dwifi_chip_hidl_test.cpp68 EXPECT_EQ(WifiStatusCode::SUCCESS, status_and_caps.first.code); in configureChipForStaIfaceAndGetCapabilities()
85 EXPECT_EQ(WifiStatusCode::SUCCESS, status.code); in TEST_F()
87 EXPECT_EQ(WifiStatusCode::ERROR_NOT_SUPPORTED, status.code); in TEST_F()
100 EXPECT_EQ(WifiStatusCode::SUCCESS, status.code); in TEST_F()
102 EXPECT_EQ(WifiStatusCode::ERROR_NOT_SUPPORTED, status.code); in TEST_F()
112 if (status_and_caps.first.code != WifiStatusCode::SUCCESS) { in TEST_F()
114 status_and_caps.first.code); in TEST_F()
/hardware/qcom/display/msm8994/libqservice/
DIQService.cpp76 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
78 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); in onTransact()
93 if (code == CONNECT) { in onTransact()
105 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { in onTransact()
108 pid=%d uid=%d process=%s", code, callerPid, in onTransact()
113 dispatch(code, &data, reply); in onTransact()
116 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/hardware/qcom/display/msm8226/libqservice/
DIQService.cpp76 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
78 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); in onTransact()
93 if (code == CONNECT) { in onTransact()
105 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { in onTransact()
108 pid=%d uid=%d process=%s", code, callerPid, in onTransact()
113 dispatch(code, &data, reply); in onTransact()
116 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/hardware/qcom/display/msm8084/libqservice/
DIQService.cpp85 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) in onTransact() argument
87 ALOGD_IF(QSERVICE_DEBUG, "%s: code: %d", __FUNCTION__, code); in onTransact()
102 if (code == CONNECT_HWC_CLIENT) { in onTransact()
114 } else if(code == CONNECT_HDMI_CLIENT) { in onTransact()
126 } else if (code > COMMAND_LIST_START && code < COMMAND_LIST_END) { in onTransact()
129 pid=%d uid=%d process=%s", code, callerPid, in onTransact()
134 dispatch(code, &data, reply); in onTransact()
137 return BBinder::onTransact(code, data, reply, flags); in onTransact()
/hardware/interfaces/wifi/hostapd/1.1/vts/functional/
Dhostapd_hidl_test.cpp167 EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code); in TEST_F()
178 EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code); in TEST_F()
189 EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code); in TEST_F()
200 EXPECT_NE(HostapdStatusCode::SUCCESS, status.code); in TEST_F()
210 EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code); in TEST_F()
220 EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code); in TEST_F()
230 EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code); in TEST_F()
240 EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code); in TEST_F()
243 EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code); in TEST_F()
253 EXPECT_EQ(HostapdStatusCode::SUCCESS, status.code); in TEST_F()
[all …]

12345678910>>...15