Home
last modified time | relevance | path

Searched refs:printf (Results 1 – 25 of 145) sorted by relevance

123456

/aosp14/frameworks/base/services/core/java/com/android/server/timezonedetector/
H A DTimeZoneDetectorShellCommand.java248 pw.printf(" help\n"); in onHelp()
249 pw.printf(" Print this help text.\n"); in onHelp()
250 pw.printf(" %s\n", SHELL_COMMAND_IS_AUTO_DETECTION_ENABLED); in onHelp()
257 pw.printf(" %s\n", SHELL_COMMAND_IS_GEO_DETECTION_SUPPORTED); in onHelp()
260 pw.printf(" %s\n", SHELL_COMMAND_IS_GEO_DETECTION_ENABLED); in onHelp()
265 pw.printf(" %s\n", SHELL_COMMAND_ENABLE_TELEPHONY_FALLBACK); in onHelp()
279 pw.printf(" %s\n", SHELL_COMMAND_GET_TIME_ZONE_STATE); in onHelp()
285 pw.printf(" %s\n", SHELL_COMMAND_DUMP_METRICS); in onHelp()
301 pw.printf(" Set this to false to disable the feature.\n"); in onHelp()
308 pw.printf(" The default is when unset is false.\n"); in onHelp()
[all …]
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerServiceShellCommand.java111 pw.printf("Usage: \n"); in onInvalidCommand()
117 pw.printf(" help\n"); in showHelp()
118 pw.printf(" Prints this help text.\n\n"); in showHelp()
126 pw.printf(" %s\n", CMD_LIST_OWNERS); in showHelp()
150 pw.printf(" %s\n", CMD_FORCE_NETWORK_LOGS); in showHelp()
197 pw.printf("no %ss\n", nameOnSingular); in printAndGetSize()
239 pw.printf(" %d: %s\n", i, app); in runListPolicyExemptApps()
309 pw.printf("Success\n"); in runClearFreezePeriodRecord()
322 pw.printf("Success\n"); in runForceNetworkLogs()
335 pw.printf("Success\n"); in runForceSecurityLogs()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/timedetector/
H A DTimeDetectorShellCommand.java214 pw.printf(" help\n"); in onHelp()
215 pw.printf(" Print this help text.\n"); in onHelp()
216 pw.printf(" %s\n", SHELL_COMMAND_IS_AUTO_DETECTION_ENABLED); in onHelp()
231 pw.printf(" %s\n", SHELL_COMMAND_GET_TIME_STATE); in onHelp()
232 pw.printf(" Returns the current time setting state.\n"); in onHelp()
234 pw.printf(" Sets the current time state for tests.\n"); in onHelp()
237 pw.printf(" %s\n", SHELL_COMMAND_GET_NETWORK_TIME); in onHelp()
239 pw.printf(" %s\n", SHELL_COMMAND_CLEAR_NETWORK_TIME); in onHelp()
244 pw.printf(" %s <network suggestion opts>\n", in onHelp()
246 pw.printf(" Sets the network time information used for" in onHelp()
[all …]
H A DNetworkTimeUpdateServiceShellCommand.java135 pw.printf("Network Time Update Service (%s) commands:\n", SHELL_COMMAND_SERVICE_NAME); in onHelp()
136 pw.printf(" help\n"); in onHelp()
137 pw.printf(" Print this help text.\n"); in onHelp()
138 pw.printf(" %s\n", SHELL_COMMAND_FORCE_REFRESH); in onHelp()
139 pw.printf(" Refreshes the latest time. Prints whether it was successful.\n"); in onHelp()
140 pw.printf(" %s\n", SHELL_COMMAND_SET_SERVER_CONFIG); in onHelp()
141 pw.printf(" Sets the NTP server config for tests. The config is not persisted.\n"); in onHelp()
142 pw.printf(" Options: %s <uri> [%s <additional uris>]+ %s <millis>\n", in onHelp()
145 pw.printf(" NTP server URIs must be in the form \"ntp://hostname\" or" in onHelp()
147 pw.printf(" %s\n", SHELL_COMMAND_RESET_SERVER_CONFIG); in onHelp()
[all …]
H A DGnssTimeUpdateServiceShellCommand.java69 pw.printf("Network Time Update Service (%s) commands:\n", SHELL_COMMAND_SERVICE_NAME); in onHelp()
70 pw.printf(" help\n"); in onHelp()
71 pw.printf(" Print this help text.\n"); in onHelp()
72 pw.printf(" %s\n", SHELL_COMMAND_START_GNSS_LISTENING); in onHelp()
73 pw.printf(" Forces the service in to GNSS listening mode (if it isn't already).\n"); in onHelp()
74 pw.printf(" Prints true if the service is listening after this command.\n"); in onHelp()
/aosp14/frameworks/base/media/jni/soundpool/tests/
H A Dsoundpool_stress.cpp45 printf("Usage: %s " in usage()
49 printf(" -i #iterations, default 1\n"); in usage()
54 printf(" -t #threads, default 1\n"); in usage()
144 printf("\nrequestLoadTimeMs: %d\n", in testStreams()
173 printf("[%d]", soundID); in testStreams()
189 printf(" failed! ERROR"); in testStreams()
192 printf(" streamID=%d", streamID); in testStreams()
202 printf("."); in testStreams()
213 printf("\nDone!\n"); in testStreams()
302 printf("z"); in main()
[all …]
/aosp14/frameworks/base/tools/incident_section_gen/
H A Dmain.cpp97 printf("\n"); in emptyline()
128 printf(",\n"); in generateIncidentSectionsCpp()
130 printf("\n"); in generateIncidentSectionsCpp()
133 printf("};\n"); in generateIncidentSectionsCpp()
394 printf(" NULL };\n"); in generatePrivacyFlags()
404 printf("namespace os {\n"); in generateSectionListCpp()
465 printf(" NULL };\n"); in generateSectionListCpp()
514 printf("};\n\n"); in generateSectionListCpp()
533 printf("}\n\n"); in generateSectionListCpp()
539 printf("} // os\n"); in generateSectionListCpp()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
H A DLocationTimeZoneManagerShellCommand.java124 pw.printf(" help\n"); in onHelp()
125 pw.printf(" Print this help text.\n"); in onHelp()
126 pw.printf(" %s\n", SHELL_COMMAND_START); in onHelp()
135 pw.printf(" See %s and %s.\n", SHELL_COMMAND_DUMP_STATE, in onHelp()
137 pw.printf(" %s\n", SHELL_COMMAND_STOP); in onHelp()
139 pw.printf(" %s\n", SHELL_COMMAND_CLEAR_RECORDED_PROVIDER_STATES); in onHelp()
149 pw.printf(" %s\n", KEY_PRIMARY_LTZP_MODE_OVERRIDE); in onHelp()
152 pw.printf(" %s\n", KEY_SECONDARY_LTZP_MODE_OVERRIDE); in onHelp()
158 pw.printf(" %s\n", KEY_LTZP_INITIALIZATION_TIMEOUT_MILLIS); in onHelp()
160 pw.printf(" %s\n", KEY_LTZP_INITIALIZATION_TIMEOUT_FUZZ_MILLIS); in onHelp()
[all …]
/aosp14/frameworks/base/tools/incident_report/
H A Dmain.cpp188 out->printf("true"); in print_value()
215 out->printf("<bytes>"); in print_value()
238 out->printf("[\n"); in print_message()
244 out->printf("\n"); in print_message()
248 out->printf("]"); in print_message()
250 out->printf("[]"); in print_message()
262 out->printf(""); in print_message()
268 out->printf("0"); in print_message()
273 out->printf("\n"); in print_message()
276 out->printf("}"); in print_message()
[all …]
/aosp14/frameworks/base/tools/aapt/
H A DCommand.cpp146 printf( in doList()
148 printf( in doList()
184 printf( in doList()
352 printf("\n"); in printCompatibleScreens()
368 printf("\n"); in printUsesPermission()
376 printf("\n"); in printUsesPermission()
387 printf("\n"); in printUsesPermissionSdk23()
578 printf("\n"); in printFeatureGroupImpl()
607 printf("'\n"); in printFeatureGroupImpl()
2340 printf("\n"); in doDump()
[all …]
H A DPackage.cpp95 printf("%s '%s'\n", (fileType == kFileTypeNonexistent) ? "Creating" : "Opening", in writeAPK()
109 printf("Writing all files...\n"); in writeAPK()
121 printf("Generated %d file%s\n", count, (count==1) ? "" : "s"); in writeAPK()
144 printf("Checking for deleted files\n"); in writeAPK()
151 printf(" (removing crufty '%s')\n", in writeAPK()
159 printf("Removed %d file%s\n", removed, (removed==1) ? "" : "s"); in writeAPK()
202 printf("Removing %s due to earlier failures\n", outputFile.string()); in writeAPK()
210 printf("Done!\n"); in writeAPK()
302 printf(" (removing old '%s')\n", storageName.string()); in processFile()
309 printf(" (not updating '%s')\n", storageName.string()); in processFile()
[all …]
H A DImages.cpp773 printf(" #%08x", image->colors[i]); in do_9patch()
774 if (i == numColors - 1) printf("\n"); in do_9patch()
849 printf("Row %d:", j); in dump_image()
853 printf(" (%d)", rr); in dump_image()
856 printf(" (%d %d", rr, gg); in dump_image()
859 printf(" (%d %d %d)", rr, gg, bb); in dump_image()
866 printf("\n"); in dump_image()
902 printf("Initial image data:\n"); in analyze_image()
1154 printf("Can't allocate output buffer!\n"); in write_png()
1247 printf("Adding 9-patch info...\n"); in write_png()
[all …]
H A DResourceIdCache.cpp98 printf("ResourceIdCache dump:\n"); in dump()
99 printf("Size: %zd\n", mIdMap.size()); in dump()
100 printf("Hits: %zd\n", mHits); in dump()
101 printf("Misses: %zd\n", mMisses); in dump()
102 printf("(Collisions: %zd)\n", mCollisions); in dump()
/aosp14/system/core/toolbox/
H A Dgetevent.c71 printf(" input props:\n"); in print_input_props()
74 printf(" <not available\n"); in print_input_props()
91 printf(" <none>\n"); in print_input_props()
105 printf(" events:\n"); in print_possible_events()
205 printf("\n"); in print_possible_events()
262 printf("%-12.12s", type_label); in print_event()
264 printf("%04x ", type); in print_event()
378 printf(" bus: %04x\n" in open_device()
386 printf(" location: \"%s\"\n" in open_device()
389 printf(" version: %d.%d.%d\n", in open_device()
[all …]
/aosp14/system/core/trusty/libtrusty/tipc-test/
H A Dtipc_test.c204 printf("%s: done\n", __func__); in connect_test()
228 printf("%s: done\n", __func__); in connect_foo()
257 printf("%s: done\n", __func__); in closer1_test()
286 printf("%s: done\n", __func__); in closer2_test()
348 printf("%s: done\n", __func__); in closer3_test()
409 printf("%s: done\n", __func__); in echo_test()
453 printf("%s: done\n", __func__); in burst_write_test()
549 printf("%s: done\n", __func__); in select_test()
607 printf("%s:\n", __func__); in ta2ta_ipc_test()
652 printf("%s:", dev); in print_uuid()
[all …]
/aosp14/frameworks/base/tests/backup/
H A Dbackup_helper_test.cpp86 printf("===== Running %s (%d of %d) ==============================\n", in main()
93 printf("failed\n"); in main()
95 printf("passed\n"); in main()
102 printf("=================================================================\n"); in main()
104 printf("All %d test(s) passed\n", testCount); in main()
106 printf("Tests failed: (%d of %d)\n", failed, testCount); in main()
111 printf(" %s\n", t->name); in main()
123 printf ("test_backup_helper built without the tests\n"); in main()
/aosp14/frameworks/base/tools/obbtool/
H A Dpbkdf2gen.cpp68 printf("salt="); in main()
70 printf("%02x", salt[i]); in main()
72 printf("\n"); in main()
74 printf("key="); in main()
76 printf("%02x", rawKey[i]); in main()
78 printf("\n"); in main()
H A DMain.cpp137 printf("OBB info for '%s':\n", filename); in doInfo()
138 printf("Package name: %s\n", obb->getPackageName().string()); in doInfo()
139 printf(" Version: %d\n", obb->getVersion()); in doInfo()
140 printf(" Flags: 0x%08x\n", obb->getFlags()); in doInfo()
141 printf(" Overlay: %s\n", obb->isOverlay() ? "true" : "false"); in doInfo()
142 printf(" Salt: "); in doInfo()
148 printf("%02x", salt[i]); in doInfo()
150 printf("\n"); in doInfo()
152 printf("<empty>\n"); in doInfo()
/aosp14/frameworks/base/libs/hwui/tests/scripts/
H A Dskp-capture.sh15 printf 'Usage:\n skp-capture.sh PACKAGE_NAME OPTIONAL_FRAME_COUNT\n\n'
16 printf "Use \`adb shell 'pm list packages'\` to get a listing.\n\n"
47 printf 'debug.hwui.capture_skp_enabled was found to be disabled, enabling it now.\n'
48 printf " restart the process you want to capture on the device, then retry this script.\n\n"
59 1) printf '\b|';;
60 2) printf '\b\\';;
/aosp14/system/core/libdiskconfig/
H A Ddiskconfig.c464 printf("Device: %s\n", dinfo->device); in dump_disk_config()
465 printf("Scheme: "); in dump_disk_config()
468 printf("MBR"); in dump_disk_config()
471 printf("GPT (unsupported)"); in dump_disk_config()
474 printf("Unknown"); in dump_disk_config()
477 printf ("\n"); in dump_disk_config()
482 printf("Partitions:\n"); in dump_disk_config()
486 printf("\tname = %s\n", part->name); in dump_disk_config()
487 printf("\t\tflags = %s\n", in dump_disk_config()
489 printf("\t\ttype = %s\n", in dump_disk_config()
[all …]
/aosp14/frameworks/base/cmds/backup/
H A Dbackup.cpp48 printf("this would have written all of your data to stdout\n"); in perform_full_backup()
78 printf(" entity: %s (%zu bytes)\n", key.string(), dataSize); in perform_list()
80 printf(" Error reading entity header\n"); in perform_list()
86 printf("Unknown chunk type: 0x%08x\n", type); in perform_list()
97 printf("perform_print(%s, %s);", entityname, filename); in perform_print()
/aosp14/frameworks/base/tools/bit/
H A Dmain.cpp295 printf("%s\n", logcat.c_str()); in OnTestStatus()
298 printf("%s\n", stack.c_str()); in OnTestStatus()
798 printf(" %s\n", systemFiles[i].c_str()); in run_phases()
805 printf(" --> %s\n", pushedFiles[i].dest.c_str()); in run_phases()
842 printf("Skipping sync because no files changed.\n"); in run_phases()
1112 printf("%sBuilt:%s\n", g_escapeBold, g_escapeEndColor); in run_phases()
1114 printf(" %s\n", goals[i].c_str()); in run_phases()
1135 printf(" %s\n", apk.file.filename.c_str()); in run_phases()
1146 printf(" %s\n", apk.file.filename.c_str()); in run_phases()
1175 printf(" %s%s ", target->name.c_str(), in run_phases()
[all …]
/aosp14/system/core/storaged/
H A Dstoraged_utils.cpp70 printf("name/uid fg_rchar fg_wchar fg_rbytes fg_wbytes " in log_console_running_uids_info()
74 printf("%s %" PRIu64 " %" PRIu64 " %" PRIu64 " %" PRIu64 " %" PRIu64 in log_console_running_uids_info()
83 printf("-> %s %" PRIu64 " %" PRIu64 " %" PRIu64 " %" PRIu64 in log_console_running_uids_info()
103 printf("\nI/O perf history (KB/s) : most_recent <--------- least_recent \n"); in log_console_perf_history()
110 printf("last 24 hours : %s\n", line.str().c_str()); in log_console_perf_history()
117 printf("last 7 days : %s\n", line.str().c_str()); in log_console_perf_history()
123 printf("last 52 weeks : %s\n", line.str().c_str()); in log_console_perf_history()
H A Dmain.cpp59 printf("usage: storaged [OPTION]\n"); in help_message()
60 printf(" -u --uid Dump uid I/O usage to stdout\n"); in help_message()
61 printf(" -t --task Dump task I/O usage to stdout\n"); in help_message()
62 printf(" -p --perf Dump I/O perf history to stdout\n"); in help_message()
63 printf(" -s --start Start storaged (default)\n"); in help_message()
/aosp14/system/core/fastboot/fuzzy_fastboot/
H A Dfixtures.cpp176 printf("<<<<<<<< TRACE BEGIN >>>>>>>>>\n"); in TearDownSerial()
177 printf("%s", transport->CreateTrace().c_str()); in TearDownSerial()
178 printf("<<<<<<<< TRACE END >>>>>>>>>\n"); in TearDownSerial()
209 printf("WAITING FOR DEVICE\n"); in ReconnectFastbootDevice()
264 printf("PLEASE RESPOND TO PROMPT FOR '%sing' BOOTLOADER ON DEVICE\n", cmd.c_str()); in SetLockState()
271 printf("SUCCESS\n"); in SetLockState()
297 printf("DEVICE UNRESPONSE, attempting to recover..."); in TearDown()
299 printf("issued USB reset..."); in TearDown()
302 printf("FAIL\n"); in TearDown()
305 printf("SUCCESS!\n"); in TearDown()

123456