Home
last modified time | relevance | path

Searched refs:getCallingAppLabel (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
H A DPasswordUtilsTest.java22 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()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
H A DShadowPasswordUtils.java61 protected static String getCallingAppLabel(Context context, IBinder activityToken) { in getCallingAppLabel() method in ShadowPasswordUtils
/aosp12/packages/apps/Settings/src/com/android/settings/password/
H A DPasswordUtils.java58 public static CharSequence getCallingAppLabel(Context context, IBinder activityToken) { in getCallingAppLabel() method in PasswordUtils
H A DSetNewPasswordActivity.java92 mCallerAppName = (String) PasswordUtils.getCallingAppLabel(this, activityToken); in onCreate()
/aosp12/packages/apps/CertInstaller/src/com/android/certinstaller/
H A DCertInstaller.java380 public CharSequence getCallingAppLabel() { in getCallingAppLabel() method in CertInstaller
401 R.string.redirect_ca_certificate_with_app_info_message, getCallingAppLabel()); in createRedirectCaCertificateDialog()