Home
last modified time | relevance | path

Searched refs:error (Results 1 – 25 of 331) sorted by relevance

12345678910>>...14

/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/
Dvbp_loader.c20 uint32 error; in vbp_open() local
36 error = vbp_utils_create_context(parser_type, ppcontext); in vbp_open()
37 if (VBP_OK != error) in vbp_open()
39 ETRACE("Failed to create context: %d.", error); in vbp_open()
42 return error; in vbp_open()
50 uint32 error; in vbp_close() local
65 error = vbp_utils_destroy_context(pcontext); in vbp_close()
66 if (VBP_OK != error) in vbp_close()
68 ETRACE("Failed to destroy context: %d.", error); in vbp_close()
71 return error; in vbp_close()
[all …]
Dvbp_utils.c34 uint32 error = VBP_OK; in vbp_utils_uninitialize_context() local
38 return error; in vbp_utils_uninitialize_context()
53 return error; in vbp_utils_uninitialize_context()
63 uint32 error = VBP_OK; in vbp_utils_initialize_context() local
95 error = VBP_LOAD; in vbp_utils_initialize_context()
103 error = VBP_MEM; in vbp_utils_initialize_context()
133 error = pcontext->func_init_parser_entries(pcontext); in vbp_utils_initialize_context()
137 if (VBP_OK != error) in vbp_utils_initialize_context()
143 return error; in vbp_utils_initialize_context()
187 uint32 error = VBP_OK; in vbp_utils_allocate_parser_memory() local
[all …]
/hardware/interfaces/radio/1.0/vts/functional/
Dradio_hidl_hal_voice.cpp31 ASSERT_TRUE(radioRsp->rspInfo.error == RadioError::NONE); in TEST_F()
52 radioRsp->rspInfo.error == RadioError::INVALID_ARGUMENTS || in TEST_F()
53 radioRsp->rspInfo.error == RadioError::INVALID_STATE || in TEST_F()
54 radioRsp->rspInfo.error == RadioError::MODEM_ERR || in TEST_F()
55 radioRsp->rspInfo.error == RadioError::FDN_CHECK_FAILURE || in TEST_F()
56 radioRsp->rspInfo.error == RadioError::NO_SUBSCRIPTION || in TEST_F()
57 radioRsp->rspInfo.error == RadioError::NO_NETWORK_FOUND || in TEST_F()
58 radioRsp->rspInfo.error == RadioError::INVALID_CALL_ID || in TEST_F()
59 radioRsp->rspInfo.error == RadioError::DEVICE_IN_USE || in TEST_F()
60 radioRsp->rspInfo.error == RadioError::MODE_NOT_SUPPORTED || in TEST_F()
[all …]
Dradio_hidl_hal_sms.cpp38 radioRsp->rspInfo.error == RadioError::INVALID_ARGUMENTS || in TEST_F()
39 radioRsp->rspInfo.error == RadioError::INVALID_STATE); in TEST_F()
64 radioRsp->rspInfo.error == RadioError::INVALID_ARGUMENTS || in TEST_F()
65 radioRsp->rspInfo.error == RadioError::INVALID_STATE); in TEST_F()
85 radioRsp->rspInfo.error == RadioError::INVALID_ARGUMENTS || in TEST_F()
86 radioRsp->rspInfo.error == RadioError::INVALID_STATE); in TEST_F()
147 radioRsp->rspInfo.error == RadioError::INVALID_ARGUMENTS || in TEST_F()
148 radioRsp->rspInfo.error == RadioError::INVALID_STATE); in TEST_F()
171 radioRsp->rspInfo.error == RadioError::INVALID_ARGUMENTS || in TEST_F()
172 radioRsp->rspInfo.error == RadioError::NO_SMS_TO_ACK); in TEST_F()
[all …]
Dradio_hidl_hal_misc.cpp31 ASSERT_TRUE(radioRsp->rspInfo.error == RadioError::NONE); in TEST_F()
47 ASSERT_TRUE(radioRsp->rspInfo.error == RadioError::NONE); in TEST_F()
63 ASSERT_TRUE(radioRsp->rspInfo.error == RadioError::NONE); in TEST_F()
79 ASSERT_TRUE(radioRsp->rspInfo.error == RadioError::NONE); in TEST_F()
95 ASSERT_TRUE(radioRsp->rspInfo.error == RadioError::NONE); in TEST_F()
112 radioRsp->rspInfo.error == RadioError::ILLEGAL_SIM_OR_ME || in TEST_F()
113 radioRsp->rspInfo.error == RadioError::NONE || in TEST_F()
114 radioRsp->rspInfo.error == RadioError::OPERATION_NOT_ALLOWED); in TEST_F()
131 radioRsp->rspInfo.error == RadioError::INVALID_ARGUMENTS || in TEST_F()
132 radioRsp->rspInfo.error == RadioError::ILLEGAL_SIM_OR_ME || in TEST_F()
[all …]
Dradio_hidl_hal_stk.cpp37 std::cout << static_cast<int>(radioRsp->rspInfo.error) << std::endl; in TEST_F()
39 radioRsp->rspInfo.error == RadioError::INVALID_ARGUMENTS || in TEST_F()
40 radioRsp->rspInfo.error == RadioError::NONE); in TEST_F()
54 std::cout << static_cast<int>(radioRsp->rspInfo.error) << std::endl; in TEST_F()
56 radioRsp->rspInfo.error == RadioError::INVALID_ARGUMENTS || in TEST_F()
57 radioRsp->rspInfo.error == RadioError::NONE); in TEST_F()
77 std::cout << static_cast<int>(radioRsp->rspInfo.error) << std::endl; in TEST_F()
79 radioRsp->rspInfo.error == RadioError::INVALID_ARGUMENTS || in TEST_F()
80 radioRsp->rspInfo.error == RadioError::NONE); in TEST_F()
95 std::cout << static_cast<int>(radioRsp->rspInfo.error) << std::endl; in TEST_F()
[all …]
Dradio_hidl_hal_test.cpp37 EXPECT_EQ(RadioError::NONE, radioRsp->rspInfo.error); in SetUp()
64 return (radioRsp->rspInfo.error == RadioError::RADIO_NOT_AVAILABLE || in CheckGeneralError()
65 radioRsp->rspInfo.error == RadioError::NO_MEMORY || in CheckGeneralError()
66 radioRsp->rspInfo.error == RadioError::INTERNAL_ERR || in CheckGeneralError()
67 radioRsp->rspInfo.error == RadioError::SYSTEM_ERR || in CheckGeneralError()
68 radioRsp->rspInfo.error == RadioError::REQUEST_NOT_SUPPORTED || in CheckGeneralError()
69 radioRsp->rspInfo.error == RadioError::CANCELLED); in CheckGeneralError()
73 return (radioRsp->rspInfo.error >= RadioError::OEM_ERROR_1 && in CheckOEMError()
74 radioRsp->rspInfo.error <= RadioError::OEM_ERROR_25); in CheckOEMError()
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_primary.cpp52 DisplayError error = HWPrimary::Create(&hw_intf_, hw_info_intf_, in Init() local
55 if (error != kErrorNone) { in Init()
56 return error; in Init()
59 error = DisplayBase::Init(); in Init()
60 if (error != kErrorNone) { in Init()
62 return error; in Init()
68 error = hw_intf_->SetDisplayMode(kModeVideo); in Init()
69 if (error != kErrorNone) { in Init()
75 error = HWEventsInterface::Create(INT(display_type_), this, &event_list_, &hw_events_intf_); in Init()
76 if (error != kErrorNone) { in Init()
[all …]
Ddisplay_base.cpp56 DisplayError error = kErrorNone; in Init() local
65 error = hw_intf_->GetMixerAttributes(&mixer_attributes_); in Init()
66 if (error != kErrorNone) { in Init()
67 return error; in Init()
75 error = comp_manager_->GetScaleLutConfig(&lut_info); in Init()
76 if (error == kErrorNone) { in Init()
77 error = hw_intf_->SetScaleLutConfig(&lut_info); in Init()
80 if (error != kErrorNone) { in Init()
84 error = comp_manager_->RegisterDisplay(display_type_, display_attributes_, hw_panel_info_, in Init()
86 if (error != kErrorNone) { in Init()
[all …]
Ddisplay_virtual.cpp47 DisplayError error = HWVirtual::Create(&hw_intf_, hw_info_intf_, in Init() local
49 if (error != kErrorNone) { in Init()
50 return error; in Init()
55 error = DisplayBase::Init(); in Init()
56 if (error != kErrorNone) { in Init()
60 return error; in Init()
66 DisplayError error = DisplayBase::Deinit(); in Deinit() local
69 return error; in Deinit()
97 DisplayError error = kErrorNone; in SetActiveConfig() local
110 error = hw_intf_->SetDisplayAttributes(display_attributes); in SetActiveConfig()
[all …]
Dcore_impl.cpp48 DisplayError error = kErrorNone; in Init() local
60 error = create_extension_intf_(EXTENSION_VERSION_TAG, &extension_intf_); in Init()
61 if (error != kErrorNone) { in Init()
63 return error; in Init()
69 error = HWInfoInterface::Create(&hw_info_intf_); in Init()
70 if (error != kErrorNone) { in Init()
74 error = hw_info_intf_->GetHWResourceInfo(&hw_resource_); in Init()
75 if (error != kErrorNone) { in Init()
79 error = comp_mgr_.Init(hw_resource_, extension_intf_, buffer_sync_handler_); in Init()
80 if (error != kErrorNone) { in Init()
[all …]
Dcomp_manager.cpp41 DisplayError error = kErrorNone; in Init() local
44 error = extension_intf->CreateResourceExtn(hw_res_info, &resource_intf_, buffer_sync_handler); in Init()
47 error = resource_default_.Init(hw_res_info); in Init()
50 if (error != kErrorNone) { in Init()
51 return error; in Init()
57 return error; in Init()
80 DisplayError error = kErrorNone; in RegisterDisplay() local
96 error = strategy->Init(); in RegisterDisplay()
97 if (error != kErrorNone) { in RegisterDisplay()
100 return error; in RegisterDisplay()
[all …]
Ddisplay_hdmi.cpp50 DisplayError error = HWHDMI::Create(&hw_intf_, hw_info_intf_, in Init() local
52 if (error != kErrorNone) { in Init()
53 return error; in Init()
66 error = hw_intf_->SetDisplayAttributes(active_mode_index); in Init()
67 if (error != kErrorNone) { in Init()
71 error = DisplayBase::Init(); in Init()
72 if (error != kErrorNone) { in Init()
74 return error; in Init()
91 error = HWEventsInterface::Create(INT(display_type_), this, &event_list_, &hw_events_intf_); in Init()
92 if (error != kErrorNone) { in Init()
[all …]
/hardware/intel/common/libmix/mix_audio/src/
Damhelper.c15 GError *error; in dbus_init() local
29 error = NULL; in dbus_init()
30 connection = dbus_g_bus_get(DBUS_BUS_SESSION, &error); in dbus_init()
34 error->message); in dbus_init()
35 g_error_free(error); in dbus_init()
56 GError *error; in lpe_stream_register() local
58 error = NULL; in lpe_stream_register()
66 if(!dbus_g_proxy_call (proxy_lpe, "LPEStreamRegister", &error, G_TYPE_UINT, in lpe_stream_register()
69 mix_log(MIX_AUDIO_COMP, MIX_LOG_LEVEL_WARNING, "LPEStreamRegister failed: %s\n", error->message); in lpe_stream_register()
70 g_error_free(error); in lpe_stream_register()
[all …]
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_base.cpp52 DisplayError error = kErrorNone; in Init() local
61 error = Debug::GetMixerResolution(&mixer_attributes_.width, &mixer_attributes_.height); in Init()
62 if (error != kErrorNone) { in Init()
63 error = hw_intf_->GetMixerAttributes(&mixer_attributes_); in Init()
64 if (error != kErrorNone) { in Init()
65 return error; in Init()
74 error = comp_manager_->GetScaleLutConfig(&lut_info); in Init()
75 if (error == kErrorNone) { in Init()
76 error = hw_intf_->SetScaleLutConfig(&lut_info); in Init()
79 if (error != kErrorNone) { in Init()
[all …]
Ddisplay_primary.cpp50 DisplayError error = HWInterface::Create(kPrimary, hw_info_intf_, buffer_sync_handler_, in Init() local
52 if (error != kErrorNone) { in Init()
53 return error; in Init()
56 error = DisplayBase::Init(); in Init()
57 if (error != kErrorNone) { in Init()
59 return error; in Init()
65 error = hw_intf_->SetDisplayMode(kModeVideo); in Init()
66 if (error != kErrorNone) { in Init()
74 error = HWEventsInterface::Create(INT(display_type_), this, event_list_, &hw_events_intf_); in Init()
75 if (error != kErrorNone) { in Init()
[all …]
Ddisplay_virtual.cpp45 DisplayError error = HWInterface::Create(kVirtual, hw_info_intf_, buffer_sync_handler_, in Init() local
47 if (error != kErrorNone) { in Init()
48 return error; in Init()
53 error = DisplayBase::Init(); in Init()
54 if (error != kErrorNone) { in Init()
58 return error; in Init()
86 DisplayError error = kErrorNone; in SetActiveConfig() local
98 error = hw_intf_->SetDisplayAttributes(display_attributes); in SetActiveConfig()
99 if (error != kErrorNone) { in SetActiveConfig()
100 return error; in SetActiveConfig()
[all …]
Dcore_impl.cpp50 DisplayError error = kErrorNone; in Init() local
62 error = create_extension_intf_(EXTENSION_VERSION_TAG, &extension_intf_); in Init()
63 if (error != kErrorNone) { in Init()
65 return error; in Init()
71 error = HWInfoInterface::Create(&hw_info_intf_); in Init()
72 if (error != kErrorNone) { in Init()
76 error = hw_info_intf_->GetHWResourceInfo(&hw_resource_); in Init()
77 if (error != kErrorNone) { in Init()
81 error = comp_mgr_.Init(hw_resource_, extension_intf_, buffer_allocator_, in Init()
84 if (error != kErrorNone) { in Init()
[all …]
Dcomp_manager.cpp49 DisplayError error = kErrorNone; in Init() local
52 error = extension_intf->CreateResourceExtn(hw_res_info, &resource_intf_, buffer_allocator, in Init()
56 error = ResourceDefault::CreateResourceDefault(hw_res_info, &resource_intf_); in Init()
59 if (error != kErrorNone) { in Init()
63 return error; in Init()
70 return error; in Init()
94 DisplayError error = kErrorNone; in RegisterDisplay() local
110 error = strategy->Init(); in RegisterDisplay()
111 if (error != kErrorNone) { in RegisterDisplay()
114 return error; in RegisterDisplay()
[all …]
Ddisplay_hdmi.cpp48 DisplayError error = HWInterface::Create(kHDMI, hw_info_intf_, buffer_sync_handler_, in Init() local
50 if (error != kErrorNone) { in Init()
51 return error; in Init()
64 error = hw_intf_->SetDisplayAttributes(active_mode_index); in Init()
65 if (error != kErrorNone) { in Init()
69 error = DisplayBase::Init(); in Init()
70 if (error != kErrorNone) { in Init()
72 return error; in Init()
89 error = HWEventsInterface::Create(INT(display_type_), this, event_list_, &hw_events_intf_); in Init()
90 if (error != kErrorNone) { in Init()
[all …]
Dstrategy.cpp48 DisplayError error = kErrorNone; in Init() local
51 error = extension_intf_->CreateStrategyExtn(display_type_, buffer_allocator_, hw_resource_info_, in Init()
54 if (error != kErrorNone) { in Init()
56 return error; in Init()
59 error = extension_intf_->CreatePartialUpdate(display_type_, hw_resource_info_, hw_panel_info_, in Init()
81 DisplayError error = kErrorNone; in Start() local
98 error = strategy_intf_->Start(hw_layers_info_, max_attempts); in Start()
99 if (error == kErrorNone) { in Start()
119 DisplayError error = kErrorNone; in GetNextStrategy() local
122 error = strategy_intf_->GetNextStrategy(constraints); in GetNextStrategy()
[all …]
Dresource_default.cpp42 DisplayError error = kErrorNone; in CreateResourceDefault() local
49 error = resource_default->Init(); in CreateResourceDefault()
50 if (error != kErrorNone) { in CreateResourceDefault()
73 DisplayError error = kErrorNone; in Init() local
130 return error; in Init()
142 DisplayError error = kErrorNone; in RegisterDisplay() local
179 return error; in RegisterDisplay()
225 DisplayError error = kErrorNone; in Prepare() local
243 error = Config(display_resource_ctx, hw_layers); in Prepare()
244 if (error != kErrorNone) { in Prepare()
[all …]
/hardware/interfaces/graphics/allocator/2.0/default/
DGralloc1Allocator.cpp128 Error error = createDescriptor(descriptorInfo, &desc); in allocate() local
129 if (error != Error::NONE) { in allocate()
130 hidl_cb(error, 0, hidl_vec<hidl_handle>()); in allocate()
142 error = allocateOne(desc, &tmpBuffer, &tmpStride); in allocate()
143 if (error != Error::NONE) { in allocate()
153 error = Error::UNSUPPORTED; in allocate()
164 if (error == Error::NONE) { in allocate()
167 hidl_cb(error, stride, hidl_buffers); in allocate()
177 Error Gralloc1Allocator::toError(int32_t error) { in toError() argument
178 switch (error) { in toError()
[all …]
/hardware/qcom/bootctrl/
Dboot_control.cpp97 goto error; in get_partition_attribute()
101 goto error; in get_partition_attribute()
105 goto error; in get_partition_attribute()
111 goto error; in get_partition_attribute()
124 error: in get_partition_attribute()
149 goto error; in update_slot_attribute()
159 goto error; in update_slot_attribute()
195 goto error; in update_slot_attribute()
202 goto error; in update_slot_attribute()
210 goto error; in update_slot_attribute()
[all …]
/hardware/qcom/display/msm8996/sdm/libs/hwc/
Dhwc_buffer_sync_handler.cpp42 int error = 0; in SyncWait() local
45 error = sync_wait(fd, 1000); in SyncWait()
46 if (error < 0) { in SyncWait()
56 DisplayError error = kErrorNone; in SyncMerge() local
76 error = kErrorFileDescriptor; in SyncMerge()
79 return error; in SyncMerge()

12345678910>>...14