/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraStateMachine.cpp | 353 qcamera_api_result_t result; in procEvtPreviewStoppedState() local 354 memset(&result, 0, sizeof(qcamera_api_result_t)); in procEvtPreviewStoppedState() 361 result.status = rc; in procEvtPreviewStoppedState() 362 result.request_api = evt; in procEvtPreviewStoppedState() 363 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState() 364 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState() 376 result.status = rc; in procEvtPreviewStoppedState() 377 result.request_api = evt; in procEvtPreviewStoppedState() 378 result.result_type = QCAMERA_API_RESULT_TYPE_DEF; in procEvtPreviewStoppedState() 379 m_parent->signalAPIResult(&result); in procEvtPreviewStoppedState() [all …]
|
/hardware/qcom/sm7250/display/gralloc/ |
D | gr_camera_info.cpp | 142 CamxFormatResult result = (CamxFormatResult)-1; in GetBufferSize() local 144 result = LINK_camera_get_buffer_size(GetCameraPixelFormat(format), width, height, size); in GetBufferSize() 145 if (result != 0) { in GetBufferSize() 146 ALOGE("%s: Failed to get the buffer size. Error code: %d", __FUNCTION__, result); in GetBufferSize() 149 ALOGW("%s: Failed to link CamxFormatUtil_GetBufferSize. Error code : %d", __FUNCTION__, result); in GetBufferSize() 152 return result; in GetBufferSize() 156 CamxFormatResult result = (CamxFormatResult)-1; in GetStrideInBytes() local 158 result = LINK_camera_get_stride_in_bytes(GetCameraPixelFormat(format), in GetStrideInBytes() 160 if (result != 0) { in GetStrideInBytes() 161 ALOGE("%s: Failed to get the stride in bytes. Error code: %d", __FUNCTION__, result); in GetStrideInBytes() [all …]
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | gscan.cpp | 355 int result = request.create(GOOGLE_OUI, subcmd); in createFeatureRequest() local 356 if (result < 0) { in createFeatureRequest() 357 return result; in createFeatureRequest() 361 result = request.put_u32(GSCAN_ATTRIBUTE_ENABLE_FEATURE, enable); in createFeatureRequest() 362 if (result < 0) { in createFeatureRequest() 363 return result; in createFeatureRequest() 382 int result = request.create(GOOGLE_OUI, subcmd); in createRequest() local 383 if (result < 0) { in createRequest() 384 return result; in createRequest() 388 result = request.put_u32(GSCAN_ENABLE_FULL_SCAN_RESULTS, enable); in createRequest() [all …]
|
D | wifi_offload.cpp | 105 int result = WIFI_SUCCESS; in createRequest() local 110 result = request.create(GOOGLE_OUI, WIFI_OFFLOAD_START_MKEEP_ALIVE); in createRequest() 111 if (result != WIFI_SUCCESS) { in createRequest() 112 ALOGE("Failed to create start keep alive request; result = %d", result); in createRequest() 113 return result; in createRequest() 118 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); in createRequest() 119 if (result < 0) { in createRequest() 120 ALOGE("Failed to put id request; result = %d", result); in createRequest() 121 return result; in createRequest() 124 result = request.put_u16(MKEEP_ALIVE_ATTRIBUTE_IP_PKT_LEN, mIpPktLen); in createRequest() [all …]
|
D | nan.cpp | 560 int result = NAN_STATUS_SUCCESS; in passphrase_to_pmk() local 583 result = PKCS5_PBKDF2_HMAC((const char *) key_info->body.passphrase_info.passphrase, in passphrase_to_pmk() 589 return result; in passphrase_to_pmk() 700 int result = request.create(GOOGLE_OUI, NAN_SUBCMD_PAIRING_REQUEST); in createPairingRequest() local 701 if (result < 0) { in createPairingRequest() 703 return result; in createPairingRequest() 710 result = request.put_u32(NAN_ATTRIBUTE_PEER_ID, mParams->requestor_instance_id); in createPairingRequest() 711 if (result < 0) { in createPairingRequest() 712 ALOGE("%s: Failed to fill svc id, result = %d\n", __func__, result); in createPairingRequest() 713 return result; in createPairingRequest() [all …]
|
D | wifi_logger.cpp | 706 int result = request.create(GOOGLE_OUI, LOGGER_START_LOGGING); in createRingRequest() local 707 if (result != WIFI_SUCCESS) { in createRingRequest() 708 ALOGE("Failed to create start ring logger request; result = %d", result); in createRingRequest() 709 return result; in createRingRequest() 714 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_LEVEL, mVerboseLevel); in createRingRequest() 715 if (result != WIFI_SUCCESS) { in createRingRequest() 716 ALOGE("Failed to put log level; result = %d", result); in createRingRequest() 717 return result; in createRingRequest() 719 result = request.put_u32(LOGGER_ATTRIBUTE_RING_FLAGS, mFlags); in createRingRequest() 720 if (result != WIFI_SUCCESS) { in createRingRequest() [all …]
|
/hardware/synaptics/wlan/synadhd/wifi_hal/ |
D | gscan.cpp | 351 int result = request.create(GOOGLE_OUI, subcmd); in createFeatureRequest() local 352 if (result < 0) { in createFeatureRequest() 353 return result; in createFeatureRequest() 357 result = request.put_u32(GSCAN_ATTRIBUTE_ENABLE_FEATURE, enable); in createFeatureRequest() 358 if (result < 0) { in createFeatureRequest() 359 return result; in createFeatureRequest() 378 int result = request.create(GOOGLE_OUI, subcmd); in createRequest() local 379 if (result < 0) { in createRequest() 380 return result; in createRequest() 384 result = request.put_u32(GSCAN_ENABLE_FULL_SCAN_RESULTS, enable); in createRequest() [all …]
|
D | wifi_offload.cpp | 105 int result = WIFI_SUCCESS; in createRequest() local 110 result = request.create(GOOGLE_OUI, WIFI_OFFLOAD_START_MKEEP_ALIVE); in createRequest() 111 if (result != WIFI_SUCCESS) { in createRequest() 112 ALOGE("Failed to create start keep alive request; result = %d", result); in createRequest() 113 return result; in createRequest() 118 result = request.put_u8(MKEEP_ALIVE_ATTRIBUTE_ID, mIndex); in createRequest() 119 if (result < 0) { in createRequest() 120 ALOGE("Failed to put id request; result = %d", result); in createRequest() 121 return result; in createRequest() 124 result = request.put_u16(MKEEP_ALIVE_ATTRIBUTE_IP_PKT_LEN, mIpPktLen); in createRequest() [all …]
|
D | nan.cpp | 494 int result = NAN_STATUS_SUCCESS; in passphrase_to_pmk() local 517 result = PKCS5_PBKDF2_HMAC((const char *) key_info->body.passphrase_info.passphrase, in passphrase_to_pmk() 523 return result; in passphrase_to_pmk() 649 int result = request.create(GOOGLE_OUI, NAN_SUBCMD_PUBLISH); in createPublishRequest() local 650 if (result < 0) { in createPublishRequest() 651 ALOGE("%s Failed to create request, result = %d\n", __func__, result); in createPublishRequest() 652 return result; in createPublishRequest() 661 result = request.put_u32(NAN_ATTRIBUTE_PUBLISH_ID, mInstId); in createPublishRequest() 662 if (result < 0) { in createPublishRequest() 663 ALOGE("%s: Failed to fill pub id, result = %d\n", __func__, result); in createPublishRequest() [all …]
|
D | wifi_logger.cpp | 638 int result = request.create(GOOGLE_OUI, LOGGER_START_LOGGING); in createRingRequest() local 639 if (result != WIFI_SUCCESS) { in createRingRequest() 640 ALOGE("Failed to create start ring logger request; result = %d", result); in createRingRequest() 641 return result; in createRingRequest() 646 result = request.put_u32(LOGGER_ATTRIBUTE_LOG_LEVEL, mVerboseLevel); in createRingRequest() 647 if (result != WIFI_SUCCESS) { in createRingRequest() 648 ALOGE("Failed to put log level; result = %d", result); in createRingRequest() 649 return result; in createRingRequest() 651 result = request.put_u32(LOGGER_ATTRIBUTE_RING_FLAGS, mFlags); in createRingRequest() 652 if (result != WIFI_SUCCESS) { in createRingRequest() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_commands.c | 41 int result = 0; in tuneserver_initialize_prevtuningp() local 51 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_initialize_prevtuningp() 54 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_initialize_prevtuningp() 61 return result; in tuneserver_initialize_prevtuningp() 67 int result = 0; in tuneserver_deinitialize_prevtuningp() local 72 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_deinitialize_prevtuningp() 75 return result; in tuneserver_deinitialize_prevtuningp() 80 int result = 0; in tuneserver_preview_getinfo() local 84 result = tctrl->tuning_params.func_tbl->prevcommand_process( in tuneserver_preview_getinfo() 87 return result; in tuneserver_preview_getinfo() [all …]
|
/hardware/interfaces/identity/aidl/vts/ |
D | VtsIWritableIdentityCredentialTests.cpp | 62 Status result; in TEST_P() local 74 result = writableCredential->getAttestationCertificate( in TEST_P() 77 EXPECT_FALSE(result.isOk()) << result.exceptionCode() << "; " << result.exceptionMessage() in TEST_P() 79 EXPECT_EQ(binder::Status::EX_SERVICE_SPECIFIC, result.exceptionCode()); in TEST_P() 80 EXPECT_EQ(IIdentityCredentialStore::STATUS_INVALID_DATA, result.serviceSpecificErrorCode()); in TEST_P() 84 Status result; in TEST_P() local 98 result = writableCredential->getAttestationCertificate( in TEST_P() 101 EXPECT_TRUE(result.isOk()) << result.exceptionCode() << "; " << result.exceptionMessage() in TEST_P() 116 Status result; in TEST_P() local 123 result = credentialStore_->getRemotelyProvisionedComponent(&rpc); in TEST_P() [all …]
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.c | 55 int result; in thelper_signal_init() local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); in thelper_signal_init() 59 if (result) { in thelper_signal_init() 60 return result; in thelper_signal_init() 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); in thelper_signal_init() 64 if (result) { in thelper_signal_init() 67 return result; in thelper_signal_init() 90 int result, ret_result = 0; in thelper_signal_destroy() local 91 result = pthread_cond_destroy( &thelper->thread_cond); in thelper_signal_destroy() 92 if (result) { in thelper_signal_destroy() [all …]
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.c | 55 int result; in thelper_signal_init() local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); in thelper_signal_init() 59 if (result) { in thelper_signal_init() 60 return result; in thelper_signal_init() 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); in thelper_signal_init() 64 if (result) { in thelper_signal_init() 67 return result; in thelper_signal_init() 90 int result, ret_result = 0; in thelper_signal_destroy() local 91 result = pthread_cond_destroy( &thelper->thread_cond); in thelper_signal_destroy() 92 if (result) { in thelper_signal_destroy() [all …]
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.c | 55 int result; in thelper_signal_init() local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); in thelper_signal_init() 59 if (result) { in thelper_signal_init() 60 return result; in thelper_signal_init() 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); in thelper_signal_init() 64 if (result) { in thelper_signal_init() 67 return result; in thelper_signal_init() 90 int result, ret_result = 0; in thelper_signal_destroy() local 91 result = pthread_cond_destroy( &thelper->thread_cond); in thelper_signal_destroy() 92 if (result) { in thelper_signal_destroy() [all …]
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.c | 55 int result; in thelper_signal_init() local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); in thelper_signal_init() 59 if (result) { in thelper_signal_init() 60 return result; in thelper_signal_init() 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); in thelper_signal_init() 64 if (result) { in thelper_signal_init() 67 return result; in thelper_signal_init() 90 int result, ret_result = 0; in thelper_signal_destroy() local 91 result = pthread_cond_destroy( &thelper->thread_cond); in thelper_signal_destroy() 92 if (result) { in thelper_signal_destroy() [all …]
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.c | 55 int result; in thelper_signal_init() local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); in thelper_signal_init() 59 if (result) { in thelper_signal_init() 60 return result; in thelper_signal_init() 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); in thelper_signal_init() 64 if (result) { in thelper_signal_init() 67 return result; in thelper_signal_init() 90 int result, ret_result = 0; in thelper_signal_destroy() local 91 result = pthread_cond_destroy( &thelper->thread_cond); in thelper_signal_destroy() 92 if (result) { in thelper_signal_destroy() [all …]
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_thread_helper.c | 55 int result; in thelper_signal_init() local 58 result = pthread_cond_init( &thelper->thread_cond, NULL); in thelper_signal_init() 59 if (result) { in thelper_signal_init() 60 return result; in thelper_signal_init() 63 result = pthread_mutex_init(&thelper->thread_mutex, NULL); in thelper_signal_init() 64 if (result) { in thelper_signal_init() 67 return result; in thelper_signal_init() 90 int result, ret_result = 0; in thelper_signal_destroy() local 91 result = pthread_cond_destroy( &thelper->thread_cond); in thelper_signal_destroy() 92 if (result) { in thelper_signal_destroy() [all …]
|
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/ |
D | DefaultVehicleHalServer.cpp | 232 DumpResult result; in onDump() local 235 result.callerShouldDumpState = true; in onDump() 236 result.buffer += "Server side properties: \n"; in onDump() 240 result.buffer += fmt::format("[{}]: {}\n", i, toString(value)); in onDump() 243 return result; in onDump() 248 result.callerShouldDumpState = true; in onDump() 249 return result; in onDump() 257 DumpResult result; in debugCommand() local 259 result.callerShouldDumpState = false; in debugCommand() 262 result.buffer += "No command specified\n"; in debugCommand() [all …]
|
/hardware/google/gfxstream/common/vulkan/include/vulkan/ |
D | vulkan_to_string.hpp | 34 std::string result; in to_string() local 35 if ( value & FormatFeatureFlagBits::eSampledImage ) result += "SampledImage | "; in to_string() 36 if ( value & FormatFeatureFlagBits::eStorageImage ) result += "StorageImage | "; in to_string() 37 if ( value & FormatFeatureFlagBits::eStorageImageAtomic ) result += "StorageImageAtomic | "; in to_string() 38 if ( value & FormatFeatureFlagBits::eUniformTexelBuffer ) result += "UniformTexelBuffer | "; in to_string() 39 if ( value & FormatFeatureFlagBits::eStorageTexelBuffer ) result += "StorageTexelBuffer | "; in to_string() 40 …if ( value & FormatFeatureFlagBits::eStorageTexelBufferAtomic ) result += "StorageTexelBufferAtomi… in to_string() 41 if ( value & FormatFeatureFlagBits::eVertexBuffer ) result += "VertexBuffer | "; in to_string() 42 if ( value & FormatFeatureFlagBits::eColorAttachment ) result += "ColorAttachment | "; in to_string() 43 if ( value & FormatFeatureFlagBits::eColorAttachmentBlend ) result += "ColorAttachmentBlend | "; in to_string() [all …]
|
D | vulkansc_to_string.hpp | 34 std::string result; in to_string() local 35 if ( value & FormatFeatureFlagBits::eSampledImage ) result += "SampledImage | "; in to_string() 36 if ( value & FormatFeatureFlagBits::eStorageImage ) result += "StorageImage | "; in to_string() 37 if ( value & FormatFeatureFlagBits::eStorageImageAtomic ) result += "StorageImageAtomic | "; in to_string() 38 if ( value & FormatFeatureFlagBits::eUniformTexelBuffer ) result += "UniformTexelBuffer | "; in to_string() 39 if ( value & FormatFeatureFlagBits::eStorageTexelBuffer ) result += "StorageTexelBuffer | "; in to_string() 40 …if ( value & FormatFeatureFlagBits::eStorageTexelBufferAtomic ) result += "StorageTexelBufferAtomi… in to_string() 41 if ( value & FormatFeatureFlagBits::eVertexBuffer ) result += "VertexBuffer | "; in to_string() 42 if ( value & FormatFeatureFlagBits::eColorAttachment ) result += "ColorAttachment | "; in to_string() 43 if ( value & FormatFeatureFlagBits::eColorAttachmentBlend ) result += "ColorAttachmentBlend | "; in to_string() [all …]
|
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/ |
D | matrix_query.inl | 9 bool result = true; local 10 for(length_t i = 0; result && i < m.length() ; ++i) 11 result = isNull(m[i], epsilon); 12 return result; 18 bool result = true; local 19 for(length_t i = 0; result && i < m.length() ; ++i) 20 result = isNull(m[i], epsilon); 21 return result; 27 bool result = true; local 28 for(length_t i = 0; result && i < m.length() ; ++i) [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | fast_idiv_by_const.c | 54 struct util_fast_udiv_info result; in util_compute_fast_udiv_info() local 61 result.multiplier = 1ull << (UINT_BITS - div_shift); in util_compute_fast_udiv_info() 62 result.pre_shift = 0; in util_compute_fast_udiv_info() 63 result.post_shift = 0; in util_compute_fast_udiv_info() 64 result.increment = 0; in util_compute_fast_udiv_info() 65 return result; in util_compute_fast_udiv_info() 69 result.multiplier = u_uintN_max(UINT_BITS); in util_compute_fast_udiv_info() 70 result.pre_shift = 0; in util_compute_fast_udiv_info() 71 result.post_shift = 0; in util_compute_fast_udiv_info() 72 result.increment = 1; in util_compute_fast_udiv_info() [all …]
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | ResilientDeviceTest.cpp | 111 const auto result = ResilientDevice::create(invalidDeviceFactory); in TEST() local 114 ASSERT_FALSE(result.has_value()); in TEST() 115 EXPECT_EQ(result.error().code, nn::ErrorStatus::INVALID_ARGUMENT); in TEST() 123 const auto result = ResilientDevice::create(invalidDeviceFactory); in TEST() local 126 ASSERT_FALSE(result.has_value()); in TEST() 127 EXPECT_EQ(result.error().code, nn::ErrorStatus::GENERAL_FAILURE); in TEST() 186 const auto result = device->getDevice(); in TEST() local 189 EXPECT_TRUE(result == mockDevice); in TEST() 198 const auto result = device->wait(); in TEST() local 201 ASSERT_TRUE(result.has_value()) in TEST() [all …]
|
/hardware/google/graphics/common/libhwc2.1/libhwcService/ |
D | IExynosHWC.cpp | 98 int result = remote()->transact(ADD_VIRTUAL_DISPLAY_DEVICE, data, &reply); in addVirtualDisplayDevice() local 99 if (result == NO_ERROR) in addVirtualDisplayDevice() 100 result = reply.readInt32(); in addVirtualDisplayDevice() 102 ALOGE("ADD_VIRTUAL_DISPLAY_DEVICE transact error(%d)", result); in addVirtualDisplayDevice() 103 return result; in addVirtualDisplayDevice() 110 int result = remote()->transact(DESTROY_VIRTUAL_DISPLAY_DEVICE, data, &reply); in destroyVirtualDisplayDevice() local 111 if (result == NO_ERROR) in destroyVirtualDisplayDevice() 112 result = reply.readInt32(); in destroyVirtualDisplayDevice() 114 ALOGE("DESTROY_VIRTUAL_DISPLAY_DEVICE transact error(%d)", result); in destroyVirtualDisplayDevice() 115 return result; in destroyVirtualDisplayDevice() [all …]
|