/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppTransferActivity.java | 214 mPara.mTitle = getString(R.string.download_title); 217 mPara.mPositiveButtonText = getString(R.string.download_ok); 219 mPara.mNegativeButtonText = getString(R.string.download_cancel); 222 mPara.mPositiveButtonText = getString(R.string.download_succ_ok); 226 mPara.mPositiveButtonText = getString(R.string.download_fail_ok); 229 mPara.mPositiveButtonText = getString(R.string.upload_succ_ok); 233 mPara.mPositiveButtonText = getString(R.string.upload_fail_ok); 235 mPara.mNegativeButtonText = getString(R.string.upload_fail_cancel); 267 tmp = getString(R.string.download_line1, mTransInfo.mDeviceName); 270 tmp = getString(R.string.download_line2, mTransInfo.mFileName) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
ServReqClearRequestTestCase.java | 57 mReason = mContext.getString(R.string.p2p_add_service_request_error); 62 mReason = mContext.getString(R.string.p2p_add_service_request_error); 67 mReason = mContext.getString(R.string.p2p_add_service_request_error); 72 mReason = mContext.getString(R.string.p2p_add_service_request_error); 81 mReason = mContext.getString(R.string.p2p_clear_service_requests_error); 90 mReason = mContext.getString(R.string.p2p_no_service_requests_error);
|
ServReqRemoveRequestTestCase.java | 57 mReason = mContext.getString(R.string.p2p_add_service_request_error); 62 mReason = mContext.getString(R.string.p2p_add_service_request_error); 67 mReason = mContext.getString(R.string.p2p_add_service_request_error); 72 mReason = mContext.getString(R.string.p2p_add_service_request_error); 81 mReason = mContext.getString(R.string.p2p_remove_service_request_error); 86 mReason = mContext.getString(R.string.p2p_remove_service_request_error); 91 mReason = mContext.getString(R.string.p2p_remove_service_request_error); 113 mReason = mContext.getString(R.string.p2p_discover_services_error);
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
SwitchPreferenceTest.java | 47 String titleExp = mResources.getString(R.string.title_switch_preference); 53 String summaryExp = mResources.getString(R.string.summary_switch_preference); 59 String summaryOnExp = mResources.getString( 66 String summaryOffExp = mResources.getString( 83 final CharSequence switchOffExp = mResources.getString( 101 final CharSequence switchOnExp = mResources.getString(
|
/external/libbrillo/brillo/ |
osrelease_reader_unittest.cc | 52 ASSERT_TRUE(store_.GetString("TEST_KEY", &test_key_value)); 55 ASSERT_TRUE(store_.GetString("GREETINGS", &greetings_value)); 58 ASSERT_TRUE(store_.GetString("NAME", &name_value)); 62 ASSERT_FALSE(store_.GetString("DOES_NOT_EXIST", &nonexistent_value)); 88 ASSERT_TRUE(store_.GetString("HELLO", &hello_value)); 89 ASSERT_TRUE(store_.GetString("BONJOUR", &bonjour_value));
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/ |
SamsungRecommendationPlugin.java | 80 String usb_mfg = MDnsUtils.getString(attributes.get(ATTR_USB_MFG));
82 usb_mfg = MDnsUtils.getString(attributes.get(ATTR_MFG));
85 String usb_mdl = MDnsUtils.getString(attributes.get(ATTR_USB_MDL));
87 usb_mdl = MDnsUtils.getString(attributes.get(ATTR_MDL));
94 modelName = MDnsUtils.getString(attributes.get(ATTR_PRODUCT));
96 modelName = MDnsUtils.getString(attributes.get(ATTR_TY));
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
PhoneNumberDisplayUtil.java | 40 return context.getResources().getString(R.string.unknown); 43 return context.getResources().getString(R.string.private_num); 46 return context.getResources().getString(R.string.payphone); 49 return context.getResources().getString(R.string.voicemail); 52 return context.getResources().getString(R.string.unknown); 80 return context.getResources().getString(R.string.unknown);
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothTestRunner.java | 86 String val = arguments.getString("enable_iterations"); 95 val = arguments.getString("discoverable_iterations"); 104 val = arguments.getString("scan_iterations"); 113 val = arguments.getString("enable_pan_iterations"); 122 val = arguments.getString("pair_iterations"); 131 val = arguments.getString("connect_a2dp_iterations"); 140 val = arguments.getString("connect_headset_iterations"); 149 val = arguments.getString("connect_input_iterations"); 158 val = arguments.getString("connect_pan_iterations"); 167 val = arguments.getString("start_stop_sco_iterations") [all...] |
/packages/apps/TV/src/com/android/tv/ |
TvOptionsManager.java | 71 return mContext.getString(R.string.closed_caption_option_item_off); 80 return mContext.getString( 87 return mContext.getString(mPipSwap ? R.string.pip_options_item_swap_on 91 return mContext.getString(R.string.pip_options_item_sound_main); 93 return mContext.getString(R.string.pip_options_item_sound_pip_window); 98 return mContext.getString(R.string.pip_options_item_layout_bottom_right); 100 return mContext.getString(R.string.pip_options_item_layout_top_right); 102 return mContext.getString(R.string.pip_options_item_layout_top_left); 104 return mContext.getString(R.string.pip_options_item_layout_bottom_left); 106 return mContext.getString(R.string.pip_options_item_layout_side_by_side) [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsTest.java | 104 assertEquals(insertPeopleName, cursor.getString(NAME_INDEX)); 105 assertEquals(insertPeopleNotes, cursor.getString(NOTES_INDEX)); 107 assertNull(cursor.getString(CUSTOM_RINGTONE_INDEX)); 126 assertEquals(updatePeopleName, cursor.getString(NAME_INDEX)); 127 assertEquals(updatePeopleNotes, cursor.getString(NOTES_INDEX)); 129 assertNull(cursor.getString(CUSTOM_RINGTONE_INDEX)); 176 assertEquals(insertGroupsName, cursor.getString(NAME_INDEX)); 177 assertEquals(insertGroupsNotes, cursor.getString(NOTES_INDEX)); 178 assertEquals(Groups.GROUP_MY_CONTACTS, cursor.getString(SYSTEM_ID_INDEX)); 191 assertEquals(updateGroupsNotes, cursor.getString(NOTES_INDEX)) [all...] |
Settings_SecureTest.java | 50 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); 52 String value = Secure.getString(cr, STRING_VALUE_SETTING); 68 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); 90 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); 112 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); 134 assertNull(Secure.getString(cr, NO_SUCH_SETTING)); 142 assertNotNull(Secure.getString(cr, STRING_VALUE_SETTING)); 144 assertNull(Secure.getString(cr, NO_SUCH_SETTING));
|
MediaStore_Video_MediaTest.java | 117 assertEquals("cts", c.getString(c.getColumnIndex(Media.ALBUM))); 118 assertEquals("cts team", c.getString(c.getColumnIndex(Media.ARTIST))); 119 assertEquals("test", c.getString(c.getColumnIndex(Media.CATEGORY))); 123 c.getString(c.getColumnIndex(Media.DESCRIPTION))); 124 assertEquals("en", c.getString(c.getColumnIndex(Media.LANGUAGE))); 129 assertEquals("176x144", c.getString(c.getColumnIndex(Media.RESOLUTION))); 130 assertEquals("cts, test", c.getString(c.getColumnIndex(Media.TAGS))); 131 assertEquals(externalVideoPath, c.getString(c.getColumnIndex(Media.DATA))); 132 assertEquals("testvideo.3gp", c.getString(c.getColumnIndex(Media.DISPLAY_NAME))); 133 assertEquals("video/3gpp", c.getString(c.getColumnIndex(Media.MIME_TYPE))) [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_bugzilla/org/eclipse/releng/util/bugzilla/ |
Messages.java | 25 public static String getString(String key) 29 return RESOURCE_BUNDLE.getString(key);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src_rss/org/eclipse/releng/util/rss/ |
Messages.java | 33 public static String getString(String key) 37 return RESOURCE_BUNDLE.getString(key);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
DecoderUtil.java | 26 return format.getString(MediaFormat.KEY_MIME).startsWith("audio/"); 30 return format.getString(MediaFormat.KEY_MIME).startsWith("video/");
|
/packages/apps/DeskClock/src/com/android/deskclock/settings/ |
CrescendoLengthDialog.java | 38 builder.setTitle(getContext().getString(R.string.crescendo_duration_title)) 47 displayedValues[0] = getContext().getString(R.string.no_crescendo_duration); 53 mNumberPickerSecondsView.setText(getContext().getString(R.string.crescendo_picker_label)); 74 announceString = getContext().getString(R.string.no_crescendo_duration); 76 announceString = getContext().getString( 103 return a.getString(index); 135 setSummary(getContext().getString(R.string.no_crescendo_duration)); 137 setSummary(getContext().getString(R.string.crescendo_duration, mCrescendoSeconds));
|
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/ |
ImapResponseTest.java | 71 ).getResponseCodeOrEmpty().getString() 79 ).getResponseCodeOrEmpty().getString() 88 ).getResponseCodeOrEmpty().getString() 99 ).getAlertTextOrEmpty().getString() 109 ).getAlertTextOrEmpty().getString() 120 ).getStatusResponseTextOrEmpty().getString() 129 ).getStatusResponseTextOrEmpty().getString() 139 ).getStatusResponseTextOrEmpty().getString()
|
/cts/tests/tests/car/src/android/car/cts/ |
CarInfoManagerTest.java | 33 mCarInfoManager.getString(CarInfoManager.KEY_MANUFACTURER); 35 mCarInfoManager.getString(CarInfoManager.KEY_VEHICLE_ID); 36 mCarInfoManager.getString(CarInfoManager.KEY_MODEL); 54 mCarInfoManager.getString(NO_SUCH_NAME);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
AppsActivity.java | 40 volumeUuid = args.getString(EXTRA_VOLUME_UUID); 41 volumeName = args.getString(EXTRA_VOLUME_NAME); 59 final String volumeUuid = getArguments().getString(EXTRA_VOLUME_UUID); 60 final String volumeName = getArguments().getString(EXTRA_VOLUME_NAME);
|
/packages/apps/Settings/src/com/android/settings/notification/ |
NotificationStation.java | 282 info.title = getString(R.string.notification_log_no_title); 290 final String delim = getString(R.string.notification_log_details_delimiter); 291 sb.append(bold(getString(R.string.notification_log_details_package))) 295 .append(bold(getString(R.string.notification_log_details_key))) 299 .append(bold(getString(R.string.notification_log_details_icon))) 304 .append(bold(getString(R.string.notification_log_details_group))) 309 getString(R.string.notification_log_details_group_summary))); 313 .append(bold(getString(R.string.notification_log_details_sound))) 316 sb.append(getString(R.string.notification_log_details_default)); 320 sb.append(getString(R.string.notification_log_details_none)) [all...] |
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
NotificationService.java | 97 String sender = context.getString(R.string.sms_sender); 114 String lookupKey = c.getString(lookupIdx); 129 final String priorityName = sharedPref.getString(SettingsActivity.KEY_SMS_PRIORITY, "0"); 132 bigTextStyle.bigText(context.getString(R.string.sms_message)); 139 .setContentText(context.getString(R.string.sms_message)) 143 .addAction(R.drawable.ic_media_next, context.getString(R.string.sms_reply), ai) 157 String uri = sharedPref.getString(SettingsActivity.KEY_SMS_SOUND, null); 175 .setContentTitle(context.getString(R.string.upload_title)) 176 .setContentText(context.getString(R.string.upload_text)) 217 .setContentTitle(getString(R.string.call_title) [all...] |
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/ |
ErrorFragment.java | 33 setTitle(getResources().getString(R.string.app_name)); 38 setMessage(getResources().getString(R.string.error_fragment_message)); 41 setButtonText(getResources().getString(R.string.dismiss_error));
|
/developers/build/prebuilts/gradle/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
ActionsPresets.java | 59 context.getString(R.string.example_action), 75 context.getString(R.string.example_action_long_title), 91 .setLabel(context.getString(R.string.example_reply_label)) 95 context.getString(R.string.example_reply_action), 113 .setLabel(context.getString(R.string.example_reply_answer_label)) 114 .setChoices(new String[] { context.getString(R.string.yes), 115 context.getString(R.string.no), context.getString(R.string.maybe) }) 119 context.getString(R.string.example_reply_action), 138 context.getString(R.string.phone_action) [all...] |
/developers/samples/android/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
ActionsPresets.java | 59 context.getString(R.string.example_action), 75 context.getString(R.string.example_action_long_title), 91 .setLabel(context.getString(R.string.example_reply_label)) 95 context.getString(R.string.example_reply_action), 113 .setLabel(context.getString(R.string.example_reply_answer_label)) 114 .setChoices(new String[] { context.getString(R.string.yes), 115 context.getString(R.string.no), context.getString(R.string.maybe) }) 119 context.getString(R.string.example_reply_action), 138 context.getString(R.string.phone_action) [all...] |
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/ |
ActionsPresets.java | 59 context.getString(R.string.example_action), 75 context.getString(R.string.example_action_long_title), 91 .setLabel(context.getString(R.string.example_reply_label)) 95 context.getString(R.string.example_reply_action), 113 .setLabel(context.getString(R.string.example_reply_answer_label)) 114 .setChoices(new String[] { context.getString(R.string.yes), 115 context.getString(R.string.no), context.getString(R.string.maybe) }) 119 context.getString(R.string.example_reply_action), 138 context.getString(R.string.phone_action) [all...] |