/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | PreferenceFromCodeActivity.java | 46 prefCat.setTitle(R.string.inline_preferences); in addPreferenceCategory() 54 checkboxPref.setTitle(R.string.title_checkbox_preference); in addPreferenceCategory() 55 checkboxPref.setSummary(R.string.summary_checkbox_preference); in addPreferenceCategory() 56 checkboxPref.setSummaryOn(R.string.summary_on_checkbox_preference); in addPreferenceCategory() 57 checkboxPref.setSummaryOff(R.string.summary_off_checkbox_preference); in addPreferenceCategory() 65 switchPref.setTitle(R.string.title_switch_preference); in addPreferenceCategory() 66 switchPref.setSummary(R.string.summary_switch_preference); in addPreferenceCategory() 67 switchPref.setSummaryOn(R.string.summary_on_switch_preference); in addPreferenceCategory() 68 switchPref.setSummaryOff(R.string.summary_off_switch_preference); in addPreferenceCategory() 69 switchPref.setSwitchTextOff(R.string.switchtext_off); in addPreferenceCategory() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodFlowTestActivity.java | 86 R.string.provisioning_byod, R.string.provisioning_byod_info, in ByodFlowTestActivity() 87 R.string.provisioning_byod_instructions); in ByodFlowTestActivity() 96 mPrepareTestButton.setText(R.string.provisioning_byod_start); in onCreate() 164 R.string.provisioning_byod_profileowner, in setupTests() 177 R.string.provisioning_byod_workapps_visible, in setupTests() 179 R.string.provisioning_byod_workapps_visible_instruction, in setupTests() 184 R.string.provisioning_byod_work_notification, in setupTests() 186 R.string.provisioning_byod_work_notification_instruction, in setupTests() 193 R.string.provisioning_byod_work_status_icon, in setupTests() 195 R.string.provisioning_byod_work_status_icon_instruction, in setupTests() [all …]
|
D | DeviceOwnerPositiveTestActivity.java | 84 setInfoResources(R.string.device_owner_positive_tests, in onCreate() 85 R.string.device_owner_positive_tests_info, 0); in onCreate() 89 adapter.add(TestListItem.newCategory(this, R.string.device_owner_positive_category)); in onCreate() 109 .setTitle(R.string.set_device_owner_dialog_title) in onCreate() 110 .setMessage(R.string.set_device_owner_dialog_text) in onCreate() 111 .setPositiveButton(android.R.string.ok, null) in onCreate() 135 R.string.device_owner_check_device_owner_test, in addTestsToAdapter() 142 R.string.device_owner_device_admin_visible, in addTestsToAdapter() 143 R.string.device_owner_device_admin_visible_info, in addTestsToAdapter() 145 R.string.device_owner_settings_go, in addTestsToAdapter() [all …]
|
D | KeyguardDisabledFeaturesActivity.java | 41 R.string.provisioning_byod_keyguard_disabled_features, in KeyguardDisabledFeaturesActivity() 42 R.string.provisioning_byod_keyguard_disabled_features_info, in KeyguardDisabledFeaturesActivity() 43 R.string.provisioning_byod_keyguard_disabled_features_instruction); in KeyguardDisabledFeaturesActivity() 53 R.string.provisioning_byod_keyguard_disabled_features_prepare_button); in onCreate() 59 R.string.provisioning_byod_keyguard_disabled_features_not_admin, in onCreate() 92 adapter.add(new DialogTestListItem(this, R.string.provisioning_byod_disable_trust_agents, in setupTests() 94 R.string.provisioning_byod_disable_trust_agents_instruction, in setupTests() 97 R.string.provisioning_byod_disable_notifications, in setupTests() 99 R.string.provisioning_byod_disable_notifications_instruction, in setupTests() 105 R.string.provisioning_byod_fingerprint_disabled_in_settings, in setupTests() [all …]
|
D | WifiLockdownTestActivity.java | 64 setInfoResources(R.string.device_owner_wifi_lockdown_test, in onCreate() 65 R.string.device_owner_wifi_lockdown_info, 0); in onCreate() 71 R.string.wifi_lockdown_go_settings_wifi_button, in onCreate() 74 R.string.switch_wifi_lockdown_off_button, in onCreate() 83 R.string.switch_wifi_lockdown_on_button, in onCreate() 120 .setTitle(R.string.wifi_lockdown_add_network_failed_dialog_title) in onCreate() 121 .setMessage(R.string.wifi_lockdown_add_network_failed_dialog_text) in onCreate() 122 .setPositiveButton(android.R.string.ok, null) in onCreate() 139 R.string.device_owner_wifi_config_unlocked_modification_test, in addTestsToAdapter() 140 R.string.device_owner_wifi_config_unlocked_modification_test_info, in addTestsToAdapter() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PaintTest.java | 1017 String string = "HIJKLMN"; 1021 p.getTextPath(string, 0, 7, 0, 0, path); 1025 p.getTextPath(string, -2, 7, 0, 0, path); 1031 p.getTextPath(string, 0, -3, 0, 0, path); 1037 p.getTextPath(string, 7, 3, 0, 0, path); 1043 p.getTextPath(string, 3, 9, 0, 0, path); 1084 String string = "abcdef"; 1086 final float width = p.getRunAdvance(string, 0, string.length(), 0, 1087 string.length(), false, 0); 1091 final float widthToMid = p.getRunAdvance(string, 0, string.length(), 0, [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | HceEmulatorTestActivity.java | 38 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 …]
|
D | HceReaderTestActivity.java | 36 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() 52 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_payment_reader, in onCreate() 56 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_change_default_reader, in onCreate() 60 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_foreground_payment_reader, in onCreate() 64 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_single_non_payment_reader, in onCreate() 68 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_dual_non_payment_reader, in onCreate() 72 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_conflicting_non_payment_reader, in onCreate() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/deskclock/ |
D | DeskClockTestsActivity.java | 72 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/content/src/android/content/res/cts/ |
D | PrimitiveTest.java | 94 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/location/ |
D | LocationModeDeviceOnlyTestActivity.java | 27 createUserItem(R.string.location_mode_turn_on); in createTestItems() 28 createUserItem(R.string.location_mode_select_device_only); in createTestItems() 29 createAutoItem(R.string.location_mode_secure_gps_on); in createTestItems() 30 createAutoItem(R.string.location_mode_secure_nlp_off); in createTestItems() 31 createAutoItem(R.string.location_mode_manager_gps_on); in createTestItems() 32 createAutoItem(R.string.location_mode_manager_nlp_off); in createTestItems() 37 setInfoResources(R.string.location_mode_device_only_test, in setInfoResources() 38 R.string.location_mode_device_only_info, -1); in setInfoResources()
|
D | LocationModeHighAccuracyTestActivity.java | 27 createUserItem(R.string.location_mode_turn_on); in createTestItems() 28 createUserItem(R.string.location_mode_select_high_accuracy); in createTestItems() 29 createAutoItem(R.string.location_mode_secure_gps_on); in createTestItems() 30 createAutoItem(R.string.location_mode_secure_nlp_on); in createTestItems() 31 createAutoItem(R.string.location_mode_manager_gps_on); in createTestItems() 32 createAutoItem(R.string.location_mode_manager_nlp_on); in createTestItems() 37 setInfoResources(R.string.location_mode_high_accuracy_test, in setInfoResources() 38 R.string.location_mode_high_accuracy_info, -1); in setInfoResources()
|
D | LocationModeBatterySavingTestActivity.java | 27 createUserItem(R.string.location_mode_turn_on); in createTestItems() 28 createUserItem(R.string.location_mode_select_battery_saving); in createTestItems() 29 createAutoItem(R.string.location_mode_secure_gps_off); in createTestItems() 30 createAutoItem(R.string.location_mode_secure_nlp_on); in createTestItems() 31 createAutoItem(R.string.location_mode_manager_gps_off); in createTestItems() 32 createAutoItem(R.string.location_mode_manager_nlp_on); in createTestItems() 37 setInfoResources(R.string.location_mode_battery_saving_test, in setInfoResources() 38 R.string.location_mode_battery_saving_info, -1); in setInfoResources()
|
D | LocationModeOffTestActivity.java | 27 createUserItem(R.string.location_mode_turn_off); in createTestItems() 28 createAutoItem(R.string.location_mode_secure_gps_off); in createTestItems() 29 createAutoItem(R.string.location_mode_secure_nlp_off); in createTestItems() 30 createAutoItem(R.string.location_mode_manager_gps_off); in createTestItems() 31 createAutoItem(R.string.location_mode_manager_nlp_off); in createTestItems() 36 setInfoResources(R.string.location_mode_off_test, in setInfoResources() 37 R.string.location_mode_off_info, -1); in setInfoResources()
|
/cts/tests/uiautomator/test-apps/CtsUiAutomatorApp/src/com/android/cts/uiautomator/ |
D | Test2DetailFragment.java | 51 builder.setTitle(R.string.dialog_title_result); in onOptionsItemSelected() 53 builder.setPositiveButton(R.string.OK, null); in onOptionsItemSelected() 72 builder.setTitle(R.string.dialog_title_result); in onCreateView() 73 builder.setPositiveButton(R.string.OK, null); in onCreateView() 74 builder.setMessage(R.string.button1); in onCreateView() 84 builder.setTitle(R.string.dialog_title_result); in onCreateView() 85 builder.setPositiveButton(R.string.OK, null); in onCreateView() 86 builder.setMessage(R.string.button1long); in onCreateView() 97 builder.setTitle(R.string.dialog_title_result); in onCreateView() 98 builder.setPositiveButton(R.string.OK, null); in onCreateView() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/d/ |
D | T_return_object_6.d | 30 const-string v0, "aaa" 31 const-string v1, "bbb" 32 const-string v2, "ccc" 33 const-string v3, "ddd" 39 const-string v1, "a" 40 const-string v2, "b" 41 const-string v3, "c" 45 const-string v8, "ddd" 48 const-string v7, "a" 51 const-string v7, "b" [all …]
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityViewTreeReportingTest.java | 38 getString(R.string.firstFrameLayout)).get(0); in testDescendantsOfNotImportantViewReportedInOrder1() 45 R.string.firstTextView)).get(0); in testDescendantsOfNotImportantViewReportedInOrder1() 51 R.string.firstEditText)).get(0); in testDescendantsOfNotImportantViewReportedInOrder1() 57 getString(R.string.firstButton)).get(0); in testDescendantsOfNotImportantViewReportedInOrder1() 65 getString(R.string.secondFrameLayout)).get(0); in testDescendantsOfNotImportantViewReportedInOrder2() 72 getString(R.string.secondTextView)).get(0); in testDescendantsOfNotImportantViewReportedInOrder2() 78 getString(R.string.secondEditText)).get(0); in testDescendantsOfNotImportantViewReportedInOrder2() 84 getString(R.string.secondButton)).get(0); in testDescendantsOfNotImportantViewReportedInOrder2() 92 getString(R.string.rootLinearLayout)).get(0); in testDescendantsOfNotImportantViewReportedInOrder3() 99 getString(R.string.firstFrameLayout)).get(0); in testDescendantsOfNotImportantViewReportedInOrder3() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | ConnectReqTestCase.java | 88 notifyTestMsg(R.string.p2p_searching_target); in connectTest() 96 mReason = mContext.getString(R.string.p2p_discover_peers_error); in connectTest() 102 mReason = mContext.getString(R.string.p2p_target_not_found_error); in connectTest() 108 mReason = mContext.getString(R.string.p2p_target_invalid_role_error); in connectTest() 112 mReason = mContext.getString(R.string.p2p_target_invalid_role_error2); in connectTest() 117 notifyTestMsg(R.string.p2p_connecting_with_pbc); in connectTest() 119 notifyTestMsg(R.string.p2p_connecting_with_pin); in connectTest() 130 mReason = mContext.getString(R.string.p2p_connect_error); in connectTest() 139 mReason = mContext.getString(R.string.p2p_connection_error); in connectTest() 146 notifyTestMsg(R.string.p2p_waiting_for_peer_to_connect); in connectTest() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/ |
D | NfcDialogs.java | 33 .setTitle(R.string.nfc_not_enabled) in createNotEnabledDialog() 34 .setMessage(R.string.nfc_not_enabled_message) in createNotEnabledDialog() 35 .setPositiveButton(R.string.nfc_settings, new DialogInterface.OnClickListener() { in createNotEnabledDialog() 48 .setTitle(R.string.ndef_push_not_enabled) 49 .setMessage(R.string.ndef_push_not_enabled_message) 50 … .setPositiveButton(R.string.ndef_push_settings, new DialogInterface.OnClickListener() { 61 String baseString = context.getString(R.string.nfc_hce_tap_reader_message); 64 .setTitle(R.string.nfc_hce_tap_reader_title) 73 .setTitle(R.string.nfc_hce_tap_reader_title) 74 .setMessage(context.getString(R.string.nfc_hce_change_favor_foreground))
|
D | NfcTestActivity.java | 49 setInfoResources(R.string.nfc_test, R.string.nfc_test_info, 0); in onCreate() 54 adapter.add(TestListItem.newCategory(this, R.string.nfc_pee_2_pee)); in onCreate() 55 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_sender, in onCreate() 58 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef_push_receiver, in onCreate() 63 adapter.add(TestListItem.newTest(this, R.string.nfc_llcp_version_check, in onCreate() 67 adapter.add(TestListItem.newCategory(this, R.string.nfc_tag_verification)); in onCreate() 68 adapter.add(TestListItem.newTest(this, R.string.nfc_ndef, in onCreate() 71 adapter.add(TestListItem.newTest(this, R.string.nfc_mifare_ultralight, in onCreate() 76 adapter.add(TestListItem.newCategory(this, R.string.nfc_hce)); in onCreate() 77 adapter.add(TestListItem.newTest(this, R.string.nfc_hce_reader_tests, in onCreate() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | TvInputDiscoveryTestActivity.java | 120 mGoToSetupItem = createUserItem(R.string.tv_input_discover_test_go_to_setup, in createTestItems() 121 R.string.tv_launch_tv_app, this); in createTestItems() 123 mVerifySetupItem = createAutoItem(R.string.tv_input_discover_test_verify_setup); in createTestItems() 124 mTuneToChannelItem = createUserItem(R.string.tv_input_discover_test_tune_to_channel, in createTestItems() 125 R.string.tv_launch_tv_app, this); in createTestItems() 126 mVerifyTuneItem = createAutoItem(R.string.tv_input_discover_test_verify_tune); in createTestItems() 128 R.string.tv_input_discover_test_verify_overlay_view); in createTestItems() 130 R.string.tv_input_discover_test_verify_global_search); in createTestItems() 131 mGoToEpgItem = createUserItem(R.string.tv_input_discover_test_go_to_epg, in createTestItems() 132 R.string.tv_launch_epg, this); in createTestItems() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/ |
D | P2pTestListActivity.java | 60 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_service_discovery)); in onCreate() 92 R.string.p2p_service_discovery_responder_test, in onCreate() 96 R.string.p2p_service_discovery_requester_test, in onCreate() [all …]
|
/cts/suite/audio_quality/lib/src/ |
D | Adb.cpp | 47 if (command.appendFormat("install -r %s", clientBinary.string()) != 0) { in launchClient() 54 if (command.appendFormat("shell am start -W -n %s", component.string()) != 0) { in launchClient() 68 if (adbCommand.appendFormat("adb %s", command.string()) != 0) { in executeCommand() 72 if (adbCommand.appendFormat("adb -s %s %s", mDevice.string(), in executeCommand() 73 command.string()) != 0) { in executeCommand() 77 return system(adbCommand.string()); in executeCommand()
|
/cts/suite/audio_quality/lib/src/task/ |
D | TaskSound.cpp | 56 LOGE("TaskSound::run %s string not found", STR_ID.string()); in run() 61 LOGE("TaskSound::run %s string not found", STR_TYPE.string()); in run() 79 int amplitude = atoi(tokens->at(1).string()); in run() 80 int freq = atoi(tokens->at(2).string()); in run() 81 int time = atoi(tokens->at(3).string()); in run() 90 int amplitude = atoi(tokens->at(1).string()); in run() 91 int time = atoi(tokens->at(2).string()); in run() 96 LOGE("TaskSound::run unknown word in type %s", type.string()); in run() 104 LOGE("TaskSound::run registering buffer %s failed", id.string()); in run() 112 LOGI("Downloaded buffer %s to DUT with id %d", id.string(), downloadId); in run()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | BleClientStartActivity.java | 50 setInfoResources(R.string.ble_server_start_name, in onCreate() 51 R.string.ble_server_start_info, -1); in onCreate() 94 testList.add(R.string.ble_client_connect_name); in setupTestList() 95 testList.add(R.string.ble_discover_service_name); in setupTestList() 96 testList.add(R.string.ble_read_characteristic_name); in setupTestList() 97 testList.add(R.string.ble_write_characteristic_name); in setupTestList() 98 testList.add(R.string.ble_reliable_write_name); in setupTestList() 99 testList.add(R.string.ble_notify_characteristic_name); in setupTestList() 100 testList.add(R.string.ble_read_descriptor_name); in setupTestList() 101 testList.add(R.string.ble_write_descriptor_name); in setupTestList() [all …]
|