Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/
DEntropyMixer.java214 File systemDir = new File(dataDir, "system"); in getSystemDir() local
215 systemDir.mkdirs(); in getSystemDir()
216 return systemDir.toString(); in getSystemDir()
DStorageManagerService.java1407 File systemDir = new File(dataDir, "system"); in StorageManagerService() local
1408 mLastMaintenanceFile = new File(systemDir, LAST_FSTRIM_FILE); in StorageManagerService()
DInputMethodManagerService.java4303 final File systemDir = userId == UserHandle.USER_SYSTEM in InputMethodFileManager() local
4306 final File inputMethodDir = new File(systemDir, INPUT_METHOD_PATH); in InputMethodFileManager()
/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.java83 public CompatModePackages(ActivityManagerService service, File systemDir, Handler handler) { in CompatModePackages() argument
85 mFile = new AtomicFile(new File(systemDir, "packages-compat.xml"), "compat-mode"); in CompatModePackages()
DAppWarnings.java91 Handler uiHandler, File systemDir) { in AppWarnings() argument
96 mConfigFile = new AtomicFile(new File(systemDir, CONFIG_FILE_NAME), "warnings-config"); in AppWarnings()
DTaskPersister.java127 TaskPersister(File systemDir, ActivityStackSupervisor stackSupervisor, in TaskPersister() argument
130 final File legacyImagesDir = new File(systemDir, IMAGES_DIRNAME); in TaskPersister()
137 final File legacyTasksDir = new File(systemDir, TASKS_DIRNAME); in TaskPersister()
DBatteryStatsService.java164 BatteryStatsService(Context context, File systemDir, Handler handler) { in BatteryStatsService() argument
177 mStats = new BatteryStatsImpl(systemDir, handler, this, mUserManagerUserInfoProvider); in BatteryStatsService()
DRecentTasks.java192 final File systemDir = Environment.getDataSystemDirectory(); in RecentTasks() local
196 mTaskPersister = new TaskPersister(systemDir, stackSupervisor, service, this); in RecentTasks()
DActivityManagerService.java3094 File systemDir = new File(dataDir, "system"); in ActivityManagerService() local
3095 systemDir.mkdirs(); in ActivityManagerService()
3097 mAppWarnings = new AppWarnings(this, mUiContext, mHandler, mUiHandler, systemDir); in ActivityManagerService()
3100 mBatteryStatsService = new BatteryStatsService(systemContext, systemDir, mHandler); in ActivityManagerService()
3107 mProcessStats = new ProcessStatsService(this, new File(systemDir, "procstats")); in ActivityManagerService()
3109 mAppOpsService = mInjector.getAppOpsService(new File(systemDir, "appops.xml"), mHandler); in ActivityManagerService()
3111 mGrantFile = new AtomicFile(new File(systemDir, "urigrants.xml"), "uri-grants"); in ActivityManagerService()
3131 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()
DPackageManagerServiceUtils.java318 File systemDir = new File(dataDir, "system"); in getSettingsProblemFile() local
319 File fname = new File(systemDir, "uiderrors.txt"); in getSettingsProblemFile()
/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()
165 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"), "wm-displays"); in DisplaySettings()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java703 File systemDir = new File(getDataDirectory(), "system"); in migrateIfNecessaryLocked() local
704 File syncDir = new File(systemDir, REGISTERED_SERVICES_DIR); in migrateIfNecessaryLocked()
/frameworks/base/services/core/java/com/android/server/job/
DJobStore.java137 File systemDir = new File(dataDir, "system"); in JobStore() local
138 File jobDir = new File(systemDir, "job"); in JobStore()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java341 NetworkStatsObservers statsObservers, File systemDir, File baseDir) { in NetworkStatsService() argument
350 mSystemDir = checkNotNull(systemDir, "missing systemDir"); in NetworkStatsService()
DNetworkPolicyManagerService.java593 File systemDir, boolean suppressDefaultPolicy) { in NetworkPolicyManagerService() argument
616 mPolicyFile = new AtomicFile(new File(systemDir, "netpolicy.xml"), "net-policy"); in NetworkPolicyManagerService()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java500 File systemDir = new File(dataDir, "system"); in SyncStorageEngine() local
501 File syncDir = new File(systemDir, "sync"); in SyncStorageEngine()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java10107 public BatteryStatsImpl(File systemDir, Handler handler, PlatformIdleStateCallback cb, in BatteryStatsImpl() argument
10109 this(new SystemClocks(), systemDir, handler, cb, userInfoProvider); in BatteryStatsImpl()
10112 private BatteryStatsImpl(Clocks clocks, File systemDir, Handler handler, in BatteryStatsImpl() argument
10117 if (systemDir != null) { in BatteryStatsImpl()
10118 mFile = new JournaledFile(new File(systemDir, "batterystats.bin"), in BatteryStatsImpl()
10119 new File(systemDir, "batterystats.bin.tmp")); in BatteryStatsImpl()
10123 mCheckinFile = new AtomicFile(new File(systemDir, "batterystats-checkin.bin")); in BatteryStatsImpl()
10124 mDailyFile = new AtomicFile(new File(systemDir, "batterystats-daily.xml")); in BatteryStatsImpl()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java6237 File systemDir = Environment.getDataSystemDirectory();
6245 File oldFile = new File(systemDir, PRE_N_DATABASE_NAME);