Home
last modified time | relevance | path

Searched refs:MYLOGE (Results 1 – 7 of 7) 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()
Ddumpstate.cpp187 MYLOGE("Returning early as user denied consent to share bugreport with calling app."); \
207 MYLOGE("open(%s, %s)\n", path.c_str(), strerror(errno)); in Open()
241 MYLOGE("Failed to copy file: %s\n", strerror(errno)); in CopyFileToFd()
251 MYLOGE("Failed to unlink file (%s): %s\n", file.c_str(), strerror(errno)); in UnlinkAndLogOnError()
260 MYLOGE("Failed to retrieve package_native service"); in GetModuleMetadataVersion()
267 MYLOGE("Failed to retrieve module metadata package name: %s", status.toString8().c_str()); in GetModuleMetadataVersion()
275 MYLOGE("Failed to retrieve module metadata version: %s", status.toString8().c_str()); in GetModuleMetadataVersion()
406 MYLOGE("Unable to add %s to zip file, lseek failed: %s\n", name.c_str(), in AddDumps()
412 MYLOGE("Unable to add %s to zip file, addZipEntryFromFd failed\n", name.c_str()); in AddDumps()
432 MYLOGE("Unable to read link for %s: %s\n", path, strerror(errno)); in do_mountinfo()
[all …]
DDumpstateUtil.cpp224 MYLOGE("No arguments on RunCommandToFd(%s)\n", title.c_str()); in RunCommandToFd()
293 MYLOGE("*** fork: %s\n", strerror(errno)); in RunCommandToFd()
304 MYLOGE("*** could not drop root before running %s: %s\n", command, strerror(errno)); in RunCommandToFd()
346 MYLOGE("*** command '%s' timed out after %.3fs (killing pid %d)\n", command, in RunCommandToFd()
352 MYLOGE("command '%s': Error after %.4fs (killing pid %d)\n", command, in RunCommandToFd()
362 MYLOGE("could not kill command '%s' (pid %d) even with SIGKILL.\n", command, pid); in RunCommandToFd()
371 MYLOGE("*** command '%s' failed: killed by signal %d\n", command, WTERMSIG(status)); in RunCommandToFd()
375 MYLOGE("*** command '%s' failed: exit code %d\n", command, status); in RunCommandToFd()
DDumpstateService.cpp43 MYLOGE("%s (%d) ", msg.c_str(), code); in exception()
94 MYLOGE("Error! There is already a bugreport in progress. Returning."); in startBugreport()
105 MYLOGE("Invalid input: no listener"); in startBugreport()
116 MYLOGE("Invalid input: bad bugreport mode: %d", bugreport_mode); in startBugreport()
125 MYLOGE("Invalid filedescriptor"); in startBugreport()
146 MYLOGE("Could not create a thread"); in startBugreport()
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.cpp784 MYLOGE("Skipping DumpstateTest.RunCommandDropRoot() on test suite\n") in TEST_F()
806 MYLOGE("Skipping DumpstateTest.RunCommandAsRootUserBuild() on test suite\n") in TEST_F()
828 MYLOGE("Skipping DumpstateTest.RunCommandAsRootNonUserBuild() on test suite\n") in TEST_F()
849 MYLOGE( in TEST_F()
875 MYLOGE("Skipping DumpstateTest.RunCommandAsRootIfAvailableOnUserBuild() on test suite\n") in TEST_F()
896 MYLOGE("Skipping DumpstateTest.RunCommandAsRootIfAvailableOnDebugBuild() on test suite\n") in TEST_F()
917 MYLOGE( in TEST_F()
1137 MYLOGE("Skipping ProgressTest.FirstTime() on test suite\n") in TEST_F()
1448 MYLOGE("Skipping DumpstateUtilTest.RunCommandAsRootUserBuild() on test suite\n") in TEST_F()
1471 MYLOGE("Skipping DumpstateUtilTest.RunCommandAsRootNonUserBuild() on test suite\n") in TEST_F()
[all …]