Home
last modified time | relevance | path

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

1234

/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/tests/tests/keystore/src/android/keystore/cts/
DTestUtils.java668 if (transformation.endsWith("SHA1")) { in getKeyAlgorithm()
670 } else if (transformation.endsWith("SHA224")) { in getKeyAlgorithm()
672 } else if (transformation.endsWith("SHA256")) { in getKeyAlgorithm()
674 } else if (transformation.endsWith("SHA384")) { in getKeyAlgorithm()
676 } else if (transformation.endsWith("SHA512")) { in getKeyAlgorithm()
711 if (transformationUpperCase.endsWith("/OAEPPADDING")) { in getCipherDigest()
713 } else if (transformationUpperCase.endsWith( in getCipherDigest()
716 } else if (transformationUpperCase.endsWith( in getCipherDigest()
719 } else if (transformationUpperCase.endsWith( in getCipherDigest()
722 } else if (transformationUpperCase.endsWith( in getCipherDigest()
[all …]
/cts/hostsidetests/stagedinstall/src/com/android/tests/stagedinstall/host/
DStagedInstallTest.java21 import static org.hamcrest.CoreMatchers.endsWith;
164 assumeThat(getDevice().getBuildFlavor(), not(endsWith("-user"))); in testStagedInstallDowngrade_DowngradeRequested_DebugBuild()
173 assumeThat(getDevice().getBuildFlavor(), endsWith("-user")); in testStagedInstallDowngrade_DowngradeRequested_UserBuild()
248 assumeThat(getDevice().getBuildFlavor(), not(endsWith("-user"))); in testStagedInstallDowngradeApex_DowngradeRequested_DebugBuild()
261 assumeThat(getDevice().getBuildFlavor(), endsWith("-user")); in testStagedInstallDowngradeApex_DowngradeRequested_UserBuild_Fails()
274 assumeThat(getDevice().getBuildFlavor(), not(endsWith("-user"))); in testStagedInstallDowngradeApexToSystemVersion_DebugBuild()
491 assumeThat(getDevice().getBuildFlavor(), not(endsWith("-user"))); in testInstallApkChangingFingerprint()
/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/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/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/
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()
DJarTestFinder.java51 if (je.isDirectory() || !je.getName().endsWith(".class") in getClasses()
56 if (!className.endsWith("Test")) { in getClasses()
DCtsApiCoverage.java63 return fileName.endsWith(".apk") || fileName.endsWith(".jar");
405 if (testSource.getName().endsWith(".apk")) { in addCddCoverage()
407 } else if (testSource.getName().endsWith(".jar")) { in addCddCoverage()
487 if (!dexName.startsWith("L") || !dexName.endsWith(";")) {
DApiClass.java222 return parameter.endsWith("..."); in isVarArg()
253 return type.endsWith("[]"); in isArrayType()
DApiConstructor.java67 if (coveredWithModule.endsWith(".apk")) { in setCovered()
DTestCaseReport.java152 if (annotation.getType().endsWith(tag)) { in hasAnnotationSuffix()
182 if (classDef.getType().endsWith(TEST_TAG) || classDef.getType().endsWith(TESTS_TAG)) { in chkTestType()
308 || !je.getName().endsWith(".class") in getJarTestClasses()
/cts/hostsidetests/signedconfig/hostside/src/com/android/cts/signedconfig/
DSignedConfigHostTest.java20 import static org.hamcrest.Matchers.endsWith;
266 Assume.assumeThat(getDevice().getBuildFlavor(), not(endsWith("-user"))); in testDebugKeyValidOnDebugBuild()
275 Assume.assumeThat(getDevice().getBuildFlavor(), endsWith("-user")); in testDebugKeyNotValidOnUserBuild()
/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/tests/tests/provider/src/android/provider/cts/
DMediaStorePlacementTest.java82 assertTrue(before.getName().endsWith("jpg")); in testDefault()
134 assertTrue(before.getName().endsWith(".jpg")); in testDisplayName_DifferentMime()
143 assertTrue(after.getName().endsWith(".jpg")); in testDisplayName_DifferentMime()
/cts/suite/audio_quality/lib/include/
DStringUtil.h36 static bool endsWith(const android::String8& str, const char* other);
/cts/tests/signature/api-check/src/java/android/signature/cts/api/
DAbstractApiTest.java117 if (resourceName.endsWith(".zip")) { in readResource()
144 if (path.toString().endsWith(".zip")) { in flattenPaths()
/cts/tests/media/src/android/mediav2/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/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsDownloadFlowTest.java94 fileUri.getPath().endsWith(file2RelativePath)); in testFileInSubdirectoryDownloadFlow()
127 fileUri.getPath().endsWith(relativePath)); in testMultiFileDownloadFlow()
/cts/tests/tests/dynamic_linker/com/android/dynamiclinker/
DDynamicLinkerTest.java44 } else if (arch.endsWith("86")) { in testLoadLibInApkByFileName()
/cts/hostsidetests/incident/src/com/android/server/cts/
DBatteryStatsValidationTest.java241 screenAwake = line.trim().endsWith("ON"); in assertScreenOff()
263 screenAwake &= line.trim().endsWith("false"); in assertScreenOn()
265 screenAwake &= line.trim().endsWith("SCREEN_STATE_ON"); in assertScreenOn()

1234