/frameworks/base/cmds/incident_helper/tests/ |
D | KernelWakesParser_test.cpp | 53 const string testFile = kTestDataPath + "kernel_wakeups_short.txt"; in TEST_F() local 67 int fd = open(testFile.c_str(), O_RDONLY); in TEST_F() 77 const string testFile = kTestDataPath + "kernel_wakeups.txt"; in TEST_F() local 105 int fd = open(testFile.c_str(), O_RDONLY); in TEST_F()
|
D | ProcrankParser_test.cpp | 53 const string testFile = kTestDataPath + "procrank.txt"; in TEST_F() local 95 int fd = open(testFile.c_str(), O_RDONLY); in TEST_F() 105 const string testFile = kTestDataPath + "procrank_short.txt"; in TEST_F() local 133 int fd = open(testFile.c_str(), O_RDONLY); in TEST_F()
|
D | BatteryTypeParser_test.cpp | 53 const string testFile = kTestDataPath + "batterytype.txt"; in TEST_F() local 59 int fd = open(testFile.c_str(), O_RDONLY); in TEST_F()
|
D | SystemPropertiesParser_test.cpp | 53 const string testFile = kTestDataPath + "system_properties.txt"; in TEST_F() local 85 int fd = open(testFile.c_str(), O_RDONLY); in TEST_F()
|
D | PageTypeInfoParser_test.cpp | 53 const string testFile = kTestDataPath + "pagetypeinfo.txt"; in TEST_F() local 99 int fd = open(testFile.c_str(), O_RDONLY); in TEST_F()
|
D | CpuFreqParser_test.cpp | 53 const string testFile = kTestDataPath + "cpufreq.txt"; in TEST_F() local 116 int fd = open(testFile.c_str(), O_RDONLY); in TEST_F()
|
D | EventLogTagsParser_test.cpp | 53 const string testFile = kTestDataPath + "event-log-tags.txt"; in TEST_F() local 118 int fd = open(testFile.c_str(), O_RDONLY); in TEST_F()
|
D | CpuInfoParser_test.cpp | 53 const string testFile = kTestDataPath + "cpuinfo.txt"; in TEST_F() local 144 int fd = open(testFile.c_str(), O_RDONLY); in TEST_F()
|
D | PsParser_test.cpp | 53 const string testFile = kTestDataPath + "ps.txt"; in TEST_F() local 210 int fd = open(testFile.c_str(), O_RDONLY); in TEST_F()
|
/frameworks/base/cmds/incidentd/tests/ |
D | ProtoFileReader_test.cpp | 52 const std::string testFile = kTestDataPath + "protoFile.txt"; in TEST() local 62 unique_fd fd(open(testFile.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR)); in TEST() 74 int fd = open(testFile.c_str(), O_RDONLY | O_CLOEXEC); in TEST()
|
D | FdBuffer_test.cpp | 236 const std::string testFile = kTestDataPath + "morethan96MB.txt"; in TEST_F() local 238 unique_fd fd(open(testFile.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F() 270 const std::string testFile = kTestDataPath + "morethan96MB.txt"; in TEST_F() local 272 unique_fd fd(open(testFile.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()
|
/frameworks/base/tests/net/java/com/android/server/net/ |
D | NetworkStatsCollectionTest.java | 114 final File testFile = in testReadLegacyNetwork() local 116 stageFile(R.raw.netstats_v1, testFile); in testReadLegacyNetwork() 119 collection.readLegacyNetwork(testFile); in testReadLegacyNetwork() 142 final File testFile = in testReadLegacyUid() local 144 stageFile(R.raw.netstats_uid_v4, testFile); in testReadLegacyUid() 147 collection.readLegacyUid(testFile, false); in testReadLegacyUid() 170 final File testFile = in testReadLegacyUidTags() local 172 stageFile(R.raw.netstats_uid_v4, testFile); in testReadLegacyUidTags() 175 collection.readLegacyUid(testFile, true); in testReadLegacyUidTags() 274 final File testFile = in testAugmentPlan() local [all …]
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | BackupManagerServiceTest.java | 1525 File testFile = createTestFile(); in testDump_onRegisteredUser_callsMethodForUser() local 1527 PrintWriter printWriter = new PrintWriter(testFile); in testDump_onRegisteredUser_callsMethodForUser() 1541 File testFile = createTestFile(); in testDump_onUnknownUser_doesNotPropagateCall() local 1543 PrintWriter printWriter = new PrintWriter(testFile); in testDump_onUnknownUser_doesNotPropagateCall() 1577 File testFile = new File(mContext.getFilesDir(), "test"); in createTestFile() local 1578 testFile.createNewFile(); in createTestFile() 1579 return testFile; in createTestFile() 1611 File testFile = new File(mContext.getFilesDir(), "test"); in getFileDescriptorForAdbTest() local 1612 testFile.createNewFile(); in getFileDescriptorForAdbTest() 1613 return ParcelFileDescriptor.open(testFile, ParcelFileDescriptor.MODE_READ_WRITE); in getFileDescriptorForAdbTest()
|
D | UserBackupManagerServiceTest.java | 1236 File testFile = new File(mContext.getFilesDir(), "test"); in createTestFile() local 1237 testFile.createNewFile(); in createTestFile() 1238 return testFile; in createTestFile()
|
/frameworks/base/telephony/java/android/telephony/ |
D | MbmsDownloadSession.java | 1101 File testFile = new File(MbmsTempFileProvider.getEmbmsTempFileDir(mContext), in checkDownloadRequestDestination() local 1107 if (!testFile.exists()) { in checkDownloadRequestDestination() 1108 testFile.createNewFile(); in checkDownloadRequestDestination() 1110 if (!testFile.renameTo(testFileDestination)) { in checkDownloadRequestDestination() 1119 testFile.delete(); in checkDownloadRequestDestination()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | MemoryFileProviderTest.java | 70 public void testFile() throws Exception { in testFile() method in MemoryFileProviderTest
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriTest.java | 274 public void testFile() { in testFile() method in UriTest
|