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

  /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/core/java/com/android/internal/os/
AtomicFile.java 32 public class AtomicFile {
36 public AtomicFile(File baseName) {
50 Log.w("AtomicFile", "Couldn't rename file " + mBaseName
85 Log.w("AtomicFile", "finishWrite: Got exception:", e);
98 Log.w("AtomicFile", "failWrite: Got exception:", e);
  /frameworks/base/core/tests/coretests/src/android/content/
SyncStorageEngineTest.java 19 import com.android.internal.os.AtomicFile;
230 AtomicFile accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml"));
256 accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml"));
285 accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml"));
335 AtomicFile accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml"));
375 AtomicFile accountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml"));
  /frameworks/base/services/java/com/android/server/am/
CompatModePackages.java 15 import com.android.internal.os.AtomicFile;
35 private final AtomicFile mFile;
61 mFile = new AtomicFile(new File(systemDir, "packages-compat.xml"));
UsageStatsService.java 35 import com.android.internal.os.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/services/java/com/android/server/net/
NetworkStatsService.java 97 import com.android.internal.os.AtomicFile;
224 private final AtomicFile mNetworkDevFile;
225 private final AtomicFile mNetworkXtFile;
226 private final AtomicFile mUidFile;
256 mNetworkDevFile = new AtomicFile(new File(systemDir, "netstats.bin"));
257 mNetworkXtFile = new AtomicFile(new File(systemDir, "netstats_xt.bin"));
258 mUidFile = new AtomicFile(new File(systemDir, "netstats_uid.bin"));
    [all...]
NetworkPolicyManagerService.java 112 import com.android.internal.os.AtomicFile;
242 private final AtomicFile mPolicyFile;
277 mPolicyFile = new AtomicFile(new File(systemDir, "netpolicy.xml"));
    [all...]
  /frameworks/base/core/java/android/content/pm/
RegisteredServicesCache.java 47 import com.android.internal.os.AtomicFile;
86 private final AtomicFile mPersistentServicesFile;
103 mPersistentServicesFile = new AtomicFile(new File(syncDir, interfaceName + ".xml"));
  /frameworks/base/core/java/android/content/
SyncStorageEngine.java 19 import com.android.internal.os.AtomicFile;
260 private final AtomicFile mAccountInfoFile;
267 private final AtomicFile mStatusFile;
273 private final AtomicFile mStatisticsFile;
280 private final AtomicFile mPendingFile;
296 mAccountInfoFile = new AtomicFile(new File(syncDir, "accounts.xml"));
297 mStatusFile = new AtomicFile(new File(syncDir, "status.bin"));
298 mPendingFile = new AtomicFile(new File(syncDir, "pending.bin"));
299 mStatisticsFile = new AtomicFile(new File(syncDir, "stats.bin"));
    [all...]
  /frameworks/base/services/java/com/android/server/
AppWidgetService.java 55 import com.android.internal.os.AtomicFile;
    [all...]
InputMethodManagerService.java 19 import com.android.internal.os.AtomicFile;
    [all...]

Completed in 1735 milliseconds