Home
last modified time | relevance | path

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

123456789

/packages/modules/Connectivity/clatd/
Ddump.c48 printf("IP packet\n"); in dump_ip()
49 printf("header_len = %x\n", header->ihl); in dump_ip()
50 printf("version = %x\n", header->version); in dump_ip()
51 printf("tos = %x\n", header->tos); in dump_ip()
52 printf("tot_len = %x\n", ntohs(header->tot_len)); in dump_ip()
53 printf("id = %x\n", ntohs(header->id)); in dump_ip()
54 printf("frag: "); in dump_ip()
56 printf("(RF) "); in dump_ip()
59 printf("DF "); in dump_ip()
62 printf("MF "); in dump_ip()
[all …]
Dmain.c46 printf("android-clat arguments:\n"); in print_help()
47 printf("-i [uplink interface]\n"); in print_help()
48 printf("-p [plat prefix]\n"); in print_help()
49 printf("-4 [IPv4 address]\n"); in print_help()
50 printf("-6 [IPv6 address]\n"); in print_help()
51 printf("-t [tun file descriptor number]\n"); in print_help()
52 printf("-r [read socket descriptor number]\n"); in print_help()
53 printf("-w [write socket descriptor number]\n"); in print_help()
/packages/services/Car/service/src/com/android/car/
DCarShellCommand.java638 pw.printf("\t If not specified, CarService will inject fake events with areaId:%s " in showHelp()
656 pw.printf("\t%s\n", getSetPropertyValueUsage()); in showHelp()
657 pw.printf("\t%s\n", getSuspendCommandUsage(COMMAND_SUSPEND)); in showHelp()
659 pw.printf("\t %s forces the device to perform suspend-to-RAM.\n", PARAM_REAL); in showHelp()
660 pw.printf("\t %s simulates suspend-to-RAM instead of putting the device into deep sleep." in showHelp()
662 pw.printf("\t %s depending on the device capability, real or simulated suspend-to-RAM is " in showHelp()
664 pw.printf("\t %s skips Garage Mode before going into sleep.\n", PARAM_SKIP_GARAGEMODE); in showHelp()
665 pw.printf("\t %s [RESUME_DELAY] wakes up the device RESUME_DELAY seconds after suspend.\n", in showHelp()
667 pw.printf("\t %s [RESUME_DELAY] cancels the wake up after RESUME_DELAY seconds, if this" in showHelp()
671 pw.printf("\t%s\n", getSuspendCommandUsage(COMMAND_HIBERNATE)); in showHelp()
[all …]
/packages/services/Car/tests/CarTestDpc/src/com/android/car/testdpc/
DDpcShellCommand.java148 mWriter.printf("%s\n", CMD_HELP); in runHelp()
150 mWriter.printf("%s %s <user_id> <key>\n", CMD_ADD_USER_RESTRICTION, ARG_TARGET_USER); in runHelp()
153 mWriter.printf("%s <key>\n", CMD_CLR_USER_RESTRICTION); in runHelp()
155 mWriter.printf("%s\n", CMD_GET_USER_RESTRICTIONS); in runHelp()
157 mWriter.printf("%s (<affiliation-ids>)\n", CMD_SET_AFFILIATION_IDS); in runHelp()
160 mWriter.printf("%s\n", CMD_GET_AFFILIATION_IDS); in runHelp()
162 mWriter.printf("%s\n", CMD_IS_USER_AFFILIATED); in runHelp()
164 mWriter.printf("%s\n", CMD_SHOW_AFFILIATED_USERS); in runHelp()
166 mWriter.printf("%s\n", CMD_REBOOT); in runHelp()
168 mWriter.printf("%s <user_name>\n", CMD_CREATE_AND_MANAGE_USER); in runHelp()
[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/support_library/
DConfigManager.cpp44 printf("Missing or invalid field %s in record %s", childName, groupName); in readChildNodeAsFloat()
65 printf("Failed to read configuration file %s\n", configFileName); in initialize()
66 printf("%s\n", errorMessage.c_str()); in initialize()
76 printf("Invalid configuration format -- we expect a car description\n"); in initialize()
91 printf("Invalid configuration format -- we expect a display description\n"); in initialize()
106 printf("Invalid configuration format -- we expect a graphic description\n"); in initialize()
122 printf("Invalid configuration format -- we expect an array of cameras\n"); in initialize()
155 printf("Pathological horizontal field of view %f clamped to 179 degrees\n", hfov); in initialize()
159 printf("Pathological horizontal field of view %f clamped to 1 degree\n", hfov); in initialize()
163 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", in loadShader()
47 printf(" msg:\n%s\n", infoLog.get()); in loadShader()
61 printf("Failed to allocate program object\n"); in buildShaderProgram()
68 printf("Failed to load vertex shader\n"); in buildShaderProgram()
74 printf("Failed to load pixel shader\n"); in buildShaderProgram()
87 printf("Error linking program.\n"); in buildShaderProgram()
94 printf(" msg: %s\n", infoLog.get()); in buildShaderProgram()
109 printf("Shader parameters for %s:\n", name); in buildShaderProgram()
126 printf(" %2d: %s\t (%d) of type %s(%d)\n", i, paramName, paramSize, typeName, paramType); in buildShaderProgram()
DTexWrapper.cpp74 printf("%s is not a PNG.\n", filename); in createTextureFromPng()
82 printf("png_create_read_struct failed.\n"); in createTextureFromPng()
90 printf("error: png_create_info_struct returned 0.\n"); in createTextureFromPng()
98 printf("libpng reported an error\n"); in createTextureFromPng()
125 printf("%s: Unknown libpng color format %d.\n", filename, colorFormat); in createTextureFromPng()
137 printf("error: could not allocate memory for PNG image data\n"); in createTextureFromPng()
146 printf("Failed to allocate temporary row pointers\n"); in createTextureFromPng()
/packages/services/Car/cpp/evs/apps/default/src/
Devs_app.cpp149 printf("Ignoring unrecognized command line arg '%s'\n", argv[i]); in main()
154 printf("Options include:\n"); in main()
155 printf(" --test\n\tDo not talk to Vehicle Hal, " in main()
157 printf(" --gear\n\tMock gear signal for the test mode."); in main()
158 printf(" Available options are Reverse and Park (case insensitive)\n"); in main()
159 printf(" --hw\n\tBypass EvsManager by connecting directly to EvsEnumeratorHw\n"); in main()
160 printf(" --mock\n\tConnect directly to EvsEnumeratorHw-Mock\n"); in main()
161 printf(" --display\n\tSpecify the display to use. If this is not set, the first" in main()
163 printf(" --extmem <format>\n\t" in main()
166 printf("\t\tRGBA8888: 4x8-bit RGBA format. This is the default format to be used " in main()
[all …]
Dshader.cpp38 printf("Error compiling %s shader for %s\n", (type == GL_VERTEX_SHADER) ? "vtx" : "pxl", in loadShader()
47 printf(" msg:\n%s\n", infoLog.get()); in loadShader()
61 printf("Failed to allocate program object\n"); in buildShaderProgram()
68 printf("Failed to load vertex shader\n"); in buildShaderProgram()
74 printf("Failed to load pixel shader\n"); in buildShaderProgram()
87 printf("Error linking program.\n"); in buildShaderProgram()
94 printf(" msg: %s\n", infoLog.get()); in buildShaderProgram()
109 printf("Shader parameters for %s:\n", name); in buildShaderProgram()
129 printf(" %2d: %s\t (%d) of type %s(%d)\n", i, paramName, paramSize, typeName, paramType); in buildShaderProgram()
DConfigManager.cpp39 printf("Missing or invalid field %s in record %s", childName, groupName); in readChildNodeAsFloat()
60 printf("Failed to read configuration file %s\n", configFileName); in initialize()
61 printf("%s\n", errorMessage.c_str()); in initialize()
71 printf("Invalid configuration format -- we expect a car description\n"); in initialize()
86 printf("Invalid configuration format -- we expect an array of displays\n"); in initialize()
108 printf("Invalid configuration format -- we expect a graphic description\n"); in initialize()
124 printf("Invalid configuration format -- we expect an array of cameras\n"); in initialize()
161 printf("Pathological horizontal field of view %f clamped to 179 degrees\n", hfov); in initialize()
165 printf("Pathological horizontal field of view %f clamped to 1 degree\n", hfov); in initialize()
169 printf("Pathological horizontal field of view %f clamped to 179 degrees\n", vfov); in initialize()
[all …]
DTexWrapper.cpp70 printf("%s is not a PNG.\n", filename); in createTextureFromPng()
78 printf("png_create_read_struct failed.\n"); in createTextureFromPng()
86 printf("error: png_create_info_struct returned 0.\n"); in createTextureFromPng()
94 printf("libpng reported an error\n"); in createTextureFromPng()
121 printf("%s: Unknown libpng color format %d.\n", filename, colorFormat); in createTextureFromPng()
133 printf("error: could not allocate memory for PNG image data\n"); in createTextureFromPng()
142 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/services/Car/tests/UserSwitchMonitorApp/src/com/google/android/car/userswitchmonitor/
DUserSwitchMonitorService.java210 pw.printf("User id: %d\n", mUserId); in dump()
211 pw.printf("Listener: %s\n", mListener); in dump()
215 pw.printf("Receivers for %d users:\n", mReceivers.size()); in dump()
216 mReceivers.values().forEach((receiver) -> pw.printf("%s%s\n", indent, receiver)); in dump()
223 pw.printf("Received %d events:\n", eventsSize); in dump()
225 pw.printf("%s%d: %s\n", indent, (i + 1), mEvents.get(i)); in dump()
252 pw.printf("invalid command: %s\n\n", cmd); in executeCommand()
258 pw.printf("Options:\n"); in cmdHelp()
259 pw.printf(" help: show this help\n"); in cmdHelp()
260 pw.printf(" clear: clear the list of received events\n"); in cmdHelp()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/media/
DMultidisplayMediaFragment.java181 writer.printf("%SmUserContext: %s\n", prefix, mUserContexts); in dump()
182 writer.printf("%smMediaBrowsers: %s\n", prefix, mMediaBrowsers); in dump()
183 writer.printf("%smMediaControllers: %s\n", prefix, mMediaControllers); in dump()
185 writer.printf("%smUserSpinner selectedItem: %s\n", prefix, mUserSpinner.getSelectedItem()); in dump()
186 writer.printf("%smSelectedUserId: %s\n", prefix, mSelectedUserId); in dump()
187 writer.printf("%smVideoSpinner selectedItem: %s\n", in dump()
189 writer.printf("%smStartButton, enabled:%s\n", prefix, mStartButton.isEnabled()); in dump()
190 writer.printf("%smNowPlaying text: %s\n", prefix, mNowPlaying.getText()); in dump()
191 writer.printf("%smPauseResumeButton text: %s, enabled:%s\n", in dump()
193 writer.printf("%smPrevButton, enabled:%s\n", prefix, mPrevButton.isEnabled()); in dump()
[all …]
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DTextDrawable.java109 writer.printf("%sClass name: %s\n", prefix, getClass().getName()); in dump()
110 writer.printf("%smText: %s\n", prefix, Arrays.toString(mText)); in dump()
111 writer.printf("%smTextSize: %.02f\n", prefix, mTextSize); in dump()
112 writer.printf("%smDefaultSize: %d\n", prefix, mDefaultSize); in dump()
113 writer.printf("%smColor: %d\n", prefix, mColor); in dump()
114 writer.printf("%smIntrinsicWidth: %d\n", prefix, mIntrinsicWidth); in dump()
115 writer.printf("%smIntrinsicHeight: %d\n", prefix, mIntrinsicHeight); in dump()
116 writer.printf("%smPaint: %s\n", prefix, mPaint); in dump()
DLauncherActivity.java428 writer.printf("%s(not dumping superclass info when using --quiet)\n\n", prefix); in dump()
433 writer.printf("%smUser: %s\n", prefix, getUserId()); in dump()
434 writer.printf("%smDisplay: %s\n", prefix, getDisplayId()); in dump()
435 writer.printf("%smmIsWallpaperSupported: %s\n", prefix, mIsWallpaperSupported); in dump()
436 writer.printf("%smDisplaySpinner: %s\n", prefix, mDisplaySpinner); in dump()
437 writer.printf("%smDisplayAdapter:\n", prefix); in dump()
439 writer.printf("%smAppDrawerHeader: %s\n", prefix, mAppDrawerHeader); in dump()
440 writer.printf("%smSelectedDisplayId: %d\n", prefix, mSelectedDisplayId); in dump()
441 writer.printf("%smRootView: %s\n", prefix, mRootView); in dump()
442 writer.printf("%smScrimView: %s\n", prefix, mScrimView); in dump()
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/display/
DVirtualDisplayFragment.java165 writer.printf("%sMaximized: %b\n", prefix, mMaximized); in dump()
168 writer.printf("%sCurrent number of displays: %d\n", prefix, mCurrentNumberOfDisplays); in dump()
170 writer.printf("%sDisplay resolution: %d x %d\n", prefix, mDisplayWidth, mDisplayHeight); in dump()
175 writer.printf("%sDisplay #%d:\n", prefix, (index + 1)); in dump()
314 writer.printf("Invalid cmd: %s\n", Arrays.toString(args)); in runCmd()
325 writer.printf("Failed: %s\n", e); in cmdDeleteDisplay()
335 writer.printf("Failed: %s\n", e); in cmdCreateDisplay()
345 writer.printf("Invalid args: %s\n", Arrays.toString(args)); in cmdSetNumberOfDisplays()
349 writer.printf("Invalid number of display (%d) - must be between 1 and %d\n", in cmdSetNumberOfDisplays()
373 writer.printf("%s", cmd); in showCommandHelp()
[all …]
/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/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/modules/Virtualization/microdroid/kdump/
Dcrashdump.c51 printf("Crashdump started\n"); in main()
89 printf("Size is %ld bytes\n", statbuf.st_size); in main()
109 printf("."); in main()
112 printf("done\n"); in main()
118 printf("Crashdump failed\n"); 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/service/src/com/android/car/oem/
DCarOemProxyService.java310 writer.printf("mIsFeatureEnabled: %s\n", mIsFeatureEnabled); in dump()
311 writer.printf("mIsOemServiceBound: %s\n", mIsOemServiceBound); in dump()
312 writer.printf("mIsOemServiceReady: %s\n", mIsOemServiceReady); in dump()
313 writer.printf("mIsOemServiceConnected: %s\n", mIsOemServiceConnected); in dump()
314 writer.printf("mInitComplete: %s\n", mInitComplete); in dump()
315 writer.printf("OEM_CAR_SERVICE_CONNECTED_TIMEOUT_MS: %s\n", in dump()
317 writer.printf("OEM_CAR_SERVICE_READY_TIMEOUT_MS: %s\n", mOemServiceReadyTimeoutMs); in dump()
318 writer.printf("mComponentName: %s\n", mComponentName); in dump()
319 writer.printf("waitForOemServiceConnected completed in : %d ms\n", in dump()
321 writer.printf("waitForOemServiceReady completed in : %d ms\n", in dump()
[all …]
/packages/services/Car/service/src/com/android/car/cluster/
DClusterHealthMonitor.java73 writer.printf("mClusterActivitySurface: %s\n", mClusterActivitySurface); in dump()
74 writer.printf("mClusterActivityVisible: %b\n", mClusterActivityVisible); in dump()
75 writer.printf("mTrustedPresentationListenerCount: %d\n", in dump()
78 writer.printf("mTplThresholdMinAlpha: %f\n", mTplThresholdMinAlpha); in dump()
79 writer.printf("mTplThresholdMinFractionRendered: %f\n", mTplThresholdMinFractionRendered); in dump()
80 writer.printf("mTplThresholdStabilityMs: %d\n", mTplThresholdStabilityMs); in dump()

123456789