Home
last modified time | relevance | path

Searched refs:isFileValid (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DLicenseActivity.java102 if (!isFileValid(file)) { in showSelectedFile()
139 return !TextUtils.isEmpty(path) && isFileValid(new File(path)); in isFilePathValid()
143 boolean isFileValid(final File file) { in isFileValid() method in LicenseActivity
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DThirdPartyLicensesActivity.java87 if (!isFileValid(file)) { in showSelectedFile()
143 return !TextUtils.isEmpty(path) && isFileValid(new File(path)); in isFilePathValid()
146 private boolean isFileValid(final File file) { in isFileValid() method in ThirdPartyLicensesActivity
/packages/apps/Settings/src/com/android/settings/
DSettingsLicenseActivity.java53 if (isFileValid(file)) { in onCreate()
124 boolean isFileValid(final File file) { in isFileValid() method in SettingsLicenseActivity
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsLicenseActivityTest.java68 doReturn(true).when(mActivity).isFileValid(any()); in testOnCreateWithValidHtmlFile()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/about/
DLicenseActivityTest.java70 doReturn(true).when(mActivity).isFileValid(any()); in testOnCreateWithValidHtmlFile()
/packages/services/Car/service/src/com/android/car/hal/fakevhal/
DFakeVhalConfigParser.java225 if (!isFileValid(customConfigFile)) { in parseJsonConfig()
886 private boolean isFileValid(File configFile) { in isFileValid() method in FakeVhalConfigParser