Searched refs:dumpContent (Results 1 – 4 of 4) sorted by relevance
89 String dumpContent = mStringWriter.toString(); in dump_dumpsBatteryUsageHistory() local90 assertThat(dumpContent).contains("Battery PeriodicJob History"); in dump_dumpsBatteryUsageHistory()91 assertThat(dumpContent).contains("Battery DatabaseHistory"); in dump_dumpsBatteryUsageHistory()92 assertThat(dumpContent).contains(PACKAGE_NAME1); in dump_dumpsBatteryUsageHistory()93 assertThat(dumpContent).contains(PACKAGE_NAME2); in dump_dumpsBatteryUsageHistory()94 assertThat(dumpContent).contains("distinct timestamp count:2"); in dump_dumpsBatteryUsageHistory()95 assertThat(dumpContent).contains("App DatabaseHistory"); in dump_dumpsBatteryUsageHistory()96 assertThat(dumpContent).contains(PACKAGE_NAME3); in dump_dumpsBatteryUsageHistory()97 assertThat(dumpContent).contains(PACKAGE_NAME4); in dump_dumpsBatteryUsageHistory()
45 std::string dumpContent; in dumpService() local46 if (!android::base::ReadFdToString(localFd.get(), &dumpContent)) { in dumpService()52 std::stringstream dumpStream(std::move(dumpContent)); in dumpService()78 std::string dumpContent; in dumpService() local79 if (!android::base::ReadFdToString(localFd.get(), &dumpContent)) { in dumpService()85 std::stringstream dumpStream(dumpContent); in dumpService()
538 String dumpContent = stringWriter.toString(); in dump_dumpExpectedData() local539 assertThat(dumpContent.contains("BatteryLevelChanged")).isTrue(); in dump_dumpExpectedData()540 assertThat(dumpContent.contains("BatteryUnplugging")).isTrue(); in dump_dumpExpectedData()541 assertThat(dumpContent.contains("ClearBatteryCacheData")).isTrue(); in dump_dumpExpectedData()542 assertThat(dumpContent.contains("LastLoadFullChargeTime")).isTrue(); in dump_dumpExpectedData()543 assertThat(dumpContent.contains("LastUploadFullChargeTime")).isTrue(); in dump_dumpExpectedData()
425 String dumpContent = stringWriter.toString(); in testDump_withPermission() local426 assertThat(dumpContent).contains("CarrierConfigLoader:"); in testDump_withPermission()427 assertThat(dumpContent).doesNotContain("Permission Denial:"); in testDump_withPermission()