/packages/services/Car/tools/emulator/ |
H A D | vhal_const_generate.py | 49 def printEnum(doc, name, dest, postprocess=lambda x: x): 50 # Construct a value name prefix from the group name 51 valueNamePrefix = name.upper() + '_' 53 enum_object = doc['enums'][name] 54 print("\n# %s" % name, file=dest) 56 print('%s%s = %s' % (valueNamePrefix, case.name, 74 if hasattr(e, 'name'): 75 if e.name == 'ply': isPly = True
|
/packages/apps/Car/Settings/src/com/android/car/settings/users/ |
H A D | UserLineItem.java | 45 super(userInfo.name); 56 ? mContext.getString(R.string.current_user_name, mUserInfo.name) : mUserInfo.name);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | SyncUtil.java | 84 context, account.name) == 0); 94 context, account.name); 110 context, account.name);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
H A D | AdbHelpers.java | 42 final String accountName = args.getString("name"); 44 Log.e(TAG, "args must contain extra \"name\""); 53 final String accountName = args.getString("name"); 55 Log.e(TAG, "args must contain extra \"name\""); 65 final String name = args.getString("name"); 68 if (name == null || type == null) { 69 Log.e(TAG, "args must contain extras \"name\" and \"type\""); 74 new AccountWithDataSet(name, type, null));
|
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/ |
H A D | ContactViewHolder.java | 36 private final TextView name; field in class:ContactViewHolder 48 name = (TextView) itemView.findViewById(R.id.contact_name); 56 * @param displayName populates the name view. 65 name.setText(displayName);
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/common/ |
H A D | QueryFilteringUtil.java | 31 * @return true if the query is of T9 format and the name's T9 representation belongs to the 34 public static boolean nameMatchesT9Query(String query, String name) { argument 40 if (indexOfQueryNonDigitsIgnored(query, getT9Representation(name)) != -1) { 49 String[] names = name.toLowerCase().split("\\s");
|
/packages/apps/Settings/src/com/android/settings/dream/ |
H A D | WhenToDreamPicker.java | 90 private final String name; field in class:WhenToDreamPicker.WhenToDreamCandidateInfo 96 name = title; 102 return name;
|
/packages/apps/TV/src/com/android/tv/receiver/ |
H A D | BootCompletedReceiver.java | 77 ComponentName name = new ComponentName(context, TvActivity.class); 78 if (pm.getComponentEnabledSetting(name) 80 pm.setComponentEnabledSetting(name,
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
H A D | ChannelInfo.java | 50 public final String name; field in class:ChannelInfo 112 private ChannelInfo(String number, String name, String logoUrl, int originalNetworkId, argument 118 this.name = name; 143 + ", name=" + name 175 Objects.equals(name, that.name) && 186 return Objects.hash(number, name, originalNetworkId); 215 mName = other.name; 227 setName(String name) argument [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/ |
H A D | InputMethodAndSubtypeEnablerFragment.java | 66 private String getStringExtraFromIntentOrArguments(final String name) { argument 68 final String fromIntent = intent.getStringExtra(name); 73 return (arguments == null) ? null : arguments.getString(name);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
H A D | CursorFactoryListAdapter.java | 40 * name in @id/name. 56 TextView name = (TextView) view.findViewById(R.id.name); 57 name.setText(cursor.getString(ContactsListLoader.COLUMN_NAME));
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/ |
H A D | DatabaseAnalyzer.java | 48 "SELECT name FROM sqlite_master WHERE type in (\"table\", \"view\")", null)) { 87 for (String name : tables) { 89 Log.d(TAG, " " + name); 91 final List<String> columns = findColumns(db, name);
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | AggregationSuggestionView.java | 34 * A view that contains a name, picture and other data for a contact aggregation suggestion. 65 suggestion.name, String.valueOf(suggestion.rawContactId), /* isCircular = */ false); 74 final TextView name = (TextView) findViewById(R.id.aggregation_suggestion_name); 75 name.setText(suggestion.name);
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
H A D | AccountDisplayInfoFactory.java | 32 * For most accounts the account name will be used for the label but device accounts and 64 final CharSequence name = shouldUseTypeLabelForName(account) 66 : account.name; 67 return new AccountDisplayInfo(account, name, type.getDisplayLabel(mContext), 96 || account.name == null;
|
/packages/apps/Dialer/java/com/android/dialer/oem/ |
H A D | CequintCallerIdManager.java | 82 public final String name; field in class:CequintCallerIdManager.CequintCallerIdContact 86 private CequintCallerIdContact(String name, String geoDescription, String imageUrl) { argument 87 this.name = name; 178 String name = getString(cursor, cursor.getColumnIndex(NAME)); 186 ? generateDisplayName(firstName, lastName, company, name) 191 "number: %s, contact name: %s, geo: %s, photo url: %s", 218 * Returns generated name from other names, e.g. first name, last name et 222 generateDisplayName( String firstName, String lastName, String company, String name) argument [all...] |
/packages/apps/Music/src/com/android/music/ |
H A D | RenamePlaylist.java | 96 // check if playlist with current name exists already, and warn the user if so. 118 private int idForplaylist(String name) { argument 121 MediaStore.Audio.Playlists.NAME + "=?", new String[] {name}, 139 String name = null; 143 name = c.getString(0); 147 return name; 163 String name = mPlaylist.getText().toString(); 164 if (name != null && name.length() > 0) { 167 values.put(MediaStore.Audio.Playlists.NAME, name); [all...] |
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
H A D | MockSource.java | 53 public MockSource(String name) { argument 54 this(name, 0); 57 public MockSource(String name, int versionCode) { argument 58 mName = name;
|
/packages/apps/Settings/src/com/android/settings/core/instrumentation/ |
H A D | EventLogWriter.java | 78 public void count(Context context, String name, int value) { argument 79 MetricsLogger.count(context, name, value); 82 public void histogram(Context context, String name, int bucket) { argument 83 MetricsLogger.histogram(context, name, bucket);
|
/packages/apps/TV/src/com/android/tv/parental/ |
H A D | ContentRatingSystem.java | 50 // Domain of this content rating system. It's package name now. 62 // Display name of this content rating system consisting of the associated country 75 // <rating android:name="US_TVPG_Y" /> 76 // <rating android:name="US_TVPG_Y7" /> 113 public Rating getRating(String name) { argument 115 if (TextUtils.equals(rating.getName(), name)) { 131 * Returns the display name of the content rating system consisting of the associated country 164 String name, String domain, String title, String description, List<String> countries, 167 mName = name; 195 public void setName(String name) { argument 163 ContentRatingSystem( String name, String domain, String title, String description, List<String> countries, String displayName, List<Rating> ratings, List<SubRating> subRatings, List<Order> orders, boolean isCustom) argument 350 Rating(String name, String title, String description, Drawable icon, int contentAgeHint, List<SubRating> subRatings) argument 371 setName(String name) argument 450 SubRating(String name, String title, String description, Drawable icon) argument 466 setName(String name) argument 542 addRatingName(String name) argument [all...] |
/packages/apps/TV/tests/unit/src/com/android/tv/ |
H A D | BaseMainActivityTestCase.java | 96 * Tune to the channel with {@code name}. 98 * @param name the name of the channel to find. 100 protected void tuneToChannel(String name) { argument 101 Channel c = findChannelWithName(name); 109 tuneToChannel(channel.name); 121 "By convention " + TvTestInputConstants.CH_1_DEFAULT_DONT_MODIFY.name
|
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/ |
H A D | Tracker.java | 31 void sendTiming(String category, long millis, String name, String label); argument
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
H A D | FolderOperations.java | 39 * The key is the canonical name of the Folder, and the value is a boolean, 69 mOperations.put(folder.name, operation); 79 return hasOperation(folder.name); 84 * @param canonicalName Canonical name of the folder 98 return hasApplyOperation(folder.name); 103 * @param canonicalName Canonical name of the folder 120 return hasRemoveOperation(folder.name); 125 * @param canonicalName Canonical name of the folder 208 * The name of the folder for which the operation is performed.
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
H A D | Header.java | 102 * Gets a <code>Field</code> given a field name. If there are multiple 105 * @param name the field name (e.g. From, Subject). 108 public Field getField(String name) { argument 109 List<Field> l = fieldMap.get(name.toLowerCase()); 117 * Gets all <code>Field</code>s having the specified field name. 119 * @param name the field name (e.g. From, Subject). 122 public List<Field> getFields(String name) { argument 123 List<Field> l = fieldMap.get(name [all...] |
/packages/experimental/BugReportSender/src/com/android/bugreportsender/ |
H A D | BugReportListActivity.java | 160 String name = files[i].getName(); 161 if (name.endsWith(".gz")) name = name.substring(0, name.length() - 3); 162 if (!name.startsWith("bugreport-") || !name.endsWith(".txt")) { 168 mAdapter.add(name.substring(10, name.length() - 4));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyboardIconsSet.java | 64 // Icon name to icon id map. 100 final String name = (String)NAMES_AND_ATTR_IDS[i]; 105 sNameToIdsMap.put(name, iconId); 106 ICON_NAMES[iconId] = name; 138 public static int getIconId(final String name) { argument 139 Integer iconId = sNameToIdsMap.get(name); 143 throw new RuntimeException("unknown icon name: " + name); 146 public int getIconResourceId(final String name) { argument 147 final int iconId = getIconId(name); [all...] |