/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/ |
H A D | camera_manager.cpp | 23 #define LOG(fmt, ...) (void)printf(fmt, ##__VA_ARGS__); macro 38 LOG("ndkXTS Get CameraManager failed."); in NDKCamera() 51 LOG("ndkXTS Release failed."); in ~NDKCamera() 55 LOG("Release OH_CameraManager_DeleteSupportedCameras. enter"); in ~NDKCamera() 58 LOG("Delete Cameras failed."); in ~NDKCamera() 60 LOG("Release OH_CameraManager_DeleteSupportedCameras. ok"); in ~NDKCamera() 65 LOG("Delete CameraOutputCapability failed."); in ~NDKCamera() 67 LOG("Release OH_CameraManager_DeleteSupportedCameraOutputCapability. ok"); in ~NDKCamera() 72 LOG("Delete CameraManager failed."); in ~NDKCamera() 74 LOG("Releas in ~NDKCamera() [all...] |
/test/xts/dcts/communication/softbus_standard/dsoftbusTest/ |
H A D | dsoftbusTest.cpp | 61 LOG("SetUpTestCase");
in SetUpTestCase() 74 LOG("TearDownTestCase");
in TearDownTestCase() 83 LOG("[cb][file]open session sid[%d],rst[%d]", sessionId, result);
in OnFileSessionOpened() 89 LOG("[cb][file]close session sid[%d]", sessionId);
in OnFileSessionClosed() 94 LOG("[cb][file]ByteRec sid:%d, data len:%d", sessionId, dataLen);
in OnFileBytesReceived() 96 LOG("[cb][file]ByteRec invalid data=null sid[%d]", sessionId);
in OnFileBytesReceived() 102 LOG("[cb][file]MessageRec sid:%d, data len:%d", sessionId, dataLen);
in OnFileMessageReceived() 104 LOG("[cb][file]MessageRec invalid data=null sid[%d]", sessionId);
in OnFileMessageReceived() 110 LOG("[cb][stream]open session sid[%d],rst[%d]", sessionId, result);
in OnStreamSessionOpened() 116 LOG("[c in OnStreamSessionClosed() [all...] |
/test/xts/acts/multimedia/camera/camera_ndk_test/src/main/cpp/ |
H A D | camera_manager.cpp | 23 #define LOG(fmt, ...) \ macro 67 LOG("ndkXTS Get CameraManager failed."); 78 LOG("ndkXTS Release failed."); in ~NDKCamera() 82 LOG("Release OH_CameraManager_DeleteSupportedCameras. enter"); in ~NDKCamera() 85 LOG("Delete Cameras failed."); in ~NDKCamera() 87 LOG("Release OH_CameraManager_DeleteSupportedCameras. ok"); in ~NDKCamera() 92 LOG("Delete CameraOutputCapability failed."); in ~NDKCamera() 94 LOG("Release OH_CameraManager_DeleteSupportedCameraOutputCapability. ok"); in ~NDKCamera() 99 LOG("Delete CameraManager failed."); in ~NDKCamera() 101 LOG("Releas in ~NDKCamera() [all...] |
/test/xts/dcts/communication/softbus_standard/common/ |
H A D | net_trans_common.c | 79 LOG("start wait,timeout:%d", timeout);
in Wait() 85 LOG("Wait success[flag:%d] [time:%d]", g_waitFlag, count);
in Wait() 92 LOG("Wait fail[exp:%d, real:%d][used time:%d]", WAIT_SUCCESS_VALUE, g_waitFlag, count);
in Wait() 107 LOG("Wait4Session[ctrl] succ, flag:%d", g_waitFlag4Ctl);
in Wait4Session() 113 LOG("Wait4Session[data] succ,flag:%d", g_waitFlag4Data);
in Wait4Session() 119 LOG("Wait4Session[proxy] succ,flag:%d", g_waitFlag4Proxy);
in Wait4Session() 125 LOG("Wait4Session[proxy] succ,flag:%d", g_waitFlag4Stream);
in Wait4Session() 130 LOG("Wait4Session type error");
in Wait4Session() 142 LOG("Wait4Session[ctrl] fail[exp:%d, real:%d]", WAIT_SUCCESS_VALUE, g_waitFlag4Ctl);
in Wait4Session() 148 LOG("Wait4Sessio in Wait4Session() [all...] |
H A D | socket_common.c | 50 LOG("sleeped %d", i);
in Sleepn() 60 LOG("malloc fail");
in GetSoftbusPid() 66 LOG("call popen fail");
in GetSoftbusPid() 71 LOG("##################Softbus PID:%s", buffer);
in GetSoftbusPid() 80 LOG("[cb]Online: info is null");
in OnDefNodeOnline() 84 LOG("[cb]Online id:%s, name:%s, type id:%u", info->networkId, info->deviceName, info->deviceTypeId);
in OnDefNodeOnline() 91 LOG("[cb]Offline: info is null");
in OnDefNodeOffline() 94 LOG("[cb]Offline id:%s, name:%s, type id:%u", info->networkId, info->deviceName, info->deviceTypeId);
in OnDefNodeOffline() 101 LOG("[cb]InfoChanged: info is null, type[%d]", type);
in OnDefNodeBasicInfoChanged() 104 LOG("[c in OnDefNodeBasicInfoChanged() [all...] |
H A D | wifi_utils.cpp | 33 LOG("[wifi]call IsWifiActive fail, ret:%d", ret);
in EnableWifi() 36 LOG("[wifi]not active, call enable...");
in EnableWifi() 39 LOG("[wifi]call EnableWifi fail, ret:%d", ret);
in EnableWifi() 43 LOG("[wifi]call EnableWifi success, wait state active");
in EnableWifi() 48 LOG("[wifi]call IsWifiActive fail, ret:%d", ret);
in EnableWifi() 51 LOG("[wifi]is active, timeout:%d", timeout);
in EnableWifi() 59 LOG("[wifi]wait wifi state fail[timeout]");
in EnableWifi() 62 LOG("[wifi]wait wifi state success");
in EnableWifi() 66 LOG("[wifi]is active, do nothing");
in EnableWifi() 76 LOG("[wif in DisableWifi() [all...] |
/test/xts/dcts/common/ |
H A D | shm_utils.cpp | 39 LOG("%s createShm begin...", LOGSTR);
in createShm() 41 LOG("a=%d", a);
in createShm() 43 LOG("shmget shmid=%d", shmid);
in createShm() 45 LOG("%s err: shmget, shmid = -1", LOGSTR);
in createShm() 52 LOG("%s err: shmat, shm = -1", LOGSTR);
in createShm() 58 LOG("%s createShm end...", LOGSTR);
in createShm() 64 LOG("%s initShm begin...", LOGSTR);
in initShm() 67 LOG("%s err:initShm shared = nullptr", LOGSTR);
in initShm() 72 LOG("%s initShm end...", LOGSTR);
in initShm() 78 LOG("readDataFromSh in readDataFromShm() [all...] |
/test/testfwk/developer_test/src/core/build/ |
H A D | build_manager.py | 34 LOG = platform_logger("BuildManager") variable 44 LOG.info("The version compiled successfully.") 47 LOG.info("The version compilation failed, please modify.") 54 LOG.info("The gn compiled successfully.") 57 LOG.info("The gn compilation failed, please modify.") 63 LOG.info("The gn file path: %s" % filepath) 87 LOG.info("Test case compilation successed.") 90 LOG.info("Test case compilation failed, please modify.") 102 LOG.info("Deps files compilation successed.") 105 LOG [all...] |
/test/xts/acts/kernel_lite/fs_posix/src/ |
H A D | FsOtherTest.cpp | 58 LOG("> workDir = %s", workDir); in HWTEST_F() 78 LOG("> currentDir = %s", currentDir); in HWTEST_F() 97 LOG("> desName = %s", desName); in HWTEST_F() 110 LOG("> File %s", file0); in FtwCheckDirTree() 112 LOG("> File %s", file1); in FtwCheckDirTree() 114 LOG("> File error %s", path); in FtwCheckDirTree() 119 LOG("> Dir %s", DIR0); in FtwCheckDirTree() 121 LOG("> Dir %s", dir1); in FtwCheckDirTree() 123 LOG("> Dir %s", dir2); in FtwCheckDirTree() 125 LOG("> Di in FtwCheckDirTree() [all...] |
H A D | FsDirentTest.cpp | 57 LOG("> Read : %s OK", dResult->d_name); in HWTEST_F() 60 LOG("> Read : %s OK", dResult->d_name); in HWTEST_F() 63 LOG("> Read : %s OK", dResult->d_name); in HWTEST_F() 66 LOG("> Read : %s", dResult->d_name); in HWTEST_F() 117 LOG("> Read : %s OK", dResult->d_name); in HWTEST_F() 120 LOG("> Read : %s OK", dResult->d_name); in HWTEST_F() 123 LOG("> Read : %s OK", dResult->d_name); in HWTEST_F() 126 LOG("> Read : %s", dResult->d_name); in HWTEST_F() 158 LOG("> %s", fileList[i]->d_name); in HWTEST_F() 182 LOG("> dResul in HWTEST_F() [all...] |
/test/xts/dcts/communication/softbus_standard/socket_trans/server/ |
H A D | SocketTestServer.cpp | 46 LOG("SetUpTestCase");
in SetUpTestCase() 59 LOG("TearDownTestCase");
in TearDownTestCase() 93 LOG("[cb][data]OnBind success {socket:%d, name:%s, deviceId:%s, pkgName:%s, dataType:%d}", socket,
in OnBind() 99 LOG("[cb][data] OnShutdown {socket:%d, reason:%d}", socket, reason);
in OnShutdown() 105 LOG("[cb][data]byte received invalid socket id[%d]", socket);
in OnByte() 108 LOG("[cb][data]byte received socket:%d, data-len:%d", socket, dataLen);
in OnByte() 110 LOG("[cb][data]byte received send back:%d", ret);
in OnByte() 116 LOG("[cb][data]mesg received invalid socket id[%d]", socket);
in OnMessage() 119 LOG("[cb][data]mesg received socket:%d, data-len:%d", socket, dataLen);
in OnMessage() 121 LOG("[c in OnMessage() [all...] |
/test/xts/acts/applications/kitframework_ipcamera/ |
H A D | kitfwk_oem_api_test.cpp | 25 #define LOG(format, ...) printf("%s:" format "\r\n", __FUNCTION__, ##__VA_ARGS__)
macro 52 LOG("========setup========");
in SetUpTestCase() 55 LOG("======== this is not the first run of test after flash ========\n");
in SetUpTestCase() 58 LOG("======== this is the first run of test after flash ========\n");
in SetUpTestCase() 63 LOG("========tearDown========");
in TearDownTestCase() 66 LOG("======== OEMCreateResetFlag failed! ========");
in TearDownTestCase() 68 LOG("======== OEMCreateResetFlag ok! ========");
in TearDownTestCase() 81 LOG("----- OEMReadAuthServerInfo api test start -----");
in HWTEST_F() 84 LOG("malloc fail, can't do test!");
in HWTEST_F() 90 LOG("n in HWTEST_F() [all...] |
/test/xts/acts/kernel_lite/process_posix/src/ |
H A D | UidGidTest.cpp | 36 LOG("new uid = %d", newUid);
in HWTEST_F() 50 LOG("child uid check fail, child uid=%d", uid);
in HWTEST_F() 53 LOG("child uid check OK");
in HWTEST_F() 72 LOG("new uid = %d", newUid);
in HWTEST_F() 93 LOG("new gid = %d", newgid);
in HWTEST_F() 107 LOG("child gid check fail, child gid=%d", gid);
in HWTEST_F() 110 LOG("child guid check OK");
in HWTEST_F() 129 LOG("new gid = %d", newgid);
in HWTEST_F() 149 LOG("new euid = %d", newEuid);
in HWTEST_F() 165 LOG("chil in HWTEST_F() [all...] |
H A D | ProcessTest.cpp | 77 LOG("> child fopen errno = %d", errno); in HWTEST_F() 100 LOG("> AtexitCallback0"); in AtexitCallback0() 103 LOG("> AtexitCallback0 shmat errno = %d", errno); in AtexitCallback0() 108 LOG("> AtexitCallback0 shmdt errno = %d", errno); in AtexitCallback0() 111 LOG("> 333"); in AtexitCallback0() 131 LOG("> 222"); in HWTEST_F() 135 LOG("> 111"); in HWTEST_F() 137 LOG("> 444"); in HWTEST_F() 187 LOG("> child fopen errno = %d", errno); in HWTEST_F() 210 LOG("> AtexitCallback in AtexitCallback1() [all...] |
/test/xts/acts/kernel_lite/ipc_posix/signal/ |
H A D | SignalTest.cpp | 55 LOG("all supported signal DefaultActionTest test %d: %s, expectStop=%d",
in HWTEST_P() 73 LOG("all supported signal SendAndRecv test %d: %s", index, ALL_SIGNALS[index].signame);
in HWTEST_P() 87 LOG("all supported signal's description string test: %d(%s)", signo, ALL_SIGNALS[signo].signame);
in HWTEST_P() 96 LOG("redirect stderr fail, freopen errno=%d\n", errno);
in HWTEST_P() 119 LOG("parent in");
in HWTEST_F() 126 LOG("child in");
in HWTEST_F() 131 LOG("sigprocmask rt = %d", rt);
in HWTEST_F() 133 LOG("child exit 0");
in HWTEST_F() 156 LOG("before sigsuspend");
in HWTEST_F() 158 LOG("sigsuspen in HWTEST_F() [all...] |
H A D | SignalTestUtils.cpp | 36 LOG("handler: recv a signal: %d", signum);
in SigAbortHandler() 39 LOG("SigAbortHandler: shmat fail, errno = %d", errno);
in SigAbortHandler() 41 LOG("shared: %p", shared);
in SigAbortHandler() 44 LOG("SigAbortHandler: shmdt errno = %d", errno);
in SigAbortHandler() 52 LOG("handler recv a signal: %s(%d)", ALL_SIGNALS[signum].signame, signum);
in SigactionHandler() 60 LOG("handler recv a signal: %s(%d)", ALL_SIGNALS[signum].signame, signum);
in SignalHandler() 121 LOG("Child should has been Terminated, but still alive.");
in DefaultActionTest() 146 LOG("check if child2 exited OK");
in SendAndRecvTest() 155 LOG("check if child exited OK");
in SendAndRecvTest() 161 LOG("se in SendAndRecvTest() [all...] |
/test/xts/acts/kernel_lite/mem_posix/src/ |
H A D | MremapApiTest.cpp | 45 LOG("mem = %p", mem); in HWTEST_F() 57 LOG("mem = %p, errno = %d", mem, errno); in HWTEST_F() 76 LOG("mem = %p", mem); in HWTEST_F() 80 LOG("__LINE__ = %d, mem = %p", __LINE__, mem); in HWTEST_F() 92 LOG("mem[0] = 0x%02x", mem[0]); in HWTEST_F() 93 LOG("mem[len - 1] = 0x%02x", mem[len - 1]); in HWTEST_F() 94 LOG("mem[len + 0] = 0x%02x", mem[len + 0]); in HWTEST_F() 95 LOG("mem[expandSize - 1] = 0x%02x", mem[expandSize - 1]); in HWTEST_F() 118 LOG("mem = %p", mem); in HWTEST_F() 122 LOG("__LINE_ in HWTEST_F() [all...] |
/test/xts/acts/applications/kitframework/ |
H A D | kitfwk_oem_api_test.c | 24 #define LOG(format, ...) printf("%s:" format "\r\n", __FUNCTION__, ##__VA_ARGS__)
macro 49 LOG("========setup========");
in KitFwkOemApiTestSuiteSetUp() 52 LOG("======== this is not the first run of test after flash ========\n");
in KitFwkOemApiTestSuiteSetUp() 55 LOG("======== this is the first run of test after flash ========\n");
in KitFwkOemApiTestSuiteSetUp() 62 LOG("========tearDown========");
in KitFwkOemApiTestSuiteTearDown() 65 LOG("======== OEMCreateResetFlag failed! ========");
in KitFwkOemApiTestSuiteTearDown() 67 LOG("======== OEMCreateResetFlag ok! ========");
in KitFwkOemApiTestSuiteTearDown() 81 LOG("----- OEMReadAuthServerInfo api test start -----");
84 LOG("malloc fail, can't do test!");
90 LOG("n [all...] |
/test/testfwk/developer_test/src/core/command/ |
H A D | run.py | 46 LOG = platform_logger("Run")
variable 71 LOG.info("Coverage testing, no need to compile testcases")
112 LOG.info("testcase_path=%s" % testcase_path)
124 LOG.info("xts_testcase_path=%s" % xts_testcase_path)
133 LOG.info("external_deps_path=%s" % external_deps_path)
145 LOG.error("Coverage test: coverage_outpath is empty.")
162 LOG.info("No subsystem or part input. Not push coverage so.")
164 LOG.info("Subsystem or part, there can be only one parameter exist. Not push coverage so.")
187 LOG.error("The testtype parameter is incorrect.")
198 LOG [all...] |
/test/xts/acts/kernel_lite/ipc_posix/shared_memory/ |
H A D | ShmTest.cpp | 52 LOG("shmget errno ,errno = %d", errno);
in HWTEST_F() 57 LOG("fork errno ,errno = %d", errno);
in HWTEST_F() 65 LOG("> child: shmat errno = %d", errno);
in HWTEST_F() 69 LOG("> child: error strncmp() shared = %s", shared);
in HWTEST_F() 73 LOG("> child: shmdt errno = %d", errno);
in HWTEST_F() 77 LOG("> child: shmctl errno = %d", errno);
in HWTEST_F() 85 LOG("shmat errno ,errno = %d", errno);
in HWTEST_F() 90 LOG("shmdt errno ,errno = %d", errno);
in HWTEST_F() 109 LOG("shmget errno ,errno = %d", errno);
in HWTEST_F() 136 LOG("> tmpKe in HWTEST_F() [all...] |
/test/testfwk/xdevice/plugins/ohos/src/ohos/managers/ |
H A D | manager_device.py | 49 LOG = platform_logger("ManagerDevice") variable 108 LOG.debug("Start %s error: %s" % ( 118 LOG.error("OHOS Manager device is not supported, please check config user_config.xml", error_no="00108") 132 LOG.debug("Apply device: apply lock con lock") 138 LOG.debug("Wait for available device founded") 142 LOG.debug("Apply device: release lock con lock") 150 LOG.debug("Allocate device option: apply list con lock") 152 LOG.debug("Allocate device option: list con wait timeout") 156 LOG.debug("Require device label is: %s" % device_option.label) 161 LOG [all...] |
/test/xts/acts/kernel_lite/dyload_posix/ |
H A D | DlopenTest.cpp | 43 LOG("SetUp ok");
in HWTEST_F() 49 LOG("newSO: %s", newSO);
in HWTEST_F() 54 LOG("dlopen '%s' ok", newSO);
in HWTEST_F() 79 LOG("TearDown ok ");
in HWTEST_F() 97 LOG("SetUp ok");
in HWTEST_F() 136 LOG("Pass\n");
in HWTEST_F() 146 LOG("TearDown ok ");
in HWTEST_F() 159 LOG("dlerror should return NULL when called twice.");
in HWTEST_F() 165 LOG("dlopen a non-exist-so should return NULL!");
in HWTEST_F() 170 LOG("dlerro in HWTEST_F() [all...] |
/test/xts/acts/kernel_lite/sched_posix/src/ |
H A D | ProcessSchedApiTest.cpp | 51 LOG("invalid 'which' test:");
in HWTEST_F() 71 LOG("invalid 'which' test:");
in HWTEST_F() 90 LOG("invalid 'who' test:");
in HWTEST_F() 113 LOG("invalid 'who' test:");
in HWTEST_F() 114 LOG("not exist pid test:");
in HWTEST_F() 127 LOG("test pid '0' and cover all supported priority:");
in SetPriorityAllTest() 138 LOG("set back to default value:");
in SetPriorityAllTest() 160 LOG("change sched policy");
in HWTEST_F() 167 LOG("set back to RR");
in HWTEST_F() 180 LOG("invali in HWTEST_F() [all...] |
/test/xts/acts/kernel_lite/time_posix/src/ |
H A D | AlarmTest.cpp | 35 LOG("handler recv a signal: %d", signum);
in SignalHandler() 46 LOG("init alarm");
in HWTEST_F() 64 LOG("init alarm");
in HWTEST_F() 69 LOG("set a new alarm");
in HWTEST_F() 74 LOG("sleep 2.5s...");
in HWTEST_F() 78 LOG("sleep 2s...");
in HWTEST_F() 99 LOG("child received SIGALRM!");
in HWTEST_F() 101 LOG("child received an unexpected signal: %d", mReceivedSignal);
in HWTEST_F() 127 LOG("mReceivedSignal = %d, SIGALRM = %d", mReceivedSignal, SIGALRM);
in HWTEST_F() 152 LOG("mReceivedSigna in HWTEST_F() [all...] |
/test/xts/hats/kernel/posix_interface/interface_gn/utils/ |
H A D | libfs.cpp | 31 LOG("dir:%s exists", dirname);
in MakeDir() 36 LOG("create dir failed! path=%s, errno=%d:%s", dirname, errno, strerror(errno));
in MakeDir() 49 LOG("get directory stat error, errno=%d:%s", errno, strerror(errno));
in RemoveDir() 64 LOG("output failed, dirname=%s, errno=%d:%s", dirname, errno, strerror(errno));
in RemoveDir() 70 LOG("delete empty directory failed, path=%s, errno=%d:%s", dirname, errno, strerror(errno));
in RemoveDir() 75 LOG("remove regular file failed, path=%s, errno=%d:%s", dirname, errno, strerror(errno));
in RemoveDir() 86 LOG("remove file success");
in RemoveFile() 88 LOG("remove file failed! path=%s: errno=%d:%s", fpath, errno, strerror(errno));
in RemoveFile() 99 LOG("Cannot open source file %s: errno=%d,%s \n", srcFile, errno, strerror(errno));
in CopyFile() 104 LOG("Canno in CopyFile() [all...] |