/cts/tests/tests/permission/src/android/permission/cts/ |
D | BackgroundPermissionButtonLabelTest.java | 43 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/ |
D | FeatureProvider.java | 47 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/ |
D | InteractiveVerifierActivity.java | 283 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/ |
D | Helper.java | 149 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/ |
D | BaseEmulatorActivity.java | 99 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/ |
D | TvAppVerifierActivity.java | 114 public View createAndAttachAutoItem(int stringId) { in createAndAttachAutoItem() argument 117 instructions.setText(stringId); in createAndAttachAutoItem()
|
/cts/hostsidetests/media/app/MediaMetricsTest/src/android/media/metrics/cts/ |
D | MediaMetricsAtomHostSideTests.java | 540 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/ |
D | InteractiveVerifierActivity.java | 265 protected View createAutoItem(ViewGroup parent, int stringId) { in createAutoItem() argument 268 instructions.setText(stringId); in createAutoItem()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | UiBot.java | 937 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/ |
D | VrListenerVerifierActivity.java | 269 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/ |
D | AccessibilityViewTreeReportingTest.java | 380 private AccessibilityNodeInfo getNodeByText(int stringId) { in getNodeByText() argument 382 sInstrumentation.getContext().getString(stringId)).get(0); in getNodeByText()
|
D | AccessibilityTextActionTest.java | 607 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/ |
D | SplitAppTest.java | 366 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()
|