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

  /packages/services/Telephony/sip/src/com/android/services/telephony/sip/
SipProfileDb.java 19 import com.android.internal.os.AtomicFile;
98 AtomicFile atomicFile = new AtomicFile(new File(f, PROFILE_OBJ_FILE));
102 fos = atomicFile.startWrite();
106 atomicFile.finishWrite(fos);
108 atomicFile.failWrite(fos);
159 AtomicFile atomicFile = new AtomicFile(profileObjectFile)
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
UserManagerServiceTest.java 26 import android.util.AtomicFile;
54 AtomicFile atomicFile = new AtomicFile(restrictionsFile);
56 UserManagerService.writeApplicationRestrictionsLP(bundle, atomicFile);
57 assertTrue(atomicFile.getBaseFile().exists());
60 bundle = UserManagerService.readApplicationRestrictionsLP(atomicFile);
  /frameworks/base/services/core/java/com/android/server/am/
TaskPersister.java 28 import android.util.AtomicFile;
725 AtomicFile atomicFile = null;
727 atomicFile = new AtomicFile(new File(
731 file = atomicFile.startWrite();
734 atomicFile.finishWrite(file);
738 atomicFile.failWrite(file);
741 "Unable to open " + atomicFile + " for persisting. " + e);
  /frameworks/base/core/java/android/content/pm/
RegisteredServicesCache.java 31 import android.util.AtomicFile;
117 AtomicFile file = createFileForUser(user.id);
621 AtomicFile oldFile = new AtomicFile(new File(syncDir, mInterfaceName + ".xml"));
670 AtomicFile atomicFile = createFileForUser(userId);
673 fos = atomicFile.startWrite();
687 atomicFile.finishWrite(fos);
691 atomicFile.failWrite(fos);
713 private AtomicFile createFileForUser(int userId)
    [all...]

Completed in 105 milliseconds