Searched refs:getCallingAppLabel (Results 1 – 5 of 5) sorted by relevance
22 import static com.android.settings.password.PasswordUtils.getCallingAppLabel;86 assertThat(getCallingAppLabel(mContext, mActivityToken)).isNull(); in getCallingAppLabel_getCallingAppPackageNameReturnsNull_returnsNull()95 assertThat(getCallingAppLabel(mContext, mActivityToken)).isNull(); in getCallingAppLabel_getCallingAppPackageNameReturnsSettingsApp_returnsNull()105 assertThat(getCallingAppLabel(mContext, mActivityToken)).isNull(); in getCallingAppLabel_packageManagerThrowsNameNotFound_returnsNull()116 assertThat(getCallingAppLabel(mContext, mActivityToken)).isEqualTo("label"); in getCallingAppLabel_returnsLabel()
61 protected static String getCallingAppLabel(Context context, IBinder activityToken) { in getCallingAppLabel() method in ShadowPasswordUtils
65 public static CharSequence getCallingAppLabel(Context context, IBinder activityToken) { in getCallingAppLabel() method in PasswordUtils
95 mCallerAppName = (String) PasswordUtils.getCallingAppLabel(this, activityToken); in onCreate()
380 public CharSequence getCallingAppLabel() { in getCallingAppLabel() method in CertInstaller401 R.string.redirect_ca_certificate_with_app_info_message, getCallingAppLabel()); in createRedirectCaCertificateDialog()