Home
last modified time | relevance | path

Searched refs:mPrintWriter (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/bugreport/
DBugReportContentProviderTest.java45 private PrintWriter mPrintWriter; field in BugReportContentProviderTest
52 mPrintWriter = new PrintWriter(mStringWriter); in setUp()
73 mBugReportContentProvider.dump(FileDescriptor.out, mPrintWriter, new String[] {}); in dump_nullContext_notDumpsBatteryUsageData()
81 mBugReportContentProvider.dump(FileDescriptor.out, mPrintWriter, new String[] {}); in dump_inWorkProfileMode_notDumpsBatteryUsageData()
87 mBugReportContentProvider.dump(FileDescriptor.out, mPrintWriter, new String[] {}); in dump_dumpsBatteryUsageHistory()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiShellCommand.java231 private final PrintWriter mPrintWriter; field in WifiShellCommand.SoftApCallbackProxy
235 mPrintWriter = printWriter; in SoftApCallbackProxy()
241 mPrintWriter.println("onStateChanged with state: " + state); in onStateChanged()
245 mPrintWriter.println(" SAP is enabled successfully"); in onStateChanged()
249 mPrintWriter.println(" SAP is disabled"); in onStateChanged()
251 mPrintWriter.println(" SAP failed to start"); in onStateChanged()
260 mPrintWriter.println("onConnectedClientsOrInfoChanged, infos: " + infos in onConnectedClientsOrInfoChanged()
269 mPrintWriter.println("onCapabilityChanged " + capability); in onCapabilityChanged()
281 private final PrintWriter mPrintWriter; field in WifiShellCommand.DppCallbackProxy
288 mPrintWriter = printWriter; in DppCallbackProxy()
[all …]
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/
DPreferredServicesTest.java97 private PrintWriter mPrintWriter; field in PreferredServicesTest
602 services.dump(null, mPrintWriter, null); in testDump()
604 verify(mPrintWriter, times(8)).println(anyString()); in testDump()
613 services.dump(null, mPrintWriter, null); in testDump_withWalletRole()
615 verify(mPrintWriter, times(7)).println(anyString()); in testDump_withWalletRole()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryBackupHelperTest.java92 private PrintWriter mPrintWriter; field in BatteryBackupHelperTest
113 mPrintWriter = new PrintWriter(mStringWriter); in setUp()
380 BatteryBackupHelper.dumpHistoricalData(mContext, mPrintWriter); in verifyDumpHistoryData()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiScoreReportTest.java125 @Mock PrintWriter mPrintWriter; field in WifiScoreReportTest
829 })).when(mPrintWriter).println(anyString()); in setupToGenerateAReportWhenPrintlnIsCalled()
848 mWifiScoreReport.dump(null, mPrintWriter, null); in testDataLogging()
849 verify(mPrintWriter, times(13)).println(anyString()); in testDataLogging()
903 mWifiScoreReport.dump(null, mPrintWriter, null); in testDataLoggingMlo()
904 verify(mPrintWriter, times(13)).println(anyString()); in testDataLoggingMlo()
924 mWifiScoreReport.dump(null, mPrintWriter, null); in testDataLoggingLimit()
925 verify(mPrintWriter, atMost(3603)).println(anyString()); in testDataLoggingLimit()