Home
last modified time | relevance | path

Searched refs:LOG (Results 1 – 25 of 127) sorted by relevance

123456

/test/xts/acts/multimedia/camera/camera_ndk_test/src/main/cpp/
Dcamera_manager.cpp23 #define LOG(fmt, ...) \ macro
39 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("Release OH_Camera_DeleteCameraManager. ok"); in ~NDKCamera()
[all …]
/test/xts/dcts/common/
Dshm_utils.cpp39 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("readDataFromShm begin..."); in readDataFromShm()
[all …]
/test/xts/dcts/communication/softbus_standard/dsoftbusTest/
DdsoftbusTest.cpp61 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("[cb][stream]close session sid[%d]", sessionId); in OnStreamSessionClosed()
[all …]
/test/xts/acts/kernel_lite/fs_posix/src/
DFsOtherTest.cpp58 LOG("> workDir = %s", workDir);
78 LOG("> currentDir = %s", currentDir);
97 LOG("> desName = %s", desName);
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("> Dir %s", dir3); in FtwCheckDirTree()
[all …]
DFsDirentTest.cpp57 LOG("> Read : %s OK", dResult->d_name);
60 LOG("> Read : %s OK", dResult->d_name);
63 LOG("> Read : %s OK", dResult->d_name);
66 LOG("> Read : %s", dResult->d_name);
117 LOG("> Read : %s OK", dResult->d_name);
120 LOG("> Read : %s OK", dResult->d_name);
123 LOG("> Read : %s OK", dResult->d_name);
126 LOG("> Read : %s", dResult->d_name);
158 LOG("> %s", fileList[i]->d_name);
182 LOG("> dResult->d_name = %s", dResult->d_name);
[all …]
DFileSystemTest.cpp41 LOG("------- case start"); in SetUp()
45 LOG("== chdir to %s failed! rt = %d, errno = %d", TOP_DIR, rt, errno); in SetUp()
47 LOG("== chdir to %s OK!", TOP_DIR); in SetUp()
57 LOG("== chdir to %s failed! rt = %d, errno = %d", mCurPath, rt, errno); in TearDown()
59 LOG("== chdir to %s OK!", mCurPath); in TearDown()
61 LOG("------- case end\n"); in TearDown()
74 LOG("'%s' not accessible, Test Stop!", TOP_DIR); in CheckFsMount()
93 LOG("'%s' not mount properly, Test Stop!", TOP_DIR); in CheckFsMount()
/test/xts/dcts/communication/softbus_standard/common/
Dwifi_utils.cpp33 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("[wifi]call IsWifiActive fail, ret:%d", ret); in DisableWifi()
[all …]
Dnet_trans_common.c84 LOG("start wait,timeout:%d", timeout); in Wait()
90 LOG("Wait success[flag:%d] [time:%d]", g_waitFlag, count); in Wait()
97 LOG("Wait fail[exp:%d, real:%d][used time:%d]", WAIT_SUCCESS_VALUE, g_waitFlag, count); in Wait()
112 LOG("Wait4Session[ctrl] succ, flag:%d", g_waitFlag4Ctl); in Wait4Session()
118 LOG("Wait4Session[data] succ,flag:%d", g_waitFlag4Data); in Wait4Session()
124 LOG("Wait4Session[proxy] succ,flag:%d", g_waitFlag4Proxy); in Wait4Session()
130 LOG("Wait4Session[proxy] succ,flag:%d", g_waitFlag4Stream); in Wait4Session()
135 LOG("Wait4Session type error"); in Wait4Session()
147 LOG("Wait4Session[ctrl] fail[exp:%d, real:%d]", WAIT_SUCCESS_VALUE, g_waitFlag4Ctl); in Wait4Session()
153LOG("Wait4Session[data] fail[exp:%d, real:%d]", WAIT_SUCCESS_VALUE, g_waitFlag4Data); in Wait4Session()
[all …]
/test/testfwk/developer_test/src/core/build/
Dbuild_manager.py34 LOG = platform_logger("BuildManager") variable
44 LOG.info("The gn file path: %s" % filepath)
68 LOG.info("Test case compilation successed.")
71 LOG.info("Test case compilation failed, please modify.")
83 LOG.info("Deps files compilation successed.")
86 LOG.info("Deps files compilation failed, please modify.")
94 LOG.info("Part deps info compilation successed.")
97 LOG.info("Part deps info compilation failed, please modify.")
106 LOG.info("XTS test case compilation successed.")
109 LOG.info("XTS test compilation failed, please modify.")
[all …]
/test/xts/acts/applications/kitframework/
Dkitfwk_oem_api_test.c24 #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("no customized server info.");
[all …]
/test/xts/acts/applications/kitframework_ipcamera/
Dkitfwk_oem_api_test.cpp25 #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 -----");
84 LOG("malloc fail, can't do test!");
90 LOG("no customized server info.");
[all …]
/test/xts/acts/kernel_lite/ipc_posix/signal/
DSignalTest.cpp55 LOG("all supported signal DefaultActionTest test %d: %s, expectStop=%d",
73 LOG("all supported signal SendAndRecv test %d: %s", index, ALL_SIGNALS[index].signame);
87LOG("all supported signal's description string test: %d(%s)", signo, ALL_SIGNALS[signo].signame);
96 LOG("redirect stderr fail, freopen errno=%d\n", errno);
119 LOG("parent in");
126 LOG("child in");
131 LOG("sigprocmask rt = %d", rt);
133 LOG("child exit 0");
156 LOG("before sigsuspend");
158 LOG("sigsuspend rt = %d", rt);
[all …]
DSignalTestUtils.cpp36 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("set %d signal handler failed, errno=%d", signum, errno); in SendAndRecvTest()
[all …]
/test/xts/acts/kernel_lite/mem_posix/src/
DMremapApiTest.cpp45 LOG("mem = %p", mem);
57 LOG("mem = %p, errno = %d", mem, errno);
76 LOG("mem = %p", mem);
80 LOG("__LINE__ = %d, mem = %p", __LINE__, mem);
92 LOG("mem[0] = 0x%02x", mem[0]);
93 LOG("mem[len - 1] = 0x%02x", mem[len - 1]);
94 LOG("mem[len + 0] = 0x%02x", mem[len + 0]);
95 LOG("mem[expandSize - 1] = 0x%02x", mem[expandSize - 1]);
118 LOG("mem = %p", mem);
122 LOG("__LINE__ = %d, mem = %p", __LINE__, mem);
[all …]
/test/xts/acts/kernel_lite/ipc_posix/shared_memory/
DShmTest.cpp52 LOG("shmget errno ,errno = %d", errno);
57 LOG("fork errno ,errno = %d", errno);
65 LOG("> child: shmat errno = %d", errno);
69 LOG("> child: error strncmp() shared = %s", shared);
73 LOG("> child: shmdt errno = %d", errno);
77 LOG("> child: shmctl errno = %d", errno);
85 LOG("shmat errno ,errno = %d", errno);
90 LOG("shmdt errno ,errno = %d", errno);
109 LOG("shmget errno ,errno = %d", errno);
136 LOG("> tmpKey = %d", tmpKey);
[all …]
/test/xts/hats/kernel/posix_interface/interface_gn/utils/
Dlibfs.cpp31 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()
70LOG("delete empty directory failed, path=%s, errno=%d:%s", dirname, errno, strerror(errno)); in RemoveDir()
75LOG("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("Cannot create dest file %s: errno=%d,%s \n", dstFile, errno, strerror(errno)); in CopyFile()
[all …]
/test/xts/acts/kernel_lite/process_posix/src/
DUidGidTest.cpp36 LOG("new uid = %d", newUid);
50 LOG("child uid check fail, child uid=%d", uid);
53 LOG("child uid check OK");
72 LOG("new uid = %d", newUid);
93 LOG("new gid = %d", newgid);
107 LOG("child gid check fail, child gid=%d", gid);
110 LOG("child guid check OK");
129 LOG("new gid = %d", newgid);
149 LOG("new euid = %d", newEuid);
165 LOG("child resuid check fail, actual uid=%d,euid=%d,suid=%d,", uid, euid, suid);
[all …]
DProcessTest.cpp77 LOG("> child fopen errno = %d", errno);
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");
135 LOG("> 111");
137 LOG("> 444");
187 LOG("> child fopen errno = %d", errno);
210 LOG("> AtexitCallback0"); in AtexitCallback1()
[all …]
DPidTest.cpp46 LOG("getppid fail, expect:%d, but get:%d", parentPid, pPid);
73 LOG("parent process id:%d", getpid());
77 LOG("sub parent process id:%d", getpid());
80 LOG("======== Fork Error! =========");
85 LOG("orphane process id:%d", getpid());
87 LOG("before while child child %d", shmAddr[1]);
91 LOG("after while child child %d", shmAddr[1]);
94 LOG("getppid orphaned process fail, expect:1, but get:%d", pPid);
99 LOG("child child exit %d", shmAddr[1]);
111 LOG("before while paret %d", shared[1]);
[all …]
/test/xts/acts/kernel_lite/utils/
Dlibfs.cpp31 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()
67LOG("delete empty directory failed, path=%s, errno=%d:%s", dirname, errno, strerror(errno)); in RemoveDir()
72LOG("remove regular file failed, path=%s, errno=%d:%s", dirname, errno, strerror(errno)); in RemoveDir()
83 LOG("remove file success"); in RemoveFile()
85 LOG("remove file failed! path=%s: errno=%d:%s", fpath, errno, strerror(errno)); in RemoveFile()
96 LOG("Cannot open source file %s: errno=%d,%s \n", srcFile, errno, strerror(errno)); in CopyFile()
101 LOG("Cannot create dest file %s: errno=%d,%s \n", dstFile, errno, strerror(errno)); in CopyFile()
111 LOG("write to dest file failed: errno=%d,%s \n", errno, strerror(errno)); in CopyFile()
[all …]
/test/xts/acts/kernel_lite/dyload_posix/
DDlopenTest.cpp43 LOG("SetUp ok");
49 LOG("newSO: %s", newSO);
54 LOG("dlopen '%s' ok", newSO);
79 LOG("TearDown ok ");
97 LOG("SetUp ok");
136 LOG("Pass\n");
146 LOG("TearDown ok ");
159 LOG("dlerror should return NULL when called twice.");
165 LOG("dlopen a non-exist-so should return NULL!");
170 LOG("dlerror return NULL!");
[all …]
/test/testfwk/developer_test/src/core/command/
Drun.py46 LOG = platform_logger("Run") variable
64 LOG.info("No subsystem or part input. Not push coverage so.")
66LOG.info("Subsystem or part, there can be only one parameter exist. Not push coverage so.")
89 LOG.error("The testtype parameter is incorrect.")
100 LOG.info("")
101 LOG.info("------------------------------------")
102 LOG.info("Input parameter:")
103 LOG.info("productform = %s" % options.productform)
104 LOG.info("testtype = %s" % str(options.testtype))
105 LOG.info("subsystem = %s" % str(options.subsystem))
[all …]
/test/testfwk/xdevice/plugins/ohos/src/ohos/managers/
Dmanager_device.py49 LOG = platform_logger("ManagerDevice") variable
94 LOG.debug("Start %s error: %s" % (
112 LOG.debug("Find: apply list con lock")
120 LOG.debug("Find: release list con lock")
125 LOG.debug("Apply device: apply lock con lock")
131 LOG.debug("Wait for available device founded")
137 LOG.debug("Wait for available device founded")
140 LOG.debug("Apply device: release lock con lock")
148 LOG.debug("Allocate device option: apply list con lock")
150 LOG.debug("Allocate device option: list con wait timeout")
[all …]
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
Dkit.py64 LOG = platform_logger("Kit") variable
82 LOG.debug("CommandKit setup, device:{}, params:{}".
85 LOG.info("No setup_command to run, skipping!")
91 LOG.debug("CommandKit teardown: device:{}, params:{}".format
94 LOG.info("No teardown_command to run, skipping!")
107 LOG.debug("Trying to install package {}".format(command_value))
110 LOG.error(
119 LOG.debug("Installed package finished {}".format(package))
121 LOG.debug("Trying to uninstall package {}".format(command_value))
127 LOG.error("error uninstalling package %s %s" %
[all …]
/test/xts/acts/kernel_lite/time_posix/src/
DSleepTest.cpp43 LOG("test %s", cname);
66 LOG("check invlid clockid: %d...", id);
71 LOG("check invlid clockid: %d...", id);
77 LOG("check invlid flag: %d...", flag);
81 LOG("check invlid flag: %d...", flag);
85 LOG("check invlid flag: %d...", flag);
92 LOG("check invlid timespec: tv_sec=-1 ...");
97 LOG("check invlid timespec: tv_nsec=-1 ...");
102 LOG("check invlid timespec: tv_nsec overflow ...");

123456