/frameworks/base/core/java/android/os/ |
H A D | Build.java | 39 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 818 private static String getString(String property) { method in class:Build [all...] |
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | TestResources.java | 23 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 D | DecoderUtil.java | 26 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 D | DocumentArchiveTest.java | 94 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 D | ConnectivityManagerStressTestRunner.java | 63 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 D | MDnsUtils.java | 32 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 D | MDnsUtils.java | 32 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 D | 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));
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
H A D | 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_iteration [all...] |
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/xerox/ |
H A D | MDnsUtils.java | 37 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 D | NfcExecutionEnvironment.java | 216 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 D | AddressView.java | 32 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 D | KeyboardShortcuts.java | 160 KeyEvent.KEYCODE_HOME, context.getString(R.string.keyboard_key_home)); 162 KeyEvent.KEYCODE_BACK, context.getString(R.string.keyboard_key_back)); 164 KeyEvent.KEYCODE_DPAD_UP, context.getString(R.string.keyboard_key_dpad_up)); 166 KeyEvent.KEYCODE_DPAD_DOWN, context.getString(R.string.keyboard_key_dpad_down)); 168 KeyEvent.KEYCODE_DPAD_LEFT, context.getString(R.string.keyboard_key_dpad_left)); 170 KeyEvent.KEYCODE_DPAD_RIGHT, context.getString(R.string.keyboard_key_dpad_right)); 172 KeyEvent.KEYCODE_DPAD_CENTER, context.getString(R.string.keyboard_key_dpad_center)); 175 KeyEvent.KEYCODE_TAB, context.getString(R.string.keyboard_key_tab)); 177 KeyEvent.KEYCODE_SPACE, context.getString(R.string.keyboard_key_space)); 179 KeyEvent.KEYCODE_ENTER, context.getString( [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | Formatter.java | 82 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/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | RemoteBugreportUtils.java | 75 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 D | MtpDeviceInfo.cpp | 70 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 D | MtpStorageInfo.cpp | 59 if (!packet.getString(string)) return false; 61 if (!packet.getString(string)) return false;
|
H A D | MtpObjectInfo.cpp | 78 if (!packet.getString(string)) return false; 81 if (!packet.getString(string)) return false; 85 if (!packet.getString(string)) return false; 89 if (!packet.getString(string)) return false;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
H A D | BluetoothTile.java | 102 return mContext.getString(R.string.quick_settings_bluetooth_label); 113 mContext.getString(R.string.accessibility_quick_settings_bluetooth); 119 state.contentDescription = mContext.getString( 125 state.contentDescription = mContext.getString( 127 state.label = mContext.getString(R.string.quick_settings_bluetooth_label); 132 state.contentDescription = mContext.getString( 134 + mContext.getString(R.string.accessibility_not_connected); 136 + mContext.getString(R.string.accessibility_not_connected); 139 state.label = mContext.getString(R.string.quick_settings_bluetooth_label); 143 state.label = mContext.getString( [all...] |
H A D | WorkModeTile.java | 88 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 D | MediaItem.java | 38 return mBundle.getString(MediaMetadata.METADATA_KEY_TITLE); 42 return mBundle.getString(MediaMetadata.METADATA_KEY_ALBUM_ARTIST);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | BindToFinalObservableFieldTest.java | 35 assertEquals(getActivity().getResources().getString(R.string.app_name), textView.getText().toString()); 39 + " binder flags.", getActivity().getResources().getString(R.string.rain),
|
H A D | NoVariablesTest.java | 31 String expectedValue = getActivity().getResources().getString(R.string.app_name);
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | DialogPreference.java | 59 mDialogTitle = TypedArrayUtils.getString(a, R.styleable.DialogPreference_dialogTitle, 67 mDialogMessage = TypedArrayUtils.getString(a, R.styleable.DialogPreference_dialogMessage, 73 mPositiveButtonText = TypedArrayUtils.getString(a, 77 mNegativeButtonText = TypedArrayUtils.getString(a, 115 setDialogTitle(getContext().getString(dialogTitleResId)); 145 setDialogMessage(getContext().getString(dialogMessageResId)); 198 setPositiveButtonText(getContext().getString(positiveButtonTextResId)); 226 setNegativeButtonText(getContext().getString(negativeButtonTextResId));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | VelocityTrackerFactory.java | 32 String tracker = ctx.getResources().getString(R.string.velocity_tracker_impl);
|