Home
last modified time | relevance | path

Searched refs:writeToFile (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DKernelCpuUidUserSysTimeReaderTest.java101 writeToFile(uidLines(mUids, mInitialTimes)); in testThrottler()
106 writeToFile(uidLines(mUids, times1)); in testThrottler()
114 writeToFile(uidLines(mUids, times2)); in testThrottler()
120 writeToFile(uidLines(mUids, times3)); in testThrottler()
133 writeToFile(uidLines(mUids, times4)); in testThrottler()
140 writeToFile(uidLines(mUids, times5)); in testThrottler()
155 writeToFile(uidLines(mUids, times1)); in testReadDelta()
165 writeToFile(uidLines(mUids, times2)); in testReadDelta()
180 writeToFile(uidLines(mUids, times3)); in testReadDelta()
186 writeToFile(uidLines(mUids, times4)); in testReadDelta()
[all …]
DKernelCpuUidActiveTimeReaderTest.java133 writeToFile(mHeadline + uidLines(mUids, newTimes3)); in testReadDelta()
236 writeToFile(mHeadline + uidLines(mUids, times)); in setCpusAndData()
261 private void writeToFile(String s) throws IOException { in writeToFile() method in KernelCpuUidActiveTimeReaderTest
DKernelCpuUidFreqTimeReaderTest.java300 writeToFile(freqsLine(freqs)); in setFreqs()
313 writeToFile(freqsLine(freqs) + uidLines(mUids, times)); in setFreqsAndData()
355 private void writeToFile(String s) throws IOException { in writeToFile() method in KernelCpuUidFreqTimeReaderTest
DKernelCpuUidClusterTimeReaderTest.java238 writeToFile(mHeadline + uidLines(mUids, times)); in setCoresAndData()
269 private void writeToFile(String s) throws IOException { in writeToFile() method in KernelCpuUidClusterTimeReaderTest
/frameworks/native/services/surfaceflinger/Tracing/
DLayerTracing.cpp49 bool LayerTracing::disable(std::string filename, bool writeToFile) { in disable() argument
55 if (writeToFile) { in disable()
57 mBuffer->writeToFile(fileProto, filename); in disable()
75 status_t LayerTracing::writeToFile(std::string filename) { in writeToFile() function in android::LayerTracing
81 return mBuffer->writeToFile(fileProto, filename); in writeToFile()
DLayerTracing.h46 bool disable(std::string filename = FILE_NAME, bool writeToFile = true);
49 status_t writeToFile(std::string filename = FILE_NAME);
DTransactionTracing.cpp57 writeToFile(); in ~TransactionTracing()
60 status_t TransactionTracing::writeToFile(const std::string& filename) { in writeToFile() function in android::TransactionTracing
64 return mBuffer.writeToFile(fileProto, filename); in writeToFile()
DRingBuffer.h59 status_t writeToFile(FileProto& fileProto, std::string filename) { in writeToFile() function
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestResultPrinter.java45 public CameraTestResultPrinter(Instrumentation instrumentation, boolean writeToFile) { in CameraTestResultPrinter() argument
47 mWriteToFile = writeToFile; in CameraTestResultPrinter()
67 writeToFile(numAttempts, iteration, cameraId); in printStatus()
92 private void writeToFile(final int numAttempts, final int iteration, String cameraId) { in writeToFile() method in CameraTestResultPrinter
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DOwnersTest.java64 DpmTestUtils.writeToFile(owners.getProfileOwnerFile(TEST_PO_USER), in loadProfileOwner()
85 DpmTestUtils.writeToFile(owners.getDeviceOwnerFile(), in loadDeviceOwner()
108 DpmTestUtils.writeToFile(owners.getDeviceOwnerFile(), in testDeviceOwnerType()
DDevicePolicyManagerServiceMigrationTest.java103 DpmTestUtils.writeToFile( in testMigration_managedProfileOwner()
107 DpmTestUtils.writeToFile( in testMigration_managedProfileOwner()
111 DpmTestUtils.writeToFile( in testMigration_managedProfileOwner()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DReportEncoderTests.java98 writeToFile(outFile, readAsset(context, xmlAsset)); in copyWatchlistConfigXml()
115 private static void writeToFile(File path, String content) in writeToFile() method in ReportEncoderTests
DWatchlistSettingsTests.java113 writeToFile(outFile, readAsset(context, xmlAsset)); in copyWatchlistSettingsXml()
130 private static void writeToFile(File path, String content) in writeToFile() method in WatchlistSettingsTests
DWatchlistConfigTests.java140 writeToFile(outFile, readAsset(context, xmlAsset)); in copyWatchlistConfigXml()
157 private static void writeToFile(File path, String content) in writeToFile() method in WatchlistConfigTests
/frameworks/native/opengl/libs/EGL/
DFileBlobCache.h36 void writeToFile();
Degl_cache.cpp120 mBlobCache->writeToFile(); in terminate()
155 mBlobCache->writeToFile(); in setBlob()
/frameworks/av/drm/common/include/
DReadWriteUtils.h63 static void writeToFile(const String8& filePath, const String8& data);
/frameworks/native/libs/renderengine/skia/debug/
DSkiaCapture.cpp64 writeToFile(); in tryCapture()
150 void SkiaCapture::writeToFile() { in writeToFile() function in android::renderengine::skia::SkiaCapture
DSkiaCapture.h72 void writeToFile();
/frameworks/av/media/libnblog/include/media/nblog/
DReportPerformance.h74 void writeToFile(const std::deque<std::pair<timestamp, Hist>> &hists,
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/
DCompatConfigTest.java79 private void writeToFile(File dir, String filename, String content) throws IOException { in writeToFile() method in CompatConfigTest
874 writeToFile(dir, "platform_compat_config.xml", configXml); in testReadConfig()
900 writeToFile(dir, "platform_compat_config.xml", configXml); in testReadApexConfig()
929 writeToFile(dir, "libcore_platform_compat_config.xml", configXml1); in testReadConfigMultipleFiles()
930 writeToFile(dir, "frameworks_platform_compat_config.xml", configXml2); in testReadConfigMultipleFiles()
1064 writeToFile(tempDir, "overrides.xml", xmlData); in testInitOverridesRaw()
1109 writeToFile(tempDir, "overrides.xml", xmlData); in testInitOverridesDeferred()
1155 writeToFile(tempDir, "dynamic_overrides.xml", dynamicXmlData); in testInitOverridesWithStaticFile()
1181 writeToFile(tempDir, "static_overrides.xml", staticXmlData); in testInitOverridesWithStaticFile()
/frameworks/av/drm/common/
DReadWriteUtils.cpp78 void ReadWriteUtils::writeToFile(const String8& filePath, const String8& data) { in writeToFile() function in ReadWriteUtils
/frameworks/base/media/jni/tuner/
DDvrClient.h82 int64_t writeToFile(int64_t size);
/frameworks/base/drm/java/android/drm/
DDrmUtils.java66 /* package */ static void writeToFile(final String path, byte[] data) throws IOException { in writeToFile() method in DrmUtils
/frameworks/base/core/java/com/android/internal/protolog/
DBaseProtoLogImpl.java260 public void stopProtoLog(@Nullable PrintWriter pw, boolean writeToFile) { in stopProtoLog() argument
267 if (writeToFile) { in stopProtoLog()

12