Searched refs:tempDir (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | ShutdownCheckPointsTest.java | 249 File tempDir = createTempDir(); in testDumpToFile() local 250 File baseFile = new File(tempDir, "checkpoints"); in testDumpToFile() 260 File[] dumpFiles = tempDir.listFiles(); in testDumpToFile() 286 File tempDir = createTempDir(); in testTooManyFilesDropsOlderOnes() local 287 File baseFile = new File(tempDir, "checkpoints"); in testTooManyFilesDropsOlderOnes() 297 File[] dumpFiles = tempDir.listFiles(); in testTooManyFilesDropsOlderOnes() 338 File tempDir = File.createTempFile("checkpoints", "out"); in createTempDir() local 339 tempDir.delete(); in createTempDir() 340 tempDir.mkdir(); in createTempDir() 341 return tempDir; in createTempDir()
|
/frameworks/base/services/incremental/test/ |
D | IncrementalServiceTest.cpp | 872 TemporaryDir tempDir; in TEST_F() local 874 mIncrementalService->createStorage(tempDir.path, mDataLoaderParcel, in TEST_F() 883 TemporaryDir tempDir; in TEST_F() local 885 mIncrementalService->createStorage(tempDir.path, mDataLoaderParcel, in TEST_F() 896 TemporaryDir tempDir; in TEST_F() local 898 mIncrementalService->createStorage(tempDir.path, mDataLoaderParcel, in TEST_F() 910 TemporaryDir tempDir; in TEST_F() local 912 mIncrementalService->createStorage(tempDir.path, mDataLoaderParcel, in TEST_F() 928 TemporaryDir tempDir; in TEST_F() local 930 mIncrementalService->createStorage(tempDir.path, mDataLoaderParcel, in TEST_F() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/compat/ |
D | CompatConfigTest.java | 873 File tempDir = createTempDir(); in testInitOverridesRaw() local 874 File overridesFile = new File(tempDir, "overrides.xml"); in testInitOverridesRaw() 902 writeToFile(tempDir, "overrides.xml", xmlData); in testInitOverridesRaw() 928 File tempDir = createTempDir(); in testInitOverridesDeferred() local 929 File overridesFile = new File(tempDir, "overrides.xml"); in testInitOverridesDeferred() 947 writeToFile(tempDir, "overrides.xml", xmlData); in testInitOverridesDeferred() 969 File tempDir = createTempDir(); in testInitOverridesWithStaticFile() local 970 File dynamicOverridesFile = new File(tempDir, "dynamic_overrides.xml"); in testInitOverridesWithStaticFile() 971 File staticOverridesFile = new File(tempDir, "static_overrides.xml"); in testInitOverridesWithStaticFile() 993 writeToFile(tempDir, "dynamic_overrides.xml", dynamicXmlData); in testInitOverridesWithStaticFile() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpaper/ |
D | WallpaperManagerServiceTests.java | 215 File tempDir = mTempDirs.get(userId); in getWallpaperDir() local 216 if (tempDir == null) { in getWallpaperDir() 218 tempDir = mFolder.newFolder(String.valueOf(userId)); in getWallpaperDir() 219 mTempDirs.append(userId, tempDir); in getWallpaperDir() 224 return tempDir; in getWallpaperDir()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 18707 final File tempDir = in doCopyApk() local 18709 codeFile = tempDir; in doCopyApk()
|