Home
last modified time | relevance | path

Searched refs:stringId (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DBackgroundPermissionButtonLabelTest.java43 int stringId = permissionControllerContext.getResources().getIdentifier( in testBackgroundPermissionButtonLabel() local
48 permissionControllerContext.getString(stringId)); in testBackgroundPermissionButtonLabel()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature_warm/src/com/android/cts/splitapp/
DFeatureProvider.java47 final int stringId = (int) baseR.getDeclaredField("my_string1").get(null); in onCreate() local
49 value.set(null, getContext().getResources().getString(stringId)); in onCreate()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DHelper.java149 final int stringId = resources.getIdentifier(id, "string", "android"); in getInternalString() local
150 return resources.getString(stringId); in getInternalString()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DBaseEmulatorActivity.java98 final boolean makePaymentDefault(final ComponentName defaultComponent, int stringId) { in makePaymentDefault() argument
103 builder.setMessage(stringId); in makePaymentDefault()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/
DTvAppVerifierActivity.java114 public View createAndAttachAutoItem(int stringId) { in createAndAttachAutoItem() argument
117 instructions.setText(stringId); in createAndAttachAutoItem()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DInteractiveVerifierActivity.java262 protected ViewGroup createAutoItem(ViewGroup parent, int stringId) { in createAutoItem() argument
265 instructions.setText(stringId); in createAutoItem()
271 protected View createPassFailItem(ViewGroup parent, int stringId) { in createPassFailItem() argument
274 instructions.setText(stringId); in createPassFailItem()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DUiBot.java921 final int stringId = resources.getIdentifier(id, "string", "android"); in getString() local
923 return resources.getString(stringId); in getString()
925 throw new IllegalStateException("no internal string for '" + id + "' / res=" + stringId in getString()
935 final int stringId = resources.getIdentifier(id, "string", "android"); in getString() local
937 return resources.getString(stringId, formatArgs); in getString()
939 throw new IllegalStateException("no internal string for '" + id + "' / res=" + stringId in getString()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/qstiles/
DInteractiveVerifierActivity.java254 protected View createAutoItem(ViewGroup parent, int stringId) { in createAutoItem() argument
257 instructions.setText(stringId); in createAutoItem()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DVrListenerVerifierActivity.java269 protected View createUserInteractionTestView(ViewGroup parent, int stringId, int messageId) { in createUserInteractionTestView() argument
274 b.setText(stringId); in createUserInteractionTestView()
275 b.setTag(stringId); in createUserInteractionTestView()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityViewTreeReportingTest.java376 private AccessibilityNodeInfo getNodeByText(int stringId) { in getNodeByText() argument
378 sInstrumentation.getContext().getString(stringId)).get(0); in getNodeByText()
DAccessibilityTextActionTest.java604 private <T> T findSingleSpanInViewWithText(int stringId, Class<T> type) { in findSingleSpanInViewWithText() argument
606 .findAccessibilityNodeInfosByText(mActivity.getString(stringId)).get(0); in findSingleSpanInViewWithText()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DSplitAppTest.java366 final int stringId = (int) featR.getDeclaredField("feature_string").get(null); in testFeatureWarmBase() local
369 assertEquals("red", r.getString(stringId)); in testFeatureWarmBase()
517 final int stringId = (int) featR.getDeclaredField("feature_string").get(null); in testFeatureWarmApi() local
520 assertEquals("red", r.getString(stringId)); in testFeatureWarmApi()