Home
last modified time | relevance | path

Searched refs:systemDir (Results 1 – 23 of 23) 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.java1830 File systemDir = new File(dataDir, "system"); in StorageManagerService() local
1831 mLastMaintenanceFile = new File(systemDir, LAST_FSTRIM_FILE); in StorageManagerService()
/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.java348 File systemDir = new File(dataDir, "system");
349 File fname = new File(systemDir, "uiderrors.txt");
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java152 File systemDir = mUserDataPreparer.getUserSystemDirectory(TEST_USER_ID); in testDestroyUserData_De() local
153 systemDir.mkdirs(); in testDestroyUserData_De()
154 writeFile(new File(systemDir, "file"), "-----" ); in testDestroyUserData_De()
166 assertEquals(Collections.emptyList(), Arrays.asList(FileUtils.listFilesOrEmpty(systemDir))); in testDestroyUserData_De()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsHistory.java110 public BatteryStatsHistory(BatteryStatsImpl stats, File systemDir, Parcel historyBuffer) { in BatteryStatsHistory() argument
113 mHistoryDir = new File(systemDir, HISTORY_DIR); in BatteryStatsHistory()
DBatteryStatsImpl.java9768 public BatteryStatsImpl(File systemDir, Handler handler, PlatformIdleStateCallback cb, in BatteryStatsImpl() argument
9770 this(new SystemClocks(), systemDir, handler, cb, railStatsCb, userInfoProvider); in BatteryStatsImpl()
9773 private BatteryStatsImpl(Clocks clocks, File systemDir, Handler handler, in BatteryStatsImpl() argument
9779 if (systemDir == null) { in BatteryStatsImpl()
9783 mStatsFile = new AtomicFile(new File(systemDir, "batterystats.bin")); in BatteryStatsImpl()
9784 mBatteryStatsHistory = new BatteryStatsHistory(this, systemDir, mHistoryBuffer); in BatteryStatsImpl()
9786 mCheckinFile = new AtomicFile(new File(systemDir, "batterystats-checkin.bin")); in BatteryStatsImpl()
9787 mDailyFile = new AtomicFile(new File(systemDir, "batterystats-daily.xml")); in BatteryStatsImpl()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DAdditionalSubtypeUtils.java80 final File systemDir = userId == UserHandle.USER_SYSTEM in getInputMethodDir() local
83 return new File(systemDir, INPUT_METHOD_PATH); in getInputMethodDir()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPersister.java84 TaskPersister(File systemDir, ActivityStackSupervisor stackSupervisor, in TaskPersister() argument
88 final File legacyImagesDir = new File(systemDir, IMAGES_DIRNAME); in TaskPersister()
95 final File legacyTasksDir = new File(systemDir, TASKS_DIRNAME); in TaskPersister()
DAppWarnings.java90 Handler uiHandler, File systemDir) { in AppWarnings() argument
95 mConfigFile = new AtomicFile(new File(systemDir, CONFIG_FILE_NAME), "warnings-config"); in AppWarnings()
DCompatModePackages.java87 public CompatModePackages(ActivityTaskManagerService service, File systemDir, Handler handler) { in CompatModePackages() argument
89 mFile = new AtomicFile(new File(systemDir, "packages-compat.xml"), "compat-mode"); in CompatModePackages()
DRecentTasks.java241 final File systemDir = Environment.getDataSystemDirectory(); in RecentTasks() local
245 mTaskPersister = new TaskPersister(systemDir, stackSupervisor, service, this, in RecentTasks()
DActivityTaskManagerService.java845 final File systemDir = SystemServiceManager.ensureSystemDir(); in initialize() local
846 mAppWarnings = createAppWarnings(mUiContext, mH, mUiHandler, systemDir); in initialize()
847 mCompatModePackages = new CompatModePackages(this, systemDir, mH); in initialize()
879 Context uiContext, Handler handler, Handler uiHandler, File systemDir) { in createAppWarnings() argument
880 return new AppWarnings(this, uiContext, handler, uiHandler, systemDir); in createAppWarnings()
/frameworks/base/services/core/java/com/android/server/uri/
DUriGrantsManagerService.java156 private UriGrantsManagerService(File systemDir) { in UriGrantsManagerService() argument
158 mGrantFile = new AtomicFile(new File(systemDir, "urigrants.xml"), "uri-grants"); in UriGrantsManagerService()
162 static UriGrantsManagerService createForTest(File systemDir) { in createForTest() argument
163 final UriGrantsManagerService service = new UriGrantsManagerService(systemDir); in createForTest()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java710 File systemDir = new File(getDataDirectory(), "system"); in migrateIfNecessaryLocked() local
711 File syncDir = new File(systemDir, REGISTERED_SERVICES_DIR); in migrateIfNecessaryLocked()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobStore.java141 File systemDir = new File(dataDir, "system"); in JobStore() local
142 File jobDir = new File(systemDir, "job"); in JobStore()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java178 BatteryStatsService(Context context, File systemDir, Handler handler) { in BatteryStatsService() argument
191 mStats = new BatteryStatsImpl(systemDir, handler, this, in BatteryStatsService()
DActivityManagerService.java2637 final File systemDir = SystemServiceManager.ensureSystemDir(); in ActivityManagerService() local
2640 mBatteryStatsService = new BatteryStatsService(systemContext, systemDir, in ActivityManagerService()
2649 mProcessStats = new ProcessStatsService(this, new File(systemDir, "procstats")); in ActivityManagerService()
2651 mAppOpsService = mInjector.getAppOpsService(new File(systemDir, "appops.xml"), mHandler); in ActivityManagerService()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java420 NetworkStatsObservers statsObservers, File systemDir, File baseDir, in NetworkStatsService() argument
431 mSystemDir = Objects.requireNonNull(systemDir, "missing systemDir"); in NetworkStatsService()
DNetworkPolicyManagerService.java620 File systemDir, boolean suppressDefaultPolicy) { in NetworkPolicyManagerService() argument
642 mPolicyFile = new AtomicFile(new File(systemDir, "netpolicy.xml"), "net-policy"); in NetworkPolicyManagerService()
/frameworks/base/services/core/java/com/android/server/content/
DSyncStorageEngine.java529 File systemDir = new File(dataDir, "system"); in SyncStorageEngine() local
530 mSyncDir = new File(systemDir, SYNC_DIR_NAME); in SyncStorageEngine()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java6264 File systemDir = Environment.getDataSystemDirectory();
6272 File oldFile = new File(systemDir, PRE_N_DATABASE_NAME);
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java2074 final File systemDir = new File(Environment.getDataDirectory(), "system"); in onStart() local
2088 systemDir, "notification_policy.xml"), "notification-policy"), in onStart()