Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/
DLoggingContentInterface.java51 private class Logger implements AutoCloseable { class in LoggingContentInterface
54 public Logger(String method, Object... args) { in Logger() method in LoggingContentInterface.Logger
95 try (Logger l = new Logger("query", uri, projection, queryArgs, cancellationSignal)) { in query()
107 try (Logger l = new Logger("getType", uri)) { in getType()
120 try (Logger l = new Logger("getStreamTypes", uri, mimeTypeFilter)) { in getStreamTypes()
132 try (Logger l = new Logger("canonicalize", uri)) { in canonicalize()
144 try (Logger l = new Logger("uncanonicalize", uri)) { in uncanonicalize()
157 try (Logger l = new Logger("refresh", uri, args, cancellationSignal)) { in refresh()
170 try (Logger l = new Logger("insert", uri, initialValues)) { in insert()
183 try (Logger l = new Logger("bulkInsert", uri, initialValues)) { in bulkInsert()
[all …]
/frameworks/base/core/java/com/android/internal/logging/
DAndroidConfig.java20 import java.util.logging.Logger;
37 Logger rootLogger = Logger.getLogger(""); in AndroidConfig()
42 Logger.getLogger("org.apache").setLevel(Level.WARNING); in AndroidConfig()
DAndroidHandler.java29 import java.util.logging.Logger;
161 public void publish(Logger source, String tag, Level level, String message) { in publish()
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomGraphGeneratorUtils.h40 #define NN_FUZZER_LOG_INIT(filename) Logger::get()->init((filename))
43 #define NN_FUZZER_LOG_CLOSE Logger::get()->close()
45 if (!Logger::get()->enabled()) \
57 class Logger {
59 static Logger* get() { in get()
60 static Logger instance; in get()
76 Logger() = default;
77 Logger(const Logger&) = delete;
78 Logger& operator=(const Logger&) = delete;
89 Logger::get()->log(ss.str() + '\n'); in ~LoggerStream()
DRandomGraphGeneratorUtils.cpp35 std::string Logger::getElapsedTime() { in getElapsedTime()
/frameworks/native/vulkan/libvulkan/
Ddriver_gen.cpp38 Logger(device).Err(device, "VK_VERSION_1_0 not enabled. vkBindImageMemory2 not executed."); in checkedBindImageMemory2()
47 Logger(device).Err(device, "VK_VERSION_1_0 not enabled. vkGetDeviceQueue2 not executed."); in checkedGetDeviceQueue2()
55Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkCreateSwapchainKHR not executed."); in checkedCreateSwapchainKHR()
64Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkDestroySwapchainKHR not executed."); in checkedDestroySwapchainKHR()
72Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkGetSwapchainImagesKHR not executed."); in checkedGetSwapchainImagesKHR()
81Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkAcquireNextImageKHR not executed."); in checkedAcquireNextImageKHR()
90 Logger(queue).Err(queue, "VK_KHR_swapchain not enabled. vkQueuePresentKHR not executed."); in checkedQueuePresentKHR()
99Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkGetDeviceGroupPresentCapabilitiesKHR n… in checkedGetDeviceGroupPresentCapabilitiesKHR()
108Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkGetDeviceGroupSurfacePresentModesKHR n… in checkedGetDeviceGroupSurfacePresentModesKHR()
117Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkAcquireNextImage2KHR not executed."); in checkedAcquireNextImage2KHR()
[all …]
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java29 import java.util.logging.Logger;
46 public static void runCommand(File outputFile, Logger logger, String... commands) in runCommand()
83 boolean useShellUid, Logger logger) throws IOException, InterruptedException { in getReportList()
120 public static void logAppBreadcrumb(int label, int state, Logger logger) in logAppBreadcrumb()
131 public static void setUpLogger(Logger logger, boolean debug) { in setUpLogger()
148 public static boolean isAcceptableStatsd(Logger logger, int minSdk, String minCodename) { in isAcceptableStatsd()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/presentation/
DDemoPresentation.java19 import com.android.accessorydisplay.common.Logger;
41 private final Logger mLogger;
47 public DemoPresentation(Context context, Display display, Logger logger) { in DemoPresentation()
/frameworks/base/core/tests/coretests/src/android/net/http/
DCookiesTest.java26 import java.util.logging.Logger;
63 Logger logger = Logger.getLogger("org.apache.http"); in testCookiesAreNotLogged()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DUsbAccessoryStreamTransport.java19 import com.android.accessorydisplay.common.Logger;
37 public UsbAccessoryStreamTransport(Logger logger, ParcelFileDescriptor fd) { in UsbAccessoryStreamTransport()
DSourceActivity.java19 import com.android.accessorydisplay.common.Logger;
49 private Logger mLogger;
198 class TextLogger extends Logger {
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DUsbAccessoryBulkTransport.java19 import com.android.accessorydisplay.common.Logger;
39 public UsbAccessoryBulkTransport(Logger logger, UsbDeviceConnection connection, in UsbAccessoryBulkTransport()
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
DTransport.java38 private final Logger mLogger;
58 public Transport(Logger logger, int maxPacketSize) { in Transport()
69 public Logger getLogger() { in getLogger()
DLogger.java19 public abstract class Logger { class
DService.java56 public Logger getLogger() { in getLogger()
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/localdrive/
DLocalDrive.java29 import java.util.logging.Logger;
92 private static final Logger sLogger = Logger.getLogger(LocalDrive.class.getName());
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/plugin/
DPolicySubsystemBuilder.cpp24 …ETER_FRAMEWORK_PLUGIN_ENTRYPOINT_V1(CSubsystemLibrary *subsystemLibrary, core::log::Logger& logger) in PARAMETER_FRAMEWORK_PLUGIN_ENTRYPOINT_V1()
DInputSource.h33 core::log::Logger& logger);
DStream.h39 core::log::Logger& logger);
DPolicySubsystem.h31 PolicySubsystem(const std::string &strName, core::log::Logger& logger);
DProductStrategy.h43 core::log::Logger& logger);
DStream.cpp26 const CMappingContext &context, core::log::Logger &logger) in Stream()
DInputSource.cpp26 const CMappingContext &context, core::log::Logger &logger) in InputSource()
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/
DTestDrive.java40 import java.util.logging.Logger;
66 private static final Logger LOGGER = Logger.getLogger(TestDrive.class.getName());
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityMetrics.java145 LocalServices.addService(Logger.class, new LoggerImpl()); in onBootPhase()
356 public interface Logger { interface in IpConnectivityMetrics
360 private class LoggerImpl implements Logger {

12