/frameworks/base/core/java/com/android/internal/content/ |
H A D | ReferrerIntent.java | 25 * Subclass of Intent that also contains referrer (as a package name) information. 30 public ReferrerIntent(Intent baseIntent, String referrer) { argument 32 mReferrer = referrer;
|
/frameworks/base/core/java/android/content/pm/ |
H A D | VerificationParams.java | 43 /** HTTP referrer URI associated with the originatingURI. */ 59 * @param referrer HTTP referrer URI associated with the originatingURI. 64 public VerificationParams(Uri verificationURI, Uri originatingURI, Uri referrer, argument 68 mReferrer = referrer;
|
/frameworks/base/core/java/android/app/servertransaction/ |
H A D | LaunchActivityItem.java | 90 String referrer, IVoiceInteractor voiceInteractor, int procState, Bundle state, 97 setValues(instance, intent, ident, info, curConfig, overrideConfig, compatInfo, referrer, 237 + ",referrer=" + mReferrer + ",procState=" + mProcState + ",state=" + mState 246 CompatibilityInfo compatInfo, String referrer, IVoiceInteractor voiceInteractor, 256 instance.mReferrer = referrer; 88 obtain(Intent intent, int ident, ActivityInfo info, Configuration curConfig, Configuration overrideConfig, CompatibilityInfo compatInfo, String referrer, IVoiceInteractor voiceInteractor, int procState, Bundle state, PersistableBundle persistentState, List<ResultInfo> pendingResults, List<ReferrerIntent> pendingNewIntents, boolean isForward, ProfilerInfo profilerInfo) argument 244 setValues(LaunchActivityItem instance, Intent intent, int ident, ActivityInfo info, Configuration curConfig, Configuration overrideConfig, CompatibilityInfo compatInfo, String referrer, IVoiceInteractor voiceInteractor, int procState, Bundle state, PersistableBundle persistentState, List<ResultInfo> pendingResults, List<ReferrerIntent> pendingNewIntents, boolean isForward, ProfilerInfo profilerInfo) argument
|
/frameworks/support/compat/src/main/java/androidx/core/app/ |
H A D | ActivityCompat.java | 315 * {@link Intent#URI_ANDROID_APP_SCHEME android-app:} referrer URI containing the 317 * referrer can be identified -- it is neither explicitly specified, nor is it known which 321 * return the referrer that submitted that new intent to the activity. Otherwise, it 322 * always returns the referrer of the original Intent.</p> 325 * referrer information, applications can spoof it.</p> 333 Uri referrer = intent.getParcelableExtra("android.intent.extra.REFERRER"); 334 if (referrer != null) { 335 return referrer;
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
H A D | ObjectPoolTests.java | 127 String referrer = "referrer"; 137 config(), overrideConfig, compat, referrer, null /* voiceInteractor */, 147 config(), overrideConfig, compat, referrer, null /* voiceInteractor */,
|
H A D | TransactionParcelTests.java | 224 String referrer = "referrer"; 232 config(), overrideConfig, compat, referrer, null /* voiceInteractor */,
|
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A D | MainInteractionSession.java | 185 Uri referrer = data.getParcelable(Intent.EXTRA_REFERRER); 186 if (referrer != null) { 187 Log.i(TAG, "Referrer: " + referrer);
|
/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 5062 Uri referrer = onProvideReferrer(); 5063 if (referrer != null) { 5064 intent.putExtra(Intent.EXTRA_REFERRER, referrer); 5269 Uri referrer = onProvideReferrer(); 5270 if (referrer != null) { 5271 intent.putExtra(Intent.EXTRA_REFERRER, referrer); 5412 * {@link Intent#URI_ANDROID_APP_SCHEME android-app:} referrer URI containing the 5414 * referrer can be identified -- it is neither explicitly specified, nor is it known which 5418 * return the referrer that submitted that new intent to the activity. Otherwise, it 5419 * always returns the referrer o 7044 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, int ident, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, NonConfigurationInstances lastNonConfigurationInstances, Configuration config, String referrer, IVoiceInteractor voiceInteractor, Window window, ActivityConfigCallback activityConfigCallback) argument [all...] |
H A D | Instrumentation.java | 1192 new Configuration(), null /* referrer */, null /* voiceInteractor */, 1639 Uri referrer = target != null ? target.onProvideReferrer() : null; 1640 if (referrer != null) { 1641 intent.putExtra(Intent.EXTRA_REFERRER, referrer);
|
H A D | ActivityThread.java | 372 String referrer; field in class:ActivityThread.ActivityClientRecord 422 String referrer, IVoiceInteractor voiceInteractor, Bundle state, 429 this.referrer = referrer; 2876 r.referrer, r.voiceInteractor, window, r.configCallback); 3169 Uri referrer = null; 3174 referrer = r.activity.onProvideReferrer(); 3212 mgr.reportAssistContextExtras(cmd.requestToken, data, structure, content, referrer); 420 ActivityClientRecord(IBinder token, Intent intent, int ident, ActivityInfo info, Configuration overrideConfig, CompatibilityInfo compatInfo, String referrer, IVoiceInteractor voiceInteractor, Bundle state, PersistableBundle persistentState, List<ResultInfo> pendingResults, List<ReferrerIntent> pendingNewIntents, boolean isForward, ProfilerInfo profilerInfo, ClientTransactionHandler client) argument
|
H A D | IActivityManager.aidl | 386 in AssistStructure structure, in AssistContent content, in Uri referrer);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ResolverActivity.java | 388 final Uri referrer = getReferrer(); 389 if (referrer != null && "android-app".equals(referrer.getScheme())) { 390 return referrer.getHost(); 999 Log.e(TAG, "Could not find referrer package " + mReferrerPackage);
|
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
H A D | FragmentLifecycleTest.java | 816 final Fragment referrer = new ReferrerFragment(); 817 referrer.setTargetFragment(target, 0); 821 .add(referrer, "referrer") 1535 assertNotNull("target fragment was null during referrer onCreate", target);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityRecord.java | 1425 final void deliverNewIntentLocked(int callingUid, Intent intent, String referrer) { argument 1429 final ReferrerIntent rintent = new ReferrerIntent(intent, referrer);
|
H A D | ActivityManagerService.java | 14125 AssistContent content, Uri referrer) { 14131 if (referrer != null) { 14132 pae.extras.putParcelable(Intent.EXTRA_REFERRER, referrer); 14124 reportAssistContextExtras(IBinder token, Bundle extras, AssistStructure structure, AssistContent content, Uri referrer) argument [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageManagerService.java | 15213 /** HTTP referrer URI associated with the originatingURI. */ 15214 final Uri referrer; field in class:PackageManagerService.VerificationInfo 15222 VerificationInfo(Uri originatingUri, Uri referrer, int originatingUid, int installerUid) { argument 15224 this.referrer = referrer; 15546 if (verificationInfo.referrer != null) { 15548 verificationInfo.referrer); [all...] |