Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 503) 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.java122 R.string.provisioning_byod, R.string.provisioning_byod_info, in ByodFlowTestActivity()
123 R.string.provisioning_byod_instructions); in ByodFlowTestActivity()
135 mPrepareTestButton.setText(R.string.provisioning_byod_start); in onCreate()
210 R.string.provisioning_byod_profileowner, in setupTests()
219 R.string.provisioning_byod_disk_encryption, in setupTests()
234 R.string.provisioning_byod_workapps_visible, in setupTests()
236 R.string.provisioning_byod_workapps_visible_instruction, in setupTests()
241 R.string.provisioning_byod_confirm_work_credentials, in setupTests()
243 R.string.provisioning_byod_confirm_work_credentials_description, in setupTests()
247 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 …]
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 …]
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 …]
DTurnOffWorkActivity.java59 R.string.provisioning_byod_turn_off_work, in TurnOffWorkActivity()
60 R.string.provisioning_byod_turn_off_work_info, in TurnOffWorkActivity()
61 R.string.provisioning_byod_turn_off_work_instructions); in TurnOffWorkActivity()
68 mPrepareTestButton.setText(R.string.provisioning_byod_turn_off_work_prepare_button); in onCreate()
100 R.string.provisioning_byod_turn_off_work_prepare_notifications, in setupTests()
102 R.string.provisioning_byod_turn_off_work_prepare_notifications_instruction, in setupTests()
106 R.string.provisioning_byod_turn_off_work_turned_off, in setupTests()
111 R.string.provisioning_byod_turn_off_work_turned_off_toast, in setupTests()
118 R.string.provisioning_byod_turn_off_work_notifications, in setupTests()
120 R.string.provisioning_byod_turn_off_work_notifications_instruction, in setupTests()
[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 …]
/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.cpp49 static const std::string kSystemLibraryPath = "/system/" LIB_DIR;
50 static const std::string kRuntimeApexLibraryPath = "/apex/com.android.runtime/" LIB_DIR;
51 static const std::string kVendorLibraryPath = "/vendor/" LIB_DIR;
52 static const std::string kProductLibraryPath = "/product/" LIB_DIR;
59 static const std::string kWebViewPlatSupportLib = "libwebviewchromium_plat_support.so";
70 static bool not_accessible(const std::string& err) { in not_accessible()
72 … err.find("is not accessible for the namespace \"classloader-namespace\"") != std::string::npos; in not_accessible()
75 static bool not_found(const std::string& err) { in not_found()
77 err.find("\" not found") != std::string::npos; in not_found()
80 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/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/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/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/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/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/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/notifications/
DBubblesVerifierActivity.java121 setInfoResources(R.string.bubbles_notification_title, in onCreate()
122 R.string.bubbles_notification_description, -1); in onCreate()
175 mTestTitle.setText(R.string.bubbles_test_summary_title); in updateViewForCompletionSummary()
176 mTestDescription.setText(getString(R.string.bubbles_test_summary, totalPasses, totalTests)); in updateViewForCompletionSummary()
187 return R.string.bubbles_notification_enable_bubbles_button; in getButtonText()
193 return R.string.bubbles_notification_test_enable_bubbles_title; in getTestTitle()
198 return R.string.bubbles_notification_test_enable_bubbles_verify; in getTestDescription()
219 return R.string.bubbles_notification_test_button_1; in getButtonText()
224 return R.string.bubbles_notification_test_title_1; in getTestTitle()
229 return R.string.bubbles_notification_test_verify_1; in getTestDescription()
[all …]

12345678910>>...21