HomeSort by relevance Sort by last modified time
    Searched refs:AtomicFile (Results 1 - 25 of 30) sorted by null

1 2

  /packages/apps/Phone/src/com/android/phone/sip/
SipProfileDb.java 19 import com.android.internal.os.AtomicFile;
74 AtomicFile atomicFile =
75 new AtomicFile(new File(f, PROFILE_OBJ_FILE));
79 fos = atomicFile.startWrite();
84 atomicFile.finishWrite(fos);
86 atomicFile.failWrite(fos);
131 AtomicFile atomicFile = new AtomicFile(profileObjectFile)
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
PackageManagerSettingsTests.java 25 import com.android.internal.os.AtomicFile;
53 AtomicFile aFile = new AtomicFile(file);
  /frameworks/base/core/java/android/util/
AtomicFile.java 32 * {@link android.support.v4.util.AtomicFile} in the v4 support library.
45 public class AtomicFile {
50 * Create a new AtomicFile for a file located at the given File path.
53 public AtomicFile(File baseName) {
86 * access to AtomicFile.
93 Log.w("AtomicFile", "Couldn't rename file " + mBaseName
134 Log.w("AtomicFile", "finishWrite: Got exception:", e);
152 Log.w("AtomicFile", "failWrite: Got exception:", e);
192 * AtomicFile.
  /frameworks/base/core/java/com/android/internal/os/
AtomicFile.java 43 public class AtomicFile {
47 public AtomicFile(File baseName) {
61 Log.w("AtomicFile", "Couldn't rename file " + mBaseName
96 Log.w("AtomicFile", "finishWrite: Got exception:", e);
109 Log.w("AtomicFile", "failWrite: Got exception:", e);
  /frameworks/support/v4/java/android/support/v4/util/
AtomicFile.java 28 * Static library support version of the framework's {@link android.util.AtomicFile},
43 public class AtomicFile {
48 * Create a new AtomicFile for a file located at the given File path.
51 public AtomicFile(File baseName) {
84 * access to AtomicFile.
91 Log.w("AtomicFile", "Couldn't rename file " + mBaseName
128 Log.w("AtomicFile", "finishWrite: Got exception:", e);
146 Log.w("AtomicFile", "failWrite: Got exception:", e);
161 * AtomicFile.
  /frameworks/base/services/tests/servicestests/src/com/android/server/content/
SyncStorageEngineTest.java 34 import com.android.internal.os.AtomicFile;
250 AtomicFile accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml"));
280 accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml"));
309 accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml"));
344 AtomicFile accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml"));
387 AtomicFile accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml"));
427 AtomicFile accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml"))
    [all...]
  /frameworks/base/services/java/com/android/server/display/
PersistentDataStore.java 27 import android.util.AtomicFile;
65 private final AtomicFile mAtomicFile;
74 mAtomicFile = new AtomicFile(new File("/data/system/display-manager-state.xml"));
  /frameworks/base/services/java/com/android/server/wm/
DisplaySettings.java 22 import android.util.AtomicFile;
45 private final AtomicFile mFile;
64 mFile = new AtomicFile(new File(systemDir, "display_settings.xml"));
  /frameworks/base/services/java/com/android/server/pm/
UserManagerService.java 44 import android.util.AtomicFile;
468 AtomicFile userListFile = new AtomicFile(mUserListFile);
589 AtomicFile userFile = new AtomicFile(new File(mUsersDir, userInfo.id + ".xml"));
654 AtomicFile userListFile = new AtomicFile(mUserListFile);
698 AtomicFile userFile =
699 new AtomicFile(new File(mUsersDir, Integer.toString(id) + ".xml"));
    [all...]
  /frameworks/base/services/java/com/android/server/input/
PersistentDataStore.java 27 import android.util.AtomicFile;
66 private final AtomicFile mAtomicFile;
75 mAtomicFile = new AtomicFile(new File("/data/system/input-manager-state.xml"));
  /frameworks/base/services/java/com/android/server/net/
NetworkStatsCollection.java 32 import android.util.AtomicFile;
328 final AtomicFile inputFile = new AtomicFile(file);
367 final AtomicFile inputFile = new AtomicFile(file);
NetworkPolicyManagerService.java 122 import android.util.AtomicFile;
280 private final AtomicFile mPolicyFile;
315 mPolicyFile = new AtomicFile(new File(systemDir, "netpolicy.xml"));
    [all...]
  /frameworks/base/services/java/com/android/server/am/
CompatModePackages.java 25 import android.util.AtomicFile;
34 private final AtomicFile mFile;
60 mFile = new AtomicFile(new File(systemDir, "packages-compat.xml"));
UsageStatsService.java 30 import android.util.AtomicFile;
115 private AtomicFile mHistoryFile;
272 mHistoryFile = new AtomicFile(new File(mDir, FILE_HISTORY));
362 private void readHistoryStatsFLOCK(AtomicFile file) {
607 private void writeHistoryStatsFLOCK(AtomicFile historyFile) {
    [all...]
  /frameworks/base/core/java/android/content/pm/
RegisteredServicesCache.java 30 import android.util.AtomicFile;
107 private final AtomicFile mPersistentServicesFile;
124 mPersistentServicesFile = new AtomicFile(new File(syncDir, interfaceName + ".xml"));
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/
SmsUsageMonitor.java 32 import android.util.AtomicFile;
165 private AtomicFile mPolicyFile;
440 mPolicyFile = new AtomicFile(new File(dir, SMS_POLICY_FILE_NAME));
  /frameworks/base/services/java/com/android/server/content/
SyncStorageEngine.java 38 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"));
368 mStatusFile = new AtomicFile(new File(syncDir, "status.bin"));
369 mPendingFile = new AtomicFile(new File(syncDir, "pending.bin"));
370 mStatisticsFile = new AtomicFile(new File(syncDir, "stats.bin"));
    [all...]
  /frameworks/base/services/java/com/android/server/
AppOpsService.java 43 import android.util.AtomicFile;
67 final AtomicFile mFile;
142 mFile = new AtomicFile(storagePath);
    [all...]
AppWidgetServiceImpl.java 52 import android.util.AtomicFile;
    [all...]
DevicePolicyManagerService.java 69 import android.util.AtomicFile;
    [all...]
InputMethodManagerService.java 82 import android.util.AtomicFile;
    [all...]
NotificationManagerService.java 69 import android.util.AtomicFile;
190 private AtomicFile mPolicyFile;
381 mPolicyFile = new AtomicFile(new File(dir, "notification_policy.xml"));
    [all...]
  /frameworks/base/services/java/com/android/server/usb/
UsbSettingsManager.java 39 import android.util.AtomicFile;
75 private final AtomicFile mSettingsFile;
394 mSettingsFile = new AtomicFile(new File(
    [all...]
  /development/samples/training/ContactsList/libs/
android-support-v4.jar 
  /development/samples/training/EffectiveNavigation/libs/
android-support-v4.jar 

Completed in 886 milliseconds

1 2