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 27 import android.util.AtomicFile;
56 AtomicFile atomicFile = new AtomicFile(restrictionsFile);
58 UserManagerService.writeApplicationRestrictionsLP(bundle, atomicFile);
59 assertTrue(atomicFile.getBaseFile().exists());
62 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;
119 AtomicFile file = createFileForUser(user.id);
665 AtomicFile oldFile = new AtomicFile(new File(syncDir, mInterfaceName + ".xml"));
714 AtomicFile atomicFile = createFileForUser(userId);
717 fos = atomicFile.startWrite();
731 atomicFile.finishWrite(fos);
735 atomicFile.failWrite(fos);
757 private AtomicFile createFileForUser(int userId)
    [all...]

Completed in 114 milliseconds