Home
last modified time | relevance | path

Searched refs:canWrite (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Dialer/src/com/android/dialer/compat/
DSettingsCompat.java39 public static boolean canWrite(Context context) { in canWrite() method in SettingsCompat.System
41 return Settings.System.canWrite(context); in canWrite()
/packages/apps/Dialer/src/com/android/dialer/settings/
DSoundSettingsFragment.java132 if (!SettingsCompat.System.canWrite(getContext())) { in onResume()
155 if (!SettingsCompat.System.canWrite(getContext())) { in onPreferenceChange()
181 if (!SettingsCompat.System.canWrite(getContext())) { in onPreferenceTreeClick()
DDefaultRingtonePreference.java51 if (!SettingsCompat.System.canWrite(getContext())) { in onSaveRingtone()
DDialerSettingsActivity.java136 if (!SettingsCompat.System.canWrite(this)) { in onHeaderClick()
/packages/apps/Settings/src/com/android/settings/applications/
DWriteSettingsDetails.java140 boolean canWrite = mWriteSettingsState.isPermissible(); in refreshUi()
141 mSwitchPref.setChecked(canWrite); in refreshUi()
144 mWriteSettingsPrefs.setEnabled(canWrite); in refreshUi()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
DCanWriteFileFilter.java77 return file.canWrite(); in accept()
/packages/apps/Camera2/src/com/android/camera/session/
DSessionStorageManagerImpl.java109 if (!tempFile.canWrite()) { in createTemporaryOutputPath()
/packages/apps/LegacyCamera/src/com/android/camera/
DStorage.java117 if (!dir.isDirectory() || !dir.canWrite()) { in getAvailableSpace()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java171 if (file.canWrite() == false) { in openOutputStream()
653 if (destFile.exists() && destFile.canWrite() == false) { in copyFile()
919 if (destDir.canWrite() == false) { in doCopyDirectory()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
DLockableFileWriter.java199 if (!lockDir.canWrite()) { in testLockDir()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DSaveVideoFileUtils.java43 if ((dstFileInfo.mDirectory == null) || !dstFileInfo.mDirectory.canWrite()) { in getDstMp4FileInfo()
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DRecorder.java151 if (!sampleDir.canWrite()) // Workaround for broken sdcard support on the device. in startRecording()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java504 if (!dir.isDirectory() || !dir.canWrite()) { in getAvailableSpace()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java149 if ((saveDirectory == null) || !saveDirectory.canWrite()) { in getFinalSaveDirectory()