Searched refs:intentUrl (Results 1 – 5 of 5) sorted by relevance
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
D | PhoneNumberDetectionTest.java | 19 private boolean isExpectedTelephoneIntent(String intentUrl, String expectedContent) { in isExpectedTelephoneIntent() argument 20 if (intentUrl == null) return false; in isExpectedTelephoneIntent() 22 return intentUrl.equals(expectedUrl); in isExpectedTelephoneIntent() 47 String intentUrl = scrollAndTapExpectingIntent("US"); in testInternationalNumberIntents() local 48 assertTrue(isExpectedTelephoneIntent(intentUrl, "+16502530000")); in testInternationalNumberIntents() 51 intentUrl = scrollAndTapExpectingIntent("Australia"); in testInternationalNumberIntents() 52 assertTrue(isExpectedTelephoneIntent(intentUrl, "+61293744000")); in testInternationalNumberIntents() 55 intentUrl = scrollAndTapExpectingIntent("China"); in testInternationalNumberIntents() 56 assertTrue(isExpectedTelephoneIntent(intentUrl, "+861062503000")); in testInternationalNumberIntents() 59 intentUrl = scrollAndTapExpectingIntent("Hong Kong"); in testInternationalNumberIntents() [all …]
|
D | EmailAddressDetectionTest.java | 18 private boolean isExpectedEmailIntent(String intentUrl, String expectedContent) { in isExpectedEmailIntent() argument 19 if (intentUrl == null) return false; in isExpectedEmailIntent() 21 return intentUrl.equals(expectedUrl); in isExpectedEmailIntent() 31 String intentUrl = scrollAndTapExpectingIntent("valid_1"); in testValidEmailAddresses() local 32 assertTrue(isExpectedEmailIntent(intentUrl, "i.want.a.pony@chromium.org")); in testValidEmailAddresses() 35 intentUrl = scrollAndTapExpectingIntent("valid_2"); in testValidEmailAddresses() 36 assertTrue(isExpectedEmailIntent(intentUrl, "nyan_cat@chromium.org")); in testValidEmailAddresses() 39 intentUrl = scrollAndTapExpectingIntent("valid_3"); in testValidEmailAddresses() 40 assertTrue(isExpectedEmailIntent(intentUrl, "123@456.com")); in testValidEmailAddresses()
|
D | AddressDetectionTest.java | 18 private boolean isExpectedGeoIntent(String intentUrl, String expectedContent) { in isExpectedGeoIntent() argument 19 if (intentUrl == null) return false; in isExpectedGeoIntent() 21 return intentUrl.equals(expectedUrl); in isExpectedGeoIntent()
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
D | ContentViewClient.java | 134 public void onStartContentIntent(Context context, String intentUrl) { in onStartContentIntent() argument 138 intent = Intent.parseUri(intentUrl, Intent.URI_INTENT_SCHEME); in onStartContentIntent() 140 Log.w(TAG, "Bad URI " + intentUrl + ": " + ex.getMessage()); in onStartContentIntent() 147 Log.w(TAG, "No application can handle " + intentUrl); in onStartContentIntent()
|
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/ |
D | TestCallbackHelperContainer.java | 182 public void notifyCalled(String intentUrl) { 183 mIntentUrl = intentUrl;
|