Home
last modified time | relevance | path

Searched refs:startsWith (Results 1 – 25 of 382) sorted by relevance

12345678910>>...16

/cts/tests/signature/lib/common/src/android/signature/cts/
DDexMethod.java103 while (typeList.startsWith("[")) { in firstDexTypeFromList()
109 if (typeList.startsWith("V") in firstDexTypeFromList()
110 || typeList.startsWith("Z") in firstDexTypeFromList()
111 || typeList.startsWith("B") in firstDexTypeFromList()
112 || typeList.startsWith("C") in firstDexTypeFromList()
113 || typeList.startsWith("S") in firstDexTypeFromList()
114 || typeList.startsWith("I") in firstDexTypeFromList()
115 || typeList.startsWith("J") in firstDexTypeFromList()
116 || typeList.startsWith("F") in firstDexTypeFromList()
117 || typeList.startsWith("D")) { in firstDexTypeFromList()
[all …]
DDexMember.java68 while (type.startsWith("[")) { in dexToJavaType()
92 } else if (type.startsWith("L") && type.endsWith(";")) { in dexToJavaType()
124 type = type.startsWith("L") in typeToClass()
/cts/tests/appsearch/src/com/android/cts/appsearch/external/app/
DPropertyPathCtsTest.java40 assertThat(e.getMessage()).startsWith("Malformed path (blank property name)"); in testPropertyPathInvalid()
43 assertThat(e.getMessage()).startsWith("Malformed path (no starting '[')"); in testPropertyPathInvalid()
46 assertThat(e.getMessage()).startsWith("Malformed path (no ending ']')"); in testPropertyPathInvalid()
49 assertThat(e.getMessage()).startsWith("Malformed path (\"\" as path index)"); in testPropertyPathInvalid()
52 assertThat(e.getMessage()).startsWith("Malformed path (\"b\" as path index)"); in testPropertyPathInvalid()
55 assertThat(e.getMessage()).startsWith("Malformed path (path index less than 0)"); in testPropertyPathInvalid()
58 assertThat(e.getMessage()).startsWith("Malformed path (\"0.\" as path index)"); in testPropertyPathInvalid()
61 assertThat(e.getMessage()).startsWith("Malformed path (']' not followed by '.')"); in testPropertyPathInvalid()
64 assertThat(e.getMessage()).startsWith("Malformed path (']' not followed by '.')"); in testPropertyPathInvalid()
121 assertThat(e.getMessage()).startsWith("Invalid propertyName value"); in testPathSegmentInvalid()
[all …]
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DRcParser.java130 if (line.startsWith(SECTION_SERVICE)) { in parseFile()
132 } else if (line.startsWith(SECTION_IMPORT)) { in parseFile()
161 if (sTrimLine.startsWith("#")) { in parseService()
164 } else if (sTrimLine.startsWith(OPTION_CLASS)) { in parseService()
166 } else if (sTrimLine.startsWith(OPTION_USER)) { in parseService()
168 } else if (sTrimLine.startsWith(OPTION_GROUP)) { in parseService()
170 } else if (sTrimLine.startsWith(OPTION_WRITEPID)) { in parseService()
DArgumentParser.java81 if (mArguments[i].startsWith("-")) { in parse()
86 while ((i + 1 < mArguments.length) && (!mArguments[i + 1].startsWith("-"))) { in parse()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DInstallMultiple.java20 import static org.hamcrest.Matchers.startsWith;
83 assertThat(result, startsWith("Success")); in createSession()
109 assertThat(result, startsWith("Success")); in writeSession()
118 assertThat(result, startsWith("Success")); in commitSession()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContacts_ContactMethodsTest.java30 assertTrue(encodedString.startsWith("pre:")); in testEncodeAndDecodeProtocol()
35 assertTrue(encodedString.startsWith("pre:")); in testEncodeAndDecodeProtocol()
40 assertTrue(encodedString.startsWith("custom:")); in testEncodeAndDecodeProtocol()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/queries/
DStringQueryHelper.java101 public E startsWith(String string) { in startsWith() method in StringQueryHelper
108 if (!queryAnnotation.startsWith().equals(DEFAULT_STRING_QUERY_PARAMETERS_VALUE)) { in matchesAnnotation()
109 E unused = startsWith(queryAnnotation.startsWith()); in matchesAnnotation()
135 String startsWith, String isEqualTo) { in stringQuery() argument
139 startsWith, isEqualTo in stringQuery()
158 if (mStartsWithValue != null && (value == null || !value.startsWith(mStartsWithValue))) { in matches()
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/
DTestAccountAuthenticator.java77 if (accountName.startsWith(Fixtures.PREFIX_NAME_SUCCESS)) { in addAccount()
81 } else if (accountName.startsWith(Fixtures.PREFIX_NAME_INTERVENE)) { in addAccount()
120 if (account.name.startsWith(Fixtures.PREFIX_NAME_SUCCESS)) { in confirmCredentials()
125 } else if (account.name.startsWith(Fixtures.PREFIX_NAME_INTERVENE)) { in confirmCredentials()
167 if (account.name.startsWith(Fixtures.PREFIX_NAME_SUCCESS)) { in getAuthToken()
176 } else if (account.name.startsWith(Fixtures.PREFIX_NAME_INTERVENE)) { in getAuthToken()
231 if (account.name.startsWith(Fixtures.PREFIX_NAME_SUCCESS)) { in updateCredentials()
235 } else if (account.name.startsWith(Fixtures.PREFIX_NAME_INTERVENE)) { in updateCredentials()
274 if (account.name.startsWith(Fixtures.PREFIX_NAME_SUCCESS)) { in hasFeatures()
277 } else if (account.name.startsWith(Fixtures.PREFIX_NAME_INTERVENE)) { in hasFeatures()
[all …]
/cts/hostsidetests/appcloning/test-apps/AppCloningTestApp/src/com/android/cts/appcloningtestapp/
DAppCloningDeviceTest.java127 && image.getDisplayName().startsWith(imageNameToBeVerifiedInOwnerProfile)) { in testMediaStoreManager_verifyCrossUserImagesInSharedStorage()
134 && image.getDisplayName().startsWith(imageNameToBeVerifiedInCloneProfile)) { in testMediaStoreManager_verifyCrossUserImagesInSharedStorage()
185 && image.getDisplayName().startsWith(imageNameToBeVerifiedInOwnerProfile)) { in testMediaStoreManager_verifyCrossUserImagesInPublicSdCard()
191 && image.getDisplayName().startsWith(imageNameToBeVerifiedInCloneProfile)) { in testMediaStoreManager_verifyCrossUserImagesInPublicSdCard()
270 && image.getDisplayName().startsWith(imageNameToBeVerifiedInOwnerProfile)) { in testMediaStoreManager_verifyClonedUserImageSavedInOwnerUserOnly()
277 && image.getDisplayName().startsWith(imageNameToBeVerifiedInOwnerProfile)) { in testMediaStoreManager_verifyClonedUserImageSavedInOwnerUserOnly()
301 && image.getDisplayName().startsWith(imageNameToBeVerifiedInCloneProfile)) { in testMediaStoreManager_verifyOwnerUserImageSavedInClonedUserOnly()
308 && image.getDisplayName().startsWith(imageNameToBeVerifiedInCloneProfile)) { in testMediaStoreManager_verifyOwnerUserImageSavedInClonedUserOnly()
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DPlayerListener.java182 assertTrue(refMediaType.startsWith("audio/") && testMediaType.startsWith("audio/")); in isFormatSimilar()
188 assertTrue((refMediaType.startsWith("text/") && testMediaType.startsWith("text/")) || ( in isFormatSimilar()
189 refMediaType.startsWith("application/") && testMediaType.startsWith("application/"))); in isFormatSimilar()
/cts/tests/signature/tests/src/android/signature/cts/tests/
DFailureHandlingTest.java29 import static org.hamcrest.CoreMatchers.startsWith;
83 assertThat(e.getMessage(), startsWith("Unexpected test failure")); in testNoFailures_DetectsFailures()
114 startsWith("Expect one failure of type MISMATCH_FIELD but found 2 failures:")); in testExpectFailure_DetectsTooManyFailures()
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/
DMockModemService.java203 if (action.startsWith(IRADIOCONFIG_INTERFACE)) { in onBind()
206 } else if (action.startsWith(IRADIOMODEM_INTERFACE)) { in onBind()
209 } else if (action.startsWith(IRADIOSIM_INTERFACE)) { in onBind()
212 } else if (action.startsWith(IRADIONETWORK_INTERFACE)) { in onBind()
215 } else if (action.startsWith(IRADIODATA_INTERFACE)) { in onBind()
218 } else if (action.startsWith(IRADIOMESSAGING_INTERFACE)) { in onBind()
221 } else if (action.startsWith(IRADIOVOICE_INTERFACE)) { in onBind()
224 } else if (action.startsWith(IRADIOIMS_INTERFACE)) { in onBind()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DPowerTestHostLink.java211 if (request.startsWith(REQUEST_SENSOR_AVAILABILITY)) { in processClientRequest()
219 } else if (request.startsWith(REQUEST_EXTERNAL_STORAGE)){ in processClientRequest()
222 } else if (request.startsWith(REQUEST_SCREEN_OFF)) { in processClientRequest()
230 } else if (request.startsWith(REQUEST_SENSOR_ON)) { in processClientRequest()
233 } else if (request.startsWith(REQUEST_SENSOR_OFF)) { in processClientRequest()
236 } else if (request.startsWith(REQUEST_SHOW_MESSAGE)) { in processClientRequest()
240 } else if (request.startsWith(REQUEST_USER_RESPONSE)) { in processClientRequest()
244 } else if (request.startsWith(REQUEST_SET_TEST_RESULT)) { in processClientRequest()
247 } else if (request.startsWith(REQUEST_RAISE)) { in processClientRequest()
259 } else if (request.startsWith(REQUEST_EXIT)) { in processClientRequest()
/cts/hostsidetests/car_builtin/src/android/car/cts/builtin/pm/
DComponentEnabledStateCommand.java62 if (!mCommandReturn.startsWith(GET_STATE_RETURN_HEADER)) { in parseCommandReturn()
70 if (!mCommandReturn.startsWith(NEW_STATE_RETURN_HEADER)) { in parseCommandReturn()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DBaseInstallMultiple.java137 TestCase.assertTrue(result, result.startsWith("Success")); in run()
168 TestCase.assertTrue(result, result.startsWith("Success")); in run()
179 TestCase.assertTrue(result, result.startsWith("Success")); in run()
181 TestCase.assertFalse(result, result.startsWith("Success")); in run()
/cts/hostsidetests/classloaders/splits/src/android/classloaders/cts/
DBaseInstallMultiple.java137 TestCase.assertTrue(result, result.startsWith("Success")); in run()
168 TestCase.assertTrue(result, result.startsWith("Success")); in run()
179 TestCase.assertTrue(result, result.startsWith("Success")); in run()
181 TestCase.assertFalse(result, result.startsWith("Success")); in run()
/cts/tests/tests/media/common/src/android/media/cts/
DTestArgs.java48 if (MEDIA_TYPE_PREFIX != null && !mediaType.startsWith(MEDIA_TYPE_PREFIX)) { in shouldSkipMediaType()
56 if ((CODEC_PREFIX != null && !name.startsWith(CODEC_PREFIX)) in shouldSkipCodec()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_Audio_PlaylistsTest.java131 assertTrue(c.getString(0).startsWith(name1)); in testName()
132 assertTrue(c.getString(1).startsWith(name1)); in testName()
142 assertTrue(c.getString(0).startsWith(name2)); in testName()
143 assertTrue(c.getString(1).startsWith(name2)); in testName()
/cts/hostsidetests/memunreachable/src/android/memunreachable/cts/
DMemunreachableTests.kt44 Truth.assertThat(meminfo).startsWith("Unreachable memory\n") in testDumpsysMeminfoUnreachableDebuggableApp()
54 Truth.assertThat(meminfo).startsWith("Unreachable memory\n") in testDumpsysMeminfoUnreachableUndebuggableApp()
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/
DPollTest.java86 .startsWith("Expected tester value to be equal to Value1. Was Value2"); in await_toBeEqualTo_errorOnFailure_doesNotBecomeEqual_throwsException()
100 .startsWith("Custom error. tester value was Value2"); in await_toBeEqualTo_errorOnFailure_doesNotBecomeEqual_customError_throwsException()
142 .startsWith("Expected tester value to not be equal to Value2. Was Value2"); in await_toNotBeEqualTo_errorOnFailure_doesNotBecomeNotEqual_throwsException()
156 .startsWith("Custom error. tester value was Value2"); in await_toNotBeEqualTo_errorOnFailure_doesNotBecomeNotEqual_customError_throwsException()
198 .startsWith("Expected tester value to be null. Was Value2"); in await_toBeNull_errorOnFailure_doesNotBecomeNull_throwsException()
212 .startsWith("Custom error. tester value was Value2"); in await_toBeNull_errorOnFailure_doesNotBecomeNull_customError_throwsException()
254 .startsWith("Expected tester value to not be null. Was null"); in await_toNotBeNull_errorOnFailure_doesNotBecomeNotNull_throwsException()
268 .startsWith("Custom error. tester value was null"); in await_toNotBeNull_errorOnFailure_doesNotBecomeNotNull_customError_throwsException()
310 .startsWith("Expected tester value to meet checker function. Was null"); in await_toMeet_errorOnFailure_doesNotMeet_throwsException()
324 .startsWith("Custom error. tester value was null"); in await_toMeet_errorOnFailure_doesNotMeet_customError_throwsException()
/cts/hostsidetests/adpf/src/android/adpf/cts/
DADPFHintSessionHostJUnit4Test.java72 if (abi.toLowerCase().startsWith("arm")) { in setUp()
106 boolean isVirtual = device.startsWith("vsoc_") || model.startsWith("Cuttlefish ") in checkVirtualDevice()
107 || name.startsWith("cf_") || name.startsWith("aosp_cf_") in checkVirtualDevice()
/cts/hostsidetests/install/src/android/cts/install/host/
DShimApexRule.java65 if (getShimApex().sourceDir.startsWith("/system")) { in uninstallShimApexIfNecessary()
81 assertThat(shim.sourceDir).startsWith("/system"); in uninstallShimApexIfNecessary()
/cts/tests/media/src/android/mediav2/cts/
DCodecInfoTest.java116 if (codecPrefix != null && !codecName.startsWith(codecPrefix) in input()
146 Assume.assumeTrue("Test is applicable for video codecs", mMediaType.startsWith("video/")); in testHDRDisplayCapabilities()
182 Assume.assumeTrue("Test is applicable for video codecs", mMediaType.startsWith("video/")); in testColorFormatSupport()
261 mMediaType.startsWith("video/") || mMediaType.startsWith("audio/")); in testDecoderAvailability()
296 Assume.assumeTrue("Test is applicable for video codecs", mMediaType.startsWith("video/")); in testDynamicColorAspectSupport()
315 Assume.assumeTrue("Test is applicable for video codecs", mMediaType.startsWith("video/")); in testResolutionSupport()
339 Assume.assumeTrue("Test is applicable for video codecs", mMediaType.startsWith("video/")); in testAlignmentSupport()
DCodecListTest.java58 final boolean needAudio = mediaTypePrefix == null || mediaTypePrefix.startsWith("audio"); in testCddRequiredCodecsAvailability()
59 final boolean needVideo = mediaTypePrefix == null || mediaTypePrefix.startsWith("video"); in testCddRequiredCodecsAvailability()

12345678910>>...16