Searched refs:exists (Results 1 - 25 of 120) sorted by relevance

12345

/packages/apps/OMA-DM/engine/dmlib/tool-src/dmt_gen_tool/com/mot/dm/io/
H A DNode.java36 public boolean exists(); method in interface:Node
H A DFNode.java93 * exists
95 public boolean exists() { method in class:FNode
96 return file.exists();
/packages/apps/OMA-DM/engine/dmlib/portlib/lj/hdr/
H A DdmAllocatedPointersPool.h64 bool exists(void* ptr);
95 inline bool DMAllocatedPointersPool::exists(void* ptr) function in class:DMAllocatedPointersPool
/packages/apps/OMA-DM/engine/xpl/hdr/
H A DdmAllocatedPointersPool.h55 bool exists(void* ptr);
86 inline bool DMAllocatedPointersPool::exists(void* ptr) function in class:DMAllocatedPointersPool
/packages/apps/UnifiedEmail/src/org/apache/commons/io/
H A DFileDeleteStrategy.java73 if (fileToDelete == null || fileToDelete.exists() == false) {
94 if (fileToDelete.exists() && doDelete(fileToDelete) == false) {
110 * @param fileToDelete the file to delete, exists, not null
143 * if the file exists.
H A DFileUtils.java121 * An exception is thrown if the file object exists but is a directory.
122 * An exception is thrown if the file exists but cannot be read.
132 if (file.exists()) {
134 throw new IOException("File '" + file + "' exists but is a directory");
155 * An exception is thrown if the file object exists but is a directory.
156 * An exception is thrown if the file exists but cannot be written to.
167 if (file.exists()) {
169 throw new IOException("File '" + file + "' exists but is a directory");
176 if (parent != null && parent.exists() == false) {
211 * a new file with size 0 or, if the file exists alread
[all...]
/packages/apps/OMA-DM/engine/dmlib/tool-src/dmt_gen_tool/com/mot/dm/tool/
H A DDMTS.java22 if (!f.exists()) {
23 throw new Exception("File doesn't exists: " + pathFrom);
26 if (f.exists()) {
56 if (f.exists()) {
74 if (f.exists()) {
83 if (!dmts.exists()) {
96 if (!output.exists() && !output.mkdirs()) {
150 if (dmts.exists() && !dmts.canWrite()) {
163 if (!top.exists()) {
171 if (dmts.exists()
[all...]
H A DZip.java14 if (!input.exists()) {
25 if (!output.exists()) {
27 if (parentDir != null && !parentDir.exists()) {
77 if (!newFile.exists()) {
83 if (parent != null && !parent.exists()) {
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/
H A DSizeFileComparator.java111 size1 = sumDirectoryContents && file1.exists() ? FileUtils.sizeOfDirectory(file1) : 0;
117 size2 = sumDirectoryContents && file2.exists() ? FileUtils.sizeOfDirectory(file2) : 0;
/packages/apps/Camera2/src/com/android/camera/util/
H A DFileUtil.java35 if (!directory.exists() || !directory.isDirectory()) {
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
H A DSimpleTempStorage.java67 } while (p.exists() && count > 0);
69 if (p.exists() || !p.mkdirs()) {
96 } while (f.exists() && count > 0);
98 if (f.exists()) {
/packages/apps/Email/src/com/android/email/mail/store/imap/
H A DImapTempFileLiteral.java105 if (!isDestroyed() && mFile.exists()) {
121 return mFile.exists();
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/
H A DDataExporter.java105 if (!directory.exists()) {
115 return getOutputDirectory(context).exists();
123 if (!file.exists()) return;
/packages/services/Telephony/src/com/android/phone/
H A DCallTime.java199 if (file.exists() == false) {
207 if (file.exists() == true) {
212 if (file.exists() == true) {
/packages/apps/Email/src/com/android/email/service/
H A DImapTempFileLiteral.java108 if (!isDestroyed() && mFile.exists()) {
124 return mFile.exists();
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DCursorAnchorInfoCompatWrapper.java88 return sCursorAnchorInfoClass.exists() && mInstance != null;
99 if (!sCursorAnchorInfoClass.exists()) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
H A DBinaryDictionaryUtilsTests.java83 assertFalse(dictFile0.exists());
84 assertTrue(dictFile1.exists());
/packages/apps/Camera2/src/com/android/camera/one/
H A DAbstractOneCamera.java74 if (!root.exists() || !root.isDirectory()) {
/packages/apps/Camera2/src/com/android/camera/session/
H A DSessionStorageManagerImpl.java66 if (!sessionDirectory.exists() && !sessionDirectory.mkdirs()) {
/packages/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/
H A DListener.java117 boolean exists = mRankingMap.getRanking(delta.mSbn.getKey(), mTmpRanking);
118 if (!exists) {
136 boolean exists = mRankingMap.getRanking(delta.mSbn.getKey(), mTmpRanking);
137 if (exists) {
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarUpgradeReceiver.java68 if (context.getDatabasePath(helper.getDatabaseName()).exists()) {
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/
H A DLockableFileWriter.java64 * If the file exists, it is overwritten.
101 * If the file exists, it is overwritten.
195 if (!lockDir.exists()) {
214 lockFile.getAbsolutePath() + " exists");
231 boolean fileExistedAlready = file.exists();
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
H A DSipProfileDb.java73 if (!f.exists()) f.mkdirs();
112 if (!f.exists()) continue;
/packages/apps/Email/emailcommon/src/com/android/emailcommon/
H A DDevice.java57 if (f.exists()) {
72 LogUtils.w(Logging.LOG_TAG, f.getAbsolutePath() + ": File exists, but can't read?" +
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
H A DMockFolder.java54 public boolean exists() { method in class:MockFolder

Completed in 643 milliseconds

12345