Home
last modified time | relevance | path

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

12345

/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java449 pw.printf("\t If not specified, CarService will inject fake events with areaId:%s " in showHelp()
473 pw.printf("\t%s [zoneid] [uid]\n", COMMAND_SET_UID_TO_ZONE); in showHelp()
475 pw.printf("\t%s\n", COMMAND_RESET_VOLUME_CONTEXT); in showHelp()
477 pw.printf("\t%s [zoneId] [groupId] [%s\\%s]\n", COMMAND_SET_MUTE_CAR_VOLUME_GROUP, in showHelp()
479 pw.printf("\t %s\\%s groupId in zoneId\n", PARAM_MUTE, PARAM_UNMUTE); in showHelp()
480 pw.printf("\t%s [zoneId] [groupId] [volume]\n", COMMAND_SET_GROUP_VOLUME); in showHelp()
516 pw.printf("\t%s <REQ_TYPE> [--timeout TIMEOUT_MS]\n", COMMAND_GET_INITIAL_USER_INFO); in showHelp()
524 pw.printf("\t%s <USER_ID> [--hal-only] [--timeout TIMEOUT_MS]\n", COMMAND_SWITCH_USER); in showHelp()
529 pw.printf("\t%s <USER_ID> [--hal-only]\n", COMMAND_REMOVE_USER); in showHelp()
533 pw.printf("\t%s [--hal-only] [--timeout TIMEOUT_MS] [--type TYPE] [--flags FLAGS] [NAME]\n", in showHelp()
[all …]
DCarBluetoothUserService.java458 pw.printf("Supported profiles: %s\n", sProfilesToConnect); in dump()
459 pw.printf("Number of connected profiles: %d\n", mConnectedProfiles); in dump()
460 pw.printf("Profiles status: %s\n", mBluetoothProfileStatus); in dump()
461 pw.printf("Proxy operation timeout: %d ms\n", PROXY_OPERATION_TIMEOUT_MS); in dump()
462 pw.printf("BluetoothAdapter: %s\n", mBluetoothAdapter); in dump()
463 pw.printf("BluetoothA2dpSink: %s\n", mBluetoothA2dpSink); in dump()
464 pw.printf("BluetoothHeadsetClient: %s\n", mBluetoothHeadsetClient); in dump()
465 pw.printf("BluetoothPbapClient: %s\n", mBluetoothPbapClient); in dump()
466 pw.printf("BluetoothMapClient: %s\n", mBluetoothMapClient); in dump()
467 pw.printf("BluetoothPan: %s\n", mBluetoothPan); in dump()
/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/services/Car/cpp/evs/apps/default/
Devs_app.cpp176 printf("Ignoring unrecognized command line arg '%s'\n", argv[i]); in main()
181 printf("Options include:\n"); in main()
182 printf(" --test\n\tDo not talk to Vehicle Hal, " in main()
184 printf(" --gear\n\tMock gear signal for the test mode."); in main()
185 printf(" Available options are Reverse and Park (case insensitive)\n"); in main()
186 printf(" --hw\n\tBypass EvsManager by connecting directly to EvsEnumeratorHw\n"); in main()
187 printf(" --mock\n\tConnect directly to EvsEnumeratorHw-Mock\n"); in main()
188 printf(" --display\n\tSpecify the display to use. If this is not set, the first" in main()
190 printf(" --extmem <format>\n\t" in main()
193 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/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/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/audio/
DCarVolumeGroup.java203 writer.printf("CarVolumeGroup(%d)\n", mId); in dump()
205 writer.printf("Zone Id(%b)\n", mZoneId); in dump()
206 writer.printf("Is Muted(%b)\n", mIsMuted); in dump()
207 writer.printf("UserId(%d)\n", mUserId); in dump()
208 writer.printf("Persist Volume Group Mute(%b)\n", in dump()
210 writer.printf("Step size: %d\n", mStepSize); in dump()
211 writer.printf("Gain values (min / max / default/ current): %d %d %d %d\n", mMinGain, in dump()
213 writer.printf("Gain indexes (min / max / default / current): %d %d %d %d\n", in dump()
216 writer.printf("Context: %s -> Address: %s\n", in dump()
DCarDuckingInfo.java69 writer.printf("Ducking Info for zone %d \n", mZoneId); in dump()
71 writer.printf("Addresses to duck: %s\n", in dump()
73 writer.printf("Addresses to unduck: %s\n", in dump()
78 writer.printf("%s, ", AudioAttributes.usageToXsdString(usage)); in dump()
DFocusEntry.java111 writer.printf("%s - %s\n", getClientId(), mAudioFocusInfo.getAttributes().usageToString()); in dump()
114 writer.printf("Receives Duck Events: %b, ", receivesDuckEvents()); in dump()
115 writer.printf("Wants Pause Instead of Ducking: %b, ", wantsPauseInsteadOfDucking()); in dump()
116 writer.printf("Is Ducked: %b\n", isDucked()); in dump()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java365 writer.printf("mCurrentState: %s\n", mCurrentState); in dump()
366 writer.printf("mProcessingStartTime: %d\n", mProcessingStartTime); in dump()
367 writer.printf("mLastSleepEntryTime: %d\n", mLastSleepEntryTime); in dump()
368 writer.printf("mNextWakeupSec: %d\n", mNextWakeupSec); in dump()
369 writer.printf("mShutdownOnNextSuspend: %b\n", mShutdownOnNextSuspend); in dump()
370 writer.printf("mShutdownOnFinish: %b\n", mShutdownOnFinish); in dump()
371 writer.printf("mShutdownPollingIntervalMs: %d\n", mShutdownPollingIntervalMs); in dump()
372 writer.printf("mShutdownPrepareTimeMs: %d\n", mShutdownPrepareTimeMs); in dump()
373 writer.printf("mRebootAfterGarageMode: %b\n", mRebootAfterGarageMode); in dump()
374 writer.printf("mSwitchGuestUserBeforeSleep: %b\n", mSwitchGuestUserBeforeSleep); in dump()
[all …]
/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/services/Car/cpp/evs/manager/1.1/
Dservice.cpp87 printf("Ignoring unrecognized command line arg '%s'\n", argv[i]); in main()
92 printf("Options include:\n"); in main()
93 printf(" --mock Connect to the mock driver at EvsEnumeratorHw-Mock\n"); in main()
94 printf(" --target <service_name> Connect to the named IEvsEnumerator service"); in main()
/packages/providers/MediaProvider/src/com/android/providers/media/playlist/
DPlsPlaylistPersister.java68 writer.printf("[playlist]\n"); in write()
70 writer.printf("File%d=%s\n", i + 1, items.get(i)); in write()
72 writer.printf("NumberOfEntries=%d\n", items.size()); in write()
73 writer.printf("Version=2\n"); in write()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java641 writer.printf("**All Events, now ns:%d**\n", in dump()
644 writer.printf("event count:%d, lastEvent: ", info.mEventCount); in dump()
652 writer.printf("Property Id: %d // 0x%x name: %s, service: %s\n", propId, propId, in dump()
675 writer.printf("No HAL named %s. Valid options are: %s\n", halName, byName.keySet()); in dumpSpecificHals()
709 writer.printf("Can not get property value for property: %d // 0x%x " in dumpPropertyValueByCommend()
716 pw.printf("Id: %d // 0x%x, name: %s ", propId, propId, VehiclePropertyIds.toString(propId)); in dumpPropHelper()
725 writer.printf("Can not get property value for property: %d // 0x%x," in dumpPropertyValueByConfig()
735 writer.printf("Can not get property value for property: %d // 0x%x " in dumpPropertyValueByConfig()
772 writer.printf("Property:0x%x, Property name:%s, access:0x%x, changeMode:0x%x, " in dumpPropertyConfigsHelp()
778 writer.printf("\tareaId:0x%x, f min:%f, f max:%f, i min:%d, i max:%d," in dumpPropertyConfigsHelp()
[all …]
/packages/modules/adb/fastdeploy/deploypatchgenerator/
Dpatch_utils_test.cpp50 printf("%x", buffer[i]); in FileMatchesContent()
52 printf(" == "); in FileMatchesContent()
54 printf("%x", contents[i]); in FileMatchesContent()
56 printf("\n"); in FileMatchesContent()
/packages/modules/adb/tools/
Dadb_usbreset.cpp46 printf("error: multiple device selection options provided\n"); in SetOption()
53 static __attribute__((format(printf, 2, 3))) void PrintLibusbError(int err, const char* fmt, ...) { in PrintLibusbError()
60 printf(": %s", libusb_strerror(static_cast<libusb_error>(err))); in PrintLibusbError()
180 printf("%s: successfully reset\n", serial.c_str()); in main()
/packages/modules/adb/
Dadb.bash202 printf '%s\n' "$command"
424 printf '%s/\n' "$filename"
426 printf '%s\n' "$filename"
482 [[ -n $skip ]] || printf "%s\n" "$i"
488 printf "%s/\n" "$i"

12345