/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
PrintWriterTest.java | 58 PrintWriter pw; field in class:PrintWriterTest 72 pw.println("Random Chars"); 73 pw.write("Hello World"); 74 pw.flush(); 94 pw = new PrintWriter(bao, true); 95 pw.println("Random Chars"); 96 pw.write("Hello World"); 102 pw.flush(); 121 pw = new PrintWriter(sw = new Support_StringWriter()); 122 pw.print("Hello") [all...] |
PipedWriterTest.java | 31 public PReader(PipedWriter pw) { 33 pr = new PipedReader(pw); 65 PipedWriter pw; field in class:PipedWriterTest 83 pw = new PipedWriter(rd); 86 pw.write(buf); 87 pw.close(); 101 pw = new PipedWriter(rd); 103 pw.close(); 105 pw.write(buf); 120 pw = new PipedWriter() 318 final PipedWriter pw = new PipedWriter(); local 377 final PipedWriter pw = new PipedWriter(); local [all...] |
/frameworks/base/services/java/com/android/server/am/ |
ReceiverList.java | 71 void dumpLocal(PrintWriter pw, String prefix) { 72 pw.print(prefix); pw.print("app="); pw.print(app != null ? app.toShortString() : null); 73 pw.print(" pid="); pw.print(pid); pw.print(" uid="); pw.print(uid); 74 pw.print(" user="); pw.println(userId) [all...] |
ActivityRecord.java | 147 void dump(PrintWriter pw, String prefix) { 149 pw.print(prefix); pw.print("packageName="); pw.print(packageName); 150 pw.print(" processName="); pw.println(processName); 151 pw.print(prefix); pw.print("launchedFromUid="); pw.print(launchedFromUid); 152 pw.print(" launchedFromPackage="); pw.print(launchedFromPackage) [all...] |
AppBindRecord.java | 34 void dump(PrintWriter pw, String prefix) { 35 pw.println(prefix + "service=" + service); 36 pw.println(prefix + "client=" + client); 37 dumpInIntentBind(pw, prefix); 40 void dumpInIntentBind(PrintWriter pw, String prefix) { 42 pw.println(prefix + "Per-process Connections:"); 46 pw.println(prefix + " " + c);
|
ProcessStatsService.java | 369 boolean dumpFilteredProcessesCsvLocked(PrintWriter pw, String header, 376 pw.println(header); 378 ProcessStats.dumpProcessListCsv(pw, procs, sepScreenStates, screenStates, 532 private void dumpAggregatedStats(PrintWriter pw, long aggregateHours, long now, 538 pw.println("Unable to build stats!"); 545 pw.print("Failure reading: "); pw.println(stats.mReadError); 549 stats.dumpCheckinLocked(pw, reqPackage); 552 stats.dumpLocked(pw, reqPackage, now, !dumpFullDetails, dumpAll, activeOnly); 554 stats.dumpSummaryLocked(pw, reqPackage, now, activeOnly) [all...] |
/external/openssh/ |
auth-rhosts.c | 187 auth_rhosts(struct passwd *pw, const char *client_user) 193 return auth_rhosts2(pw, client_user, hostname, ipaddr); 197 auth_rhosts2_raw(struct passwd *pw, const char *client_user, const char *hostname, 209 temporarily_use_uid(pw); 219 pw->pw_dir, rhosts_files[rhosts_file_index]); 233 if (pw->pw_uid != 0) { 235 client_user, pw->pw_name)) { 241 client_user, pw->pw_name)) { 251 if (stat(pw->pw_dir, &st) < 0) { 253 "no home directory %.200s", pw->pw_name, pw->pw_dir) [all...] |
platform.c | 93 platform_setusercontext(struct passwd *pw) 103 solaris_set_default_project(pw); 126 if (getluid() == -1 && setluid(pw->pw_uid) == -1) 137 platform_setusercontext_post_groups(struct passwd *pw) 152 irix_setusercontext(pw); 156 aix_usrinfo(pw); 160 if (set_id(pw->pw_name) != 0) { 179 if (setpcred(pw->pw_name, creds) == -1) 184 ssh_selinux_setup_exec_context(pw->pw_name);
|
auth.c | 95 allowed_user(struct passwd * pw) 104 /* Shouldn't be called if pw is NULL, but better safe than sorry... */ 105 if (!pw || !pw->pw_name) 110 spw = getspnam(pw->pw_name); 118 passwd = pw->pw_passwd; 122 passwd = get_iaf_password(pw); 150 pw->pw_name); 161 char *shell = xstrdup((pw->pw_shell[0] == '\0') ? 162 _PATH_BSHELL : pw->pw_shell); /* empty = /bin/sh * 554 struct passwd *pw; local [all...] |
md5crypt.c | 51 md5_crypt(const char *pw, const char *salt) 83 MD5_Update(&ctx, pw, strlen(pw)); 91 /* Then just as many characters of the MD5(pw, salt, pw) */ 93 MD5_Update(&ctx1, pw, strlen(pw)); 95 MD5_Update(&ctx1, pw, strlen(pw)); 98 for(pl = strlen(pw); pl > 0; pl -= 16 [all...] |
/frameworks/base/services/java/com/android/server/wm/ |
AppWindowAnimator.java | 289 void dump(PrintWriter pw, String prefix, boolean dumpAll) { 290 pw.print(prefix); pw.print("mAppToken="); pw.println(mAppToken); 291 pw.print(prefix); pw.print("mAnimator="); pw.println(mAnimator); 292 pw.print(prefix); pw.print("freezingScreen="); pw.print(freezingScreen) [all...] |
ScreenRotationAnimation.java | 134 public void printTo(String prefix, PrintWriter pw) { 135 pw.print(prefix); pw.print("mSurface="); pw.print(mSurfaceControl); 136 pw.print(" mWidth="); pw.print(mWidth); 137 pw.print(" mHeight="); pw.println(mHeight); 139 pw.print(prefix); pw.print("mCustomBlackFrame="); pw.println(mCustomBlackFrame) [all...] |
DisplayContent.java | 456 public void dump(String prefix, PrintWriter pw) { 457 pw.print(prefix); pw.print("Display: mDisplayId="); pw.println(mDisplayId); 459 pw.print(subPrefix); pw.print("init="); pw.print(mInitialDisplayWidth); pw.print("x"); 460 pw.print(mInitialDisplayHeight); pw.print(" "); pw.print(mInitialDisplayDensity) [all...] |
DimLayer.java | 277 public void printTo(String prefix, PrintWriter pw) { 278 pw.print(prefix); pw.print("mDimSurface="); pw.print(mDimSurface); 279 pw.print(" mLayer="); pw.print(mLayer); 280 pw.print(" mAlpha="); pw.println(mAlpha); 281 pw.print(prefix); pw.print("mLastBounds="); pw.print(mLastBounds.toShortString()) [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
DumpUtils.java | 38 public static void dumpAsync(Handler handler, final Dump dump, PrintWriter pw, long timeout) { 48 pw.print(sw.toString()); 50 pw.println("... timed out"); 55 void dump(PrintWriter pw);
|
LocalLog.java | 49 public boolean dump(PrintWriter pw, String header, String prefix) { 55 pw.println(header); 59 pw.print(prefix); 61 pw.println(mLines.get(i));
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
DefaultErrorHandler.java | 56 public DefaultErrorHandler(PrintWriter pw) 58 m_pw = pw; 64 public DefaultErrorHandler(PrintStream pw) 66 m_pw = new PrintWriter(pw, true); 119 PrintWriter pw = getErrorWriter(); local 121 printLocation(pw, exception); 122 pw.println("Parser warning: " + exception.getMessage()); 200 PrintWriter pw = getErrorWriter(); local 202 printLocation(pw, exception); 203 pw.println(exception.getMessage()) 236 PrintWriter pw = getErrorWriter(); local 271 PrintWriter pw = getErrorWriter(); local [all...] |
/frameworks/base/core/tests/benchmarks/src/com/android/internal/util/ |
IndentingPrintWriterBenchmark.java | 114 private void dumpSelf(PrintWriter pw) { 115 pw.print("Node "); 116 pw.print(name); 117 pw.print(" first "); 118 pw.print(512); 119 pw.print(" second "); 120 pw.print(1024); 121 pw.print(" third "); 122 pw.println(2048); 125 public void dumpDirect(PrintWriter pw, int depth) [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
ProcessStats.java | 314 private static void printScreenLabel(PrintWriter pw, int offset) { 317 pw.print(" "); 320 pw.print("SOff/"); 323 pw.print("SOn /"); 326 pw.print("????/"); 331 public static void printScreenLabelCsv(PrintWriter pw, int offset) { 336 pw.print(ADJ_SCREEN_NAMES_CSV[0]); 339 pw.print(ADJ_SCREEN_NAMES_CSV[1]); 342 pw.print("???"); 347 private static void printMemLabel(PrintWriter pw, int offset, char sep) [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
PrintWriterPrinterTest.java | 47 PrintWriter pw = new PrintWriter(mFile); local 48 printWriterPrinter = new PrintWriterPrinter(pw); 57 PrintWriter pw = null; local 59 pw = new PrintWriter(mFile); 60 printWriterPrinter = new PrintWriterPrinter(pw); 65 pw.flush(); 66 pw.close();
|
/external/openssh/openbsd-compat/ |
port-uw.c | 55 struct passwd *pw = authctxt->pw; local 60 char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd; 74 if (!nischeck(pw->pw_name)) { 132 get_iaf_password(struct passwd *pw) 137 if (!ia_openinfo(pw->pw_name,&uinfo)) {
|
/external/smali/util/src/main/java/org/jf/util/ |
SmaliHelpFormatter.java | 42 PrintWriter pw = new PrintWriter(System.out); local 43 super.printOptions(pw, getWidth(), debugOptions, getLeftPadding(), getDescPadding()); 44 pw.flush();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
IccRecords.java | 508 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { 509 pw.println("IccRecords: " + this); 510 pw.println(" mDestroyed=" + mDestroyed); 511 pw.println(" mCi=" + mCi); 512 pw.println(" mFh=" + mFh); 513 pw.println(" mParentApp=" + mParentApp); 514 pw.println(" recordsLoadedRegistrants: size=" + mRecordsLoadedRegistrants.size()); 516 pw.println(" recordsLoadedRegistrants[" + i + "]=" 519 pw.println(" mImsiReadyRegistrants: size=" + mImsiReadyRegistrants.size()); 521 pw.println(" mImsiReadyRegistrants[" + i + "]= [all...] |
/external/emma/core/java12/com/vladium/util/exception/ |
IThrowableWrapper.java | 40 * this method delegates to super.printStackTrace(pw) where 'super' is the 45 void __printStackTrace (PrintWriter pw);
|
/frameworks/base/services/java/com/android/server/location/ |
MockProvider.java | 140 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) { 141 dump(pw, ""); 144 public void dump(PrintWriter pw, String prefix) { 145 pw.println(prefix + mName); 146 pw.println(prefix + "mHasLocation=" + mHasLocation); 147 pw.println(prefix + "mLocation:"); 148 mLocation.dump(new PrintWriterPrinter(pw), prefix + " "); 149 pw.println(prefix + "mHasStatus=" + mHasStatus); 150 pw.println(prefix + "mStatus=" + mStatus); 151 pw.println(prefix + "mStatusUpdateTime=" + mStatusUpdateTime) [all...] |