Home
last modified time | relevance | path

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

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