Home
last modified time | relevance | path

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

12345678910>>...98

/hardware/interfaces/wifi/supplicant/1.3/vts/functional/
Dsupplicant_sta_network_hidl_test.cpp67 [&](const SupplicantStatus &status, uint32_t keyMgmtMaskInternal) { in isWapiSupported() argument
68 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in isWapiSupported()
87 sta_network_->setOcsp(testOcspType, [](const SupplicantStatus &status) { in TEST_P() argument
88 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
92 kTestInvalidOcspType, [](const SupplicantStatus &status) { in TEST_P() argument
93 EXPECT_EQ(SupplicantStatusCode::FAILURE_ARGS_INVALID, status.code); in TEST_P()
97 [testOcspType](const SupplicantStatus &status, OcspType ocspType) { in TEST_P() argument
98 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
111 serializedEntry, [](const SupplicantStatus &status) { in TEST_P() argument
112 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
[all …]
/hardware/interfaces/thermal/aidl/vts/
DVtsHalThermalTargetTest.cpp147 ::ndk::ScopedAStatus status = mThermal->registerThermalChangedCallback(mThermalCallback); in SetUp()
148 ASSERT_TRUE(status.isOk()) << status.getMessage(); in SetUp()
155 status = mThermal->registerCoolingDeviceChangedCallbackWithType(mCoolingDeviceCallback, in SetUp()
157 ASSERT_TRUE(status.isOk()) << status.getMessage(); in SetUp()
162 ::ndk::ScopedAStatus status = mThermal->unregisterThermalChangedCallback(mThermalCallback); in TearDown()
163 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TearDown()
166 status = mThermal->unregisterThermalChangedCallback(mThermalCallback); in TearDown()
167 ASSERT_EQ(EX_ILLEGAL_ARGUMENT, status.getExceptionCode()); in TearDown()
172 status = mThermal->unregisterCoolingDeviceChangedCallback(mCoolingDeviceCallback); in TearDown()
173 ASSERT_TRUE(status.isOk()) << status.getMessage(); in TearDown()
[all …]
/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/cas/aidl/default/
DTypeConvert.cpp30 int status; in toStatus() local
35 status = Status::ERROR_CAS_NO_LICENSE; in toStatus()
38 status = Status::ERROR_CAS_LICENSE_EXPIRED; in toStatus()
41 status = Status::ERROR_CAS_SESSION_NOT_OPENED; in toStatus()
44 status = Status::ERROR_CAS_CANNOT_HANDLE; in toStatus()
47 status = Status::ERROR_CAS_INVALID_STATE; in toStatus()
50 status = Status::BAD_VALUE; in toStatus()
53 status = Status::ERROR_CAS_NOT_PROVISIONED; in toStatus()
56 status = Status::ERROR_CAS_RESOURCE_BUSY; in toStatus()
59 status = Status::ERROR_CAS_INSUFFICIENT_OUTPUT_PROTECTION; in toStatus()
[all …]
/hardware/interfaces/wifi/supplicant/1.0/vts/functional/
Dsupplicant_sta_network_hidl_test.cpp106 [&](const SupplicantStatus& status, int network_id) { in removeNetwork() argument
107 ASSERT_EQ(SupplicantStatusCode::SUCCESS, status.code); in removeNetwork()
110 sta_iface->removeNetwork(net_id, [](const SupplicantStatus& status) { in removeNetwork() argument
111 ASSERT_EQ(SupplicantStatusCode::SUCCESS, status.code); in removeNetwork()
159 new NetworkCallback(), [&](const SupplicantStatus& status) { in TEST_P() argument
161 EXPECT_EQ(SupplicantStatusCode::FAILURE_UNKNOWN, status.code); in TEST_P()
163 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
194 sta_network_->setSsid(ssid_, [](const SupplicantStatus& status) { in TEST_P() argument
195 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
198 [&](const SupplicantStatus& status, const hidl_vec<uint8_t>& get_ssid) { in TEST_P() argument
[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/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/snxxx/halimpl/hal/
DphNxpNciHal.cc140 static void phNxpNciHal_open_complete(NFCSTATUS status);
141 static void phNxpNciHal_MinOpen_complete(NFCSTATUS status);
146 static void phNxpNciHal_close_complete(NFCSTATUS status);
147 static void phNxpNciHal_core_initialized_complete(NFCSTATUS status);
148 static void phNxpNciHal_power_cycle_complete(NFCSTATUS status);
403 NFCSTATUS status = NFCSTATUS_FAILED; in phNxpNciHal_CheckIntegrityRecovery() local
405 status = phNxpNciHal_fw_download(); in phNxpNciHal_CheckIntegrityRecovery()
407 status = NFCSTATUS_FW_CHECK_INTEGRITY_FAILED; in phNxpNciHal_CheckIntegrityRecovery()
409 return status; in phNxpNciHal_CheckIntegrityRecovery()
431 NFCSTATUS status = NFCSTATUS_SUCCESS; in phNxpNciHal_force_fw_download() local
[all …]
DphNxpNciHal_ULPDet.cc94 NFCSTATUS status = NFCSTATUS_SUCCESS; in phNxpNciHal_propConfULPDetMode() local
110 status = in phNxpNciHal_propConfULPDetMode()
112 if (status != NFCSTATUS_SUCCESS) { in phNxpNciHal_propConfULPDetMode()
117 status = phNxpNciHal_send_ext_cmd(sizeof(cmd_coreULPDET), cmd_coreULPDET); in phNxpNciHal_propConfULPDetMode()
118 if (status != NFCSTATUS_SUCCESS) { in phNxpNciHal_propConfULPDetMode()
124 status = phNxpNciHal_ext_send_sram_config_to_flash(); in phNxpNciHal_propConfULPDetMode()
125 if (status != NFCSTATUS_SUCCESS) { in phNxpNciHal_propConfULPDetMode()
131 status = phNxpNciHal_send_ext_cmd(sizeof(getConfig_A015), getConfig_A015); in phNxpNciHal_propConfULPDetMode()
132 if ((status == NFCSTATUS_SUCCESS) && in phNxpNciHal_propConfULPDetMode()
134 status = in phNxpNciHal_propConfULPDetMode()
[all …]
/hardware/nxp/nfc/pn8x/halimpl/self-test/
DphNxpNciHal_SelfTest.cc845 p_cb_data->status = pInfo->wStatus; in hal_write_cb()
862 NFCSTATUS status; in hal_read_cb() local
867 p_cb_data->status = NFCSTATUS_RESPONSE_TIMEOUT; in hal_read_cb()
868 status = phTmlNfc_ReadAbort(); in hal_read_cb()
870 NFCSTATUS status = phOsalNfc_Timer_Stop(timeoutTimerId); in hal_read_cb() local
872 if (NFCSTATUS_SUCCESS == status) { in hal_read_cb()
876 p_cb_data->status = NFCSTATUS_FAILED; in hal_read_cb()
880 p_cb_data->status = NFCSTATUS_FAILED; in hal_read_cb()
884 p_cb_data->status = NFCSTATUS_SUCCESS; in hal_read_cb()
887 p_cb_data->status = NFCSTATUS_FAILED; in hal_read_cb()
[all …]
/hardware/interfaces/wifi/supplicant/1.2/vts/functional/
Dsupplicant_sta_network_hidl_test.cpp59 sta_network_->setSaePassword(password, [](const SupplicantStatus &status) { in TEST_P() argument
60 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
64 [&password](const SupplicantStatus &status, std::string passwordOut) { in TEST_P() argument
65 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
77 passwordId, [](const SupplicantStatus &status) { in TEST_P() argument
78 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
81 sta_network_->getSaePasswordId([&passwordId](const SupplicantStatus &status, in TEST_P()
83 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
96 groupMgmtCipher, [](const SupplicantStatus &status) { in TEST_P() argument
97 EXPECT_EQ(SupplicantStatusCode::SUCCESS, status.code); in TEST_P()
[all …]
/hardware/nxp/nfc/snxxx/halimpl/self-test/
DphNxpNciHal_SelfTest.cc845 p_cb_data->status = pInfo->wStatus; in hal_write_cb()
866 p_cb_data->status = NFCSTATUS_RESPONSE_TIMEOUT; in hal_read_cb()
869 NFCSTATUS status = phOsalNfc_Timer_Stop(timeoutTimerId); in hal_read_cb() local
871 if (NFCSTATUS_SUCCESS == status) { in hal_read_cb()
875 p_cb_data->status = NFCSTATUS_FAILED; in hal_read_cb()
879 p_cb_data->status = NFCSTATUS_FAILED; in hal_read_cb()
883 p_cb_data->status = NFCSTATUS_SUCCESS; in hal_read_cb()
886 p_cb_data->status = NFCSTATUS_FAILED; in hal_read_cb()
889 p_cb_data->status = pInfo->wStatus; in hal_read_cb()
895 p_cb_data->status = NFCSTATUS_SUCCESS; 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/nxp/nfc/pn8x/halimpl/hal/
DphNxpNciHal.cc99 static void phNxpNciHal_open_complete(NFCSTATUS status);
100 static void phNxpNciHal_MinOpen_complete(NFCSTATUS status);
105 static void phNxpNciHal_close_complete(NFCSTATUS status);
106 static void phNxpNciHal_core_initialized_complete(NFCSTATUS status);
107 static void phNxpNciHal_power_cycle_complete(NFCSTATUS status);
339 NFCSTATUS status = NFCSTATUS_REJECTED; in phNxpNciHal_fw_download() local
344 status = phTmlNfc_IoCtl(phTmlNfc_e_EnableDownloadMode); in phNxpNciHal_fw_download()
345 if (NFCSTATUS_SUCCESS != status) { in phNxpNciHal_fw_download()
352 status = phNxpNciHal_getChipInfoInFwDnldMode(); in phNxpNciHal_fw_download()
353 if (status != NFCSTATUS_SUCCESS) { in phNxpNciHal_fw_download()
[all …]
/hardware/interfaces/automotive/ivn_android_device/vts/src/
DVtsHalIvnTargetTest.cpp57 ScopedAStatus status = getHal()->getMyDeviceId(&myDeviceId); in TEST_P() local
59 ASSERT_TRUE(status.isOk()) << "Failed to call getMyDeviceId, status: " << status; in TEST_P()
64 status = getHal()->getOtherDeviceIds(&otherDeviceIds); in TEST_P()
66 ASSERT_TRUE(status.isOk()) << "Failed to call getOtherDeviceIds, status: " << status; in TEST_P()
76 ScopedAStatus status = getHal()->getMyDeviceId(&myDeviceId); in getAllDeviceIds() local
78 if (!status.isOk()) { in getAllDeviceIds()
79 return status; in getAllDeviceIds()
83 status = getHal()->getOtherDeviceIds(&otherDeviceIds); in getAllDeviceIds()
84 if (!status.isOk()) { in getAllDeviceIds()
85 return status; in getAllDeviceIds()
[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/tv/tuner/aidl/vts/functional/
DDemuxTests.cpp20 ndk::ScopedAStatus status; in getDemuxIds() local
21 status = mService->getDemuxIds(&demuxIds); in getDemuxIds()
22 return AssertionResult(status.isOk()); in getDemuxIds()
27 auto status = mService->openDemux(&id, &mDemux); in openDemux() local
28 if (status.isOk()) { in openDemux()
32 return AssertionResult(status.isOk()); in openDemux()
36 auto status = mService->openDemuxById(demuxId, &mDemux); in openDemuxById() local
37 if (status.isOk()) { in openDemuxById()
40 return AssertionResult(status.isOk()); in openDemuxById()
45 auto status = mDemux->setFrontendDataSource(frontendId); in setDemuxFrontendDataSource() local
[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/wifi/1.0/vts/functional/
Dwifi_nan_iface_hidl_test.cpp111 std::cv_status status = std::cv_status::no_timeout; in wait() local
114 status = cv_.wait_until(lock, now + std::chrono::seconds(TIMEOUT_PERIOD)); in wait()
115 if (status == std::cv_status::timeout) return status; in wait()
122 return status; in wait()
135 const WifiNanStatus& status, in notifyCapabilitiesResponse() argument
140 parent_.status = status; in notifyCapabilitiesResponse()
149 const WifiNanStatus& status) override { in notifyEnableResponse() argument
153 parent_.status = status; in notifyEnableResponse()
161 const WifiNanStatus& status) override { in notifyConfigResponse() argument
165 parent_.status = status; in notifyConfigResponse()
[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/nxp/uwb/halimpl/hal/sr200/
DphNxpUciHal_LC.cc62 tHAL_UWB_STATUS status = UWBSTATUS_FAILED;
74 status = phNxpUciHal_performLcRotation();
78 if(status != UWBSTATUS_SUCCESS) {
220 …tHAL_UWB_STATUS status = phNxpUciHal_send_ext_cmd(sizeof(setCoreConfigurations), setCoreConfigurat…
221 if(status != UWBSTATUS_SUCCESS) {
222 return status;
224 return status;
237 tHAL_UWB_STATUS status = phNxpUciHal_send_ext_cmd(sizeof(buffer), buffer);
238 if(status != UWBSTATUS_SUCCESS) {
239 return status;
[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/audio/common/7.0/example/
Dservice.cpp31 status_t status = devicesFactory->registerAsService("example"); in registerDevicesFactoryService() local
32 ALOGE_IF(status != OK, "Error registering devices factory as service: %d", status); in registerDevicesFactoryService()
33 return status; in registerDevicesFactoryService()
39 status_t status = devicesFactory->registerAsService("example"); in registerEffectsFactoryService() local
40 ALOGE_IF(status != OK, "Error registering effects factory as service: %d", status); in registerEffectsFactoryService()
41 return status; in registerEffectsFactoryService()
46 status_t status = registerDevicesFactoryService(); in main() local
47 if (status != OK) { in main()
48 return status; in main()
50 status = registerEffectsFactoryService(); in main()
[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 …]

12345678910>>...98