/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/ |
D | Utils.java | 46 public static void runCommand(File outputFile, Logger logger, String... commands) in runCommand() argument 60 logger.severe(err.toString()); in runCommand() 64 logger.fine("Adb command successful."); in runCommand() 66 logger.severe("Abnormal adb shell termination for: " + String.join(",", commands)); in runCommand() 83 boolean useShellUid, Logger logger) throws IOException, InterruptedException { in getReportList() argument 89 logger, in getReportList() 102 logger.severe("Failed to fetch and parse the statsd output report. " in getReportList() 120 public static void logAppBreadcrumb(int label, int state, Logger logger) in logAppBreadcrumb() argument 124 logger, in logAppBreadcrumb() 131 public static void setUpLogger(Logger logger, boolean debug) { in setUpLogger() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | LocalLogTest.java | 82 void testcase(LocalLog logger, String[] input, String[] want) { in testcase() argument 84 logger.log(l); in testcase() 86 verifyAllLines(want, dump(logger).split("\n")); in testcase() 87 verifyAllLines(reverse(want), reverseDump(logger).split("\n")); in testcase() 99 static String dump(LocalLog logger) { in dump() argument 102 logger.dump(null, writer, new String[0]); in dump() 106 static String reverseDump(LocalLog logger) { in reverseDump() argument 109 logger.reverseDump(null, writer, new String[0]); in reverseDump()
|
/frameworks/base/tests/net/common/java/android/net/metrics/ |
D | IpConnectivityLogTest.java | 67 IpConnectivityLog logger = new IpConnectivityLog(mMockService); in testLoggingEvents() local 69 assertTrue(logger.log(FAKE_EV)); in testLoggingEvents() 70 assertTrue(logger.log(FAKE_TIME_STAMP, FAKE_EV)); in testLoggingEvents() 71 assertTrue(logger.log(FAKE_NET_ID, FAKE_TRANSPORT_TYPES, FAKE_EV)); in testLoggingEvents() 72 assertTrue(logger.log(new Network(FAKE_NET_ID), FAKE_TRANSPORT_TYPES, FAKE_EV)); in testLoggingEvents() 73 assertTrue(logger.log(FAKE_INTERFACE_NAME, FAKE_EV)); in testLoggingEvents() 74 assertTrue(logger.log(makeExpectedEvent(FAKE_TIME_STAMP, FAKE_NET_ID, TRANSPORT_WIFI, in testLoggingEvents() 92 IpConnectivityLog logger = new IpConnectivityLog(mMockService); in testLoggingEventsWithMultipleCallers() local 101 assertTrue(logger.log(makeExpectedEvent( in testLoggingEventsWithMultipleCallers()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | DiskStatsFileLoggerTest.java | 58 DiskStatsFileLogger logger = new DiskStatsFileLogger( in testEmptyStorage() local 61 logger.dumpToFile(mOutputFile); in testEmptyStorage() 84 DiskStatsFileLogger logger = new DiskStatsFileLogger( in testMeasurementResultsReported() local 87 logger.dumpToFile(mOutputFile); in testMeasurementResultsReported() 111 DiskStatsFileLogger logger = new DiskStatsFileLogger( in testAppsReported() local 113 logger.dumpToFile(mOutputFile); in testAppsReported() 147 DiskStatsFileLogger logger = new DiskStatsFileLogger( in testEmulatedExternalStorageCounted() local 149 logger.dumpToFile(mOutputFile); in testEmulatedExternalStorageCounted() 173 DiskStatsFileLogger logger = new DiskStatsFileLogger( in testDuplicatePackageNameIsNotMergedAcrossMultipleUsers() local 175 logger.dumpToFile(mOutputFile); in testDuplicatePackageNameIsNotMergedAcrossMultipleUsers()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiLogger.java | 104 HdmiLogger logger = sLogger.get(); in getLogger() local 105 if (logger == null) { in getLogger() 106 logger = new HdmiLogger(); in getLogger() 107 sLogger.set(logger); in getLogger() 109 return logger; in getLogger()
|
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/ |
D | PolicySubsystemBuilder.cpp | 24 …ETER_FRAMEWORK_PLUGIN_ENTRYPOINT_V1(CSubsystemLibrary *subsystemLibrary, core::log::Logger& logger) in PARAMETER_FRAMEWORK_PLUGIN_ENTRYPOINT_V1() argument 27 … new TLoggingElementBuilderTemplate<PolicySubsystem>(logger)); in PARAMETER_FRAMEWORK_PLUGIN_ENTRYPOINT_V1()
|
D | Stream.cpp | 26 const CMappingContext &context, core::log::Logger &logger) in Stream() argument 27 : CSubsystemObject(instanceConfigurableElement, logger), in Stream()
|
D | InputSource.cpp | 26 const CMappingContext &context, core::log::Logger &logger) in InputSource() argument 28 logger, in InputSource()
|
D | ProductStrategy.cpp | 27 core::log::Logger& logger) in ProductStrategy() argument 29 logger, in ProductStrategy()
|
D | PolicySubsystem.cpp | 41 PolicySubsystem::PolicySubsystem(const std::string &name, core::log::Logger &logger) in PolicySubsystem() argument 42 : CSubsystem(name, logger), in PolicySubsystem()
|
D | InputSource.h | 33 core::log::Logger& logger);
|
D | Stream.h | 39 core::log::Logger& logger);
|
D | PolicySubsystem.h | 31 PolicySubsystem(const std::string &strName, core::log::Logger& logger);
|
/frameworks/av/services/audiopolicy/engineconfigurable/tools/ |
D | domainGeneratorPolicy.py | 186 def generateDomainCommands(logger, all_criteria, initial_settings, xml_domain_files, parsed_edds): argument 188 logger.info("Creating all criteria") 197 logger.info("Importing initial settings file {}".format(initial_settings)) 202 logger.info("Importing single domain file {}".format(domain_file)) 207 logger.info("Translating and injecting EDD file {}".format(filename))
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | ChangeFileVersionAdapter.java | 29 public ChangeFileVersionAdapter(Log logger, int maxVersion, ClassVisitor cv) { in ChangeFileVersionAdapter() argument 31 mLog = logger; in ChangeFileVersionAdapter()
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
D | CookiesTest.java | 63 Logger logger = Logger.getLogger("org.apache.http"); in testCookiesAreNotLogged() local 65 logger.addHandler(handler); in testCookiesAreNotLogged() 77 logger.removeHandler(handler); in testCookiesAreNotLogged()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | UsbAccessoryStreamTransport.java | 37 public UsbAccessoryStreamTransport(Logger logger, ParcelFileDescriptor fd) { in UsbAccessoryStreamTransport() argument 38 super(logger, 16384); in UsbAccessoryStreamTransport()
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | UsbAccessoryBulkTransport.java | 39 public UsbAccessoryBulkTransport(Logger logger, UsbDeviceConnection connection, in UsbAccessoryBulkTransport() argument 41 super(logger, 16384); in UsbAccessoryBulkTransport()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/ |
D | DemoPresentation.java | 47 public DemoPresentation(Context context, Display display, Logger logger) { in DemoPresentation() argument 49 mLogger = logger; in DemoPresentation()
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
D | Palette.java | 805 final TimingLogger logger = LOG_TIMINGS in generate() local 817 if (logger != null) { in generate() 818 logger.addSplit("Processed Bitmap"); in generate() 849 if (logger != null) { in generate() 850 logger.addSplit("Color quantization completed"); in generate() 862 if (logger != null) { in generate() 863 logger.addSplit("Created Palette"); in generate() 864 logger.dumpToLog(); in generate()
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
D | IpConnectivityMetricsTest.java | 107 final IpConnectivityLog logger = new IpConnectivityLog(mService.impl); in testRateLimiting() local 113 logger.log(ev); in testRateLimiting() 120 assertFalse("expected event to be dropped", logger.log(fakeTimestamp, ev)); in testRateLimiting() 248 IpConnectivityLog logger = new IpConnectivityLog(mService.impl); in testEndToEndLogging() local 294 logger.log(ev); in testEndToEndLogging()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | Events.java | 129 MetricsLogger logger = new MetricsLogger(); in writeEvent() local 178 logger.action(MetricsEvent.ACTION_VOLUME_RINGER_TOGGLE, (Integer) list[0]); in writeEvent() 181 logger.action(MetricsEvent.ACTION_VOLUME_SETTINGS); in writeEvent()
|
/frameworks/ml/nn/tools/ion_watcher/ |
D | README.txt | 1 Simple ION_heap size change watcher/logger for correlating ION_heap usage with
|
/frameworks/base/core/java/android/metrics/ |
D | MetricsReader.java | 220 MetricsLogger logger = new MetricsLogger(); in writeCheckpoint() local 221 logger.action(MetricsEvent.METRICS_CHECKPOINT, tag); in writeCheckpoint()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/logging/ |
D | GenerateLinksLoggerTest.java | 78 GenerateLinksLogger logger = new GenerateLinksLogger(1 /* sampleRate */, metricsLogger); in testLogGenerateLinks() local 79 logger.logGenerateLinks(testText, links, PACKAGE_NAME, LATENCY_MS); in testLogGenerateLinks()
|