/aosp12/frameworks/base/tools/codegen/src/com/android/codegen/ |
H A D | Printer.kt | 143 endsWith("(") -> { 147 endsWith("{") || endsWith(")") -> { 148 if (!endsWith("{")) appendSameLine(" {") 151 if ((endsWith(") {") || endsWith(")") || this == " {")
|
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/configui/ |
H A D | ConfigOverrideFragment.java | 115 if (configKey.endsWith("bool")) { in loadCurrentConfig() 117 } else if (configKey.endsWith("int")) { in loadCurrentConfig() 119 } else if (configKey.endsWith("string")) { in loadCurrentConfig() 121 } else if (configKey.endsWith("string_array")) { in loadCurrentConfig() 147 if (configKey.endsWith("bool")) { in getConfig() 149 } else if (configKey.endsWith("int")) { in getConfig() 151 } else if (configKey.endsWith("string")) { in getConfig() 153 } else if (configKey.endsWith("string_array")) { in getConfig()
|
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/p2p/ |
H A D | WifiP2pProvDiscEvent.java | 70 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()
|
/aosp12/frameworks/native/opengl/tools/glgen/src/ |
H A D | ParameterChecker.java | 48 (functionName.endsWith("fv") || in getChecks() 49 functionName.endsWith("xv") || in getChecks() 50 functionName.endsWith("iv"))) { in getChecks()
|
H A D | JniCodeEmitter.java | 159 return (name.endsWith("Pointer") || name.endsWith("PointerOES")) in isPointerFunc() 848 (outName.endsWith("Pointer") || outName.endsWith("PointerOES") || in emitJniCode() 849 outName.endsWith("glDrawElements") || in emitJniCode() 850 outName.endsWith("glDrawRangeElements") || in emitJniCode() 851 outName.endsWith("glTexImage2D") || in emitJniCode() 852 outName.endsWith("glTexSubImage2D") || in emitJniCode() 853 outName.endsWith("glCompressedTexImage2D") || in emitJniCode() 855 outName.endsWith("glTexImage3D") || in emitJniCode() 856 outName.endsWith("glTexSubImage3D") || in emitJniCode() 857 outName.endsWith("glCompressedTexImage3D") || in emitJniCode() [all …]
|
/aosp12/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
H A D | MediaMetadataRetrieverTest.java | 43 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()
|
/aosp12/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
H A D | CommandOptions.kt | 80 if (!name.endsWith(".jar")) { 87 if (!name.endsWith(".srcjar")) { 94 if (!name.endsWith(".json")) { 105 if (!name.endsWith(".java")) {
|
/aosp12/frameworks/base/core/tests/coretests/src/com/android/internal/content/res/ |
H A D | OverlayConfigTest.java | 403 assertTrue(i0.overlayPaths.get(0).endsWith("/vendor/overlay/one.apk")); in testIdmapInvocationsFrameworkImmutable() 404 assertTrue(i0.overlayPaths.get(1).endsWith("/vendor/overlay/two.apk")); in testIdmapInvocationsFrameworkImmutable() 410 assertTrue(i1.overlayPaths.get(0).endsWith("/product/overlay/four.apk")); in testIdmapInvocationsFrameworkImmutable() 439 assertTrue(i0.overlayPaths.get(0).endsWith("/product/overlay/one.apk")); in testIdmapInvocationsDifferentTargetSdk() 440 assertTrue(i0.overlayPaths.get(1).endsWith("/product/overlay/two.apk")); in testIdmapInvocationsDifferentTargetSdk() 445 assertTrue(i1.overlayPaths.get(0).endsWith("/product/overlay/three.apk")); in testIdmapInvocationsDifferentTargetSdk() 450 assertTrue(i2.overlayPaths.get(0).endsWith("/product/overlay/four.apk")); in testIdmapInvocationsDifferentTargetSdk()
|
/aosp12/frameworks/base/test-runner/src/android/test/ |
H A D | ClassPathPackageInfoSource.java | 86 if (className.endsWith(".R") || className.endsWith(".Manifest")) { in createPackageInfo() 121 if (entryName.endsWith(".apk")) { in findClasses() 140 if (source.getPath().endsWith(".apk")) { in scanForApkFiles()
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
H A D | PreferenceXmlParser.java | 105 if (!SUPPORTED_PREF_TYPES.contains(nodeName) && !nodeName.endsWith(PREF_TAG_ENDS_WITH) in extractMetadata() 106 && !nodeName.endsWith(PREF_GROUP_TAG_ENDS_WITH) in extractMetadata() 107 && !nodeName.endsWith(PREF_CATEGORY_TAG_ENDS_WITH)) { in extractMetadata()
|
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
H A D | UiBot.java | 35 import static org.hamcrest.Matchers.endsWith; 80 withClassName(endsWith("ActionBarContextView"))); 84 withClassName(endsWith("EditText"))); 88 withClassName(endsWith("OverflowMenuButton")), 93 withClassName(endsWith("OverflowMenuButton")),
|
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/view/ |
H A D | CutoutSpecificationBenchmark.java | 89 if (spec.endsWith(RIGHT_MARKER)) { in oldMethodParsingSpec() 92 } else if (spec.endsWith(LEFT_MARKER)) { in oldMethodParsingSpec() 98 final boolean inDp = spec.endsWith(DP_MARKER); in oldMethodParsingSpec()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/core/codeinspection/ |
H A D | CodeInspector.java | 67 if (!packageName.contains(PACKAGE_NAME + ".") && !packageName.endsWith(PACKAGE_NAME)) { in isConcreteSettingsClass() 72 if (className.endsWith(TEST_CLASS_SUFFIX)) { in isConcreteSettingsClass()
|
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/core/codeinspection/ |
H A D | CodeInspector.java | 67 if (!packageName.contains(PACKAGE_NAME + ".") && !packageName.endsWith(PACKAGE_NAME)) { in isConcreteSettingsClass() 72 if (className.endsWith(TEST_CLASS_SUFFIX)) { in isConcreteSettingsClass()
|
/aosp12/packages/apps/Camera2/src/com/android/camera/util/ |
H A D | XmpUtil.java | 85 if (!filename.toLowerCase().endsWith(".jpg") in extractXMPMeta() 86 && !filename.toLowerCase().endsWith(".jpeg")) { in extractXMPMeta() 148 if (!filename.toLowerCase().endsWith(".jpg") in writeXMPMeta() 149 && !filename.toLowerCase().endsWith(".jpeg")) { in writeXMPMeta()
|
/aosp12/packages/apps/Car/Calendar/tests/unit/src/com/android/car/calendar/common/ |
H A D | CalendarFormatterTest.java | 54 assertThat(dateText).endsWith("Tue, Dec 10"); in getDateText_today() 62 assertThat(dateText).endsWith("Wed, Dec 11"); in getDateText_tomorrow()
|
/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/ |
H A D | FontFileUtilTest.java | 156 if (!name.endsWith(".ttf") && !name.endsWith(".otf")) { in testExtension() 162 assertTrue(name.endsWith(extension)); in testExtension()
|
/aosp12/frameworks/base/cmds/abx/src/com/android/commands/abx/ |
H A D | Abx.java | 71 if (args[0].endsWith("abx2xml")) { in mainInternal() 74 } else if (args[0].endsWith("xml2abx")) { in mainInternal()
|
/aosp12/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
H A D | AidRoutingManager.java | 128 if(aid.endsWith("*")) { in calculateAidRouteSize() 141 if (aid.endsWith("*")) { in clearNfcRoutingTableLocked() 154 } else if (aid.endsWith("#")) { in clearNfcRoutingTableLocked() 302 if (aid.endsWith("*")) { in configureRouting() 316 } else if (aid.endsWith("#")) { in configureRouting()
|
H A D | RegisteredAidCache.java | 424 if (aid.endsWith("*") && !supportsAidPrefixRegistration()) { in generateServiceMapLocked() 442 } else if (aid.endsWith("#") && !supportsAidSubsetRegistration()) { in generateServiceMapLocked() 482 return (!((aid.endsWith("*") || (aid.endsWith("#"))))); in isExact() 486 return aid.endsWith("*"); in isPrefix() 490 return aid.endsWith("#"); in isSubset() 839 if (aid.endsWith("#")) { in updateRoutingLocked() 842 if(aid.endsWith("*") || (resolveInfo.prefixInfo != null && in updateRoutingLocked()
|
/aosp12/art/test/044-proxy/src/ |
H A D | ReturnsAndArgPassing.java | 62 if (name.endsWith("Foo")) { in invoke() 65 } else if (name.endsWith("Bar")) { in invoke() 83 if (name.endsWith("Foo")) { in invoke() 86 check(name.endsWith("Bar")); in invoke()
|
/aosp12/packages/services/Telephony/src/com/android/phone/ |
H A D | SpecialCharSequenceMgr.java | 159 if (len > 8 && input.startsWith("*#*#") && input.endsWith("#*#*")) { in handleSecretCode() 179 if ((len > 1) && (len < 5) && (input.endsWith("#"))) { in handleAdnEntry() 236 && input.endsWith("#")) { in handlePinEntry()
|
/aosp12/frameworks/base/media/java/android/media/ |
H A D | ThumbnailUtils.java | 184 return (lower.endsWith(".jpg") || lower.endsWith(".png")); in createAudioThumbnail() 190 if (lower.startsWith("albumart") && lower.endsWith(".jpg")) return 3; in createAudioThumbnail() 191 if (lower.contains("albumart") && lower.endsWith(".jpg")) return 2; in createAudioThumbnail() 192 if (lower.endsWith(".jpg")) return 1; in createAudioThumbnail()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/dump/ |
H A D | DumpManager.kt | 98 if (dumpable.name.endsWith(target)) { 105 if (buffer.name.endsWith(target)) {
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | Utils.java | 31 if (domain.endsWith(".")) in splitDomain() 88 int len = expect.endsWith("*") ? expect.length() - 1 : expect.length(); in getMccMnc() 283 else if (s.length() > 1 && s.startsWith("\"") && s.endsWith("\"")) { in unquote()
|