/frameworks/base/core/java/com/android/internal/util/ |
H A D | JournaledFile.java | 49 if (mReal.exists()) { 51 if (mTemp.exists()) { 54 } else if (mTemp.exists()) { 75 if (!mReal.exists()) { 88 if (mTemp.exists()) {
|
/frameworks/base/core/java/android/view/ |
H A D | IDockedStackListener.aidl | 35 void onDockedStackExistsChanged(boolean exists);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
H A D | OwnersTest.java | 51 assertFalse(owners.getLegacyConfigFileWithTestOverride().exists()); 54 assertFalse(owners.getDeviceOwnerFileWithTestOverride().exists()); 56 assertFalse(owners.getProfileOwnerFileWithTestOverride(10).exists()); 57 assertFalse(owners.getProfileOwnerFileWithTestOverride(11).exists()); 58 assertFalse(owners.getProfileOwnerFileWithTestOverride(20).exists()); 59 assertFalse(owners.getProfileOwnerFileWithTestOverride(21).exists()); 104 assertFalse(owners.getLegacyConfigFileWithTestOverride().exists()); 106 assertTrue(owners.getDeviceOwnerFileWithTestOverride().exists()); // TODO Check content 108 assertFalse(owners.getProfileOwnerFileWithTestOverride(10).exists()); 109 assertFalse(owners.getProfileOwnerFileWithTestOverride(11).exists()); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DockedStackExistsListener.java | 28 * Utility wrapper to listen for whether or not a docked stack exists, to be 48 public void onDockedStackExistsChanged(boolean exists) 50 DockedStackExistsListener.onDockedStackExistsChanged(exists); 71 Log.e(TAG, "Failed registering docked stack exists listener", e); 76 private static void onDockedStackExistsChanged(boolean exists) { argument 77 mLastExists = exists; 81 if (l != null) l.accept(exists);
|
/frameworks/native/opengl/libs/tools/ |
H A D | glenumsgen | 30 next if exists($enumHash { $enumValue });
|
/frameworks/native/cmds/installd/tests/ |
H A D | installd_cache_test.cpp | 84 static int exists(const char* path) { function in namespace:android::installd 145 EXPECT_EQ(0, exists("com.example/normal")); 146 EXPECT_EQ(0, exists("com.example/cache/foo/one")); 147 EXPECT_EQ(0, exists("com.example/cache/foo/two")); 152 EXPECT_EQ(0, exists("com.example/normal")); 153 EXPECT_EQ(-1, exists("com.example/cache/foo/one")); 154 EXPECT_EQ(-1, exists("com.example/cache/foo/two")); 169 EXPECT_EQ(-1, exists("com.example/cache/foo/one")); 170 EXPECT_EQ(0, exists("com.example/cache/foo/two")); 175 EXPECT_EQ(-1, exists("co [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
H A D | DatabaseErrorHandlerTest.java | 43 if (mDatabaseFile.exists()) { 61 assertTrue(mDatabaseFile.exists()); 71 assertTrue(mDatabaseFile.exists()); 84 if (mDatabaseFile.exists()) { 91 assertFalse(mDatabaseFile.exists());
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | AtomicFile.java | 34 * As long as the backup file exists, the original file is considered 58 if (mBaseName.exists()) { 59 if (!mBackupName.exists()) { 133 public boolean exists() { method in class:AtomicFile 134 return mBaseName.exists() || mBackupName.exists(); 143 if (mBackupName.exists()) {
|
/frameworks/compile/mclinker/unittests/ |
H A D | PathTest.cpp | 44 EXPECT_TRUE(exists(*m_pTestee)); 48 EXPECT_TRUE(exists(*m_pTestee)); 54 EXPECT_FALSE(exists(*m_pTestee)); 58 EXPECT_FALSE(exists(*m_pTestee)); 64 EXPECT_TRUE(exists(*m_pTestee)); 68 EXPECT_TRUE(exists(*m_pTestee)); 75 EXPECT_FALSE(exists(*m_pTestee)); 79 EXPECT_FALSE(exists(*m_pTestee));
|
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests/src/com/android/framework/multidexlegacytestservices/test/ |
H A D | ServicesTests.java | 43 resultFile.exists()); 47 "'.", completeFile.exists()); 82 if (!completeFile.exists()) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | TaskSnapshotPersisterLoaderTest.java | 62 assertTrueForFiles(files, File::exists, " must exist"); 81 assertFalse(new File(sFilesDir.getPath() + "/snapshots/1.proto").exists()); 82 assertFalse(new File(sFilesDir.getPath() + "/snapshots/1.jpg").exists()); 83 assertFalse(new File(sFilesDir.getPath() + "/snapshots/1_reduced.jpg").exists()); 126 assertTrueForFiles(existsFiles, File::exists, " must exist"); 127 assertTrueForFiles(nonExistsFiles, file -> !file.exists(), " must not exist"); 154 assertTrueForFiles(files, File::exists, " must exist"); 155 assertTrueForFiles(nonExistsFiles, file -> !file.exists(), " must not exist"); 182 assertTrueForFiles(existsFiles, File::exists, " must exist"); 183 assertTrueForFiles(nonExistsFiles, file -> !file.exists(), " mus [all...] |
/frameworks/base/core/java/android/util/ |
H A D | AtomicFile.java | 38 * As long as the backup file exists, the original file is considered 92 if (mBaseName.exists()) { 93 if (!mBackupName.exists()) { 197 if (mBackupName.exists()) { 206 * Checks if the original or backup file exists. 207 * @return whether the original or backup file exists. 209 public boolean exists() { method in class:AtomicFile 210 return mBaseName.exists() || mBackupName.exists(); 221 if (mBackupName.exists()) { [all...] |
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/ |
H A D | PatchedGradleManifestFactory.java | 33 * The change is that in the .exists() checks below we check for specific folders for the build 58 if (FileFsFile.from(buildOutputDir, "data-binding-layout-out", flavor, type).exists()) { 62 } else if (FileFsFile.from(buildOutputDir, "res", "merged", flavor, type).exists()) { 65 } else if (FileFsFile.from(buildOutputDir, "res", flavor, type).exists()) { 71 if (FileFsFile.from(buildOutputDir, "assets", flavor, type).exists()) { 82 manifestName).exists()) { 86 manifestName).exists()) {
|
/frameworks/base/core/java/android/content/res/ |
H A D | ObbScanner.java | 44 if (!obbFile.exists()) {
|
/frameworks/base/core/java/android/security/net/config/ |
H A D | SystemCertificateSource.java | 46 return new File(mUserRemovedCaDir, caFile).exists();
|
/frameworks/compile/mclinker/lib/Support/ |
H A D | FileSystem.cpp | 16 bool mcld::sys::fs::exists(const Path& pPath) { function in class:mcld::sys::fs
|
/frameworks/rs/tests/lldb/tests/harness/ |
H A D | util_functions.py | 36 if not os.path.exists(path):
|
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/ |
H A D | build-local.py | 12 if os.path.exists(inputFile): 26 if not os.path.exists(leanback_maven_metadata_path):
|
H A D | build-release.py | 12 if os.path.exists(inputFile):
|
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/ |
H A D | DrawableUtils.java | 40 if (!folder.exists()) { 57 if (!outputFile.exists()) {
|
/frameworks/support/samples/SupportLeanbackShowcase/ |
H A D | build-local.py | 12 if os.path.exists(inputFile): 26 if not os.path.exists(leanback_maven_metadata_path):
|
/frameworks/base/keystore/java/android/security/ |
H A D | SystemKeyStore.java | 73 // Check if key with similar name exists. If so, return null. 75 if (keyFile.exists()) { 118 if (!keyFile.exists()) { 128 if (!keyFile.exists()) {
|
/frameworks/support/compat/java/android/support/v4/util/ |
H A D | AtomicFile.java | 34 * As long as the backup file exists, the original file is considered 88 if (mBaseName.exists()) { 89 if (!mBackupName.exists()) { 164 if (mBackupName.exists()) {
|
/frameworks/compile/mclinker/include/mcld/MC/ |
H A D | AttributeSet.h | 44 // exists- return the recorded attribute whose content is identical to the 46 Attribute* exists(const Attribute& pAttr) const;
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | AttributeSet.cpp | 35 Attribute* AttributeSet::exists(const Attribute& pAttr) const { function in class:mcld::AttributeSet
|