Home
last modified time | relevance | path

Searched refs:systemDir (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DEntropyMixer.java203 File systemDir = new File(dataDir, "system"); in getSystemDir() local
204 systemDir.mkdirs(); in getSystemDir()
205 return systemDir.toString(); in getSystemDir()
DStorageManagerService.java1521 File systemDir = new File(dataDir, "system"); in StorageManagerService() local
1522 mLastMaintenanceFile = new File(systemDir, LAST_FSTRIM_FILE); in StorageManagerService()
/frameworks/base/services/core/java/com/android/server/am/
DDumpHeapProvider.java43 File systemDir = new File(dataDir, "system"); in onCreate() local
44 File heapdumpDir = new File(systemDir, "heapdump"); in onCreate()
DCompatModePackages.java85 public CompatModePackages(ActivityManagerService service, File systemDir, Handler handler) { in CompatModePackages() argument
87 mFile = new AtomicFile(new File(systemDir, "packages-compat.xml")); in CompatModePackages()
DTaskPersister.java130 TaskPersister(File systemDir, ActivityStackSupervisor stackSupervisor, in TaskPersister() argument
133 final File legacyImagesDir = new File(systemDir, IMAGES_DIRNAME); in TaskPersister()
140 final File legacyTasksDir = new File(systemDir, TASKS_DIRNAME); in TaskPersister()
DRecentTasks.java95 File systemDir = Environment.getDataSystemDirectory(); in RecentTasks() local
97 mTaskPersister = new TaskPersister(systemDir, mStackSupervisor, service, this); in RecentTasks()
DBatteryStatsService.java222 BatteryStatsService(File systemDir, Handler handler) { in BatteryStatsService() argument
231 mStats = new BatteryStatsImpl(systemDir, handler, mHandler, this); in BatteryStatsService()
DActivityManagerService.java2762 File systemDir = new File(dataDir, "system"); in ActivityManagerService() local
2763 systemDir.mkdirs(); in ActivityManagerService()
2764 mBatteryStatsService = new BatteryStatsService(systemDir, mHandler); in ActivityManagerService()
2771 mProcessStats = new ProcessStatsService(this, new File(systemDir, "procstats")); in ActivityManagerService()
2773 mAppOpsService = mInjector.getAppOpsService(new File(systemDir, "appops.xml"), mHandler); in ActivityManagerService()
2786 mGrantFile = new AtomicFile(new File(systemDir, "urigrants.xml")); in ActivityManagerService()
2806 mCompatModePackages = new CompatModePackages(this, systemDir, mHandler); in ActivityManagerService()
/frameworks/base/services/core/java/com/android/server/pm/
DAbstractStatsBase.java58 File systemDir = new File(dataDir, "system"); in getFile() local
59 File fname = new File(systemDir, mFileName); in getFile()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java151 File systemDir = mUserDataPreparer.getUserSystemDirectory(TEST_USER_ID); in testDestroyUserData_De() local
152 systemDir.mkdirs(); in testDestroyUserData_De()
153 writeFile(new File(systemDir, "file"), "-----" ); in testDestroyUserData_De()
168 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty(systemDir))); in testDestroyUserData_De()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplaySettings.java66 File systemDir = new File(dataDir, "system"); in DisplaySettings() local
67 mFile = new AtomicFile(new File(systemDir, "display_settings.xml")); in DisplaySettings()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java665 File systemDir = new File(getDataDirectory(), "system"); in migrateIfNecessaryLocked() local
666 File syncDir = new File(systemDir, REGISTERED_SERVICES_DIR); in migrateIfNecessaryLocked()
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java116 File systemDir = new File(dataDir, "system"); in JobStore() local
117 File jobDir = new File(systemDir, "job"); in JobStore()
/frameworks/base/services/core/java/com/android/server/fingerprint/
DFingerprintService.java1401 final File systemDir = Environment.getUserSystemDirectory(userId); in updateActiveGroup() local
1402 final File fpDir = new File(systemDir, FP_DATA_DIR); in updateActiveGroup()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java294 NetworkStatsObservers statsObservers, File systemDir, File baseDir) { in NetworkStatsService() argument
303 mSystemDir = checkNotNull(systemDir, "missing systemDir"); in NetworkStatsService()
DNetworkPolicyManagerService.java475 IPackageManager pm, TrustedTime time, File systemDir, boolean suppressDefaultPolicy) { in NetworkPolicyManagerService() argument
499 mPolicyFile = new AtomicFile(new File(systemDir, "netpolicy.xml")); in NetworkPolicyManagerService()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java474 File systemDir = new File(dataDir, "system"); in SyncStorageEngine() local
475 File syncDir = new File(systemDir, "sync"); in SyncStorageEngine()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java8593 public BatteryStatsImpl(File systemDir, Handler handler, ExternalStatsSync externalSync) { in BatteryStatsImpl() argument
8594 this(new SystemClocks(), systemDir, handler, externalSync, null); in BatteryStatsImpl()
8597 public BatteryStatsImpl(File systemDir, Handler handler, ExternalStatsSync externalSync, in BatteryStatsImpl() argument
8599 this(new SystemClocks(), systemDir, handler, externalSync, cb); in BatteryStatsImpl()
8602 public BatteryStatsImpl(Clocks clocks, File systemDir, Handler handler, in BatteryStatsImpl() argument
8606 if (systemDir != null) { in BatteryStatsImpl()
8607 mFile = new JournaledFile(new File(systemDir, "batterystats.bin"), in BatteryStatsImpl()
8608 new File(systemDir, "batterystats.bin.tmp")); in BatteryStatsImpl()
8612 mCheckinFile = new AtomicFile(new File(systemDir, "batterystats-checkin.bin")); in BatteryStatsImpl()
8613 mDailyFile = new AtomicFile(new File(systemDir, "batterystats-daily.xml")); in BatteryStatsImpl()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java1148 final File systemDir = new File(Environment.getDataDirectory(), "system"); in init() local
1149 mPolicyFile = new AtomicFile(new File(systemDir, "notification_policy.xml")); in init()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java6143 File systemDir = Environment.getDataSystemDirectory();
6151 File oldFile = new File(systemDir, PRE_N_DATABASE_NAME);