Home
last modified time | relevance | path

Searched refs:endsWith (Results 1 – 25 of 103) sorted by relevance

12345

/cts/tools/release-parser/src/com/android/cts/releaseparser/
DFileParser.java66 } else if (fName.endsWith(APK_EXT_TAG)) { in getParser()
68 } else if (fName.endsWith(CONFIG_EXT_TAG)) { in getParser()
70 } else if (fName.endsWith(TEST_SUITE_TRADEFED_TAG)) { in getParser()
72 } else if (fName.endsWith(JAR_EXT_TAG)) { in getParser()
75 } else if (fName.endsWith(SO_EXT_TAG)) { in getParser()
77 } else if (fName.endsWith(ART_EXT_TAG)) { in getParser()
79 } else if (fName.endsWith(OAT_EXT_TAG)) { in getParser()
81 } else if (fName.endsWith(ODEX_EXT_TAG)) { in getParser()
83 } else if (fName.endsWith(VDEX_EXT_TAG)) { in getParser()
85 } else if (fName.endsWith(BUILD_PROP_EXT_TAG)) { in getParser()
[all …]
DZipParser.java145 if (name.endsWith(SO_EXT_TAG)) { in parseFileContent()
186 if (name.endsWith(SO_EXT_TAG) in appendToCodeID()
187 || name.endsWith(DEX_EXT_TAG) in appendToCodeID()
188 || name.endsWith(ANDROID_MANIFEST_TAG)) { in appendToCodeID()
DJarTestFinder.java48 || !je.getName().endsWith(".class") in getClasses()
53 if (!className.endsWith("Test")) { in getClasses()
/cts/tests/signature/lib/android/src/android/signature/cts/
DApiDocumentParser.java36 if (path.toString().endsWith(".txt")) { in getApiParser()
41 } else if (path.toString().endsWith(".api")) { in getApiParser()
43 } else if (path.toString().endsWith(".api.gz")) { in getApiParser()
/cts/hostsidetests/packagemanager/domainverification/apps/calling/src/com/android/cts/packagemanager/verify/domain/callingapp/
DDomainVerificationIntentHostTimedTests.kt64 ).endsWith("new state: disabled") in multipleVerifiedDisableByComponent()
73 ).endsWith("new state: disabled") in multipleVerifiedDisableByComponent()
89 ).endsWith("new state: disabled-user") in multipleVerifiedDisableByPackage()
97 ).endsWith("new state: disabled-user") in multipleVerifiedDisableByPackage()
/cts/suite/audio_quality/test/
DStringUtilTest.cpp49 ASSERT_TRUE(StringUtil::endsWith(str, "there")); in TEST_F()
50 ASSERT_TRUE(StringUtil::endsWith(str, "hello there")); in TEST_F()
51 ASSERT_TRUE(!StringUtil::endsWith(str, "not there")); in TEST_F()
/cts/tests/tests/keystore/src/android/keystore/cts/
DTestUtils.java725 if (transformation.endsWith("SHA1")) { in getKeyAlgorithm()
727 } else if (transformation.endsWith("SHA224")) { in getKeyAlgorithm()
729 } else if (transformation.endsWith("SHA256")) { in getKeyAlgorithm()
731 } else if (transformation.endsWith("SHA384")) { in getKeyAlgorithm()
733 } else if (transformation.endsWith("SHA512")) { in getKeyAlgorithm()
768 if (transformationUpperCase.endsWith("/OAEPPADDING")) { in getCipherDigest()
770 } else if (transformationUpperCase.endsWith( in getCipherDigest()
773 } else if (transformationUpperCase.endsWith( in getCipherDigest()
776 } else if (transformationUpperCase.endsWith( in getCipherDigest()
779 } else if (transformationUpperCase.endsWith( in getCipherDigest()
[all …]
/cts/tools/vm-tests-tf/build/src/util/build/
DD8BuildStep.java94 return name.endsWith(".jar") || name.endsWith(".class"); in isJarOrClassFile()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DJarTestFinder.java51 if (je.isDirectory() || !je.getName().endsWith(".class") in getClasses()
56 if (!className.endsWith("Test")) { in getClasses()
DTestSuiteContentReport.java127 if (file.getName().endsWith(CONFIG_EXT_TAG)) { in parseFileMetadata()
130 } else if (file.getName().endsWith(APK_EXT_TAG)) { in parseFileMetadata()
132 } else if (file.getName().endsWith(JAR_EXT_TAG)) { in parseFileMetadata()
134 } else if (file.getName().endsWith(SO_EXT_TAG)) { in parseFileMetadata()
191 if (entry.getName().endsWith(KNOWN_FAILURES_XML_FILE)) { in parseKnownFailures()
236 if (file.getName().endsWith(TEST_SUITE_HARNESS)) { in parseFolder()
/cts/suite/audio_quality/lib/include/
DStringUtil.h36 static bool endsWith(const android::String8& str, const char* other);
/cts/tools/cfassembler/src/dxconvext/
DClassFileAssembler.java67 if (!cfhF.getName().endsWith(".cfh") && in run()
68 !cfhF.getName().endsWith(".dfh")) { in run()
75 boolean isDex = cfhF.getName().endsWith(".dfh"); in run()
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/
DWriteExternalStorageTest.java252 if (path.getAbsolutePath().endsWith("/Android/data") in testSecondaryWalkingUpTreeReadWrite()
253 || path.getAbsolutePath().endsWith("/Android/obb")) { in testSecondaryWalkingUpTreeReadWrite()
345 if (path.getAbsolutePath().endsWith("/Android/data") in testSecondaryMountPoints()
346 || path.getAbsolutePath().endsWith("/Android/obb")) { in testSecondaryMountPoints()
349 if (path.getAbsolutePath().endsWith(packageName)) { in testSecondaryMountPoints()
/cts/hostsidetests/car/src/android/car/cts/
DOptionalFeatureHostTest.java21 import static org.hamcrest.CoreMatchers.endsWith;
174 assumeThat(getDevice().getBuildFlavor(), endsWith("-user")); in assumeUserBuild()
/cts/tests/video/src/android/video/cts/
DWorkDir.java41 return mediaDirString + ((mediaDirString.endsWith("/")) ? "" : "/"); in getMediaDirString()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DWorkDir.java46 return mediaDirString + ((mediaDirString.endsWith("/")) ? "" : "/"); in getMediaDirString()
/cts/tests/media/src/android/mediav2/cts/
DWorkDir.java41 return mediaDirString + ((mediaDirString.endsWith("/")) ? "" : "/"); in getMediaDirString()
/cts/tests/mediapc/src/android/mediapc/cts/
DWorkDir.java41 return mediaDirString + ((mediaDirString.endsWith("/")) ? "" : "/"); in getMediaDirString()
/cts/tools/cts-tradefed/tests/src/com/android/compatibility/common/tradefed/presubmit/
DValidateTestsAbi.java143 return name.endsWith(".apk"); in testApksAbis()
216 if (name.endsWith(suffixException)) { in testBinariesAbis()
253 assertTrue(subSet.get(i).endsWith(bitness)); in testBinariesAbis()
/cts/tests/tests/media/src/android/media/cts/
DWorkDir.java42 } else if (!mediaDirString.endsWith(File.separator)) { in getMediaDirString()
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DTestAppAppComponentFactory.java87 if (className.endsWith("DeviceAdminReceiver")) { in instantiateReceiver()
114 if (className.endsWith("AccountAuthenticatorService")) { in instantiateService()
/cts/tests/tests/dynamic_linker/com/android/dynamiclinker/
DDynamicLinkerTest.java44 } else if (arch.endsWith("86")) { in testLoadLibInApkByFileName()
/cts/suite/audio_quality/lib/src/audio/
DBuffer.cpp83 if (StringUtil::endsWith(filename, EXTENSION_S16_STEREO)) { in loadFromFile()
85 } else if (StringUtil::endsWith(filename, EXTENSION_S16_MONO)) { in loadFromFile()
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/
DStagedInstallTest.java23 import static org.hamcrest.CoreMatchers.endsWith;
219 assumeThat(getDevice().getBuildFlavor(), not(endsWith("-user"))); in testStagedInstallDowngrade_DowngradeRequested_DebugBuild()
228 assumeThat(getDevice().getBuildFlavor(), endsWith("-user")); in testStagedInstallDowngrade_DowngradeRequested_UserBuild()
318 assumeThat(getDevice().getBuildFlavor(), not(endsWith("-user"))); in testStagedInstallDowngradeApex_DowngradeRequested_DebugBuild()
331 assumeThat(getDevice().getBuildFlavor(), endsWith("-user")); in testStagedInstallDowngradeApex_DowngradeRequested_UserBuild_Fails()
345 assumeThat(getDevice().getBuildFlavor(), not(endsWith("-user"))); in testStagedInstallDowngradeApexToSystemVersion_DebugBuild()
945 if (s.startsWith(PREFIX) && s.endsWith(POSTFIX)) { in storeDefaultLauncher()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DWifiBuildCompat.java61 if (packageInfo.packageName.endsWith(WIFI_PACKAGE_NAME_SUFFIX)) { in getWifiApexVersionCode()

12345