Home
last modified time | relevance | path

Searched refs:referrer (Results 1 – 19 of 19) sorted by relevance

/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ui/viewmodel/
DChooserRequestTest.kt45 referrer: Uri? = null, in createActivityModel()
55 referrer = referrer ?: "android-app://com.android.example".toUri()
81 val referrer = Uri.parse("android-app://example.com") in referrerFillIn() constant
82 val model = createActivityModel(targetIntent = Intent(ACTION_SEND), referrer) in referrerFillIn()
83 model.intent.putExtras(bundleOf(EXTRA_REFERRER to referrer)) in referrerFillIn()
92 assertThat(fillIn.getParcelableExtra(EXTRA_REFERRER, Uri::class.java)).isEqualTo(referrer) in referrerFillIn()
97 val referrer = Uri.parse("http://example.com") in referrerPackage_isNullWithNonAppReferrer() constant
100 val model = createActivityModel(targetIntent = intent, referrer = referrer) in referrerPackage_isNullWithNonAppReferrer()
112 val referrer = Uri.parse("android-app://example.com") in referrerPackage_fromAppReferrer() constant
113 val model = createActivityModel(targetIntent = Intent(ACTION_SEND), referrer) in referrerPackage_fromAppReferrer()
[all …]
DResolverRequestTest.kt39 referrer: Uri? = null, in createActivityModel()
45 referrer = referrer ?: "android-app://com.android.example".toUri() in createActivityModel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/
DSettingsHomepageActivityTest.java361 String referrer = "com.abc"; in getInitialReferrer_differentPackage_returnCurrentReferrer() local
362 doReturn(referrer).when(activity).getCurrentReferrer(); in getInitialReferrer_differentPackage_returnCurrentReferrer()
364 assertEquals(activity.getInitialReferrer(), referrer); in getInitialReferrer_differentPackage_returnCurrentReferrer() local
371 String referrer = activity.getPackageName(); in getInitialReferrer_noReferrerExtra_returnCurrentReferrer() local
372 doReturn(referrer).when(activity).getCurrentReferrer(); in getInitialReferrer_noReferrerExtra_returnCurrentReferrer()
374 assertEquals(activity.getInitialReferrer(), referrer); in getInitialReferrer_noReferrerExtra_returnCurrentReferrer() local
379 String referrer = "com.abc"; in getInitialReferrer_hasReferrerExtra_returnGivenReferrer() local
383 referrer)).get()); in getInitialReferrer_hasReferrerExtra_returnGivenReferrer()
386 assertEquals(activity.getInitialReferrer(), referrer); in getInitialReferrer_hasReferrerExtra_returnGivenReferrer() local
391 String referrer = "com.abc"; in getCurrentReferrer_hasReferrerExtra_shouldNotEqual() local
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/model/
DActivityModel.kt37 val referrer: Uri? constant in com.android.intentresolver.ui.model.ActivityModel
45 referrer = source.readParcelable()
49 val referrerPackage = referrer?.takeIf { it.scheme == ANDROID_APP_SCHEME }?.authority in <lambda>()
57 dest.writeParcelable(referrer, flags) in describeContents()
77 activity.referrer in newArray()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/ui/model/
DActivityModelTest.kt57 referrer = Uri.parse("android-app://app.example.com") in testReferrerPackage_withAppReferrer_usesReferrer()
70 referrer = Uri.parse("http://some.other.value") in testReferrerPackage_httpReferrer_isNull()
83 referrer = null in testReferrerPackage_nullReferrer_isNull()
104 .that(actual.referrer) in assertEquals()
105 .isEqualTo(expected.referrer) in assertEquals()
/packages/apps/Contacts/src/com/android/contacts/logging/
DLogger.java85 public static void logQuickContactEvent(String referrer, int contactType, int cardType, in logQuickContactEvent() argument
90 event.referrer = referrer == null ? "Unknown" : referrer; in logQuickContactEvent()
DQuickContactEvent.java26 public String referrer; field in QuickContactEvent
82 .add("referrer", referrer) in toString()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/data/model/
DChooserRequest.kt66 val referrer: Uri? = null, in <lambda>() constant in com.android.intentresolver.data.model.ChooserRequest
184 val referrerPackage = referrer?.takeIf { it.scheme == ANDROID_APP_SCHEME }?.authority in <lambda>()
/packages/apps/Settings/src/com/android/settings/homepage/
DSettingsHomepageActivity.java703 String referrer = getCurrentReferrer(); in getInitialReferrer() local
704 if (!TextUtils.equals(referrer, getPackageName())) { in getInitialReferrer()
705 return referrer; in getInitialReferrer()
709 return TextUtils.isEmpty(initialReferrer) ? referrer : initialReferrer; in getInitialReferrer()
718 Uri referrer = getReferrer(); in getCurrentReferrer() local
719 return referrer != null ? referrer.getHost() : null; in getCurrentReferrer()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DSearchFeatureProviderImplTest.java120 final Uri referrer = searchIntent.getParcelableExtra(Intent.EXTRA_REFERRER); in buildSearchIntent_shouldIncludeReferrer() local
122 assertThat(referrer.toString()).isEqualTo( in buildSearchIntent_shouldIncludeReferrer()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/ui/viewmodel/
DChooserRequestReader.kt162 referrer = model.referrer, in readChooserRequest()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCredentialHelper.java100 @Nullable String referrer, @Nullable String certUsageSelected, int uid) { in CredentialHelper() argument
105 if (referrer != null) { in CredentialHelper()
106 mReferrer = referrer; in CredentialHelper()
DCertInstaller.java91 String referrer = bundle.getString(Intent.EXTRA_REFERRER); in createCredentialHelper() local
105 return new CredentialHelper(byteMap, name, referrer, certUsageSelected, uid); in createCredentialHelper()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/
DMainActivity.kt452 private fun isIntentReferredByDocumentsUi(referrer: Uri?): Boolean { in <lambda>()
453 return referrer?.getHost() == getDocumentssUiComponentName()?.getPackageName() in <lambda>()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DChooserRequestParameters.java112 final Uri referrer) { in ChooserRequestParameters() argument
131 mReferrerFillInIntent = new Intent().putExtra(Intent.EXTRA_REFERRER, referrer); in ChooserRequestParameters()
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz