Searched refs:getString (Results 1 - 25 of 901) sorted by relevance

1234567891011>>

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DVisualVoicemailSmsParserTest.java30 assertEquals("R", result.fields.getString("st"));
31 assertEquals("0", result.fields.getString("rc"));
32 assertEquals("1", result.fields.getString("srv"));
33 assertEquals("1", result.fields.getString("dn"));
34 assertEquals("1", result.fields.getString("ipt"));
35 assertEquals("0", result.fields.getString("spt"));
36 assertEquals("eg@example.com", result.fields.getString("u"));
37 assertEquals("1", result.fields.getString("pw"));
46 assertEquals("R", result.fields.getString("st"));
47 assertEquals("0", result.fields.getString("r
[all...]
/frameworks/base/core/java/android/os/
H A DBuild.java39 public static final String ID = getString("ro.build.id");
42 public static final String DISPLAY = getString("ro.build.display.id");
45 public static final String PRODUCT = getString("ro.product.name");
48 public static final String DEVICE = getString("ro.product.device");
51 public static final String BOARD = getString("ro.product.board");
70 public static final String MANUFACTURER = getString("ro.product.manufacturer");
73 public static final String BRAND = getString("ro.product.brand");
76 public static final String MODEL = getString("ro.product.model");
79 public static final String BOOTLOADER = getString("ro.bootloader");
90 public static final String RADIO = getString(TelephonyPropertie
871 private static String getString(String property) { method in class:Build
[all...]
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
H A DTestResources.java23 public String getString(int id) throws NotFoundException { method in class:TestResources
36 public String getString(int id, Object... formatArgs) throws NotFoundException { method in class:TestResources
37 return String.format(getString(id), formatArgs);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DDecoderUtil.java26 return format.getString(MediaFormat.KEY_MIME).startsWith("audio/");
30 return format.getString(MediaFormat.KEY_MIME).startsWith("video/");
/frameworks/support/documents-archive/tests/src/android/support/provider/
H A DDocumentArchiveTest.java94 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID)));
96 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME)));
98 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE)));
104 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID)));
106 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME)));
108 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE)));
114 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DOCUMENT_ID)));
116 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_DISPLAY_NAME)));
118 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE)));
129 childCursor.getString(childCurso
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerStressTestRunner.java63 String valueStr = icicle.getString("softap_iterations");
71 String scanIterationStr = icicle.getString("scan_iterations");
79 String ssidStr= icicle.getString("reconnect_ssid");
84 String passwordStr = icicle.getString("reconnect_password");
89 String reconnectStr = icicle.getString("reconnect_iterations");
97 String sleepTimeStr = icicle.getString("sleep_time");
105 String wifiOnlyFlag = icicle.getString("wifi-only");
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/hp/
H A DMDnsUtils.java32 public static String getString(byte[] value) { method in class:MDnsUtils
40 String product = getString(attributes.get(ATTRIBUTE__PRODUCT));
41 String ty = getString(attributes.get(ATTRIBUTE__TY));
42 String usbMfg = getString(attributes.get(ATTRIBUTE__USB_MFG));
43 String mfg = getString(attributes.get(ATTRIBUTE__MFG));
52 vendor = getString(attributes.get(ATTRIBUTE__MFG));
54 vendor = getString(attributes.get(ATTRIBUTE__USB_MFG));
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/samsung/
H A DMDnsUtils.java32 public static String getString(byte[] value) { method in class:MDnsUtils
40 String product = getString(attributes.get(ATTRIBUTE__PRODUCT));
41 String ty = getString(attributes.get(ATTRIBUTE__TY));
42 String usbMfg = getString(attributes.get(ATTRIBUTE__USB_MFG));
43 String mfg = getString(attributes.get(ATTRIBUTE__MFG));
52 vendor = getString(attributes.get(ATTRIBUTE__MFG));
54 vendor = getString(attributes.get(ATTRIBUTE__USB_MFG));
H A DSamsungRecommendationPlugin.java80 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));
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestRunner.java86 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_iteration
[all...]
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/
H A DMDnsUtils.java37 String product = getString(attributes.get(ATTRIBUTE__PRODUCT));
38 String ty = getString(attributes.get(ATTRIBUTE__TY));
39 String usbMfg = getString(attributes.get(ATTRIBUTE__USB_MFG));
40 String usbMdl = getString(attributes.get(ATTRIBUTE__USB_MDL));
41 String mfg = getString(attributes.get(ATTRIBUTE__MFG));
52 vendor = getString(attributes.get(ATTRIBUTE__MFG));
54 vendor = getString(attributes.get(ATTRIBUTE__USB_MFG));
63 String pdls = MDnsUtils.getString(networkDevice.getAttributes().get(PDL_ATTRIBUTE));
85 private static String getString(byte[] value) { method in class:MDnsUtils
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
H A DNfcExecutionEnvironment.java216 throw new EeNfcDisabledException(b.getString("m"));
218 throw new EeIOException(b.getString("m"));
220 throw new EeInitializationException(b.getString("m"));
222 throw new EeExternalFieldException(b.getString("m"));
224 throw new EeListenModeException(b.getString("m"));
226 throw new EeAlreadyOpenException(b.getString("m"));
/frameworks/base/tests/SharedLibrary/lib/src/com/google/android/test/shared_library/
H A DAddressView.java32 mNameView.setText(a.getString(R.styleable.AddressView_name));
35 " " + a.getString(R.styleable.AddressView_streetName));
36 mCityStateZipView.setText(a.getString(R.styleable.AddressView_city) + ", " +
37 a.getString(R.styleable.AddressView_state) + " " +
38 a.getString(R.styleable.AddressView_zip));
39 mCountryView.setText(a.getString(R.styleable.AddressView_country));
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyboardShortcuts.java168 KeyEvent.KEYCODE_HOME, context.getString(R.string.keyboard_key_home));
170 KeyEvent.KEYCODE_BACK, context.getString(R.string.keyboard_key_back));
172 KeyEvent.KEYCODE_DPAD_UP, context.getString(R.string.keyboard_key_dpad_up));
174 KeyEvent.KEYCODE_DPAD_DOWN, context.getString(R.string.keyboard_key_dpad_down));
176 KeyEvent.KEYCODE_DPAD_LEFT, context.getString(R.string.keyboard_key_dpad_left));
178 KeyEvent.KEYCODE_DPAD_RIGHT, context.getString(R.string.keyboard_key_dpad_right));
180 KeyEvent.KEYCODE_DPAD_CENTER, context.getString(R.string.keyboard_key_dpad_center));
183 KeyEvent.KEYCODE_TAB, context.getString(R.string.keyboard_key_tab));
185 KeyEvent.KEYCODE_SPACE, context.getString(R.string.keyboard_key_space));
187 KeyEvent.KEYCODE_ENTER, context.getString(
[all...]
/frameworks/base/core/java/android/text/format/
H A DFormatter.java82 return bidiWrap(context, context.getString(com.android.internal.R.string.fileSizeSuffix,
95 return bidiWrap(context, context.getString(com.android.internal.R.string.fileSizeSuffix,
170 final String units = res.getString(suffix);
221 return context.getString(com.android.internal.R.string.durationDays, days);
224 return context.getString(com.android.internal.R.string.durationDayHour, days, hours);
226 return context.getString(com.android.internal.R.string.durationDayHours, days, hours);
229 return context.getString(com.android.internal.R.string.durationHours, hours);
232 return context.getString(com.android.internal.R.string.durationHourMinute, hours,
235 return context.getString(com.android.internal.R.string.durationHourMinutes, hours,
239 return context.getString(co
[all...]
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/util/
H A DConfigToggle.java25 mLabel = context.getResources().getString(labelId);
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/util/
H A DConfigToggle.java25 mLabel = context.getResources().getString(labelId);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DRemoteBugreportUtils.java75 builder.setContentTitle(context.getString(
79 builder.setContentTitle(context.getString(
90 builder.addAction(new Notification.Action.Builder(null /* icon */, context.getString(
92 .addAction(new Notification.Action.Builder(null /* icon */, context.getString(
94 .setContentTitle(context.getString(
96 .setContentText(context.getString(
98 .setStyle(new Notification.BigTextStyle().bigText(context.getString(
/frameworks/av/media/mtp/
H A DMtpDeviceInfo.cpp70 if (!packet.getString(string)) return false;
85 if (!packet.getString(string)) return false;
87 if (!packet.getString(string)) return false;
89 if (!packet.getString(string)) return false;
91 if (!packet.getString(string)) return false;
H A DMtpStorageInfo.cpp59 if (!packet.getString(string)) return false;
61 if (!packet.getString(string)) return false;
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/accessibility/
H A DAccessibilityRoleDescriptionSupportActivity.java46 String roleDescriptionTextView = getString(R.string.accessibility_roledescription_role);
51 String roleDescriptionHeading1 = getString(R.string.accessibility_roledescription_h1_role);
56 String roleDescriptionHeading2 = getString(R.string.accessibility_roledescription_h2_role);
61 String roleDescriptionHeading3 = getString(R.string.accessibility_roledescription_h3_role);
69 getString(R.string.accessibility_roledescription_button_role);
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/accessibility/
H A DAccessibilityRoleDescriptionSupportActivity.java46 String roleDescriptionTextView = getString(R.string.accessibility_roledescription_role);
51 String roleDescriptionHeading1 = getString(R.string.accessibility_roledescription_h1_role);
56 String roleDescriptionHeading2 = getString(R.string.accessibility_roledescription_h2_role);
61 String roleDescriptionHeading3 = getString(R.string.accessibility_roledescription_h3_role);
69 getString(R.string.accessibility_roledescription_button_role);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DBluetoothTile.java103 return mContext.getString(R.string.quick_settings_bluetooth_label);
114 mContext.getString(R.string.accessibility_quick_settings_bluetooth);
120 state.contentDescription = mContext.getString(
126 state.contentDescription = mContext.getString(
128 state.label = mContext.getString(R.string.quick_settings_bluetooth_label);
133 state.contentDescription = mContext.getString(
135 + mContext.getString(R.string.accessibility_not_connected);
137 + mContext.getString(R.string.accessibility_not_connected);
140 state.label = mContext.getString(R.string.quick_settings_bluetooth_label);
144 state.label = mContext.getString(
[all...]
H A DWorkModeTile.java88 return mContext.getString(R.string.quick_settings_work_mode_label);
99 state.label = mContext.getString(R.string.quick_settings_work_mode_label);
102 state.contentDescription = mContext.getString(
106 state.contentDescription = mContext.getString(
121 return mContext.getString(R.string.accessibility_quick_settings_work_mode_changed_on);
123 return mContext.getString(R.string.accessibility_quick_settings_work_mode_changed_off);
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
H A DMediaItem.java38 return mBundle.getString(MediaMetadata.METADATA_KEY_TITLE);
42 return mBundle.getString(MediaMetadata.METADATA_KEY_ALBUM_ARTIST);

Completed in 1769 milliseconds

1234567891011>>