Home
last modified time | relevance | path

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

1234567

/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java540 pw.printf("\t If not specified, CarService will inject fake events with areaId:%s " in showHelp()
555 pw.printf("\t%s\n", getSetPropertyValueUsage()); in showHelp()
556 pw.printf("\t%s\n", getSuspendCommandUsage(COMMAND_SUSPEND)); in showHelp()
558 pw.printf("\t %s forces the device to perform suspend-to-RAM.\n", PARAM_REAL); in showHelp()
559 pw.printf("\t %s simulates suspend-to-RAM instead of putting the device into deep sleep." in showHelp()
561 pw.printf("\t %s depending on the device capability, real or simulated suspend-to-RAM is " in showHelp()
563 pw.printf("\t %s skips Garage Mode before going into sleep.\n", PARAM_SKIP_GARAGEMODE); in showHelp()
564 pw.printf("\t %s [RESUME_DELAY] wakes up the device RESUME_DELAY seconds after suspend.\n", in showHelp()
566 pw.printf("\t%s\n", getSuspendCommandUsage(COMMAND_HIBERNATE)); in showHelp()
568 pw.printf("\t %s forces the device to perform suspend-to-disk.\n", PARAM_REAL); in showHelp()
[all …]
/packages/modules/Bluetooth/system/tools/hci/
Dmain.c56 printf("No help command specified.\n"); in help()
62 printf("No command named '%s'.\n", argv[0]); in help()
66 printf("%s %s\n", argv[0], command->help); in help()
72 printf("Discoverable mode not specified.\n"); in set_discoverable()
77 printf("Invalid discoverable mode '%s'.\n", argv[0]); in set_discoverable()
89 printf("Device name not specified.\n"); in set_name()
95 printf("Device name cannot exceed 247 bytes.\n"); in set_name()
117 printf("PCM loopback mode not specified.\n"); in set_pcm_loopback()
122 printf("Invalid PCM mode '%s'.\n", argv[0]); in set_pcm_loopback()
134 printf("SCO route parameter must be specified.\n"); in set_sco_route()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/example/tutorial/
Dtutorial.cpp16 printf("Original JSON:\n %s\n", json); in main()
32 printf("\nParsing to document succeeded.\n"); in main()
37 printf("\nAccess values in document:\n"); in main()
42 printf("hello = %s\n", document["hello"].GetString()); in main()
52 printf("t = %s\n", document["t"].GetBool() ? "true" : "false"); in main()
55 printf("f = %s\n", document["f"].GetBool() ? "true" : "false"); in main()
57 printf("n = %s\n", document["n"].IsNull() ? "null" : "?"); in main()
61 printf("i = %d\n", document["i"].GetInt()); // Alternative (int)document["i"] in main()
65 printf("pi = %g\n", document["pi"].GetDouble()); in main()
71 printf("a[%d] = %d\n", i, a[i].GetInt()); in main()
[all …]
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_parser.cpp51 printf("Usage: %s", commandName.c_str()); in printUsage()
55 printf(" [-%s", optionName.c_str()); in printUsage()
57 printf(" <%s>", spec.getValueName().c_str()); in printUsage()
59 printf("]"); in printUsage()
63 printf(" [<%s>]", argSpec.getName().c_str()); in printUsage()
65 printf(" <%s>", argSpec.getName().c_str()); in printUsage()
67 printf(" [<%s>...]", argSpec.getName().c_str()); in printUsage()
69 printf(" <%s>...", argSpec.getName().c_str()); in printUsage()
72 printf("\n%s\n\n", description.c_str()); in printUsage()
76 printf(" -%s", optionName.c_str()); in printUsage()
[all …]
/packages/modules/Bluetooth/system/embdrv/sbc/decoder/srce/
Dframing-sbc.c46 printf("SBC configuration\n"); in OI_CODEC_SBC_DumpConfig()
47 printf(" enhanced: %s\n", frameInfo->enhanced ? "true" : "false"); in OI_CODEC_SBC_DumpConfig()
48 printf(" frequency: %d\n", frameInfo->frequency); in OI_CODEC_SBC_DumpConfig()
49 printf(" subbands: %d\n", frameInfo->nrof_subbands); in OI_CODEC_SBC_DumpConfig()
50 printf(" blocks: %d\n", frameInfo->nrof_blocks); in OI_CODEC_SBC_DumpConfig()
51 printf(" channels: %d\n", frameInfo->nrof_channels); in OI_CODEC_SBC_DumpConfig()
52 printf(" mode: %s\n", OI_CODEC_SBC_ModeText[frameInfo->mode]); in OI_CODEC_SBC_DumpConfig()
53 printf(" alloc: %s\n", OI_CODEC_SBC_AllocText[frameInfo->alloc]); in OI_CODEC_SBC_DumpConfig()
54 printf(" bitpool: %d\n", frameInfo->bitpool); in OI_CODEC_SBC_DumpConfig()
/packages/services/Car/cpp/evs/apps/default/
Devs_app.cpp177 printf("Ignoring unrecognized command line arg '%s'\n", argv[i]); in main()
182 printf("Options include:\n"); in main()
183 printf(" --test\n\tDo not talk to Vehicle Hal, " in main()
185 printf(" --gear\n\tMock gear signal for the test mode."); in main()
186 printf(" Available options are Reverse and Park (case insensitive)\n"); in main()
187 printf(" --hw\n\tBypass EvsManager by connecting directly to EvsEnumeratorHw\n"); in main()
188 printf(" --mock\n\tConnect directly to EvsEnumeratorHw-Mock\n"); in main()
189 printf(" --display\n\tSpecify the display to use. If this is not set, the first" in main()
191 printf(" --extmem <format>\n\t" in main()
194 printf("\t\tRGBA8888: 4x8-bit RGBA format. This is the default format to be used " in main()
[all …]
DConfigManager.cpp43 printf("Missing or invalid field %s in record %s", childName, groupName); in readChildNodeAsFloat()
66 printf("Failed to read configuration file %s\n", configFileName); in initialize()
67 printf("%s\n", errorMessage.c_str()); in initialize()
78 printf("Invalid configuration format -- we expect a car description\n"); in initialize()
94 printf("Invalid configuration format -- we expect an array of displays\n"); in initialize()
117 printf("Invalid configuration format -- we expect a graphic description\n"); in initialize()
132 printf("Invalid configuration format -- we expect an array of cameras\n"); in initialize()
169 printf("Pathological horizontal field of view %f clamped to 179 degrees\n", hfov); in initialize()
173 printf("Pathological horizontal field of view %f clamped to 1 degree\n", hfov); in initialize()
177 printf("Pathological horizontal field of view %f clamped to 179 degrees\n", vfov); in initialize()
[all …]
Dshader.cpp38 printf("Error compiling %s shader for %s\n", (type==GL_VERTEX_SHADER) ? "vtx":"pxl", name); in loadShader()
47 printf(" msg:\n%s\n", infoLog.get()); in loadShader()
62 printf("Failed to allocate program object\n"); in buildShaderProgram()
69 printf("Failed to load vertex shader\n"); in buildShaderProgram()
75 printf("Failed to load pixel shader\n"); in buildShaderProgram()
89 printf("Error linking program.\n"); in buildShaderProgram()
97 printf(" msg: %s\n", infoLog.get()); in buildShaderProgram()
113 printf("Shader parameters for %s:\n", name); in buildShaderProgram()
130 printf(" %2d: %s\t (%d) of type %s(%d)\n", i, paramName, paramSize, typeName, paramType); in buildShaderProgram()
DTexWrapper.cpp75 printf("%s is not a PNG.\n", filename); in createTextureFromPng()
84 printf("png_create_read_struct failed.\n"); in createTextureFromPng()
93 printf("error: png_create_info_struct returned 0.\n"); in createTextureFromPng()
101 printf("libpng reported an error\n"); in createTextureFromPng()
132 printf("%s: Unknown libpng color format %d.\n", filename, colorFormat); in createTextureFromPng()
145 printf("error: could not allocate memory for PNG image data\n"); in createTextureFromPng()
155 printf("Failed to allocate temporary row pointers\n"); in createTextureFromPng()
/packages/services/Car/cpp/evs/support_library/
DConfigManager.cpp47 printf("Missing or invalid field %s in record %s", childName, groupName); in readChildNodeAsFloat()
70 printf("Failed to read configuration file %s\n", configFileName); in initialize()
71 printf("%s\n", errorMessage.c_str()); in initialize()
82 printf("Invalid configuration format -- we expect a car description\n"); in initialize()
98 printf("Invalid configuration format -- we expect a display description\n"); in initialize()
112 printf("Invalid configuration format -- we expect a graphic description\n"); in initialize()
127 printf("Invalid configuration format -- we expect an array of cameras\n"); in initialize()
160 printf("Pathological horizontal field of view %f clamped to 179 degrees\n", hfov); in initialize()
164 printf("Pathological horizontal field of view %f clamped to 1 degree\n", hfov); in initialize()
168 printf("Pathological horizontal field of view %f clamped to 179 degrees\n", vfov); in initialize()
[all …]
Dshader.cpp38 printf("Error compiling %s shader for %s\n", (type==GL_VERTEX_SHADER) ? "vtx":"pxl", name); in loadShader()
47 printf(" msg:\n%s\n", infoLog.get()); in loadShader()
62 printf("Failed to allocate program object\n"); in buildShaderProgram()
69 printf("Failed to load vertex shader\n"); in buildShaderProgram()
75 printf("Failed to load pixel shader\n"); in buildShaderProgram()
89 printf("Error linking program.\n"); in buildShaderProgram()
97 printf(" msg: %s\n", infoLog.get()); in buildShaderProgram()
113 printf("Shader parameters for %s:\n", name); in buildShaderProgram()
130 printf(" %2d: %s\t (%d) of type %s(%d)\n", i, paramName, paramSize, typeName, paramType); in buildShaderProgram()
DTexWrapper.cpp79 printf("%s is not a PNG.\n", filename); in createTextureFromPng()
88 printf("png_create_read_struct failed.\n"); in createTextureFromPng()
97 printf("error: png_create_info_struct returned 0.\n"); in createTextureFromPng()
105 printf("libpng reported an error\n"); in createTextureFromPng()
136 printf("%s: Unknown libpng color format %d.\n", filename, colorFormat); in createTextureFromPng()
149 printf("error: could not allocate memory for PNG image data\n"); in createTextureFromPng()
159 printf("Failed to allocate temporary row pointers\n"); in createTextureFromPng()
/packages/services/Car/tests/UserSwitchMonitorApp/src/com/google/android/car/userswitchmonitor/
DUserSwitchMonitorService.java128 pw.printf("User id: %d\n", mUserId); in dump()
136 pw.printf("Received %d events:\n", size); in dump()
138 pw.printf("%s%d: %s\n", indent, (i + 1), mEvents.get(i)); in dump()
162 pw.printf("invalid command: %s\n\n", cmd); in executeCommand()
168 pw.printf("Options:\n"); in cmdHelp()
169 pw.printf(" help: show this help\n"); in cmdHelp()
170 pw.printf(" register: register the service to receive events\n"); in cmdHelp()
171 pw.printf(" unregister: unregister the service from receiving events\n"); in cmdHelp()
175 pw.printf("registering listener %s\n", mListener); in cmdRegister()
180 pw.printf("unregistering listener %s\n", mListener); in cmdUnregister()
[all …]
/packages/services/Car/tools/perf/app-launch-test/
Dapp_launch_perf_test.sh100 printf "Testing $1 start performance....\n"
112 printf "[${key}]\n"
113 printf " Count: ${stat[0]}\n"
114 printf " Average: ${stat[1]}\n"
115 printf " StdDev: ${stat[2]}\n"
116 printf "\n"
/packages/services/Car/service/src/com/android/car/audio/
DCarVolumeGroup.java425 writer.printf("CarVolumeGroup(%d)\n", mId); in dump()
427 writer.printf("Zone Id(%b)\n", mZoneId); in dump()
428 writer.printf("Is Muted(%b)\n", mIsMuted); in dump()
429 writer.printf("UserId(%d)\n", mUserId); in dump()
430 writer.printf("Persist Volume Group Mute(%b)\n", in dump()
432 writer.printf("Step size: %d\n", mStepSize); in dump()
433 writer.printf("Gain values (min / max / default/ current): %d %d %d %d\n", mMinGain, in dump()
435 writer.printf("Gain indexes (min / max / default / current): %d %d %d %d\n", in dump()
438 writer.printf("Context: %s -> Address: %s\n", in dump()
445 writer.printf("Reported reasons:\n"); in dump()
[all …]
DFocusEntry.java113 writer.printf("%s - %s\n", getClientId(), in dump()
117 writer.printf("Receives Duck Events: %b, ", receivesDuckEvents()); in dump()
118 writer.printf("Wants Pause Instead of Ducking: %b, ", wantsPauseInsteadOfDucking()); in dump()
119 writer.printf("Is Ducked: %b\n", isDucked()); in dump()
120 writer.printf("Is Unblocked: %b\n", isUnblocked()); in dump()
123 writer.printf("Blocker[%d]: %s\n", index, mBlockers.get(index)); in dump()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DKitchenSinkShellCommand.java100 mWriter.printf(headerMessage, headerArgs); in showHelp()
120 mWriter.printf("%s", cmd); in showCommandHelp()
123 mWriter.printf(" %s", arg); in showCommandHelp()
128 mWriter.printf("%s\n\n", description); in showCommandHelp()
177 mWriter.printf("Command will be executed asynchronally; use `adb logcat %s *:s` for result" in warnAboutAsyncCall()
231 mWriter.printf("No %ss\n", nameOnSingular); in printCollection()
235 mWriter.printf("%d %s%s:\n", size, nameOnSingular, size == 1 ? "" : "s"); in printCollection()
236 collection.forEach((s) -> mWriter.printf(" %s\n", s)); in printCollection()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/mainline/
DCarMainlineFragment.java136 writer.printf("%smAppTargetSdk: %s\n", prefix, mAppTargetSdk.getText()); in dump()
137 writer.printf("%smAppCompilationSdk: %s\n", prefix, mAppCompilationSdk.getText()); in dump()
138 writer.printf("%smAppCarTargetMajorSdk: %s\n", prefix, mAppCarTargetMajorSdk.getText()); in dump()
139 writer.printf("%smAppCarTargetMinorSdk: %s\n", prefix, mAppCarTargetMinorSdk.getText()); in dump()
140 writer.printf("%smAndroidSdkCodename: %s\n", prefix, mAndroidSdkCodename.getText()); in dump()
141 writer.printf("%smAndroidSdkVersion: %s\n", prefix, mAndroidSdkVersion.getText()); in dump()
142 writer.printf("%smCarMajorVersion: %s\n", prefix, mCarMajorVersion.getText()); in dump()
143 writer.printf("%smCarMinorVersion: %s\n", prefix, mCarMinorVersion.getText()); in dump()
/packages/apps/LegacyCamera/jni/feature_stab/db_vlvm/
Ddb_utilities.cpp162 printf("[ "); in db_PrintDoubleVector()
163 for(long i=0;i<size;i++) printf("%lf ",a[i]); in db_PrintDoubleVector()
164 printf("]"); in db_PrintDoubleVector()
169 printf("[\n"); in db_PrintDoubleMatrix()
172 for(long j=0;j<cols;j++) printf("%lf ",a[i*cols+j]); in db_PrintDoubleMatrix()
173 printf("\n"); in db_PrintDoubleMatrix()
175 printf("]"); in db_PrintDoubleMatrix()
/packages/services/Car/service/src/com/android/car/oem/
DCarOemProxyService.java302 writer.printf("mIsFeatureEnabled: %s\n", mIsFeatureEnabled); in dump()
303 writer.printf("mIsOemServiceBound: %s\n", mIsOemServiceBound); in dump()
304 writer.printf("mIsOemServiceReady: %s\n", mIsOemServiceReady); in dump()
305 writer.printf("mIsOemServiceConnected: %s\n", mIsOemServiceConnected); in dump()
306 writer.printf("mInitComplete: %s\n", mInitComplete); in dump()
307 writer.printf("OEM_CAR_SERVICE_CONNECTED_TIMEOUT_MS: %s\n", in dump()
309 writer.printf("OEM_CAR_SERVICE_READY_TIMEOUT_MS: %s\n", mOemServiceReadyTimeoutMs); in dump()
310 writer.printf("mComponentName: %s\n", mComponentName); in dump()
311 writer.printf("mCallbacks size: %d\n", mCallbacks.size()); in dump()
314 writer.printf("OEM callstack\n"); in dump()
[all …]
/packages/modules/Bluetooth/system/embdrv/lc3/test/neon/
Dtest_neon.c28 printf("Checking LTPF Neon... "); fflush(stdout); in main()
29 printf("%s\n", (r = check_ltpf()) == 0 ? "OK" : "Failed"); in main()
32 printf("Checking MDCT Neon... "); fflush(stdout); in main()
33 printf("%s\n", (r = check_mdct()) == 0 ? "OK" : "Failed"); in main()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/command_executors/
Dhelp_executor.cpp35 printf("Available commands:\n\n"); in run()
46 printf("*** %s\n", COMMAND_NAME); in printUsage()
47 printf("Usage: %s\n", COMMAND_NAME); in printUsage()
48 printf("Show this help list.\n\n"); in printUsage()
/packages/services/Car/cpp/evs/manager/1.0/
Dservice.cpp82 printf("Ignoring unrecognized command line arg '%s'\n", argv[i]); in main()
87 printf("Options include:\n"); in main()
88 printf(" --mock Connect to the mock driver at EvsEnumeratorHw-Mock\n"); in main()
89 printf(" --target <service_name> Connect to the named IEvsEnumerator service"); in main()
/packages/apps/Car/Radio/src/com/android/car/radio/service/
DSkipController.java135 pw.printf("mode: %s\n", mSkipMode); in dump()
136 pw.printf("current index: %d\n", mCurrentIndex); in dump()
140 pw.printf("%d favorites:\n", mFavorites.size()); in dump()
143 pw.printf("Favorite[%d]: %s ", i, mFavorites.get(i).getName()); in dump()
145 pw.printf(" is current"); in dump()
/packages/services/Car/service/src/com/android/car/bluetooth/
DCarBluetoothService.java642 writer.printf("* %s *\n", TAG); in dump()
646 writer.printf("User ID: %d\n", mUserId); in dump()
647 writer.printf("User Proxies: %s\n", mCarBluetoothUserService != null ? "Yes" : "No"); in dump()
648 writer.printf("Using default connection policy? %s\n", in dump()
650 writer.printf("Using default power policy? %s\n", in dump()
657 writer.printf("BluetoothDeviceConnectionPolicy: null\n"); in dump()
664 writer.printf("BluetoothPowerPolicy: null\n"); in dump()
674 writer.printf("BluetoothProfileInhibitManager: null\n"); in dump()

1234567