Searched refs:getCurrentReferrer (Results 1 – 2 of 2) sorted by relevance
362 doReturn(referrer).when(activity).getCurrentReferrer(); in getInitialReferrer_differentPackage_returnCurrentReferrer()372 doReturn(referrer).when(activity).getCurrentReferrer(); in getInitialReferrer_noReferrerExtra_returnCurrentReferrer()384 doReturn(activity.getPackageName()).when(activity).getCurrentReferrer(); in getInitialReferrer_hasReferrerExtra_returnGivenReferrer()397 assertNotEquals(activity.getCurrentReferrer(), referrer); in getCurrentReferrer_hasReferrerExtra_shouldNotEqual()407 assertNotEquals(activity.getCurrentReferrer(), referrer); in getCurrentReferrer_hasReferrerNameExtra_shouldNotEqual()
217 .putExtra(EXTRA_INITIAL_REFERRER, getCurrentReferrer()); in onCreate()245 .putExtra(EXTRA_INITIAL_REFERRER, getCurrentReferrer()); in onCreate()703 String referrer = getCurrentReferrer(); in getInitialReferrer()713 String getCurrentReferrer() { in getCurrentReferrer() method in SettingsHomepageActivity