Searched refs:mPolicyFile (Results 1 – 3 of 3) sorted by relevance
166 private AtomicFile mPolicyFile; field in SmsUsageMonitor439 if (mPolicyFile == null) { in loadPremiumSmsPolicyDb()441 mPolicyFile = new AtomicFile(new File(dir, SMS_POLICY_FILE_NAME)); in loadPremiumSmsPolicyDb()447 infile = mPolicyFile.openRead(); in loadPremiumSmsPolicyDb()503 outfile = mPolicyFile.startWrite(); in writePremiumSmsPolicyDb()522 mPolicyFile.finishWrite(outfile); in writePremiumSmsPolicyDb()526 mPolicyFile.failWrite(outfile); in writePremiumSmsPolicyDb()
365 private final AtomicFile mPolicyFile; field in NetworkPolicyManagerService410 mPolicyFile = new AtomicFile(new File(systemDir, "netpolicy.xml")); in NetworkPolicyManagerService()1409 fis = mPolicyFile.openRead(); in readPolicyLocked()1567 fos = mPolicyFile.startWrite(); in writePolicyLocked()1645 mPolicyFile.finishWrite(fos); in writePolicyLocked()1648 mPolicyFile.failWrite(fos); in writePolicyLocked()
288 private AtomicFile mPolicyFile; field in NotificationManagerService370 synchronized(mPolicyFile) { in loadPolicyFile()374 infile = mPolicyFile.openRead(); in loadPolicyFile()397 synchronized (mPolicyFile) { in handleSavePolicyFile()400 stream = mPolicyFile.startWrite(); in handleSavePolicyFile()408 mPolicyFile.finishWrite(stream); in handleSavePolicyFile()411 mPolicyFile.failWrite(stream); in handleSavePolicyFile()963 mPolicyFile = new AtomicFile(new File(systemDir, "notification_policy.xml")); in onStart()