Home
last modified time | relevance | path

Searched refs:mPolicyFile (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java166 private AtomicFile mPolicyFile; field in SmsUsageMonitor
439 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()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java365 private final AtomicFile mPolicyFile; field in NetworkPolicyManagerService
410 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()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java288 private AtomicFile mPolicyFile; field in NotificationManagerService
370 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()