Lines Matching refs:AEE_SUCCESS
323 int nErr = AEE_SUCCESS, paramsLen = 2; in fastrpc_set_remote_uthread_params()
327 …VERIFY(AEE_SUCCESS == (nErr = remotectl_set_param(th_params->reqID, (uint32_t*)th_params, paramsLe… in fastrpc_set_remote_uthread_params()
329 if (nErr != AEE_SUCCESS) in fastrpc_set_remote_uthread_params()
335 int nErr = AEE_SUCCESS; in remote_register_fd_attr()
365 if(nErr != AEE_SUCCESS) { in remote_register_fd_attr()
432 if(nErr != AEE_SUCCESS) { in remote_register_buf_common()
447 int nErr = AEE_SUCCESS, i; in remote_register_dma_handle_attr()
470 return AEE_SUCCESS; in remote_register_dma_handle_attr()
563 int nErr = AEE_SUCCESS; in verify_local_handle()
569 if (nErr != AEE_SUCCESS) { in verify_local_handle()
577 int dom, nErr = AEE_SUCCESS; in get_domain_from_handle()
579 VERIFY(AEE_SUCCESS == (nErr = verify_local_handle(local))); in get_domain_from_handle()
584 if (nErr != AEE_SUCCESS) { in get_domain_from_handle()
616 int nErr = AEE_SUCCESS; in alloc_handle()
629 if (nErr != AEE_SUCCESS) { in alloc_handle()
638 int nErr = AEE_SUCCESS, empty = 0; in is_last_handle()
657 if (nErr != AEE_SUCCESS) { in is_last_handle()
665 int nErr = AEE_SUCCESS; in free_handle()
667 VERIFY(AEE_SUCCESS == (nErr = verify_local_handle(local))); in free_handle()
674 if (nErr != AEE_SUCCESS) { in free_handle()
682 int nErr = AEE_SUCCESS; in get_handle_remote()
684 VERIFY(AEE_SUCCESS == (nErr = verify_local_handle(local))); in get_handle_remote()
687 if (nErr != AEE_SUCCESS) { in get_handle_remote()
804 int domain = DEFAULT_DOMAIN_ID, nErr = AEE_SUCCESS; in remote_handle_invoke()
815 VERIFY(AEE_SUCCESS == (nErr = remote_handle_invoke_domain(domain, handle, sc, pra))); in remote_handle_invoke()
817 if (nErr != AEE_SUCCESS) { in remote_handle_invoke()
825 int nErr = AEE_SUCCESS, domain = DEFAULT_DOMAIN_ID; in remote_handle64_invoke()
828 VERIFY(AEE_SUCCESS == (nErr = get_domain_from_handle(local, &domain))); in remote_handle64_invoke()
829 VERIFY(AEE_SUCCESS == (nErr = get_handle_remote(local, &remote))); in remote_handle64_invoke()
830 VERIFY(AEE_SUCCESS == (nErr = remote_handle_invoke_domain(domain, remote, sc, pra))); in remote_handle64_invoke()
832 if (nErr != AEE_SUCCESS) { in remote_handle64_invoke()
842 int dlerr = 0, nErr = AEE_SUCCESS; in remote_handle_open_domain()
849 VERIFY(AEE_SUCCESS == (nErr = fastrpc_init_once())); in remote_handle_open_domain()
851 return AEE_SUCCESS; in remote_handle_open_domain()
855 VERIFY(AEE_SUCCESS == (nErr = fastrpc_init_once())); in remote_handle_open_domain()
867 return AEE_SUCCESS; in remote_handle_open_domain()
871 VERIFY(AEE_SUCCESS == (nErr = fastrpc_init_once())); in remote_handle_open_domain()
873 return AEE_SUCCESS; in remote_handle_open_domain()
877 …VERIFY(AEE_SUCCESS == (nErr = remotectl_open(name, (int*)ph, dlerrstr, sizeof(dlerrstr), &dlerr))); in remote_handle_open_domain()
878 VERIFY(AEE_SUCCESS == (nErr = dlerr)); in remote_handle_open_domain()
910 VERIFY(AEE_SUCCESS == (nErr = fastrpc_init_once())); in remote_handle64_open()
911 VERIFY(AEE_SUCCESS == (nErr = remote_handle_open_domain(domain, name, &h))); in remote_handle64_open()
913 VERIFY(AEE_SUCCESS == (nErr = alloc_handle(domain, h, &hinfo))); in remote_handle64_open()
927 int dlerr = 0, nErr = AEE_SUCCESS; in remote_handle_close()
929 VERIFY(AEE_SUCCESS == (nErr = remotectl_close(h, dlerrstr, sizeof(dlerrstr), &dlerr))); in remote_handle_close()
930 VERIFY(AEE_SUCCESS == (nErr = dlerr)); in remote_handle_close()
932 if (nErr != AEE_SUCCESS) { in remote_handle_close()
940 int domain, nErr = AEE_SUCCESS; in remote_handle64_close()
942 VERIFY(AEE_SUCCESS == (nErr = get_domain_from_handle(handle, &domain))); in remote_handle64_close()
943 VERIFY(AEE_SUCCESS == (nErr = get_handle_remote(handle, &remote))); in remote_handle64_close()
945 VERIFY(AEE_SUCCESS == (nErr = remote_handle_close((remote_handle)remote))); in remote_handle64_close()
951 if (nErr != AEE_SUCCESS) { in remote_handle64_close()
958 int nErr = AEE_SUCCESS; in manage_pm_qos()
988 …VERIFY(AEE_SUCCESS == (nErr = pthread_create(&qos->thread, 0, fastrpc_latency_thread_handler, (voi… in manage_pm_qos()
995 int nErr = AEE_SUCCESS; in manage_adaptive_qos()
997 VERIFY(AEE_SUCCESS == (nErr = fastrpc_init_once())); in manage_adaptive_qos()
1027 int nErr = AEE_SUCCESS; in remote_handle_control_domain()
1040 VERIFY(AEE_SUCCESS == (nErr = manage_adaptive_qos(domain, FASTRPC_DISABLE_QOS))); in remote_handle_control_domain()
1041 VERIFY(AEE_SUCCESS == (nErr = manage_pm_qos(domain, h, FASTRPC_DISABLE_QOS, lp->latency))); in remote_handle_control_domain()
1046 VERIFY(AEE_SUCCESS == (nErr = manage_adaptive_qos(domain, FASTRPC_DISABLE_QOS))); in remote_handle_control_domain()
1047 VERIFY(AEE_SUCCESS == (nErr = manage_pm_qos(domain, h, FASTRPC_PM_QOS, lp->latency))); in remote_handle_control_domain()
1053 VERIFY(AEE_SUCCESS == (nErr = manage_pm_qos(domain, h, FASTRPC_DISABLE_QOS, lp->latency))); in remote_handle_control_domain()
1054 VERIFY(AEE_SUCCESS == (nErr = manage_adaptive_qos(domain, FASTRPC_ADAPTIVE_QOS))); in remote_handle_control_domain()
1070 if (nErr != AEE_SUCCESS) in remote_handle_control_domain()
1077 int domain = DEFAULT_DOMAIN_ID, nErr = AEE_SUCCESS; in remote_handle_control()
1079 VERIFY(AEE_SUCCESS == (nErr = remote_handle_control_domain(domain, -1, req, data, len))); in remote_handle_control()
1081 if (nErr != AEE_SUCCESS) in remote_handle_control()
1087 int nErr = AEE_SUCCESS, domain = 0; in remote_handle64_control()
1089 VERIFY(AEE_SUCCESS == (nErr = get_domain_from_handle(handle, &domain))); in remote_handle64_control()
1090 VERIFY(AEE_SUCCESS == (nErr = remote_handle_control_domain(domain, handle, req, data, len))); in remote_handle64_control()
1093 if (nErr != AEE_SUCCESS) in remote_handle64_control()
1100 int nErr = AEE_SUCCESS; in store_domain_thread_params()
1134 if (nErr != AEE_SUCCESS) in store_domain_thread_params()
1142 int nErr = AEE_SUCCESS; in remote_session_control()
1144 VERIFY(AEE_SUCCESS == (nErr = fastrpc_init_once())); in remote_session_control()
1162 VERIFY(AEE_SUCCESS == (nErr = store_domain_thread_params(params->domain, params, req))); in remote_session_control()
1166 VERIFY(AEE_SUCCESS == (nErr = store_domain_thread_params(i, params, req))); in remote_session_control()
1194 if (nErr != AEE_SUCCESS) { in remote_session_control()
1203 int dev, domain, nErr = AEE_SUCCESS; in remote_mmap64()
1215 VERIFY(AEE_SUCCESS == (nErr = ioctl(dev, FASTRPC_IOCTL_MMAP, (unsigned long)&mmap))); in remote_mmap64()
1218 if (nErr != AEE_SUCCESS) { in remote_mmap64()
1231 int dev, domain, nErr = AEE_SUCCESS; in remote_munmap64()
1242 VERIFY(AEE_SUCCESS == (nErr = ioctl(dev, FASTRPC_IOCTL_MUNMAP, (unsigned long)&munmap))); in remote_munmap64()
1244 if (nErr != AEE_SUCCESS) { in remote_munmap64()
1282 return AEE_SUCCESS; in remote_set_mode()
1523 if (nErr == AEE_SUCCESS && *fp != -1) in get_process_testsig()
1542 int nErr = AEE_SUCCESS; in open_shell()
1596 if (nErr != AEE_SUCCESS) { in open_shell()
1598 nErr = AEE_SUCCESS; in open_shell()
1624 int nErr = AEE_SUCCESS; in apps_dev_init()
1660 VERIFY(AEE_SUCCESS == (nErr = apps_std_flen(fh, &len))); in apps_dev_init()
1669 VERIFY(AEE_SUCCESS == (nErr = apps_std_fread(fh, (void *)uproc.file, len, &readlen, &eof))); in apps_dev_init()
1679 …VERIFY(AEE_SUCCESS == (nErr = apps_std_fread(fsig, (byte*)(uproc.file + len), siglen, &readlen, &e… in apps_dev_init()
1685 if (nErr == AEE_SUCCESS) { in apps_dev_init()
1700 if(nErr != AEE_SUCCESS) { in apps_dev_init()
1720 int nErr = AEE_SUCCESS; in get_adsp_current_process1_handle()
1726 … VERIFY(AEE_SUCCESS == (nErr = alloc_handle(domain, _const_adsp_current_process1_handle, &hinfo))); in get_adsp_current_process1_handle()
1730 if (nErr != AEE_SUCCESS) { in get_adsp_current_process1_handle()
1741 int nErr = AEE_SUCCESS; in get_adspmsgd_adsp1_handle()
1747 VERIFY(AEE_SUCCESS == (nErr = alloc_handle(domain, _const_adspmsgd_adsp1_handle, &hinfo))); in get_adspmsgd_adsp1_handle()
1751 if (nErr != AEE_SUCCESS) { in get_adspmsgd_adsp1_handle()
1759 int init = 0, nErr = AEE_SUCCESS; in open_dev()
1767 VERIFY(AEE_SUCCESS == (nErr = fastrpc_init_once())); in open_dev()
1768 VERIFY(AEE_SUCCESS == (nErr = pthread_once(&pl, (void*)pl_init))); in open_dev()
1774 VERIFY(AEE_SUCCESS == (nErr = apps_dev_init(domain))); in open_dev()
1775 VERIFY(AEE_SUCCESS == (nErr = listener_android_domain_init(domain))); in open_dev()
1779 VERIFY(AEE_SUCCESS == (nErr = fastrpc_latency_init(hlist[domain].dev, &hlist[domain].qos))); in open_dev()
1784 …VERIFY(AEE_SUCCESS == (nErr = pthread_create(&uthread_params->thread, NULL, fastrpc_set_remote_uth… in open_dev()
1785 VERIFY(AEE_SUCCESS == (nErr = pthread_join(uthread_params->thread, NULL))); in open_dev()
1794 if(nErr != AEE_SUCCESS) { in open_dev()
1857 int nErr = AEE_SUCCESS, i; in fastrpc_apps_user_init()
1881 VERIFY(AEE_SUCCESS == (nErr = pthread_key_create(&tlsKey, exit_thread))); in fastrpc_apps_user_init()
1882 VERIFY(AEE_SUCCESS == (nErr = PL_INIT(rpcmem))); in fastrpc_apps_user_init()
1883 VERIFY(AEE_SUCCESS == (nErr = PL_INIT(apps_mem))); in fastrpc_apps_user_init()
1884 VERIFY(AEE_SUCCESS == (nErr = PL_INIT(apps_std))); in fastrpc_apps_user_init()
1902 int nErr = AEE_SUCCESS; in fastrpc_init_once()
1903 VERIFY(AEE_SUCCESS == (nErr = pthread_once(&frpc, (void*)frpc_init))); in fastrpc_init_once()
1905 if(nErr != AEE_SUCCESS) { in fastrpc_init_once()
1908 return nErr == AEE_SUCCESS ? _pl_fastrpc_apps_user()->nErr : nErr; in fastrpc_init_once()
1913 return AEE_SUCCESS; in rpcmem_init_me()