Searched refs:name (Results 276 - 300 of 1057) sorted by relevance

<<11121314151617181920>>

/packages/apps/Music/src/com/android/music/
H A DMediaPickerActivity.java242 String name = cursor.getString(mTitleIdx);
243 tv.setText(name);
246 name = cursor.getString(mAlbumIdx);
248 if (name == null || name.equals(MediaStore.UNKNOWN_STRING)) {
251 builder.append(name);
254 name = cursor.getString(mArtistIdx);
255 if (name == null || name.equals(MediaStore.UNKNOWN_STRING)) {
258 builder.append(name);
[all...]
H A DCreatePlaylist.java87 // check if playlist with current name exists already, and warn the user if so.
100 private int idForplaylist(String name) { argument
103 MediaStore.Audio.Playlists.NAME + "=?", new String[] {name},
147 // picked for the new name.
167 String name = mPlaylist.getText().toString();
168 if (name != null && name.length() > 0) {
170 int id = idForplaylist(name);
178 values.put(MediaStore.Audio.Playlists.NAME, name);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DUtils.java99 static void showConnectingError(Context context, String name) { argument
100 showConnectingError(context, name, getLocalBtManager(context));
104 static void showConnectingError(Context context, String name, LocalBluetoothManager manager) { argument
107 showError(context, name, R.string.bluetooth_connecting_error_message, manager);
110 static void showError(Context context, String name, int messageResId) { argument
111 showError(context, name, messageResId, getLocalBtManager(context));
114 private static void showError(Context context, String name, int messageResId, argument
116 String message = context.getString(messageResId, name);
144 public void onShowError(Context context, String name, int messageResId) {
145 showError(context, name, messageResI
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
H A DAtPhonebook.java88 // package and class name to which we send intent to check phone book access permission
514 String name = null;
527 name = c.getString(0);
532 if (DBG && name == null) log("Caller ID lookup failed for " + number);
535 name = pbr.cursor.getString(pbr.nameColumn);
537 log("processCpbrCommand: empty name and number");
539 if (name == null) name = "";
540 name = name
[all...]
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
H A DUsbDeviceHandlerResolver.java120 // USB device manufacturer name string (or null for unspecified)
122 // USB device product name string (or null for unspecified)
203 String name = parser.getAttributeName(i);
206 if (!aoapData && "manufacturer-name".equals(name)) {
208 } else if (!aoapData && "product-name".equals(name)) {
210 } else if (!aoapData && "serial-number".equals(name)) {
212 } else if (aoapData && "manufacturer".equals(name)) {
214 } else if (aoapData && "model".equals(name)) {
[all...]
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
H A Dpointertest.cpp47 EXPECT_STREQ("", p.GetTokens()[0].name);
56 EXPECT_STREQ("foo", p.GetTokens()[0].name);
66 EXPECT_STREQ("foo", p.GetTokens()[0].name);
76 EXPECT_STREQ("foo", p.GetTokens()[0].name);
79 EXPECT_STREQ("0", p.GetTokens()[1].name);
89 EXPECT_STREQ("a/b", p.GetTokens()[0].name);
98 EXPECT_STREQ("m~n", p.GetTokens()[0].name);
102 // empty name
107 EXPECT_STREQ("", p.GetTokens()[0].name);
111 // empty and non-empty name
[all...]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DEntrySchema.java63 projection[i] = column.name;
87 if (column.name.equals(columnName)) {
157 String columnName = column.name;
195 String columnName = column.name;
234 String columnName = column.name;
307 sql.append(column.name);
316 unique.append(column.name);
318 unique.append(',').append(column.name);
337 sql.append(column.name);
341 sql.append(column.name);
515 public final String name; field in class:EntrySchema.ColumnInfo
524 ColumnInfo(String name, int type, boolean indexed, boolean unique, boolean fullText, String defaultValue, Field field, int projectionIndex) argument
[all...]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DComponentContextFixture.java162 public Object getSystemService(String name) { argument
163 switch (name) {
221 protected IContentProvider acquireProvider(Context c, String name) {
222 Log.i(this, "acquireProvider %s", name);
223 return getOrCreateProvider(name);
232 protected IContentProvider acquireUnstableProvider(Context c, String name) {
233 Log.i(this, "acquireUnstableProvider %s", name);
234 return getOrCreateProvider(name);
237 private IContentProvider getOrCreateProvider(String name) {
238 if (!mIContentProviderByUri.containsKey(name)) {
530 addService(String action, ComponentName name, IInterface service) argument
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
H A DScanFilterQueue.java56 public String name; field in class:ScanFilterQueue.Entry
65 name, company, company_mask,
83 Objects.equals(name, other.name) &&
129 void addName(String name) { argument
132 entry.name = name;
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapCallLogComposer.java141 String name = mCursor.getString(CALLER_NAME_COLUMN_INDEX);
144 if (TextUtils.isEmpty(name)) {
145 name = "";
148 // setting name to "" as FN/N must be empty fields in this case.
149 name = "";
154 final boolean needCharset = !(VCardUtils.containsOnlyPrintableAscii(name));
155 builder.appendLine(VCardConstants.PROPERTY_FN, name, needCharset, false);
156 builder.appendLine(VCardConstants.PROPERTY_N, name, needCharset, false);
/packages/apps/Dialer/java/com/android/dialer/common/
H A DNetworkUtil.java62 * Returns the current network type as a string. For mobile network types the subtype name of the
119 String name = null;
127 name = wifiInfo.getSSID();
129 return TextUtils.isEmpty(name)
131 : name.replaceAll("\"", "");
137 String name = telephonyMgr.getNetworkOperatorName();
138 return TextUtils.isEmpty(name)
140 : name.replaceAll("\"", "");
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/
H A DHttpFetcher.java180 for (String name : names) {
181 if (PARAM_ACCESS_TOKEN.equals(name)) {
182 builder.appendQueryParameter(name, "token");
184 final String value = uri.getQueryParameter(name);
185 if (PARAM_ID.equals(name)) {
186 builder.appendQueryParameter(name, MoreStrings.toSafeString(value));
188 builder.appendQueryParameter(name, value);
/packages/apps/Email/tests/src/com/android/email/
H A DDBTestHelper.java173 public File getDir(String name, int mode) { argument
174 return mBaseContext.getDir("mockcontext2_" + name, mode);
206 public SharedPreferences getSharedPreferences(String name, int mode) { argument
211 public Object getSystemService(String name) { argument
212 if (Context.LAYOUT_INFLATER_SERVICE.equals(name)) {
213 return mRealContext.getSystemService(name);
215 return super.getSystemService(name);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DContactsManager.java155 // name has changed.
164 final String name = cursor.getString(
166 if (isValidName(name)) {
217 private static boolean isValidName(final String name) { argument
218 if (TextUtils.isEmpty(name) || name.indexOf(Constants.CODE_COMMERCIAL_AT) != -1) {
221 final boolean hasSpace = name.indexOf(Constants.CODE_SPACE) != -1;
225 return name.indexOf(Constants.CODE_DASH) == -1;
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
H A DBmessageParser.java164 if (prop.name.equals("VERSION")) {
167 } else if (prop.name.equals("STATUS")) {
175 } else if (prop.name.equals("TYPE")) {
183 } else if (prop.name.equals("FOLDER")) {
264 if (prop.name.equals("PARTID")) {
265 } else if (prop.name.equals("ENCODING")) {
268 } else if (prop.name.equals("CHARSET")) {
271 } else if (prop.name.equals("LANGUAGE")) {
274 } else if (prop.name.equals("LENGTH")) {
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/
H A DNearbyPlaceViewHolder.java62 String name = cursor.getString(Projections.PHONE_DISPLAY_NAME);
65 placeName.setText(QueryBoldingUtil.getNameWithQueryBolded(query, name));
75 name,
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterDrawRepresentation.java326 writer.name(SERIAL_PATH + i);
329 writer.name(SERIAL_COLOR).value(mark.mColor);
330 writer.name(SERIAL_RADIUS).value(mark.mRadius);
331 writer.name(SERIAL_TYPE).value(mark.mType);
332 writer.name(SERIAL_POINTS_COUNT).value(mark.noPoints);
333 writer.name(SERIAL_POINTS);
357 String name = sreader.nextName();
358 if (name.equals(SERIAL_COLOR)) {
360 } else if (name.equals(SERIAL_RADIUS)) {
362 } else if (name
[all...]
H A DFilterStraightenRepresentation.java124 writer.name(SERIALIZATION_STRAIGHTEN_VALUE).value(mStraighten);
133 String name = reader.nextName();
134 if (SERIALIZATION_STRAIGHTEN_VALUE.equals(name)) {
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
H A DCharacterSets.java76 * The Well-known-charset Mime name.
137 * Map an MIBEnum number to the name of the charset which this number
141 * @return The name string of the charset.
146 String name = MIBENUM_TO_NAME_MAP.get(mibEnumValue);
147 if (name == null) {
150 return name;
154 * Map a well-known charset name to its assigned MIBEnum number.
156 * @param mimeName The charset name.
/packages/apps/Settings/src/com/android/settings/dream/
H A DCurrentDreamPicker.java90 private final CharSequence name; field in class:CurrentDreamPicker.DreamCandidateInfo
97 name = info.caption;
104 return name;
/packages/apps/Settings/src/com/android/settings/gestures/
H A DDoubleTwistPreferenceController.java57 final String name = resources.getString(R.string.gesture_double_twist_sensor_name);
59 if (!TextUtils.isEmpty(name) && !TextUtils.isEmpty(vendor)) {
63 if (name.equals(s.getName()) && vendor.equals(s.getVendor())) {
/packages/apps/Settings/tests/unit/src/com/android/settings/fingerprint/
H A DFingerprintEnrollIntroductionTest.java102 public Object getSystemService(String name) { argument
103 if (Context.FINGERPRINT_SERVICE.equals(name)) {
106 return super.getSystemService(name);
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
H A DAttachment.java73 * Attachment file name. See {@link AttachmentColumns#NAME} Use {@link #setName(String)}.
75 private String name; field in class:Attachment
183 name = in.readString();
205 name = cursor.getString(cursor.getColumnIndex(AttachmentColumns.NAME));
227 name = srcJson.optString(AttachmentColumns.NAME, null);
252 name = MimeUtility.getHeaderParameter(contentTypeHeader, "name");
253 if (name == null) {
256 name = MimeUtility.getHeaderParameter(contentDisposition, "filename");
259 contentType = MimeType.inferMimeType(name, par
520 setName(String name) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
H A DConversationCursorLoader.java47 Uri uri, String name, boolean ignoreInitialConversationLimit) {
50 mName = name;
55 activity, mUri, useInitialConversationLimit, name);
46 ConversationCursorLoader(Activity activity, Account account, Uri uri, String name, boolean ignoreInitialConversationLimit) argument
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
H A DMetadataParser.java58 final String name = reader.nextName();
59 if (!TextUtils.isEmpty(name)) {
60 arguments.put(name, reader.nextString());
76 // The null argument is the local file name, which is not known at this time and will

Completed in 526 milliseconds

<<11121314151617181920>>