/hardware/interfaces/wifi/supplicant/1.0/vts/functional/ |
D | supplicant_sta_network_hidl_test.cpp | 109 ASSERT_EQ(SupplicantStatusCode::SUCCESS, status.code); in removeNetwork() 113 ASSERT_EQ(SupplicantStatusCode::SUCCESS, status.code); in removeNetwork() 162 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 173 status_and_interface_name.first.code); in TEST_P() 183 status_and_interface_type.first.code); in TEST_P() 193 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 197 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 209 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 213 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 225 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() [all …]
|
D | supplicant_sta_iface_hidl_test.cpp | 194 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 204 status_and_interface_name.first.code); in TEST_P() 214 status_and_interface_type.first.code); in TEST_P() 224 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 234 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 244 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 254 status.code); in TEST_P() 263 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 272 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 275 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() [all …]
|
D | supplicant_p2p_iface_hidl_test.cpp | 213 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 223 status_and_interface_name.first.code); in TEST_P() 233 status_and_interface_type.first.code); in TEST_P() 244 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 255 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 264 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 273 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 277 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 286 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P() 299 EXPECT_EQ(SupplicantStatusCode::FAILURE_UNKNOWN, status.code); in TEST_P() [all …]
|
/hardware/interfaces/gatekeeper/1.0/default/ |
D | Gatekeeper.cpp | 74 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/ |
D | supplicant_sta_network_hidl_test.cpp | 59 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 …]
|
D | supplicant_sta_iface_hidl_test.cpp | 73 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 …]
|
D | supplicant_p2p_iface_hidl_test.cpp | 69 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/ |
D | MouseInputMapper.cpp | 92 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/thermal/2.0/vts/functional/ |
D | VtsHalThermalV2_0TargetTest.cpp | 78 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); }); in SetUp() 83 [](ThermalStatus status) { EXPECT_NE(ThermalStatusCode::SUCCESS, status.code); }); in SetUp() 90 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); }); in TearDown() 95 [](ThermalStatus status) { EXPECT_NE(ThermalStatusCode::SUCCESS, status.code); }); in TearDown() 122 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::FAILURE, status.code); }); in TEST_P() 127 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::FAILURE, status.code); }); in TEST_P() 133 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); }); in TEST_P() 138 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); }); in TEST_P() 142 EXPECT_EQ(ThermalStatusCode::FAILURE, status.code); in TEST_P() 153 [](ThermalStatus status) { EXPECT_NE(ThermalStatusCode::SUCCESS, status.code); }); in TEST_P() [all …]
|
/hardware/interfaces/wifi/1.0/vts/functional/ |
D | wifi_sta_iface_hidl_test.cpp | 57 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 …]
|
D | wifi_chip_hidl_test.cpp | 104 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 …]
|
D | wifi_hidl_test_utils.cpp | 75 if (status_and_modes.first.code != WifiStatusCode::SUCCESS) { in configureChipToSupportIfaceTypeInternal() 82 if (HIDL_INVOKE(wifi_chip, configureChip, *configured_mode_id).code != in configureChipToSupportIfaceTypeInternal() 117 status.code == WifiStatusCode::ERROR_NOT_AVAILABLE) { in getWifiChip() 122 if (status.code != WifiStatusCode::SUCCESS) { in getWifiChip() 127 if (status_and_chip_ids.first.code != WifiStatusCode::SUCCESS || in getWifiChip() 132 if (status_and_chip.first.code != WifiStatusCode::SUCCESS) { in getWifiChip() 141 if (status_and_name.first.code == WifiStatusCode::SUCCESS) { in setIfaceUp() 157 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiApIface() 173 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiNanIface() 189 if (status_and_iface.first.code != WifiStatusCode::SUCCESS) { in getWifiP2pIface() [all …]
|
/hardware/interfaces/thermal/2.0/default/ |
D | Thermal.cpp | 87 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/ |
D | supplicant_hidl_test.cpp | 76 (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/interfaces/gatekeeper/1.0/vts/functional/ |
D | VtsHalGatekeeperV1_0TargetTest.cpp | 92 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doEnroll() 104 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doVerify() 115 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doDeleteUser() 126 if (rsp.code != GatekeeperStatusCode::ERROR_RETRY_TIMEOUT) break; in doDeleteAllUsers() 139 EXPECT_EQ(GatekeeperStatusCode::STATUS_OK, rsp.code); in checkEnroll() 143 EXPECT_EQ(GatekeeperStatusCode::ERROR_GENERAL_FAILURE, rsp.code); in checkEnroll() 151 EXPECT_GE(rsp.code, GatekeeperStatusCode::STATUS_OK); in checkVerify() 152 EXPECT_LE(rsp.code, GatekeeperStatusCode::STATUS_REENROLL); in checkVerify() 158 EXPECT_EQ(GatekeeperStatusCode::ERROR_GENERAL_FAILURE, rsp.code); in checkVerify() 322 EXPECT_EQ(GatekeeperStatusCode::ERROR_GENERAL_FAILURE, verifyRsp.code); in TEST_P() [all …]
|
/hardware/qcom/display/msm8996/libqservice/ |
D | IQService.cpp | 83 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/msm8909/libqservice/ |
D | IQService.cpp | 83 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/ |
D | IQService.cpp | 83 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/ |
D | IQService.cpp | 83 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/msm8909w_3100/libqservice/ |
D | IQService.cpp | 83 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/sm8150/display/libqservice/ |
D | IQService.cpp | 83 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/wifi/1.3/vts/functional/ |
D | wifi_chip_hidl_test.cpp | 68 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/ |
D | IQService.cpp | 76 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/ |
D | IQService.cpp | 76 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/ |
D | IQService.cpp | 85 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()
|