| /frameworks/support/tv-provider/src/android/support/media/tv/ |
| BaseProgram.java | 41 public static final String[] PROJECTION = getProjection(); 71 public String getPackageName() { 79 public String getTitle() { 87 public String getEpisodeTitle() { 95 public String getSeasonNumber() { 107 public String getEpisodeNumber() { 119 public String getDescription() { 127 public String getLongDescription() { 153 public @Genre String[] getCanonicalGenres() { 171 String uri = mValues.getAsString(Programs.COLUMN_POSTER_ART_URI) [all...] |
| /libcore/luni/src/test/java/libcore/java/lang/ |
| StringTest.java | 84 String s = "hi"; 96 assertEquals("a\u0666b", new String(bytes, 1, bytes.length - 2)); 101 assertEquals("a\u0666b", new String(bytes, 1, bytes.length - 2, "UTF-8")); 106 assertEquals("a\u0666b", new String(bytes, 1, bytes.length - 2, Charset.forName("UTF-8"))); 111 assertEquals("a\u0666b", new String(bytes, Charset.forName("UTF-8"))); 117 final String result = new String(bytes, cs); 120 // after we've created a string from it, it doesn't affect the string. 132 // We have a fast path implementation of String.getBytes for UTF-8 [all...] |
| /libcore/luni/src/test/java/libcore/java/lang/reflect/ |
| ClassLoaderReflectionTest.java | 53 String prefix = ClassLoaderReflectionTest.class.getName(); 82 assertParameterizedType(bStringClass.getGenericSuperclass(), bClass, String.class); 88 assertTypeVariable(typeVariables[0], "K", String.class); 102 assertParameterizedType(bString.getGenericType(), bClass, String.class); 110 assertParameterizedType(parameters[0], bClass, String.class); 116 assertParameterizedType(method.getGenericReturnType(), bClass, String.class); 123 assertParameterizedType(types[0], bClass, String.class); 153 static class C<K extends String, V extends A> {} 161 B<String> bString; 163 F(B<String> parameter, List<A> anotherParameter) { [all...] |
| /libcore/luni/src/test/java/libcore/java/sql/ |
| OldResultSetMetaDataTest.java | 37 String query = "select * from zoo"; 79 assertEquals(String.class.getName(), rsmd.getColumnClassName(2)); 80 assertEquals(String.class.getName(), rsmd.getColumnClassName(3)); 86 String name = rsmd.getColumnClassName(0); 93 String name = rsmd.getColumnClassName(4); 120 String[] labels = { "id", "name", "family" }; 123 String label = rsmd.getColumnLabel(i + 1); 131 String label = rsmd.getColumnLabel(0); 138 String label = rsmd.getColumnLabel(5); 147 String[] labels = { "id", "name", "family" } [all...] |
| /libcore/ojluni/src/main/java/java/lang/ |
| String.java | 49 * The {@code String} class represents character strings. All 50 * string literals in Java programs, such as {@code "abc"}, are 54 * are created. String buffers support mutable strings. 55 * Because String objects are immutable they can be shared. For example: 57 * String str = "abc"; 62 * String str = new String(data); 67 * String cde = "cde"; 69 * String c = "abc".substring(2,3); 70 * String d = cde.substring(1, 2) [all...] |
| /libcore/ojluni/src/main/java/java/util/ |
| Arrays.java | [all...] |
| /packages/apps/CellBroadcastReceiver/tests/testapp/src/com/android/cellbroadcastreceiver/tests/ |
| SendTestBroadcastActivity.java | 36 private static final String TAG = "SendTestBroadcastActivity"; 70 messageIdField.setText(String.valueOf(newMessageId)); 96 messageIdField.setText(String.valueOf(new Random().nextInt(65535) + 1));
|
| /packages/apps/DeskClock/src/com/android/deskclock/ |
| HandleApiCalls.java | 67 static final String ACTION_SHOW_TIMERS = "android.intent.action.SHOW_TIMERS"; 79 final String action = intent == null ? null : intent.getAction(); 128 final String reason = context.getString(R.string.no_alarm_scheduled_for_this_time); 142 final String time = DateFormat.getTimeFormat(context).format(alarmTime); 152 final String reason = context.getString( 153 R.string.alarm_cant_be_dismissed_still_more_than_24_hours_away, time); 159 final String reason = context.getString(R.string.alarm_is_dismissed, time); 162 Events.sendAlarmEvent(R.string.action_dismiss, R.string.label_intent) [all...] |
| /packages/apps/ExactCalculator/src/com/android/calculator2/ |
| CalculatorFormula.java | 46 public static final String TAG_ACTION_MODE = "ACTION_MODE"; 202 final String descr = KeyMaps.toDescriptiveString(getContext(), id); 206 announceForAccessibility(String.valueOf(c));
|
| /packages/apps/Settings/src/com/android/settings/ |
| IccLockSettings.java | 60 private static final String TAG = "IccLockSettings"; 74 private static final String PIN_DIALOG = "sim_pin"; 75 private static final String PIN_TOGGLE = "sim_toggle"; 77 private static final String DIALOG_STATE = "dialogState"; 78 private static final String DIALOG_PIN = "dialogPin"; 79 private static final String DIALOG_ERROR = "dialogError"; 80 private static final String ENABLE_TO_STATE = "enableState"; 84 private static final String OLD_PINCODE = "oldPinCode"; 85 private static final String NEW_PINCODE = "newPinCode"; 92 private String mPin [all...] |
| /packages/apps/Settings/src/com/android/settings/fuelgauge/ |
| PowerUsageAdvanced.java | 55 private static final String TAG = "AdvancedBatteryUsage"; 56 private static final String KEY_BATTERY_GRAPH = "battery_graph"; 57 private static final String KEY_BATTERY_USAGE_LIST = "battery_usage_list"; 93 Preference pref = findPreference(String.valueOf(usageType)); 151 protected String getLogTag() { 188 pref.setKey(String.valueOf(batteryData.usageType)); 297 : TextUtils.expandTemplate(getText(R.string.battery_used_for), timeSequence); 303 usageData.summary = getString(R.string.battery_used_by, 404 return R.string.power_wifi; 406 return R.string.power_cell [all...] |
| /packages/apps/Settings/src/com/android/settings/notification/ |
| NotificationStation.java | 67 private static final String TAG = NotificationStation.class.getSimpleName(); 75 public String key; 76 public String channel; 77 public String pkg; 225 private static void logd(String msg, Object... args) { 227 Log.d(TAG, args == null || args.length == 0 ? msg : String.format(msg, args)); 238 private static String getTitleString(Notification n) { 249 return String.valueOf(title); 252 private static String formatPendingIntent(PendingIntent pi) { 292 info.title = getString(R.string.notification_log_no_title) [all...] |
| /packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
| DeletionHelperSettings.java | 49 protected static final String APPS_KEY = "apps_group"; 50 protected static final String KEY_DOWNLOADS_PREFERENCE = "delete_downloads"; 51 protected static final String KEY_PHOTOS_VIDEOS_PREFERENCE = "delete_photos"; 53 private static final String THRESHOLD_KEY = "threshold_key"; 77 public void onCreatePreferences(Bundle savedInstanceState, String rootKey) { 88 HashSet<String> checkedApplications = null; 91 (HashSet<String>) savedInstanceState.getSerializable( 111 new String[] {Manifest.permission.READ_EXTERNAL_STORAGE}, 125 String[] uncheckedFiles = null; 245 public void onRequestPermissionsResult(int requestCode, String permissions[] [all...] |
| /packages/apps/TV/src/com/android/tv/tuner/exoplayer/ |
| ExoPlayerSampleExtractor.java | 55 private static final String TAG = "ExoPlayerSampleExtracto"; 210 List<String> ids = new ArrayList<>(); 212 ids.add(String.format(Locale.ENGLISH, "%s_%x", Long.toHexString(mId), i));
|
| /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
| readertest.cpp | 189 printf(" String: %s\n Actual: %.17g\nExpected: %.17g\n", str, h.actual_, x); \
330 printf(" String: %s\n Actual: %.17g\nExpected: %.17g\n", buffer, h.actual_, d.Value());
357 printf(" String: %s\n Actual: %.17g\nExpected: %.17g\n", buffer, h.actual_, d.Value());
456 bool String(const typename Encoding::Ch* str, size_t length, bool copy) {
493 // String constant L"\xXX" can only specify character code in bytes, which is not endianness-neutral.
494 // And old compiler does not support u"" and U"" string literal. So here specify string literal by array of Ch.
547 // Support of null character in string
617 // Invalid escape character in string.
620 // Incorrect hex digit after \\u escape in string. [all...] |
| /packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
| ContactDirectoryManager.java | 56 private static final String TAG = "ContactDirectoryManager"; 59 public static final String CONTACT_DIRECTORY_META_DATA = "android.content.ContactDirectory"; 63 String packageName; 64 String authority; 65 String accountName; 66 String accountType; 67 String displayName; 73 public String toString() { 84 public static final String[] PROJECTION = { 141 String packageName = cursor.getString(1) [all...] |
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
| adtgen.h | 92 [string] 94 PWSTR String;
|
| ifdef.h | 109 WCHAR String[IF_MAX_STRING_SIZE + 1];
|
| /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/ |
| acpiioct.h | 60 UCHAR String[ANYSIZE_ARRAY]; 112 UCHAR String[ANYSIZE_ARRAY];
|
| /prebuilts/go/darwin-x86/src/cmd/compile/internal/syntax/ |
| tokens.go | 83 var tokstrings = [...]string{ 141 func (tok token) String() string { 142 var s string 208 var opstrings = [...]string{ 244 func (op Operator) String() string { 245 var s string
|
| /prebuilts/go/darwin-x86/src/fmt/ |
| fmt_test.go | 34 renamedString string 67 s string 73 func (i I) String() string { return Sprintf("<%d>", int(i)) } 93 func (g G) GoString() string { 106 // P is a type with a String method with pointer receiver for testing %p. 111 func (p *P) String() string { 112 return "String(p)" 120 func (byteStringer) String() string [all...] |
| /prebuilts/go/darwin-x86/src/go/token/ |
| token.go | 30 STRING // "abc" 126 var tokens = [...]string{ 137 STRING: "STRING", 226 // String returns the string corresponding to the token tok. 227 // For operators, delimiters, and keywords the string is the actual 228 // token character sequence (e.g., for the token ADD, the string is 229 // "+"). For all other tokens the string corresponds to the token 230 // constant name (e.g. for the token IDENT, the string is "IDENT") [all...] |
| /prebuilts/go/darwin-x86/src/go/types/ |
| type.go | 15 // String returns a string representation of a type. 16 String() string 42 String 81 name string 91 func (b *Basic) Name() string { return b.name } 122 tags []string // field tags; nil if there are no tags 129 func NewStruct(fields []*Var, tags []string) *Struct { 149 func (s *Struct) Tag(i int) string { [all...] |
| /prebuilts/go/darwin-x86/src/net/http/ |
| clientserver_test.go | 47 func (t *clientServerTest) getURL(u string) string { 57 return string(slurp) 60 func (t *clientServerTest) scheme() string { 118 log []string 133 if want := []string{"HTTP/1.1", "HTTP/2.0"}; !reflect.DeepEqual(got.log, want) { 160 wantTE := []string{"chunked"} 172 type reqFunc func(c *Client, url string) (*Response, error) 179 CheckResponse func(proto string, res *Response) // optional 180 EarlyCheckResponse func(proto string, res *Response) // optional; pre-normaliz [all...] |
| /prebuilts/go/darwin-x86/src/regexp/syntax/ |
| parse.go | 18 Expr string 21 func (e *Error) Error() string { 22 return "error parsing regexp: " + e.Code.String() + ": `" + e.Expr + "`" 26 type ErrorCode string 48 func (e ErrorCode) String() string { 49 return string(e) 57 Literal // treat pattern as literal string 84 wholeRegexp string 144 // of literal runes into string nodes. The parser calls thi [all...] |