Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 519) sorted by relevance

12345678910>>...21

/cts/tools/release-parser/proto/
Drelease.proto27 string name = 1;
28 string key = 2;
29 string value =3;
33 string module_name = 1;
34 string component = 2;
35 string description = 3;
39 string test_class = 1;
43 repeated string test_file_names = 6;
46 string test_class = 1;
47 string package = 2;
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DEnterprisePrivacyTestListActivity.java110 new ButtonInfo(R.string.enterprise_privacy_open_settings, in buildCommandTest()
118 new ButtonInfo(R.string.enterprise_privacy_reset, buildCommandIntent( in buildAdminGrantedPermissionTest()
123 new ButtonInfo(R.string.enterprise_privacy_grant, buildCommandIntent( in buildAdminGrantedPermissionTest()
128 new ButtonInfo(R.string.enterprise_privacy_open_settings, in buildAdminGrantedPermissionTest()
134 R.string.enterprise_privacy_page, in addTestsToAdapter()
135 R.string.enterprise_privacy_page_info, in addTestsToAdapter()
136 new ButtonInfo(R.string.go_button_text, new Intent(Settings.ACTION_SETTINGS)))); in addTestsToAdapter()
138 R.string.enterprise_privacy_network_logging, in addTestsToAdapter()
139 R.string.enterprise_privacy_network_logging_info, in addTestsToAdapter()
140 R.string.enterprise_privacy_retrieve_network_logs, in addTestsToAdapter()
[all …]
DDeviceOwnerPositiveTestActivity.java100 getString(R.string.device_owner_incorrect_device_owner), null); in onCreate()
107 setInfoResources(R.string.device_owner_positive_tests, in onCreate()
108 R.string.device_owner_positive_tests_info, 0); in onCreate()
112 adapter.add(TestListItem.newCategory(this, R.string.device_owner_positive_category)); in onCreate()
132 .setTitle(R.string.set_device_owner_dialog_title) in onCreate()
133 .setMessage(R.string.set_device_owner_dialog_text) in onCreate()
134 .setPositiveButton(android.R.string.ok, null) in onCreate()
155 R.string.device_owner_check_device_owner_test, in addTestsToAdapter()
161 R.string.device_owner_device_admin_visible, in addTestsToAdapter()
162 R.string.device_owner_device_admin_visible_info, in addTestsToAdapter()
[all …]
DUserRestrictions.java63 R.string.disallow_add_user,
64 R.string.disallow_adjust_volume,
65 R.string.disallow_apps_control,
66 R.string.disallow_config_cell_broadcasts,
67 R.string.disallow_config_credentials,
68 R.string.disallow_config_mobile_networks,
69 R.string.disallow_config_tethering,
70 R.string.disallow_config_wifi,
71 R.string.disallow_debugging_features,
72 R.string.disallow_factory_reset,
[all …]
DByodFlowTestActivity.java155 R.string.provisioning_byod, R.string.provisioning_byod_info, in ByodFlowTestActivity()
156 R.string.provisioning_byod_instructions); in ByodFlowTestActivity()
168 mPrepareTestButton.setText(R.string.provisioning_byod_start); in onCreate()
264 R.string.provisioning_byod_profileowner, in setupTests()
273 R.string.provisioning_byod_disk_encryption, in setupTests()
288 R.string.provisioning_byod_workapps_visible, in setupTests()
290 R.string.provisioning_byod_workapps_visible_instruction, in setupTests()
295 R.string.provisioning_byod_confirm_work_credentials, in setupTests()
297 R.string.provisioning_byod_confirm_work_credentials_description, in setupTests()
301 R.string.provisioning_byod_pattern_work_challenge, in setupTests()
[all …]
DDeviceOwnerRequestingBugreportTestActivity.java77 getString(R.string.device_owner_incorrect_device_owner), null); in onCreate()
87 setInfoResources(R.string.device_owner_requesting_bugreport_tests, in onCreate()
88 R.string.device_owner_requesting_bugreport_tests_info, 0); in onCreate()
93 R.string.device_owner_requesting_bugreport_category)); in onCreate()
113 .setTitle(R.string.set_device_owner_dialog_title) in onCreate()
114 .setMessage(R.string.set_device_owner_dialog_text) in onCreate()
115 .setPositiveButton(android.R.string.ok, null) in onCreate()
135 R.string.device_owner_check_device_owner_test, in addTestsToAdapter()
141 R.string.device_owner_bugreport_sharing_declined_while_being_taken, in addTestsToAdapter()
142 R.string.device_owner_bugreport_sharing_declined_while_being_taken_info, in addTestsToAdapter()
[all …]
DManagedUserPositiveTestActivity.java66 getString(R.string.managed_user_incorrect_managed_user), null); in onCreate()
73 setInfoResources(R.string.managed_user_positive_tests, in onCreate()
74 R.string.managed_user_positive_tests_info, 0); in onCreate()
78 adapter.add(TestListItem.newCategory(this, R.string.managed_user_positive_category)); in onCreate()
107 R.string.managed_user_check_managed_user_test, in addTestsToAdapter()
113 R.string.device_owner_device_admin_visible, in addTestsToAdapter()
114 R.string.device_owner_device_admin_visible_info, in addTestsToAdapter()
116 R.string.device_owner_settings_go, in addTestsToAdapter()
122 R.string.device_owner_disable_statusbar_test, in addTestsToAdapter()
123 R.string.device_owner_disable_statusbar_test_info, in addTestsToAdapter()
[all …]
DPolicyTransparencyTestActivity.java77 R.string.auto_time_required_set_step, in POLICY_TEST_ITEMS.put()
78 R.string.set_auto_time_required_action, in POLICY_TEST_ITEMS.put()
79 R.string.set_auto_time_required_widget_label, in POLICY_TEST_ITEMS.put()
83 R.string.disallow_keyguard_unredacted_notifications_set_step, in POLICY_TEST_ITEMS.put()
84 R.string.disallow_keyguard_unredacted_notifications_action, in POLICY_TEST_ITEMS.put()
85 R.string.disallow_keyguard_unredacted_notifications_widget_label, in POLICY_TEST_ITEMS.put()
89 R.string.lock_screen_info_set_step, in POLICY_TEST_ITEMS.put()
90 R.string.set_lock_screen_info_action, in POLICY_TEST_ITEMS.put()
91 R.string.set_lock_screen_info_widget_label, in POLICY_TEST_ITEMS.put()
95 R.string.maximum_time_to_lock_set_step, in POLICY_TEST_ITEMS.put()
[all …]
DNonMarketAppsActivity.java35 R.string.provisioning_byod_non_market_apps, in NonMarketAppsActivity()
36 R.string.provisioning_byod_non_market_apps_info, in NonMarketAppsActivity()
37 R.string.provisioning_byod_non_market_apps_info); in NonMarketAppsActivity()
52 R.string.provisioning_byod_nonmarket_deny, in setupTests()
54 R.string.provisioning_byod_nonmarket_deny_info, in setupTests()
59 R.string.provisioning_byod_nonmarket_allow, in setupTests()
61 R.string.provisioning_byod_nonmarket_allow_info, in setupTests()
67 R.string.provisioning_byod_nonmarket_deny_global, in setupTests()
69 R.string.provisioning_byod_nonmarket_deny_global_info, in setupTests()
76 R.string.provisioning_byod_nonmarket_allow_global, in setupTests()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
DHceReaderTestActivity.java36 setInfoResources(R.string.nfc_test, R.string.nfc_hce_reader_test_info, 0); in onCreate()
42 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_reader_tests)); in onCreate()
44 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_protocol_params_reader, in onCreate()
48 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_payment_reader, in onCreate()
49 getString(R.string.nfc_hce_single_payment_reader), in onCreate()
52 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_payment_reader, in onCreate()
53 getString(R.string.nfc_hce_dual_payment_reader), in onCreate()
56 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_change_default_reader, in onCreate()
57 getString(R.string.nfc_hce_change_default_reader), in onCreate()
60 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_foreground_payment_reader, in onCreate()
[all …]
DHceEmulatorTestActivity.java38 setInfoResources(R.string.nfc_test, R.string.nfc_hce_emulator_test_info, 0); in onCreate()
46 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce_emulator_tests)); in onCreate()
54 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_protocol_params_emulator, in onCreate()
58 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_payment_emulator, in onCreate()
62 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_payment_emulator, in onCreate()
66 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_change_default_emulator, in onCreate()
70 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_foreground_payment_emulator, in onCreate()
74 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_non_payment_emulator, in onCreate()
78 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_non_payment_emulator, in onCreate()
82 … adapter.add(TestListItem.newTest(this, R.string.nfc_hce_conflicting_non_payment_emulator, in onCreate()
[all …]
/cts/tools/cts-api-coverage/proto/
Dtestsuite.proto27 string name = 1;
28 string key = 2;
29 string value =3;
33 string module_name = 1;
34 string component = 2;
38 string test_class = 1;
44 string test_class = 1;
45 string package = 2;
53 string type = 2;
56 string name = 1;
[all …]
Dcts_report.proto28 optional string board = 1;
29 optional string brand = 2;
30 optional string device = 3;
31 optional string display = 4;
32 optional string fingerprint = 5;
33 optional string id = 6;
34 optional string model = 7;
35 optional string product = 8;
37 optional string release = 1;
38 optional string sdk = 2;
[all …]
/cts/tests/tests/preference/src/android/preference/cts/
DPreferenceFromCodeActivity.java44 prefCat.setTitle(R.string.inline_preferences); in addPreferenceCategory()
52 checkboxPref.setTitle(R.string.title_checkbox_preference); in addPreferenceCategory()
53 checkboxPref.setSummary(R.string.summary_checkbox_preference); in addPreferenceCategory()
54 checkboxPref.setSummaryOn(R.string.summary_on_checkbox_preference); in addPreferenceCategory()
55 checkboxPref.setSummaryOff(R.string.summary_off_checkbox_preference); in addPreferenceCategory()
63 switchPref.setTitle(R.string.title_switch_preference); in addPreferenceCategory()
64 switchPref.setSummary(R.string.summary_switch_preference); in addPreferenceCategory()
65 switchPref.setSummaryOn(R.string.summary_on_switch_preference); in addPreferenceCategory()
66 switchPref.setSummaryOff(R.string.summary_off_switch_preference); in addPreferenceCategory()
67 switchPref.setSwitchTextOff(R.string.switchtext_off); in addPreferenceCategory()
[all …]
/cts/tests/tests/jni/libjnitest/
Dandroid_jni_cts_LinkerNamespacesTest.cpp50 static const std::string kSystemLibraryPath = "/system/" LIB_DIR;
51 static const std::string kArtApexLibraryPath = "/apex/com.android.art/" LIB_DIR;
52 static const std::string kVendorLibraryPath = "/vendor/" LIB_DIR;
53 static const std::string kProductLibraryPath = "/product/" LIB_DIR;
61 static const std::string kWebViewPlatSupportLib = "libwebviewchromium_plat_support.so";
72 static bool not_accessible(const std::string& err) { in not_accessible()
74 … err.find("is not accessible for the namespace \"classloader-namespace\"") != std::string::npos; in not_accessible()
77 static bool not_found(const std::string& err) { in not_found()
79 err.find("\" not found") != std::string::npos; in not_found()
82 static bool wrong_arch(const std::string& library, const std::string& err) { in wrong_arch()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DConnectReqTestCase.java89 notifyTestMsg(R.string.p2p_searching_target); in connectTest()
97 mReason = mContext.getString(R.string.p2p_discover_peers_error); in connectTest()
103 mReason = mContext.getString(R.string.p2p_target_not_found_error); in connectTest()
109 mReason = mContext.getString(R.string.p2p_target_invalid_role_error); in connectTest()
113 mReason = mContext.getString(R.string.p2p_target_invalid_role_error2); in connectTest()
118 notifyTestMsg(R.string.p2p_connecting_with_pbc); in connectTest()
120 notifyTestMsg(R.string.p2p_connecting_with_pin); in connectTest()
131 mReason = mContext.getString(R.string.p2p_connect_error); in connectTest()
140 mReason = mContext.getString(R.string.p2p_connection_error); in connectTest()
147 notifyTestMsg(R.string.p2p_waiting_for_peer_to_connect); in connectTest()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DTestListActivity.java60 setInfoResources(R.string.aware_test, R.string.aware_test_info, 0); in onCreate()
68 R.string.aware_dp_ib_open_unsolicited)); in onCreate()
70 R.string.aware_publish, in onCreate()
74 R.string.aware_subscribe, in onCreate()
78 R.string.aware_dp_ib_passphrase_unsolicited)); in onCreate()
80 R.string.aware_publish, in onCreate()
84 R.string.aware_subscribe, in onCreate()
88 R.string.aware_dp_ib_open_solicited)); in onCreate()
90 R.string.aware_publish, in onCreate()
94 R.string.aware_subscribe, in onCreate()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/deskclock/
DDeskClockTestsActivity.java72 R.string.dc_show_alarms_test,
73 R.string.dc_show_alarms_test_info,
75 R.string.dc_show_alarms_button,
79 R.string.dc_set_alarm_with_ui_test,
80 R.string.dc_set_alarm_with_ui_test_info,
82 R.string.dc_set_alarm_button,
86 R.string.dc_start_alarm_test,
87 R.string.dc_start_alarm_test_info,
89 R.string.dc_set_alarm_button,
92 R.string.dc_set_alarm_verify_button,
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DPaintTest.java1406 String string = "abcdef"; in testGetRunAdvance() local
1408 final float width = p.getRunAdvance(string, 0, string.length(), 0, in testGetRunAdvance()
1409 string.length(), false, 0); in testGetRunAdvance()
1413 for (int i = 0; i < string.length(); i++) { in testGetRunAdvance()
1414 final float width = p.getRunAdvance(string, i, i + 1, 0, string.length(), in testGetRunAdvance()
1420 final float widthToMid = p.getRunAdvance(string, 0, string.length(), 0, in testGetRunAdvance()
1421 string.length(), false, string.length() / 2); in testGetRunAdvance()
1422 final float widthToTail = p.getRunAdvance(string, 0, string.length(), 0, in testGetRunAdvance()
1423 string.length(), false, string.length()); in testGetRunAdvance()
1428 final float widthFromHead = p.getRunAdvance(string, 0, string.length(), 0, in testGetRunAdvance()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DBleClientTestBaseActivity.java153 dialog.setTitle(R.string.ble_test_running); in showProgressDialog()
155 dialog.setMessage(getString(R.string.ble_test_running_message)); in showProgressDialog()
163 testList.add(R.string.ble_client_connect_name); in setupTestList()
164 testList.add(R.string.ble_discover_service_name); in setupTestList()
165 testList.add(R.string.ble_read_characteristic_name); in setupTestList()
166 testList.add(R.string.ble_write_characteristic_name); in setupTestList()
167 testList.add(R.string.ble_mtu_23_name); in setupTestList()
168 testList.add(R.string.ble_mtu_512_name); in setupTestList()
169 testList.add(R.string.ble_read_characteristic_nopermission_name); in setupTestList()
170 testList.add(R.string.ble_write_characteristic_nopermission_name); in setupTestList()
[all …]
DBleServerTestBaseActivity.java84 setInfoResources(R.string.ble_server_start_name, in onCreate()
85 R.string.ble_server_start_info, -1); in onCreate()
142 testList.add(R.string.ble_server_add_service); in setupTestList()
143 testList.add(R.string.ble_server_receiving_connect); in setupTestList()
144 testList.add(R.string.ble_server_read_characteristic); in setupTestList()
145 testList.add(R.string.ble_server_write_characteristic); in setupTestList()
146 testList.add(R.string.ble_server_mtu_23bytes); in setupTestList()
147 testList.add(R.string.ble_server_mtu_512bytes); in setupTestList()
148 testList.add(R.string.ble_server_read_characteristic_without_permission); in setupTestList()
149 testList.add(R.string.ble_server_write_characteristic_without_permission); in setupTestList()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/
DP2pTestListActivity.java60 setInfoResources(R.string.p2p_test, R.string.p2p_test_info, 0); in onCreate()
70 adapter.add(TestListItem.newCategory(this, R.string.p2p_group_formation)); in onCreate()
72 R.string.p2p_go_neg_responder_test, in onCreate()
76 R.string.p2p_go_neg_requester_test, in onCreate()
80 adapter.add(TestListItem.newCategory(this, R.string.p2p_join)); in onCreate()
82 R.string.p2p_group_owner_test, in onCreate()
86 R.string.p2p_group_client_test, in onCreate()
90 adapter.add(TestListItem.newCategory(this, R.string.p2p_join_with_config)); in onCreate()
92 R.string.p2p_group_owner_with_config_test, in onCreate()
96 R.string.p2p_group_client_with_config_test, in onCreate()
[all …]
/cts/tests/tests/content/src/android/content/res/cts/
DPrimitiveTest.java94 expected, v.string); in tryString()
99 tryString(R.string.coerceIntegerToString, "100"); in testStringCoerce()
100 tryString(R.string.coerceBooleanToString, "true"); in testStringCoerce()
101 tryString(R.string.coerceColorToString, "#fff"); in testStringCoerce()
102 tryString(R.string.coerceFloatToString, "100.0"); in testStringCoerce()
103 tryString(R.string.coerceDimensionToString, "100px"); in testStringCoerce()
104 tryString(R.string.coerceFractionToString, "100%"); in testStringCoerce()
116 checkString(R.string.formattedStringNone, in testFormattedString()
117 mResources.getString(R.string.formattedStringNone), in testFormattedString()
119 checkString(R.string.formattedStringOne, in testFormattedString()
[all …]
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityViewTreeReportingTest.java89 AccessibilityNodeInfo firstFrameLayout = getNodeByText(R.string.firstFrameLayout); in testDescendantsOfNotImportantViewReportedInOrder1()
94 AccessibilityNodeInfo firstTextView = getNodeByText(R.string.firstTextView); in testDescendantsOfNotImportantViewReportedInOrder1()
98 AccessibilityNodeInfo firstEditText = getNodeByText(R.string.firstEditText); in testDescendantsOfNotImportantViewReportedInOrder1()
102 AccessibilityNodeInfo firstButton = getNodeByText(R.string.firstButton); in testDescendantsOfNotImportantViewReportedInOrder1()
108 AccessibilityNodeInfo secondFrameLayout = getNodeByText(R.string.secondFrameLayout); in testDescendantsOfNotImportantViewReportedInOrder2()
113 AccessibilityNodeInfo secondTextView = getNodeByText(R.string.secondTextView); in testDescendantsOfNotImportantViewReportedInOrder2()
117 AccessibilityNodeInfo secondEditText = getNodeByText(R.string.secondEditText); in testDescendantsOfNotImportantViewReportedInOrder2()
121 AccessibilityNodeInfo secondButton = getNodeByText(R.string.secondButton); in testDescendantsOfNotImportantViewReportedInOrder2()
128 getNodeByText(R.string.rootLinearLayout); in testDescendantsOfNotImportantViewReportedInOrder3()
134 getNodeByText(R.string.firstFrameLayout); in testDescendantsOfNotImportantViewReportedInOrder3()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDataPathOutOfBandTestCase.java124 setFailureReason(mContext.getString(R.string.aware_status_attach_timeout)); in executeTest()
128 setFailureReason(mContext.getString(R.string.aware_status_attach_fail)); in executeTest()
134 setFailureReason(mContext.getString(R.string.aware_status_attach_fail)); in executeTest()
138 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_attached)); in executeTest()
144 setFailureReason(mContext.getString(R.string.aware_status_identity_fail)); in executeTest()
148 mListener.onTestMsgReceived(mResources.getString(R.string.aware_status_identity, in executeTest()
203 setFailureReason(mContext.getString(R.string.aware_status_publish_timeout)); in executeTestResponder()
207 setFailureReason(mContext.getString(R.string.aware_status_publish_failed)); in executeTestResponder()
214 setFailureReason(mContext.getString(R.string.aware_status_publish_null_session)); in executeTestResponder()
218 mListener.onTestMsgReceived(mContext.getString(R.string.aware_status_publish_started)); in executeTestResponder()
[all …]

12345678910>>...21