Home
last modified time | relevance | path

Searched refs:AtomicFile (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncStorageEngineTest.java34 import com.android.internal.os.AtomicFile;
250 AtomicFile accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml")); in testAuthorityParsing()
280 accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml")); in testAuthorityParsing()
309 accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml")); in testAuthorityParsing()
344 AtomicFile accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml")); in testListenForTicklesParsing()
387 AtomicFile accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml")); in testAuthorityRenaming()
427 AtomicFile accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml")); in testSyncableMigration()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageManagerSettingsTests.java25 import com.android.internal.os.AtomicFile;
53 AtomicFile aFile = new AtomicFile(file); in writeFile()
/frameworks/base/services/java/com/android/server/pm/
DUserManagerService.java44 import android.util.AtomicFile;
468 AtomicFile userListFile = new AtomicFile(mUserListFile); in readUserListLocked()
589 AtomicFile userFile = new AtomicFile(new File(mUsersDir, userInfo.id + ".xml")); in writeUserLocked()
654 AtomicFile userListFile = new AtomicFile(mUserListFile); in writeUserListLocked()
698 AtomicFile userFile = in readUserLocked()
699 new AtomicFile(new File(mUsersDir, Integer.toString(id) + ".xml")); in readUserLocked()
953 AtomicFile userFile = new AtomicFile(new File(mUsersDir, userHandle + ".xml")); in removeUserStateLocked()
1021 AtomicFile restrictionsFile = in readApplicationRestrictionsLocked()
1022 new AtomicFile(new File(Environment.getUserSystemDirectory(userId), in readApplicationRestrictionsLocked()
1082 AtomicFile restrictionsFile = new AtomicFile( in writeApplicationRestrictionsLocked()
/frameworks/support/v4/java/android/support/v4/util/
DAtomicFile.java43 public class AtomicFile { class
51 public AtomicFile(File baseName) { in AtomicFile() method in AtomicFile
/frameworks/base/core/java/android/util/
DAtomicFile.java45 public class AtomicFile { class
53 public AtomicFile(File baseName) { in AtomicFile() method in AtomicFile
/frameworks/base/core/java/com/android/internal/os/
DAtomicFile.java43 public class AtomicFile { class
47 public AtomicFile(File baseName) { in AtomicFile() method in AtomicFile
/frameworks/base/services/java/com/android/server/display/
DPersistentDataStore.java27 import android.util.AtomicFile;
65 private final AtomicFile mAtomicFile;
74 mAtomicFile = new AtomicFile(new File("/data/system/display-manager-state.xml")); in PersistentDataStore()
/frameworks/base/services/java/com/android/server/wm/
DDisplaySettings.java22 import android.util.AtomicFile;
45 private final AtomicFile mFile;
64 mFile = new AtomicFile(new File(systemDir, "display_settings.xml")); in DisplaySettings()
/frameworks/base/services/java/com/android/server/net/
DNetworkStatsCollection.java32 import android.util.AtomicFile;
328 final AtomicFile inputFile = new AtomicFile(file); in readLegacyNetwork()
367 final AtomicFile inputFile = new AtomicFile(file); in readLegacyUid()
DNetworkPolicyManagerService.java122 import android.util.AtomicFile;
280 private final AtomicFile mPolicyFile;
315 mPolicyFile = new AtomicFile(new File(systemDir, "netpolicy.xml")); in NetworkPolicyManagerService()
/frameworks/base/services/java/com/android/server/input/
DPersistentDataStore.java27 import android.util.AtomicFile;
66 private final AtomicFile mAtomicFile;
75 mAtomicFile = new AtomicFile(new File("/data/system/input-manager-state.xml")); in PersistentDataStore()
/frameworks/base/services/java/com/android/server/am/
DCompatModePackages.java25 import android.util.AtomicFile;
34 private final AtomicFile mFile;
60 mFile = new AtomicFile(new File(systemDir, "packages-compat.xml")); in CompatModePackages()
DUsageStatsService.java30 import android.util.AtomicFile;
115 private AtomicFile mHistoryFile;
272 mHistoryFile = new AtomicFile(new File(mDir, FILE_HISTORY)); in UsageStatsService()
362 private void readHistoryStatsFLOCK(AtomicFile file) { in readHistoryStatsFLOCK()
607 private void writeHistoryStatsFLOCK(AtomicFile historyFile) { in writeHistoryStatsFLOCK()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java32 import android.util.AtomicFile;
165 private AtomicFile mPolicyFile;
440 mPolicyFile = new AtomicFile(new File(dir, SMS_POLICY_FILE_NAME)); in loadPremiumSmsPolicyDb()
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java30 import android.util.AtomicFile;
107 private final AtomicFile mPersistentServicesFile;
124 mPersistentServicesFile = new AtomicFile(new File(syncDir, interfaceName + ".xml")); in RegisteredServicesCache()
/frameworks/base/services/java/com/android/server/content/
DSyncStorageEngine.java38 import android.util.AtomicFile;
325 private final AtomicFile mAccountInfoFile;
332 private final AtomicFile mStatusFile;
338 private final AtomicFile mStatisticsFile;
345 private final AtomicFile mPendingFile;
367 mAccountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml")); in SyncStorageEngine()
368 mStatusFile = new AtomicFile(new File(syncDir, "status.bin")); in SyncStorageEngine()
369 mPendingFile = new AtomicFile(new File(syncDir, "pending.bin")); in SyncStorageEngine()
370 mStatisticsFile = new AtomicFile(new File(syncDir, "stats.bin")); in SyncStorageEngine()
/frameworks/base/services/java/com/android/server/
DAppOpsService.java44 import android.util.AtomicFile;
69 final AtomicFile mFile;
144 mFile = new AtomicFile(storagePath); in AppOpsService()
DAppWidgetServiceImpl.java52 import android.util.AtomicFile;
1613 AtomicFile file = savedStateFile(); in loadStateLocked()
1634 AtomicFile file = savedStateFile(); in saveStateLocked()
1893 AtomicFile savedStateFile() { in savedStateFile()
1906 return new AtomicFile(settingsFile); in savedStateFile()
DDevicePolicyManagerService.java69 import android.util.AtomicFile;
2526 AtomicFile file = new AtomicFile(new File(Environment.getSystemSecureDirectory(), in readOwnerFile()
2557 AtomicFile file = new AtomicFile(new File(Environment.getSystemSecureDirectory(), in writeOwnerFileLocked()
DInputMethodManagerService.java82 import android.util.AtomicFile;
3285 private final AtomicFile mAdditionalInputMethodSubtypeFile;
3302 mAdditionalInputMethodSubtypeFile = new AtomicFile(subtypeFile); in InputMethodFileManager()
3348 HashMap<String, List<InputMethodSubtype>> allSubtypes, AtomicFile subtypesFile, in writeAdditionalInputMethodSubtypes()
3395 HashMap<String, List<InputMethodSubtype>> allSubtypes, AtomicFile subtypesFile) { in readAdditionalInputMethodSubtypes()
DNotificationManagerService.java69 import android.util.AtomicFile;
190 private AtomicFile mPolicyFile;
381 mPolicyFile = new AtomicFile(new File(dir, "notification_policy.xml")); in loadBlockDb()
/frameworks/base/services/java/com/android/server/usb/
DUsbSettingsManager.java39 import android.util.AtomicFile;
75 private final AtomicFile mSettingsFile;
394 mSettingsFile = new AtomicFile(new File( in UsbSettingsManager()
/frameworks/base/docs/html/sdk/api_diff/17/
DmissingSinces.txt1 NO DOC BLOCK: android.util.AtomicFile Class
/frameworks/base/docs/html/tools/extras/
Dsupport-library.jd161 {@link android.support.v4.util.AtomicFile} class.</li>
/frameworks/base/docs/html/
Dsitemap.txt1241 http://developer.android.com/reference/android/util/AtomicFile.html
2621 http://developer.android.com/reference/android/support/v4/util/AtomicFile.html

12