Home
last modified time | relevance | path

Searched refs:Logger (Results 1 – 25 of 39) sorted by relevance

12

/development/cmds/monkey/src/com/android/commands/monkey/
DMonkey.java276 Logger.out.println(" // " + (allow ? "Allowing" : "Rejecting") + " start of " in activityStarting()
307 Logger.err.println("** Failed talking with package manager!"); in isActivityStartingAllowed()
316 Logger.out.println(" // activityResuming(" + pkg + ")"); in activityResuming()
321 Logger.out.println(" // " + (allow ? "Allowing" : "Rejecting") in activityResuming()
334 Logger.err.println("// CRASH: " + processName + " (pid " + pid + ")"); in appCrashed()
335 Logger.err.println("// Short Msg: " + shortMsg); in appCrashed()
336 Logger.err.println("// Long Msg: " + longMsg); in appCrashed()
337 Logger.err.println("// Build Label: " + Build.FINGERPRINT); in appCrashed()
338 Logger.err.println("// Build Changelist: " + Build.VERSION.INCREMENTAL); in appCrashed()
339 Logger.err.println("// Build Time: " + Build.TIME); in appCrashed()
[all …]
DMonkeyNetworkMonitor.java47 if (LDEBUG) Logger.out.println("Network state changed: " in performReceive()
51 if (LDEBUG) Logger.out.println("Network connected"); in performReceive()
54 if (LDEBUG) Logger.out.println("Network not connected"); in performReceive()
65 if (LDEBUG) Logger.out.println("Adding to mobile: " + delta); in updateNetworkStats()
69 if (LDEBUG) Logger.out.println("Adding to wifi: " + delta); in updateNetworkStats()
73 if (LDEBUG) Logger.out.println("Unaccounted for: " + delta); in updateNetworkStats()
87 if (LDEBUG) Logger.out.println("registering Receiver"); in register()
92 if (LDEBUG) Logger.out.println("unregistering Receiver"); in unregister()
101 Logger.out.println("## Network stats: elapsed time=" + mElapsedTime + "ms (" in dump()
DLogger.java21 public abstract class Logger { class
24 public static Logger out = new Logger() {
34 public static Logger err = new Logger() {
DMonkeyCommandEvent.java43 Logger.err.println("// Shell command " + mCmd + " status was " + status); in injectEvent()
45 Logger.err.println("// Exception from " + mCmd + ":"); in injectEvent()
46 Logger.err.println(e.toString()); in injectEvent()
DMonkeyWaitEvent.java37 Logger.out.println("Wait Event for " + mWaitTime + " milliseconds"); in injectEvent()
42 Logger.out.println("** Monkey interrupted in sleep."); in injectEvent()
DMonkeyThrottleEvent.java40 Logger.out.println("Sleeping for " + mThrottle + " milliseconds"); in injectEvent()
45 Logger.out.println("** Monkey interrupted in sleep."); in injectEvent()
DMonkeyActivityEvent.java60 Logger.out.println(":Switch: " + intent.toUri(0)); in injectEvent()
73 Logger.err.println("** Failed talking with activity manager!"); in injectEvent()
77 Logger.out.println("** Permissions error starting activity " in injectEvent()
DMonkeyFlipEvent.java62 Logger.out.println(":Sending Flip keyboardOpen=" + mKeyboardOpen); in injectEvent()
72 Logger.out.println("Got IOException performing flip" + e); in injectEvent()
DMonkeyGetFrameRateEvent.java117 Logger.err.println(String.format("// Shell command %s status was %s", in injectEvent()
138 Logger.err.println("// Exception from " + GET_FRAMERATE_CMD + ":"); in injectEvent()
139 Logger.err.println(e.toString()); in injectEvent()
149 Logger.err.println(e.toString()); in injectEvent()
DMonkeyGetAppFrameRateEvent.java131 Logger.err.println(String.format("// Shell command %s status was %s", in injectEvent()
151 Logger.err.println("// Exception from " + cmd + ":"); in injectEvent()
152 Logger.err.println(e.toString()); in injectEvent()
162 Logger.err.println(e.toString()); in injectEvent()
DMonkeyPermissionUtil.java142 Logger.err.println("** Failed talking with package manager!"); in populatePermissionsMapping()
152 Logger.out.println("// Targeted packages and permissions:"); in dump()
154 Logger.out.println(String.format("// + Using %s", e.getKey())); in dump()
168 Logger.out.println(String.format("// Permission: %s [%s]", name, group)); in dump()
DMonkeyUtils.java102 Logger.out.println(":AllowPackage: " + it.next()); in dump()
108 Logger.out.println(":DisallowPackage: " + it.next()); in dump()
DMonkeyNoopEvent.java38 Logger.out.println("NOOP"); in injectEvent()
DMonkeyKeyEvent.java110 Logger.out.println(":Sending Key (" + note + "): " in injectEvent()
114 Logger.out.println(":Sending Key (" + note + "): " in injectEvent()
/development/samples/VoicemailProviderDemo/src/com/example/android/voicemail/common/logging/
DLogger.java30 public class Logger { class
36 public static Logger getLogger(Class<?> classZ) { in getLogger()
37 return new Logger(classZ.getSimpleName() + ": "); in getLogger()
44 public static Logger getLogger() { in getLogger()
45 return new Logger(); in getLogger()
51 private Logger() { in Logger() method in Logger
56 private Logger(String logPrefix) { in Logger() method in Logger
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DRssContentProvider.java31 import java.util.logging.Logger;
37 private Logger mLogger = Logger.getLogger("com.example.codelab.rssexample");
81Logger.getLogger("com.example.codelab.rssexample").info("DatabaseHelper.onCreate(): SQL statement:… in onCreate()
83Logger.getLogger("com.example.codelab.rssexample").info("DatabaseHelper.onCreate(): Created a data… in onCreate()
85Logger.getLogger("com.example.codelab.rssexample").warning("DatabaseHelper.onCreate(): Couldn't cr… in onCreate()
DMyRssReader2.java32 import java.util.logging.Logger;
36 private Logger mLogger = Logger.getLogger("com.example.codelab.rssexample");
/development/tools/mkstubs/tests/com/android/mkstubs/
DSourceGeneratorTest.java20 import com.android.mkstubs.Main.Logger;
39 mGen = new SourceGenerator(new Logger(false)); in setUp()
/development/tools/mkstubs/src/com/android/mkstubs/
DSourceGenerator.java19 import com.android.mkstubs.Main.Logger;
42 private Logger mLog;
44 public SourceGenerator(Logger log) { in SourceGenerator()
DStubGenerator.java19 import com.android.mkstubs.Main.Logger;
44 private Logger mLog;
46 public StubGenerator(Logger log) { in StubGenerator()
DFilterClassAdapter.java19 import com.android.mkstubs.Main.Logger;
34 private final Logger mLog;
38 public FilterClassAdapter(ClassVisitor writer, Filter filter, Logger log) { in FilterClassAdapter()
DAsmAnalyzer.java19 import com.android.mkstubs.Main.Logger;
83 void filter(Map<String, ClassReader> classes, Filter filter, Logger log) { in filter()
DMain.java99 static class Logger { class in Main
102 public Logger(boolean verbose) { in Logger() method in Main.Logger
293 Logger log = new Logger(p.isVerbose()); in process()
/development/tools/idegen/src/com/android/idegen/
DModuleIndexes.java31 import java.util.logging.Logger;
38 private static final Logger logger = Logger.getLogger(ModuleIndexes.class.getName());
DModuleCache.java25 import java.util.logging.Logger;
32 private static final Logger logger = Logger.getLogger(ModuleCache.class.getName());

12