Home
last modified time | relevance | path

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

123

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pProvDiscEvent.java68 if (tokens[0].endsWith("PBC-REQ")) event = PBC_REQ; in WifiP2pProvDiscEvent()
69 else if (tokens[0].endsWith("PBC-RESP")) event = PBC_RSP; in WifiP2pProvDiscEvent()
70 else if (tokens[0].endsWith("ENTER-PIN")) event = ENTER_PIN; in WifiP2pProvDiscEvent()
71 else if (tokens[0].endsWith("SHOW-PIN")) event = SHOW_PIN; in WifiP2pProvDiscEvent()
/frameworks/native/opengl/tools/glgen/src/
DParameterChecker.java35 (functionName.endsWith("fv") || in getChecks()
36 functionName.endsWith("xv") || in getChecks()
37 functionName.endsWith("iv"))) { in getChecks()
DJniCodeEmitter.java140 return (name.endsWith("Pointer") || name.endsWith("PointerOES")) in isPointerFunc()
675 boolean isVBOPointerFunc = (outName.endsWith("Pointer") || in emitJniCode()
676 outName.endsWith("PointerOES") || in emitJniCode()
677 outName.endsWith("DrawElements") || outName.endsWith("VertexAttribPointer")) && in emitJniCode()
886 (decl.endsWith("*") ? "" : " ") + in emitJniCode()
896 (decl.endsWith("*") ? "" : " ") + in emitJniCode()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java81 if (className.endsWith(".R") || className.endsWith(".Manifest")) { in createPackageInfo()
119 if (entryName.endsWith(".apk")) { in findClasses()
138 if (source.getPath().endsWith(".apk")) { in scanForApkFiles()
163 if (name.endsWith(CLASS_EXTENSION) && isToplevelClass(name)) { in findClassesInDirectory()
187 if (entryName.endsWith(CLASS_EXTENSION)) { in findClassesInJar()
255 if (entryName.endsWith(CLASS_EXTENSION)) { in getJarEntries()
/frameworks/base/test-runner/tests/src/android/test/
DTestCaseUtilTest.java33 assertTrue(testCaseNames.get(0).endsWith("OneTestTestCase")); in testGetTestCaseNamesForTestSuiteWithSuiteMethod()
34 assertTrue(testCaseNames.get(1).endsWith("OneTestTestSuite")); in testGetTestCaseNamesForTestSuiteWithSuiteMethod()
43 assertTrue(testCaseNames.get(0).endsWith("testOne")); in testGetTestCaseNamesForTestCaseWithSuiteMethod()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaMetadataRetrieverTest.java43 if ((MediaNames.ALBUMART_TEST_FILES[i].endsWith(".wma") && !supportWMA) || in testGetEmbeddedPicture()
44 (MediaNames.ALBUMART_TEST_FILES[i].endsWith(".wmv") && !supportWMV) in testGetEmbeddedPicture()
82 if ((MediaNames.THUMBNAIL_METADATA_TEST_FILES[i].endsWith(".wma") && !supportWMA) || in testThumbnailCapture()
83 (MediaNames.THUMBNAIL_METADATA_TEST_FILES[i].endsWith(".wmv") && !supportWMV) in testThumbnailCapture()
121 if ((MediaNames.THUMBNAIL_METADATA_TEST_FILES[i].endsWith(".wma") && !supportWMA) || in testMetadataRetrieval()
122 (MediaNames.THUMBNAIL_METADATA_TEST_FILES[i].endsWith(".wmv") && !supportWMV) in testMetadataRetrieval()
/frameworks/base/test-runner/src/junit/runner/
DTestCaseClassLoader.java127 return pathEntry.endsWith(".jar") || in isJar()
128 pathEntry.endsWith(".apk") || in isJar()
129 pathEntry.endsWith(".zip"); in isJar()
218 if (path.endsWith("*")) in readExcludedPackages()
DSimpleTestCollector.java17 classFileName.endsWith(".class") && in isTestClass()
DLoadingTestCollector.java24 if (classFileName.endsWith(".class")) { in isTestClass()
DClassPathTestCollector.java68 classFileName.endsWith(".class") && in isTestClass()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DFsUtils.java87 if ((s.toLowerCase().endsWith(".html") in writeLayoutTestListRecursively()
88 || s.toLowerCase().endsWith(".xml") in writeLayoutTestListRecursively()
89 || s.toLowerCase().endsWith(".xhtml")) in writeLayoutTestListRecursively()
90 && !s.endsWith("TEMPLATE.html")) { in writeLayoutTestListRecursively()
DFileFilter.java31 if (file.endsWith(ignoreTestList[i])) { in ignoreTest()
43 if (file.endsWith(nonTestDirs[i])) { in isNonTestDir()
53 if (file.endsWith(ignoreResultList.get(i))) { in ignoreResult()
DMenu.java46 if (f.getPath().toLowerCase().endsWith("ml")) in fileFilter()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DFontLoader.java266 if (fileName.endsWith(FONT_SUFFIX_REGULAR)) { in endElement()
268 } else if (fileName.endsWith(FONT_SUFFIX_BOLD)) { in endElement()
270 } else if (fileName.endsWith(FONT_SUFFIX_ITALIC)) { in endElement()
272 } else if (fileName.endsWith(FONT_SUFFIX_BOLDITALIC)) { in endElement()
274 } else if (fileName.endsWith(FONT_SUFFIX_NONE)) { in endElement()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
DFileFilter.java256 return testName.endsWith(".html") in isTestFile()
257 || testName.endsWith(".xhtml") in isTestFile()
258 || testName.endsWith(".php"); in isTestFile()
DVisualDiffUtils.java88 if (diff.text.endsWith("\n") || isLastDiff) { in generateExpectedResultLines()
129 if (diff.text.endsWith("\n") || isLastDiff) { in generateActualResultLines()
164 if (diff.text.endsWith("\n") || forceOutputLine) { in processDiff()
/frameworks/base/media/java/android/media/videoeditor/
DMediaImageItem.java207 if (mFilename.endsWith(".jpg") || mFilename.endsWith(".jpeg") in getFileType()
208 || mFilename.endsWith(".JPG") || mFilename.endsWith(".JPEG")) { in getFileType()
210 } else if (mFilename.endsWith(".png") || mFilename.endsWith(".PNG")) { in getFileType()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DMediaMetadataTest.java67 if ((meta_data_file[fileIndex][0].endsWith("wma") && !MediaProfileReader.getWMAEnable()) || in validateMetatData()
68 (meta_data_file[fileIndex][0].endsWith("wmv") && !MediaProfileReader.getWMVEnable())) { in validateMetatData()
/frameworks/base/core/java/android/provider/
DMediaStore.java1227 if (name.endsWith(", the") || name.endsWith(",the") || in keyFor()
1228 name.endsWith(", an") || name.endsWith(",an") || in keyFor()
1229 name.endsWith(", a") || name.endsWith(",a")) { in keyFor()
/frameworks/av/include/media/stagefright/foundation/
DAString.h76 bool endsWith(const char *suffix) const;
/frameworks/base/services/java/com/android/server/
DDropBoxManagerService.java537 if (name.endsWith(".gz")) { in EntryFile()
541 if (name.endsWith(".lost")) { in EntryFile()
544 } else if (name.endsWith(".txt")) { in EntryFile()
547 } else if (name.endsWith(".dat")) { in EntryFile()
599 if (file.getName().endsWith(".tmp")) { in init()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DFileSelector.java46 return file.getName().endsWith(".dae"); in accept()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DA3DSelector.java46 return file.getName().endsWith(".a3d"); in accept()
/frameworks/base/tools/preload/
DRecord.java161 if (!typeName.startsWith("L") || !typeName.endsWith(";") ) { in vmTypeToLanguage()
/frameworks/base/core/java/android/webkit/
DURLUtil.java63 if (inUrl.endsWith(".") == true) { in guessUrl()
326 if (!decodedUrl.endsWith("/")) { in guessFileName()

123