Home
last modified time | relevance | path

Searched refs:stringId (Results 1 – 13 of 13) 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/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DInteractiveVerifierActivity.java283 protected ViewGroup createAutoItem(ViewGroup parent, int stringId) { in createAutoItem() argument
286 instructions.setText(stringId); in createAutoItem()
292 protected View createPassFailItem(ViewGroup parent, int stringId) { in createPassFailItem() argument
295 instructions.setText(stringId); in createPassFailItem()
299 protected View createUserAndPassFailItem(ViewGroup parent, int actionId, int stringId) { in createUserAndPassFailItem() argument
302 instructions.setText(stringId); in createUserAndPassFailItem()
/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.java99 final boolean makePaymentDefault(final ComponentName defaultComponent, int stringId) { in makePaymentDefault() argument
104 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/hostsidetests/media/app/MediaMetricsTest/src/android/media/metrics/cts/
DMediaMetricsAtomHostSideTests.java540 private void writeSessionIdToFile(String stringId) { in writeSessionIdToFile() argument
541 Log.i(TAG, "log_session_id=" + stringId); in writeSessionIdToFile()
544 b.putString("log_session_id", stringId); in writeSessionIdToFile()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/qstiles/
DInteractiveVerifierActivity.java265 protected View createAutoItem(ViewGroup parent, int stringId) { in createAutoItem() argument
268 instructions.setText(stringId); in createAutoItem()
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/
DUiBot.java937 final int stringId = resources.getIdentifier(id, "string", "android"); in getString() local
939 return resources.getString(stringId); in getString()
941 throw new IllegalStateException("no internal string for '" + id + "' / res=" + stringId in getString()
951 final int stringId = resources.getIdentifier(id, "string", "android"); in getString() local
953 return resources.getString(stringId, formatArgs); in getString()
955 throw new IllegalStateException("no internal string for '" + id + "' / res=" + stringId in getString()
/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.java380 private AccessibilityNodeInfo getNodeByText(int stringId) { in getNodeByText() argument
382 sInstrumentation.getContext().getString(stringId)).get(0); in getNodeByText()
DAccessibilityTextActionTest.java607 private <T> T findSingleSpanInViewWithText(int stringId, Class<T> type) { in findSingleSpanInViewWithText() argument
609 .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()