Home
last modified time | relevance | path

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

123456

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pProvDiscEvent.java64 if (tokens[0].endsWith("PBC-REQ")) event = PBC_REQ; in WifiP2pProvDiscEvent()
65 else if (tokens[0].endsWith("PBC-RESP")) event = PBC_RSP; in WifiP2pProvDiscEvent()
66 else if (tokens[0].endsWith("ENTER-PIN")) event = ENTER_PIN; in WifiP2pProvDiscEvent()
67 else if (tokens[0].endsWith("SHOW-PIN")) event = SHOW_PIN; in WifiP2pProvDiscEvent()
/frameworks/native/opengl/tools/glgen/src/
DParameterChecker.java48 (functionName.endsWith("fv") || in getChecks()
49 functionName.endsWith("xv") || in getChecks()
50 functionName.endsWith("iv"))) { in getChecks()
DJniCodeEmitter.java152 return (name.endsWith("Pointer") || name.endsWith("PointerOES")) in isPointerFunc()
801 (outName.endsWith("Pointer") || outName.endsWith("PointerOES") || in emitJniCode()
802 outName.endsWith("glDrawElements") || in emitJniCode()
803 outName.endsWith("glDrawRangeElements") || in emitJniCode()
804 outName.endsWith("glTexImage2D") || in emitJniCode()
805 outName.endsWith("glTexSubImage2D") || in emitJniCode()
806 outName.endsWith("glCompressedTexImage2D") || in emitJniCode()
807 outName.endsWith("glCompressedTexSubImage2D") || in emitJniCode()
808 outName.endsWith("glTexImage3D") || in emitJniCode()
809 outName.endsWith("glTexSubImage3D") || in emitJniCode()
[all …]
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java82 if (className.endsWith(".R") || className.endsWith(".Manifest")) { in createPackageInfo()
120 if (entryName.endsWith(".apk")) { in findClasses()
139 if (source.getPath().endsWith(".apk")) { in scanForApkFiles()
164 if (name.endsWith(CLASS_EXTENSION) && isToplevelClass(name)) { in findClassesInDirectory()
188 if (entryName.endsWith(CLASS_EXTENSION)) { in findClassesInJar()
256 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.java23 if (classFileName.endsWith(".class")) { in isTestClass()
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java154 if (!name.endsWith(".xml")) { in setFontLocation()
224 if (path.endsWith(EXTENSION_OTF) && e instanceof FontFormatException) { in loadFont()
354 if (path.endsWith(EXTENSION_OTF)) {
402 return addFont(path, DEFAULT_FONT_WEIGHT, path.endsWith(FONT_SUFFIX_ITALIC));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java31 if (domain.endsWith(".")) in splitDomain()
86 int len = expect.endsWith("*") ? expect.length() - 1 : expect.length(); in getMccMnc()
281 else if (s.length() > 1 && s.startsWith("\"") && s.endsWith("\"")) { in unquote()
/frameworks/base/packages/Osu/src/com/android/hotspot2/
DUtils.java27 if (domain.endsWith(".")) in splitDomain()
81 int len = expect.endsWith("*") ? expect.length() - 1 : expect.length(); in getMccMnc()
280 } else if (s.length() > 1 && s.startsWith("\"") && s.endsWith("\"")) { in unquote()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/configparse/
DMIMEContainer.java67 if (mContentType.endsWith("/mixed")) { in MIMEContainer()
275 if (line.endsWith("=")) { in getBody()
302 else if (line.length() == boundary.length() + 4 && line.endsWith("--") ) { in boundaryCheck()
/frameworks/base/tools/preload/
DPolicy.java87 && !clazz.name.endsWith("$NoPreloadHolder"); in isPreloadable()
/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/packages/SystemUI/src/com/android/systemui/
DSystemUIService.java51 if (name.endsWith(svc)) { in dump()
DSystemUISecondaryUserService.java54 if (name.endsWith(svc)) { in dump()
/frameworks/base/core/java/android/util/jar/
DStrictJarVerifier.java291 if (key.endsWith(".DSA") || key.endsWith(".RSA") || key.endsWith(".EC")) { in readCertificates()
/frameworks/base/cmds/wm/src/com/android/commands/wm/
DWm.java253 if (s.endsWith("px")) { in parseDimension()
256 if (s.endsWith("dp")) { in parseDimension()
/frameworks/base/core/java/android/provider/
DMediaStore.java1383 if (name.endsWith(", the") || name.endsWith(",the") || in keyFor()
1384 name.endsWith(", an") || name.endsWith(",an") || in keyFor()
1385 name.endsWith(", a") || name.endsWith(",a")) { in keyFor()
/frameworks/av/media/libstagefright/
DDataURISource.cpp41 if (tmp.endsWith(";base64")) { in Create()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DMimePredicate.java93 } else if (filter.endsWith("/*")) { in mimeMatches()
/frameworks/base/services/core/java/com/android/server/
DDropBoxManagerService.java590 if (name.endsWith(".gz")) { in EntryFile()
594 if (name.endsWith(".lost")) { in EntryFile()
597 } else if (name.endsWith(".txt")) { in EntryFile()
600 } else if (name.endsWith(".dat")) { in EntryFile()
652 if (file.getName().endsWith(".tmp")) { in init()
/frameworks/base/tools/preload2/src/com/android/preload/
DDeviceUtils.java228 while (ret.endsWith("\r") || ret.endsWith("\n")) { in toString()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java139 if (files.valueAt(i).getBaseFile().getPath().endsWith(CHECKED_IN_SUFFIX)) { in checkinDailyFiles()
188 return !name.endsWith(BAK_SUFFIX); in indexFilesLocked()
317 if (file.getBaseFile().getName().endsWith(CHECKED_IN_SUFFIX)) { in onTimeChanged()
516 if (path.endsWith(BAK_SUFFIX)) { in pruneFilesOlderThan()

123456