Home
last modified time | relevance | path

Searched refs:MYLOGE (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/cmds/dumpstate/
DDumpstateInternal.cpp56 MYLOGE("Unable to get AID_SHELL: %s\n", strerror(errno)); in DropRootUser()
66 MYLOGE("prctl(PR_SET_KEEPCAPS) failed: %s\n", strerror(errno)); in DropRootUser()
78 MYLOGE("Unable to get required gid '%s': %s\n", group_names[i].c_str(), in DropRootUser()
85 MYLOGE("Unable to setgroups, aborting: %s\n", strerror(errno)); in DropRootUser()
89 MYLOGE("Unable to setgid, aborting: %s\n", strerror(errno)); in DropRootUser()
93 MYLOGE("Unable to setuid, aborting: %s\n", strerror(errno)); in DropRootUser()
105 MYLOGE("capget failed: %s\n", strerror(errno)); in DropRootUser()
126 MYLOGE("capset({%#x, %#x}) failed: %s\n", capdata[0].effective, in DropRootUser()
DDumpstateService.cpp48 MYLOGE("%s (%d) ", msg.c_str(), code); in exception()
50 MYLOGE("%s %s (%d) ", msg.c_str(), extra_msg.c_str(), code); in exception()
103 MYLOGE("Error! DumpstateService is currently already being used. Returning."); in preDumpUiData()
128 MYLOGE("Error! DumpstateService is currently already being used. Returning."); in startBugreport()
139 MYLOGE("Invalid input: no listener"); in startBugreport()
151 MYLOGE("Invalid input: bad bugreport mode: %d", bugreport_mode); in startBugreport()
160 MYLOGE("Invalid filedescriptor"); in startBugreport()
184 MYLOGE("Could not create a thread"); in startBugreport()
234 MYLOGE("Invalid filedescriptor"); in retrieveBugreport()
242 MYLOGE("Could not create a thread"); in retrieveBugreport()
Ddumpstate.cpp212 MYLOGE("Returning early as user denied consent to share bugreport with calling app."); \
261 MYLOGE("open(%s, %s)\n", path.c_str(), strerror(errno)); in Open()
295 MYLOGE("Failed to copy file: %s\n", strerror(errno)); in CopyFileToFd()
305 MYLOGE("Failed to unlink file (%s): %s\n", file.c_str(), strerror(errno)); in UnlinkAndLogOnError()
314 MYLOGE("Failed to retrieve package_native service"); in GetModuleMetadataVersion()
321 MYLOGE("Failed to retrieve module metadata package name: %s", status.toString8().c_str()); in GetModuleMetadataVersion()
329 MYLOGE("Failed to retrieve module metadata version: %s", status.toString8().c_str()); in GetModuleMetadataVersion()
455 MYLOGE("Unable to add %s to zip file, lseek failed: %s\n", name.c_str(), in AddDumps()
461 MYLOGE("Unable to add %s to zip file, addZipEntryFromFd failed\n", name.c_str()); in AddDumps()
481 MYLOGE("Unable to read link for %s: %s\n", path, strerror(errno)); in do_mountinfo()
[all …]
DDumpPool.cpp46 MYLOGE("Failed to unlink (%s): %s\n", result.c_str(), strerror(errno)); in WaitForTask()
123 MYLOGE("open(%s, %s)\n", tmp_file_ptr->path, strerror(errno)); in createTempFile()
134 MYLOGE("Failed to opendir (%s): %s\n", folder.c_str(), strerror(errno)); in deleteTempFiles()
139 MYLOGE("Failed to get fd of dir (%s): %s\n", folder.c_str(), in deleteTempFiles()
154 MYLOGE("Failed to unlink (%s): %s\n", file_name.c_str(), in deleteTempFiles()
DDumpstateUtil.cpp267 MYLOGE("No arguments on RunCommandToFd(%s)\n", title.c_str()); in RunCommandToFd()
335 MYLOGE("*** fork: %s\n", strerror(errno)); in RunCommandToFd()
346 MYLOGE("*** could not drop root before running %s: %s\n", command, strerror(errno)); in RunCommandToFd()
407 MYLOGE("*** command '%s' timed out after %.3fs (killing pid %d)\n", command, in RunCommandToFd()
413 MYLOGE("command '%s': Error after %.4fs (killing pid %d)\n", command, in RunCommandToFd()
423 MYLOGE("could not kill command '%s' (pid %d) even with SIGKILL.\n", command, pid); in RunCommandToFd()
432 MYLOGE("*** command '%s' failed: killed by signal %d\n", command, WTERMSIG(status)); in RunCommandToFd()
436 MYLOGE("*** command '%s' failed: exit code %d\n", command, status); in RunCommandToFd()
DDumpstateInternal.h41 #ifndef MYLOGE
42 #define MYLOGE(...) \ macro
Dmain.cpp56 MYLOGE("Unable to start 'dumpstate' service: %d", ret); in main()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_test.cpp761 MYLOGE("Skipping DumpstateTest.RunCommandDropRoot() on test suite\n") in TEST_F()
783 MYLOGE("Skipping DumpstateTest.RunCommandAsRootUserBuild() on test suite\n") in TEST_F()
805 MYLOGE("Skipping DumpstateTest.RunCommandAsRootNonUserBuild() on test suite\n") in TEST_F()
826 MYLOGE( in TEST_F()
852 MYLOGE("Skipping DumpstateTest.RunCommandAsRootIfAvailableOnUserBuild() on test suite\n") in TEST_F()
873 MYLOGE("Skipping DumpstateTest.RunCommandAsRootIfAvailableOnDebugBuild() on test suite\n") in TEST_F()
894 MYLOGE( in TEST_F()
1207 MYLOGE("Skipping ProgressTest.FirstTime() on test suite\n") in TEST_F()
1518 MYLOGE("Skipping DumpstateUtilTest.RunCommandAsRootUserBuild() on test suite\n") in TEST_F()
1541 MYLOGE("Skipping DumpstateUtilTest.RunCommandAsRootNonUserBuild() on test suite\n") in TEST_F()
[all …]