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("checkUriPermission", uri, uid, modeFlags)) { in checkUriPermission()
183 try (Logger l = new Logger("insert", uri, initialValues, extras)) { in insert()
[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.java30 import java.util.logging.Logger;
140 public void publish(Logger source, String tag, Level level, String message) { in publish()
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomGraphGeneratorUtils.h38 #define NN_FUZZER_LOG_INIT(filename) Logger::get()->init((filename))
39 #define NN_FUZZER_LOG_CLOSE Logger::get()->close()
41 if (!Logger::get()->enabled()) \
53 class Logger {
55 static Logger* get() { in get()
56 static Logger instance; in get()
72 Logger() = default;
73 Logger(const Logger&) = delete;
74 Logger& operator=(const Logger&) = delete;
85 Logger::get()->log(ss.str() + '\n'); in ~LoggerStream()
DRandomGraphGeneratorUtils.cpp35 std::string Logger::getElapsedTime() { in getElapsedTime()
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java34 import java.util.logging.Logger;
53 public static void runCommand(File outputFile, Logger logger, String... commands) in runCommand()
90 boolean useShellUid, Logger logger, String deviceSerial) in getReportList()
130 public static void logAppBreadcrumb(int label, int state, Logger logger, String deviceSerial) in logAppBreadcrumb()
143 public static void setUpLogger(Logger logger, boolean debug) { in setUpLogger()
160 public static boolean isAcceptableStatsd(Logger logger, int minSdk, String minCodename, in isAcceptableStatsd()
212 public static List<String> getDeviceSerials(Logger logger) { in getDeviceSerials()
238 public static String getDefaultDevice(Logger logger) { in getDefaultDevice()
257 String defaultDevice, Logger logger) { in chooseDevice()
/frameworks/native/vulkan/libvulkan/
Ddriver_gen.cpp37Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkCreateSwapchainKHR not executed."); in checkedCreateSwapchainKHR()
46Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkDestroySwapchainKHR not executed."); in checkedDestroySwapchainKHR()
54Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkGetSwapchainImagesKHR not executed."); in checkedGetSwapchainImagesKHR()
63Logger(device).Err(device, "VK_KHR_swapchain not enabled. vkAcquireNextImageKHR not executed."); in checkedAcquireNextImageKHR()
72 Logger(queue).Err(queue, "VK_KHR_swapchain not enabled. vkQueuePresentKHR not executed."); in checkedQueuePresentKHR()
81 Logger(device).Err(device, "VK_VERSION_1_1 not enabled. vkBindImageMemory2 not executed."); in checkedBindImageMemory2()
90Logger(device).Err(device, "VK_KHR_bind_memory2 not enabled. vkBindImageMemory2KHR not executed."); in checkedBindImageMemory2KHR()
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/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/
DLogger.java19 public abstract class Logger { class
DTransport.java38 private final Logger mLogger;
58 public Transport(Logger logger, int maxPacketSize) { in Transport()
69 public Logger getLogger() { in getLogger()
DService.java56 public Logger getLogger() { in getLogger()
/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);
DPolicySubsystem.h31 PolicySubsystem(const std::string &strName, core::log::Logger& logger);
DStream.h39 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()
DProductStrategy.cpp27 core::log::Logger& logger) in ProductStrategy()
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/localdrive/
DLocalDrive.java30 import java.util.logging.Logger;
93 private static final Logger sLogger = Logger.getLogger(LocalDrive.class.getName());
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityMetrics.java147 LocalServices.addService(Logger.class, new LoggerImpl()); in onBootPhase()
383 public interface Logger { interface in IpConnectivityMetrics
387 private class LoggerImpl implements Logger {

12