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.cpp181 MYLOGE("Returning early as user denied consent to share bugreport with calling app."); \
201 MYLOGE("open(%s, %s)\n", path.c_str(), strerror(errno)); in Open()
231 MYLOGE("Failed to copy file: %s\n", strerror(errno)); in CopyFileToFd()
238 MYLOGE("Failed to unlink file (%s): %s\n", file.c_str(), strerror(errno)); in UnlinkAndLogOnError()
247 MYLOGE("Cannot open file: %s\n", file_path.c_str()); in IsFileEmpty()
256 MYLOGE("Failed to retrieve package_native service"); in GetModuleMetadataVersion()
263 MYLOGE("Failed to retrieve module metadata package name: %s", status.toString8().c_str()); in GetModuleMetadataVersion()
271 MYLOGE("Failed to retrieve module metadata version: %s", status.toString8().c_str()); in GetModuleMetadataVersion()
379 MYLOGE("Unable to add %s to zip file, lseek failed: %s\n", name.c_str(), in AddDumps()
385 MYLOGE("Unable to add %s to zip file, addZipEntryFromFd failed\n", name.c_str()); in AddDumps()
[all …]
DDumpstateService.cpp43 MYLOGE("%s (%d) ", msg.c_str(), code); in exception()
92 MYLOGE("setListener(): name not set\n"); in setListener()
96 MYLOGE("setListener(): listener not set\n"); in setListener()
104 MYLOGE("setListener(%s): already set (%s)\n", name.c_str(), ds_->listener_name_.c_str()); in setListener()
128 MYLOGE("Error! There is already a bugreport in progress. Returning."); in startBugreport()
139 MYLOGE("Invalid input: no listener"); in startBugreport()
150 MYLOGE("Invalid input: bad bugreport mode: %d", bugreport_mode); in startBugreport()
159 MYLOGE("Invalid filedescriptor"); in startBugreport()
178 MYLOGE("Could not create a thread"); in startBugreport()
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()
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.cpp833 MYLOGE("Skipping DumpstateTest.RunCommandDropRoot() on test suite\n") in TEST_F()
855 MYLOGE("Skipping DumpstateTest.RunCommandAsRootUserBuild() on test suite\n") in TEST_F()
877 MYLOGE("Skipping DumpstateTest.RunCommandAsRootNonUserBuild() on test suite\n") in TEST_F()
898 MYLOGE( in TEST_F()
924 MYLOGE("Skipping DumpstateTest.RunCommandAsRootIfAvailableOnUserBuild() on test suite\n") in TEST_F()
945 MYLOGE("Skipping DumpstateTest.RunCommandAsRootIfAvailableOnDebugBuild() on test suite\n") in TEST_F()
966 MYLOGE( in TEST_F()
1230 MYLOGE("Skipping ProgressTest.FirstTime() on test suite\n") in TEST_F()
1541 MYLOGE("Skipping DumpstateUtilTest.RunCommandAsRootUserBuild() on test suite\n") in TEST_F()
1564 MYLOGE("Skipping DumpstateUtilTest.RunCommandAsRootNonUserBuild() on test suite\n") in TEST_F()
[all …]