Home
last modified time | relevance | path

Searched refs:formatArgs (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestResources.java36 public String getString(int id, Object... formatArgs) throws NotFoundException { in getString() argument
37 return String.format(getString(id), formatArgs); in getString()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DSecurityMessageDisplay.java29 void formatMessage(int resId, Object... formatArgs); in formatMessage() argument
DKeyguardMessageArea.java160 public void formatMessage(int resId, Object... formatArgs) { in formatMessage() argument
163 message = getContext().getString(resId, formatArgs); in formatMessage()
/frameworks/base/test-mock/src/android/test/mock/
DMockResources.java71 public String getString(int id, Object... formatArgs) throws NotFoundException { in getString() argument
76 public String getQuantityString(int id, int quantity, Object... formatArgs) in getQuantityString() argument
/frameworks/base/core/java/android/content/res/
DResources.java483 public String getString(@StringRes int id, Object... formatArgs) throws NotFoundException { in getString() argument
486 formatArgs); in getString()
515 public String getQuantityString(@PluralsRes int id, int quantity, Object... formatArgs) in getQuantityString() argument
519 formatArgs); in getQuantityString()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java786 static String getString(Resources resources, int id, Object... formatArgs) in getString() argument
790 return String.format(s, formatArgs); in getString()
846 static String getQuantityString(Resources resources, int id, int quantity, Object... formatArgs) in getQuantityString() argument
849 return String.format(resources.getConfiguration().getLocales().get(0), raw, formatArgs); in getQuantityString()
/frameworks/base/test-mock/api/
Dlint-baseline.txt97 Missing nullability on parameter `formatArgs` in method `getQuantityString`
113 Missing nullability on parameter `formatArgs` in method `getString`
/frameworks/base/core/java/android/content/
DContext.java659 public final String getString(@StringRes int resId, Object... formatArgs) { in getString() argument
660 return getResources().getString(resId, formatArgs); in getString()
/frameworks/base/core/java/android/app/
DFragment.java814 public final String getString(@StringRes int resId, Object... formatArgs) { in getString() argument
815 return getResources().getString(resId, formatArgs); in getString()