Home
last modified time | relevance | path

Searched refs:logger (Results 1 – 25 of 85) sorted by relevance

1234

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appsearch/stats/
DPlatformLoggerTest.java63 PlatformLogger logger = new PlatformLogger( in testCreateExtraStatsLocked_samplingIntervalNotSet_returnsDefault() local
77 assertThat(logger.createExtraStatsLocked(TEST_PACKAGE_NAME, in testCreateExtraStatsLocked_samplingIntervalNotSet_returnsDefault()
80 assertThat(logger.createExtraStatsLocked(TEST_PACKAGE_NAME, in testCreateExtraStatsLocked_samplingIntervalNotSet_returnsDefault()
83 assertThat(logger.createExtraStatsLocked(TEST_PACKAGE_NAME, in testCreateExtraStatsLocked_samplingIntervalNotSet_returnsDefault()
86 assertThat(logger.createExtraStatsLocked(TEST_PACKAGE_NAME, in testCreateExtraStatsLocked_samplingIntervalNotSet_returnsDefault()
96 PlatformLogger logger = new PlatformLogger( in testCreateExtraStatsLocked_samplingIntervalSet_returnsConfigured() local
118 assertThat(logger.createExtraStatsLocked(TEST_PACKAGE_NAME, in testCreateExtraStatsLocked_samplingIntervalSet_returnsConfigured()
121 assertThat(logger.createExtraStatsLocked(TEST_PACKAGE_NAME, in testCreateExtraStatsLocked_samplingIntervalSet_returnsConfigured()
127 assertThat(logger.createExtraStatsLocked(TEST_PACKAGE_NAME, in testCreateExtraStatsLocked_samplingIntervalSet_returnsConfigured()
130 assertThat(logger.createExtraStatsLocked(TEST_PACKAGE_NAME, in testCreateExtraStatsLocked_samplingIntervalSet_returnsConfigured()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DLocalLogTest.java82 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/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationSectionsManager.kt61 private val logger: NotificationSectionsLogger, in <lambda>() constant in com.android.systemui.statusbar.notification.stack.NotificationSectionsManager
164 child === incomingHeaderView -> logger.logIncomingHeader(i) in <lambda>()
165 child === mediaControlsView -> logger.logMediaControls(i) in <lambda>()
166 child === peopleHeaderView -> logger.logConversationsHeader(i) in <lambda>()
167 child === alertingHeaderView -> logger.logAlertingHeader(i) in <lambda>()
168 child === silentHeaderView -> logger.logSilentHeader(i) in <lambda>()
169 child !is ExpandableNotificationRow -> logger.logOther(i, child.javaClass) in <lambda>()
173 BUCKET_HEADS_UP -> logger.logHeadsUp(i, isHeadsUp) in <lambda>()
174 BUCKET_PEOPLE -> logger.logConversation(i, isHeadsUp) in <lambda>()
175 BUCKET_ALERTING -> logger.logAlerting(i, isHeadsUp) in <lambda>()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java615 ChooserActivityLoggerFake logger = in testNearbyShareLogging() local
617 assertThat(logger.numCalls(), is(6)); in testNearbyShareLogging()
619 assertThat(logger.get(0).atomId, is(FrameworkStatsLog.UI_EVENT_REPORTED)); in testNearbyShareLogging()
620 assertThat(logger.get(0).event.getId(), in testNearbyShareLogging()
623 assertThat(logger.get(1).atomId, is(FrameworkStatsLog.SHARESHEET_STARTED)); in testNearbyShareLogging()
624 assertThat(logger.get(1).intent, is(Intent.ACTION_SEND)); in testNearbyShareLogging()
625 assertThat(logger.get(1).mimeType, is("text/plain")); in testNearbyShareLogging()
626 assertThat(logger.get(1).packageName, is("com.android.frameworks.coretests")); in testNearbyShareLogging()
627 assertThat(logger.get(1).appProvidedApp, is(0)); in testNearbyShareLogging()
628 assertThat(logger.get(1).appProvidedDirect, is(0)); in testNearbyShareLogging()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DDiskStatsFileLoggerTest.java58 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/packages/SystemUI/src/com/android/systemui/broadcast/
DUserBroadcastDispatcher.kt54 private val logger: BroadcastDispatcherLogger in <lambda>() constant in com.android.systemui.broadcast.UserBroadcastDispatcher
112 logger.logReceiverRegistered(userId, receiverData.receiver) in <lambda>()
122 logger.logContextReceiverRegistered(userId, it) in <lambda>()
127 logger.logContextReceiverUnregistered(userId, action) in <lambda>()
135 logger in <lambda>()
147 logger.logReceiverUnregistered(userId, receiver) in <lambda>()
DActionReceiver.kt50 private val logger: BroadcastDispatcherLogger constant in com.android.systemui.broadcast.ActionReceiver
106 logger.logBroadcastReceived(id, userId, intent) in onReceive()
114 logger.logBroadcastDispatched(id, action, it.receiver) in onReceive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallLogger.kt27 class OngoingCallLogger @Inject constructor(private val logger: UiEventLogger) { constant in com.android.systemui.statusbar.phone.ongoingcall.OngoingCallLogger
33 logger.log(OngoingCallEvents.ONGOING_CALL_CLICKED) in logChipClicked()
43 logger.log(OngoingCallEvents.ONGOING_CALL_VISIBLE) in logChipVisibilityChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
DShadeViewDiffer.kt39 private val logger: ShadeViewDifferLogger in <lambda>() constant
109 logger.logSkippingDetach(childNode.label, parentNode.label) in <lambda>()
111 logger.logDetachingChild( in <lambda>()
137 logger.logAttachingChild(childNode.label, parentNode.label) in <lambda>()
143 logger.logMovingChild(childNode.label, parentNode.label, index) in <lambda>()
178 logger.logDuplicateNodeInTree(tree, ex) in <lambda>()
DShadeViewManager.kt36 logger: ShadeViewDifferLogger, in <lambda>()
43 private val viewDiffer = ShadeViewDiffer(rootController, logger) in <lambda>()
78 private val logger: ShadeViewDifferLogger, constant in ShadeViewManagerFactory
86 logger,
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiLogger.java104 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/
DPolicySubsystemBuilder.cpp24 …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()
DStream.cpp26 const CMappingContext &context, core::log::Logger &logger) in Stream() argument
27 : CSubsystemObject(instanceConfigurableElement, logger), in Stream()
DInputSource.cpp26 const CMappingContext &context, core::log::Logger &logger) in InputSource() argument
28 logger, in InputSource()
DProductStrategy.cpp27 core::log::Logger& logger) in ProductStrategy() argument
29 logger, in ProductStrategy()
DPolicySubsystem.cpp41 PolicySubsystem::PolicySubsystem(const std::string &name, core::log::Logger &logger) in PolicySubsystem() argument
42 : CSubsystem(name, logger), in PolicySubsystem()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationClicker.java47 NotificationClickerLogger logger, in NotificationClicker() argument
51 mLogger = logger; in NotificationClicker()
124 public Builder(NotificationClickerLogger logger) { in Builder() argument
125 mLogger = logger; in Builder()
/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DdomainGeneratorPolicy.py186 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/base/services/tests/servicestests/src/com/android/server/appsearch/stats/
DPlatformLoggerTest.java149 PlatformLogger logger = new PlatformLogger( in testGetPackageUidAsUser() local
156 PlatformLogger.ExtraStats extraStats = logger.createExtraStatsLocked(testPackageName, in testGetPackageUidAsUser()
163 extraStats = logger.createExtraStatsLocked(testPackageName, in testGetPackageUidAsUser()
172 assertThat(logger.removeCachedUidForPackage(testPackageName)).isEqualTo(testUid); in testGetPackageUidAsUser()
173 extraStats = logger.createExtraStatsLocked(testPackageName, in testGetPackageUidAsUser()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DChangeFileVersionAdapter.java29 public ChangeFileVersionAdapter(Log logger, int maxVersion, ClassVisitor cv) { in ChangeFileVersionAdapter() argument
31 mLog = logger; in ChangeFileVersionAdapter()
/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/
DAppSearchUserInstance.java36 @NonNull PlatformLogger logger, in AppSearchUserInstance()
39 mLogger = Objects.requireNonNull(logger); in AppSearchUserInstance()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/
DUserBroadcastDispatcherTest.kt67 private lateinit var logger: BroadcastDispatcherLogger in capture() variable in com.android.systemui.broadcast.UserBroadcastDispatcherTest
84 mockContext, USER_ID, testableLooper.looper, mock(Executor::class.java), logger) { in capture()
112 verify(logger).logReceiverRegistered(USER_HANDLE.identifier, broadcastReceiver) in testSingleReceiverRegistered_logging()
142 verify(logger).logReceiverUnregistered(USER_HANDLE.identifier, broadcastReceiver) in testSingleReceiverUnregistered_logger()
/frameworks/base/core/tests/coretests/src/android/net/http/
DCookiesTest.java63 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/
DUsbAccessoryStreamTransport.java37 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/
DUsbAccessoryBulkTransport.java39 public UsbAccessoryBulkTransport(Logger logger, UsbDeviceConnection connection, in UsbAccessoryBulkTransport() argument
41 super(logger, 16384); in UsbAccessoryBulkTransport()

1234