Home
last modified time | relevance | path

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

1234567

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pProvDiscEvent.java70 if (tokens[0].endsWith("PBC-REQ")) event = PBC_REQ; in WifiP2pProvDiscEvent()
71 else if (tokens[0].endsWith("PBC-RESP")) event = PBC_RSP; in WifiP2pProvDiscEvent()
72 else if (tokens[0].endsWith("ENTER-PIN")) event = ENTER_PIN; in WifiP2pProvDiscEvent()
73 else if (tokens[0].endsWith("SHOW-PIN")) event = SHOW_PIN; in WifiP2pProvDiscEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationPrototypeController.java112 if (path.endsWith(GESTURE_MATCH_SETTING)) { in onChange()
117 } else if (path.endsWith(HIDE_BACK_BUTTON_SETTING)) { in onChange()
120 } else if (path.endsWith(HIDE_HOME_BUTTON_SETTING)) { in onChange()
122 } else if (path.endsWith(NAV_COLOR_ADAPT_ENABLE_SETTING)) { in onChange()
125 } else if (path.endsWith(SHOW_HOME_HANDLE_SETTING)) { in onChange()
127 } else if (path.endsWith(ENABLE_ASSISTANT_GESTURE)) { in onChange()
/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.java158 return (name.endsWith("Pointer") || name.endsWith("PointerOES")) in isPointerFunc()
820 (outName.endsWith("Pointer") || outName.endsWith("PointerOES") || in emitJniCode()
821 outName.endsWith("glDrawElements") || in emitJniCode()
822 outName.endsWith("glDrawRangeElements") || in emitJniCode()
823 outName.endsWith("glTexImage2D") || in emitJniCode()
824 outName.endsWith("glTexSubImage2D") || in emitJniCode()
825 outName.endsWith("glCompressedTexImage2D") || in emitJniCode()
826 outName.endsWith("glCompressedTexSubImage2D") || in emitJniCode()
827 outName.endsWith("glTexImage3D") || in emitJniCode()
828 outName.endsWith("glTexSubImage3D") || in emitJniCode()
[all …]
/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/android/test/
DClassPathPackageInfoSource.java86 if (className.endsWith(".R") || className.endsWith(".Manifest")) { in createPackageInfo()
121 if (entryName.endsWith(".apk")) { in findClasses()
140 if (source.getPath().endsWith(".apk")) { in scanForApkFiles()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java687 assertTrue(string.endsWith(ByteString.EMPTY)); in testEndsWith()
688 assertTrue(string.endsWith(string)); in testEndsWith()
689 assertTrue(string.endsWith(suffix)); in testEndsWith()
690 assertFalse(string.endsWith(prefix)); in testEndsWith()
691 assertFalse(suffix.endsWith(prefix)); in testEndsWith()
692 assertFalse(prefix.endsWith(suffix)); in testEndsWith()
693 assertFalse(ByteString.EMPTY.endsWith(suffix)); in testEndsWith()
694 assertTrue(ByteString.EMPTY.endsWith(ByteString.EMPTY)); in testEndsWith()
772 byteArrayCopier.getClass().getSimpleName().endsWith("ArraysByteArrayCopier")); in testByteArrayCopier()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DMessageLiteToString.java92 if (suffix.endsWith(LIST_SUFFIX) && !suffix.endsWith(BUILDER_LIST_SUFFIX)) { in reflectivePrintWithIndent()
112 if (suffix.endsWith(BYTES_SUFFIX) in reflectivePrintWithIndent()
/frameworks/base/core/java/android/nfc/cardemulation/
DCardEmulation.java744 if ((aid.endsWith("*") || aid.endsWith("#")) && ((aid.length() % 2) == 0)) { in isValidAid()
750 if ((!(aid.endsWith("*") || aid.endsWith("#"))) && ((aid.length() % 2) != 0)) { in isValidAid()
/frameworks/base/media/java/android/media/
DThumbnailUtils.java186 return (lower.endsWith(".jpg") || lower.endsWith(".png")); in createAudioThumbnail()
192 if (lower.startsWith("albumart") && lower.endsWith(".jpg")) return 3; in createAudioThumbnail()
193 if (lower.contains("albumart") && lower.endsWith(".jpg")) return 2; in createAudioThumbnail()
194 if (lower.endsWith(".jpg")) return 1; in createAudioThumbnail()
/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/layoutlib/bridge/src/android/graphics/
DFontFamily_Delegate.java187 if (!name.endsWith(".xml")) { in setFontLocation()
271 if (path.endsWith(EXTENSION_OTF) && e instanceof FontFormatException) { in loadFont()
433 if (path.endsWith(EXTENSION_OTF)) {
487 …return addFont(path, DEFAULT_FONT_WEIGHT, path.endsWith(FONT_SUFFIX_ITALIC) ? 1 : RESOLVE_BY_FONT_…
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java34 if (domain.endsWith(".")) in splitDomain()
91 int len = expect.endsWith("*") ? expect.length() - 1 : expect.length(); in getMccMnc()
326 else if (s.length() > 1 && s.startsWith("\"") && s.endsWith("\"")) { in unquote()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DModuleClassLoader.java38 myModuleRoot = moduleRoot + (moduleRoot.endsWith("/") ? "" : "/"); in ModuleClassLoader()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUISecondaryUserService.java54 if (name.endsWith(svc)) { in dump()
DSystemUIService.java83 if (name.endsWith(svc)) { in dump()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotPersister.java461 if (!fileName.endsWith(PROTO_EXTENSION) && !fileName.endsWith(BITMAP_EXTENSION)) { in getTaskId()
469 if (name.endsWith(REDUCED_POSTFIX)) { in getTaskId()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DJarUtil.java50 if (name.endsWith(".class")) { in createJar()
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
DMain.kt45 if (entry.name.endsWith(".class")) { in main()
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledLambdaImpl.java464 if (name.endsWith("Consumer")) return "consumer"; in getFuncTypeAsString()
465 if (name.endsWith("Function")) return "function"; in getFuncTypeAsString()
466 if (name.endsWith("Predicate")) return "predicate"; in getFuncTypeAsString()
467 if (name.endsWith("Supplier")) return "supplier"; in getFuncTypeAsString()
468 if (name.endsWith("Runnable")) return "runnable"; in getFuncTypeAsString()
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmGeneratorTest.java158 if (!entry.getKey().endsWith(".class")) continue; in testJavaClassRefactoring()
320 .filter(entry -> entry.getKey().endsWith(".class")) in findClassNames()
328 .filter(entry -> !entry.endsWith(".class")) in findFileNames()
/frameworks/base/core/java/android/util/jar/
DStrictJarVerifier.java299 if (key.endsWith(".DSA") || key.endsWith(".RSA") || key.endsWith(".EC")) { in readCertificates()
/frameworks/av/media/libstagefright/
DDataURISource.cpp40 if (tmp.endsWith(";base64")) { in Create()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DAString.h86 bool endsWith(const char *suffix) const;

1234567