Home
last modified time | relevance | path

Searched refs:status (Results 1 – 25 of 1619) sorted by relevance

12345678910>>...65

/hardware/interfaces/cas/1.2/default/
DTypeConvert.cpp30 Status status; in toStatus() local
33 status = Status::OK; in toStatus()
36 status = Status::ERROR_CAS_NO_LICENSE; in toStatus()
39 status = Status::ERROR_CAS_LICENSE_EXPIRED; in toStatus()
42 status = Status::ERROR_CAS_SESSION_NOT_OPENED; in toStatus()
45 status = Status::ERROR_CAS_CANNOT_HANDLE; in toStatus()
48 status = Status::ERROR_CAS_INVALID_STATE; in toStatus()
51 status = Status::BAD_VALUE; in toStatus()
54 status = Status::ERROR_CAS_NOT_PROVISIONED; in toStatus()
57 status = Status::ERROR_CAS_RESOURCE_BUSY; in toStatus()
[all …]
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_sta_network_hidl_test.cpp108 [&](const SupplicantStatus& status, int network_id) { in removeNetwork() argument
109 ASSERT_EQ(SupplicantStatusCode::SUCCESS, status.code); in removeNetwork()
112 sta_iface->removeNetwork(net_id, [](const SupplicantStatus& status) { in removeNetwork() argument
113 ASSERT_EQ(SupplicantStatusCode::SUCCESS, status.code); in removeNetwork()
161 new NetworkCallback(), [](const SupplicantStatus& status) { in TEST_P() argument
162 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
192 sta_network_->setSsid(ssid_, [](const SupplicantStatus& status) { in TEST_P() argument
193 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
196 [&](const SupplicantStatus& status, const hidl_vec<uint8_t>& get_ssid) { in TEST_P() argument
197 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
[all …]
Dsupplicant_sta_iface_hidl_test.cpp193 new IfaceCallback(), [](const SupplicantStatus& status) { in TEST_P() argument
194 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
222 sta_iface_->listNetworks([](const SupplicantStatus& status, in TEST_P()
224 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
232 sta_iface_->listNetworks([](const SupplicantStatus& status, in TEST_P() argument
234 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
243 sta_iface_->reassociate([](const SupplicantStatus& status) { in TEST_P() argument
244 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
252 sta_iface_->reconnect([](const SupplicantStatus& status) { in TEST_P() argument
254 status.code); in TEST_P()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_display_virtual.cpp47 int status = 0; in Create() local
51 status = hwc_display_virtual->Init(); in Create()
52 if (status) { in Create()
54 return status; in Create()
57 status = hwc_display_virtual->SetPowerMode(HWC_POWER_MODE_NORMAL); in Create()
58 if (status) { in Create()
60 return status; in Create()
64 status = hwc_display_virtual->SetOutputSliceFromMetadata(content_list); in Create()
65 if (status) { in Create()
67 return status; in Create()
[all …]
/hardware/nxp/nfc/halimpl/hal/
DphNxpNciHal.cc98 static void phNxpNciHal_open_complete(NFCSTATUS status);
99 static void phNxpNciHal_MinOpen_complete(NFCSTATUS status);
104 static void phNxpNciHal_close_complete(NFCSTATUS status);
105 static void phNxpNciHal_core_initialized_complete(NFCSTATUS status);
106 static void phNxpNciHal_power_cycle_complete(NFCSTATUS status);
338 NFCSTATUS status = NFCSTATUS_REJECTED; in phNxpNciHal_fw_download() local
343 status = phTmlNfc_IoCtl(phTmlNfc_e_EnableDownloadMode); in phNxpNciHal_fw_download()
344 if (NFCSTATUS_SUCCESS != status) { in phNxpNciHal_fw_download()
351 status = phNxpNciHal_getChipInfoInFwDnldMode(); in phNxpNciHal_fw_download()
352 if (status != NFCSTATUS_SUCCESS) { in phNxpNciHal_fw_download()
[all …]
DphNxpNciHal_NfcDepSWPrio.cc127 NFCSTATUS status = NFCSTATUS_SUCCESS; in phNxpNciHal_stop_polling_loop() local
139 return status; in phNxpNciHal_stop_polling_loop()
152 NFCSTATUS status = NFCSTATUS_SUCCESS; in phNxpNciHal_resume_polling_loop() local
164 return status; in phNxpNciHal_resume_polling_loop()
177 NFCSTATUS status = NFCSTATUS_FAILED; in phNxpNciHal_start_polling_loop() local
189 return status; in phNxpNciHal_start_polling_loop()
215 NFCSTATUS status = NFCSTATUS_INVALID_PARAMETER; in phNxpNciHal_NfcDep_rsp_ext() local
240 status = phNxpNciHal_resume_polling_loop(); in phNxpNciHal_NfcDep_rsp_ext()
245 status = phOsalNfc_Timer_Start(custom_poll_timer, CUSTOM_POLL_TIMEOUT, in phNxpNciHal_NfcDep_rsp_ext()
248 if (NFCSTATUS_SUCCESS == status) { in phNxpNciHal_NfcDep_rsp_ext()
[all …]
/hardware/interfaces/thermal/2.0/default/
DThermal.cpp86 ThermalStatus status; in getTemperatures() local
87 status.code = ThermalStatusCode::SUCCESS; in getTemperatures()
89 _hidl_cb(status, temperatures); in getTemperatures()
94 ThermalStatus status; in getCpuUsages() local
95 status.code = ThermalStatusCode::SUCCESS; in getCpuUsages()
97 _hidl_cb(status, cpu_usages); in getCpuUsages()
102 ThermalStatus status; in getCoolingDevices() local
103 status.code = ThermalStatusCode::SUCCESS; in getCoolingDevices()
105 _hidl_cb(status, cooling_devices); in getCoolingDevices()
112 ThermalStatus status; in getCurrentTemperatures() local
[all …]
/hardware/nxp/nfc/halimpl/self-test/
DphNxpNciHal_SelfTest.cc853 p_cb_data->status = pInfo->wStatus; in hal_write_cb()
870 NFCSTATUS status; in hal_read_cb() local
875 p_cb_data->status = NFCSTATUS_RESPONSE_TIMEOUT; in hal_read_cb()
876 status = phTmlNfc_ReadAbort(); in hal_read_cb()
878 NFCSTATUS status = phOsalNfc_Timer_Stop(timeoutTimerId); in hal_read_cb() local
880 if (NFCSTATUS_SUCCESS == status) { in hal_read_cb()
884 p_cb_data->status = NFCSTATUS_FAILED; in hal_read_cb()
888 p_cb_data->status = NFCSTATUS_FAILED; in hal_read_cb()
892 p_cb_data->status = NFCSTATUS_SUCCESS; in hal_read_cb()
895 p_cb_data->status = NFCSTATUS_FAILED; in hal_read_cb()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/
Dhwc_display_virtual.cpp47 int status = 0; in Create() local
51 status = hwc_display_virtual->Init(); in Create()
52 if (status) { in Create()
54 return status; in Create()
57 status = hwc_display_virtual->SetPowerMode(HWC_POWER_MODE_NORMAL); in Create()
58 if (status) { in Create()
60 return status; in Create()
64 status = hwc_display_virtual->SetOutputSliceFromMetadata(content_list); in Create()
65 if (status) { in Create()
67 return status; in Create()
[all …]
/hardware/qcom/display/msm8909/sdm/libs/hwc/
Dhwc_display_virtual.cpp47 int status = 0; in Create() local
51 status = hwc_display_virtual->Init(); in Create()
52 if (status) { in Create()
54 return status; in Create()
57 status = hwc_display_virtual->SetPowerMode(HWC_POWER_MODE_NORMAL); in Create()
58 if (status) { in Create()
60 return status; in Create()
64 status = hwc_display_virtual->SetOutputSliceFromMetadata(content_list); in Create()
65 if (status) { in Create()
67 return status; in Create()
[all …]
/hardware/interfaces/wifi/supplicant/1.2/vts/functional/
Dsupplicant_sta_network_hidl_test.cpp58 sta_network_->setSaePassword(password, [](const SupplicantStatus &status) { in TEST_F() argument
59 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
63 [&password](const SupplicantStatus &status, std::string passwordOut) { in TEST_F() argument
64 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
76 passwordId, [](const SupplicantStatus &status) { in TEST_F() argument
77 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
80 sta_network_->getSaePasswordId([&passwordId](const SupplicantStatus &status, in TEST_F()
82 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
95 groupMgmtCipher, [](const SupplicantStatus &status) { in TEST_F() argument
96 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_F()
[all …]
Dsupplicant_p2p_iface_hidl_test.cpp67 is_join, [](const SupplicantStatus& status) { in TEST_F() argument
69 status.code); in TEST_F()
87 [](const SupplicantStatus& status) { in TEST_F() argument
88 EXPECT_EQ(SupplicantStatusCode::FAILURE_ARGS_INVALID, status.code); in TEST_F()
106 [](const SupplicantStatus& status) { in TEST_F() argument
107 EXPECT_EQ(SupplicantStatusCode::FAILURE_ARGS_INVALID, status.code); in TEST_F()
125 [](const SupplicantStatus& status) { in TEST_F() argument
126 EXPECT_EQ(SupplicantStatusCode::FAILURE_UNKNOWN, status.code); in TEST_F()
130 bool isMacRandomizationSupported(const SupplicantStatus& status) { in isMacRandomizationSupported() argument
131 return status.code != SupplicantStatusCode::FAILURE_ARGS_INVALID; in isMacRandomizationSupported()
[all …]
/hardware/interfaces/wifi/1.0/vts/functional/
Dwifi_nan_iface_hidl_test.cpp100 std::cv_status status = std::cv_status::no_timeout; in wait() local
103 status = cv_.wait_until(lock, now + std::chrono::seconds(TIMEOUT_PERIOD)); in wait()
104 if (status == std::cv_status::timeout) return status; in wait()
111 return status; in wait()
124 const WifiNanStatus& status, in notifyCapabilitiesResponse() argument
129 parent_.status = status; in notifyCapabilitiesResponse()
138 const WifiNanStatus& status) override { in notifyEnableResponse() argument
142 parent_.status = status; in notifyEnableResponse()
150 const WifiNanStatus& status) override { in notifyConfigResponse() argument
154 parent_.status = status; in notifyConfigResponse()
[all …]
/hardware/interfaces/configstore/1.0/vts/functional/
DVtsHalConfigstoreV1_0TargetTest.cpp57 Return<void> status = sfConfigs->vsyncEventPhaseOffsetNs( in TEST_P() local
59 EXPECT_OK(status); in TEST_P()
61 status = sfConfigs->vsyncSfEventPhaseOffsetNs( in TEST_P()
63 EXPECT_OK(status); in TEST_P()
65 status = sfConfigs->useContextPriority( in TEST_P()
67 EXPECT_OK(status); in TEST_P()
69 status = sfConfigs->hasWideColorDisplay( in TEST_P()
71 EXPECT_OK(status); in TEST_P()
73 status = sfConfigs->hasHDRDisplay( in TEST_P()
75 EXPECT_OK(status); in TEST_P()
[all …]
/hardware/interfaces/drm/1.0/default/
DTypeConvert.cpp27 Status status; in toStatus() local
30 status = Status::OK; in toStatus()
33 status = Status::ERROR_DRM_NO_LICENSE; in toStatus()
36 status = Status::ERROR_DRM_LICENSE_EXPIRED; in toStatus()
39 status = Status::ERROR_DRM_SESSION_NOT_OPENED; in toStatus()
42 status = Status::ERROR_DRM_CANNOT_HANDLE; in toStatus()
45 status = Status::ERROR_DRM_INVALID_STATE; in toStatus()
48 status = Status::BAD_VALUE; in toStatus()
51 status = Status::ERROR_DRM_NOT_PROVISIONED; in toStatus()
54 status = Status::ERROR_DRM_RESOURCE_BUSY; in toStatus()
[all …]
/hardware/interfaces/media/omx/1.0/vts/functional/component/
DVtsHalMediaOmxV1_0TargetComponentTest.cpp67 android::hardware::media::omx::V1_0::Status status; in SetUp() local
76 status = _s; in SetUp()
80 if (status == android::hardware::media::omx::V1_0::Status::NAME_NOT_FOUND) { in SetUp()
85 ASSERT_EQ(status, android::hardware::media::omx::V1_0::Status::OK); in SetUp()
194 android::hardware::media::omx::V1_0::Status status; in TEST_P() local
203 status = omxNode->dispatchMessage(msgin); in TEST_P()
204 ASSERT_EQ(status, ::android::hardware::media::omx::V1_0::Status::OK); in TEST_P()
205 status = observer->dequeueMessage(&msgout, DEFAULT_TIMEOUT); in TEST_P()
206 EXPECT_EQ(status, android::hardware::media::omx::V1_0::Status::OK); in TEST_P()
219 android::hardware::media::omx::V1_0::Status status; in TEST_P() local
[all …]
/hardware/interfaces/wifi/supplicant/1.0/
DISupplicantStaNetwork.hal138 * @return status Status of the operation.
139 * Possible status codes:
145 generates (SupplicantStatus status);
157 * @return status Status of the operation.
158 * Possible status codes:
164 setSsid(Ssid ssid) generates (SupplicantStatus status);
170 * @return status Status of the operation.
171 * Possible status codes:
177 setBssid(Bssid bssid) generates (SupplicantStatus status);
183 * @return status Status of the operation.
[all …]
/hardware/interfaces/wifi/1.2/vts/functional/
Dwifi_nan_iface_hidl_test.cpp110 std::cv_status status = std::cv_status::no_timeout; in wait() local
113 status = cv_.wait_until(lock, in wait()
115 if (status == std::cv_status::timeout) return status; in wait()
123 return status; in wait()
137 uint16_t id, const WifiNanStatus& status, in notifyCapabilitiesResponse() argument
142 parent_.status = status; in notifyCapabilitiesResponse()
150 uint16_t id, const WifiNanStatus& status) override { in notifyEnableResponse() argument
154 parent_.status = status; in notifyEnableResponse()
161 uint16_t id, const WifiNanStatus& status) override { in notifyConfigResponse() argument
165 parent_.status = status; in notifyConfigResponse()
[all …]
/hardware/interfaces/cas/1.1/default/
DTypeConvert.cpp30 Status status; in toStatus() local
33 status = Status::OK; in toStatus()
36 status = Status::ERROR_CAS_NO_LICENSE; in toStatus()
39 status = Status::ERROR_CAS_LICENSE_EXPIRED; in toStatus()
42 status = Status::ERROR_CAS_SESSION_NOT_OPENED; in toStatus()
45 status = Status::ERROR_CAS_CANNOT_HANDLE; in toStatus()
48 status = Status::ERROR_CAS_INVALID_STATE; in toStatus()
51 status = Status::BAD_VALUE; in toStatus()
54 status = Status::ERROR_CAS_NOT_PROVISIONED; in toStatus()
57 status = Status::ERROR_CAS_RESOURCE_BUSY; in toStatus()
[all …]
/hardware/interfaces/cas/1.0/default/
DTypeConvert.cpp30 Status status; in toStatus() local
33 status = Status::OK; in toStatus()
36 status = Status::ERROR_CAS_NO_LICENSE; in toStatus()
39 status = Status::ERROR_CAS_LICENSE_EXPIRED; in toStatus()
42 status = Status::ERROR_CAS_SESSION_NOT_OPENED; in toStatus()
45 status = Status::ERROR_CAS_CANNOT_HANDLE; in toStatus()
48 status = Status::ERROR_CAS_INVALID_STATE; in toStatus()
51 status = Status::BAD_VALUE; in toStatus()
54 status = Status::ERROR_CAS_NOT_PROVISIONED; in toStatus()
57 status = Status::ERROR_CAS_RESOURCE_BUSY; in toStatus()
[all …]
/hardware/interfaces/thermal/2.0/vts/functional/
DVtsHalThermalV2_0TargetTest.cpp78 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); }); in SetUp() argument
83 [](ThermalStatus status) { EXPECT_NE(ThermalStatusCode::SUCCESS, status.code); }); in SetUp() argument
90 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); }); in TearDown() argument
95 [](ThermalStatus status) { EXPECT_NE(ThermalStatusCode::SUCCESS, status.code); }); in TearDown() argument
122 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::FAILURE, status.code); }); in TEST_P() argument
127 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::FAILURE, status.code); }); in TEST_P() argument
133 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); }); in TEST_P() argument
138 [](ThermalStatus status) { EXPECT_EQ(ThermalStatusCode::SUCCESS, status.code); }); in TEST_P() argument
141 ret = mThermal->unregisterThermalChangedCallback(nullptr, [](ThermalStatus status) { in TEST_P() argument
142 EXPECT_EQ(ThermalStatusCode::FAILURE, status.code); in TEST_P()
[all …]
/hardware/nxp/nfc/halimpl/dnld/
DphNxpNciHal_Dnld.cc100 static NFCSTATUS phNxpNciHal_fw_dnld_reset(void* pContext, NFCSTATUS status,
103 static void phNxpNciHal_fw_dnld_reset_cb(void* pContext, NFCSTATUS status,
106 static NFCSTATUS phNxpNciHal_fw_dnld_force(void* pContext, NFCSTATUS status,
109 static void phNxpNciHal_fw_dnld_force_cb(void* pContext, NFCSTATUS status,
112 static void phNxpNciHal_fw_dnld_normal_cb(void* pContext, NFCSTATUS status,
115 static NFCSTATUS phNxpNciHal_fw_dnld_normal(void* pContext, NFCSTATUS status,
118 static void phNxpNciHal_fw_dnld_get_version_cb(void* pContext, NFCSTATUS status,
122 NFCSTATUS status, void* pInfo);
125 NFCSTATUS status,
129 NFCSTATUS status,
[all …]
/hardware/google/av/codec2/hidl/client/
Dclient.cpp137 c2_status_t status; in query() local
141 [&status, &numStackIndices, &stackParams, heapParams]( in query()
143 status = static_cast<c2_status_t>(s); in query()
144 if (status != C2_OK && status != C2_BAD_INDEX) { in query()
146 "Error code = %d", static_cast<int>(status)); in query()
153 "Error code = %d", static_cast<int>(status)); in query()
154 status = parseStatus; in query()
172 status = C2_CORRUPTED; in query()
204 return status; in query()
217 c2_status_t status; in config() local
[all …]
/hardware/interfaces/drm/1.1/vts/functional/
Ddrm_hal_clearkey_test.cpp43 [&sessionId](Status status, const SessionId& id) { in openSession() argument
44 EXPECT_EQ(Status::OK, status); in openSession()
59 [&sessionId](Status status, const SessionId& id) { in openSession() argument
60 EXPECT_EQ(Status::OK, status); in openSession()
117 [&](Status status, const hidl_vec<uint8_t>& request, in loadKeys()
119 EXPECT_EQ(Status::OK, status); in loadKeys()
128 [&](Status status, const hidl_vec<uint8_t>& myKeySetId) { in loadKeys() argument
129 EXPECT_EQ(Status::OK, status); in loadKeys()
142 [&](Status status, const SessionId& /* id */) { in TEST_P() argument
143 EXPECT_EQ(Status::ERROR_DRM_CANNOT_HANDLE, status); in TEST_P()
[all …]
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dhal_outputs.c77 int status; in inv_get_sensor_type_accelerometer() local
87 status = 1; in inv_get_sensor_type_accelerometer()
89 status = 0; in inv_get_sensor_type_accelerometer()
91 values[2], status, *timestamp); in inv_get_sensor_type_accelerometer()
92 return status; in inv_get_sensor_type_accelerometer()
107 int status; in inv_get_sensor_type_linear_acceleration() local
119 status = 1; in inv_get_sensor_type_linear_acceleration()
121 status = 0; in inv_get_sensor_type_linear_acceleration()
122 return status; in inv_get_sensor_type_linear_acceleration()
136 int status; in inv_get_sensor_type_gravity() local
[all …]

12345678910>>...65