Searched refs:name (Results 176 - 200 of 1057) sorted by relevance

1234567891011>>

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
H A DTestJobListener.java74 for (String name : names) {
75 assertFileFailed(name);
79 public void assertFileFailed(String name) { argument
85 if (name.equals(failed.displayName)) {
89 fail("Couldn't find failed file: " + name);
/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DSQLiteCacheHelper.java30 public SQLiteCacheHelper(Context context, String name, int version, String tableName) { argument
32 name = null;
35 mOpenHelper = new MySQLiteOpenHelper(context, name, version);
97 public MySQLiteOpenHelper(Context context, String name, int version) { argument
98 super(new NoLocaleSqliteContext(context), name, null, version);
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
H A DPduBody.java59 byte[] name = part.getName();
60 if(null != name) {
61 String clc = new String(name);
163 * the same as filename and name(param of content-type).
173 * Get pdu part by name.
175 * @param name the value of filename.
178 public PduPart getPartByName(String name) { argument
179 return mPartMapByName.get(name);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DUtil.java74 String name = resources.getResourceEntryName(res);
75 return makeResourceUri(appPkg, resPkg, type, name);
78 private static Uri makeResourceUri(String appPkg, String resPkg, String type, String name) { argument
84 uriBuilder.appendEncodedPath(resPkg + ":" + name);
86 uriBuilder.appendEncodedPath(name);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/name/
H A DDeviceNameSetCustomFragment.java17 package com.android.tv.settings.name;
34 import com.android.tv.settings.name.setup.DeviceNameFlowStartActivity;
40 * Fragment responsible for adding new device name.
100 final CharSequence name = action.getEditTitle();
101 if (TextUtils.isGraphic(name)) {
102 DeviceManager.setDeviceName(getActivity(), name.toString());
/packages/apps/UnifiedEmail/src/com/android/mail/text/
H A DFolderSpan.java30 * A replacement span to use when displaying folders in conversation view. Prevents a folder name
31 * from wrapping mid-name, and ellipsizes very long folder names that can't fit on a single line.
42 public FolderSpan(String name, int fgColor, int bgColor, argument
47 mName = name;
80 String name = mName;
82 name = TextUtils.ellipsize(mName, mWorkPaint, width - 2 * mRes.folderHorizontalPadding,
85 FolderDisplayer.drawFolder(canvas, x, baseline - height, width, height, name, mFgColor,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/
H A DUserHistoryDictionary.java56 * @returns the name of the {@link UserHistoryDictionary}.
59 static String getUserHistoryDictName(final String name, final Locale locale, argument
62 return getDictName(name, locale, dictFile);
64 return getUserHistoryDictNamePerAccount(name, locale, dictFile, account);
68 * Uses the currently signed in account to determine the dictionary name.
70 private static String getUserHistoryDictNamePerAccount(final String name, final Locale locale, argument
75 String dictName = name + "." + locale.toString();
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/
H A DPermissionGroups.java85 public PermissionGroup getGroup(String name) { argument
87 if (group.getName().equals(name)) {
133 groupPermissions = packageManager.queryPermissionsByGroup(groupInfo.name, 0);
142 seenPermissions.add(groupPermission.name);
159 PermissionApps permApps = new PermissionApps(getContext(), groupInfo.name, null,
164 PermissionGroup group = new PermissionGroup(groupInfo.name,
194 if (!seenPermissions.add(permissionInfo.name)) {
206 if (!requestedPermissions.contains(permissionInfo.name)) {
213 PermissionApps permApps = new PermissionApps(getContext(), permissionInfo.name,
218 PermissionGroup group = new PermissionGroup(permissionInfo.name,
[all...]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
H A DAccountsTestHelper.java63 Account newAccount = new Account(account.name, account.type);
72 public AccountWithDataSet addTestAccount(@NonNull String name) { argument
75 final AccountWithDataSet account = new AccountWithDataSet(name, TEST_ACCOUNT_TYPE, null);
100 public boolean hasTestAccount(String name) { argument
103 return accounts.contains(new Account(name, TEST_ACCOUNT_TYPE));
109 new String[] { account.name, account.type });
117 // is removed so if multiple tests are using the same account name then the data should
132 if (account.name.startsWith(prefix)) {
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DFilterColorBorderRepresentation.java176 writer.name("size");
178 writer.name("radius");
180 writer.name("color");
189 String name = reader.nextName();
190 if (name.equalsIgnoreCase("size")) {
192 } else if (name.equalsIgnoreCase("radius")) {
194 } else if (name.equalsIgnoreCase("color")) {
H A DFilterCurvesRepresentation.java121 writer.name(NAME_TAG);
124 writer.name(SERIALIZATION_NAME + i);
146 String name = sreader.nextName();
147 if (NAME_TAG.equals(name)) {
149 } else if (name.startsWith(SERIALIZATION_NAME)) {
150 int curveNo = Integer.parseInt(name.substring(SERIALIZATION_NAME.length()));
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
H A Ddocument.h83 GenericValue<Encoding, Allocator> name; //!< name of member (must be a string) member in struct:GenericMember
162 //! @name stepping
170 //! @name increment/decrement
179 //! @name relations
189 //! @name dereference
435 //!@name Constructors and destructor.
600 //!@name Assignment operators
695 //!@name Equal-to and not-equal-to operators
713 typename RhsType::ConstMemberIterator rhsMemberItr = rhs.FindMember(lhsMemberItr->name);
844 operator [](T* name) argument
861 operator [](const GenericValue<Encoding, SourceAllocator>& name) argument
876 operator [](const std::basic_string<Ch>& name) argument
939 FindMember(const Ch* name) argument
960 FindMember(const GenericValue<Encoding, SourceAllocator>& name) argument
979 FindMember(const std::basic_string<Ch>& name) argument
993 AddMember(GenericValue& name, GenericValue& value, Allocator& allocator) argument
1024 AddMember(GenericValue& name, StringRefType value, Allocator& allocator) argument
1039 AddMember(GenericValue& name, std::basic_string<Ch>& value, Allocator& allocator) argument
1064 AddMember(GenericValue& name, T value, Allocator& allocator) argument
1070 AddMember(GenericValue&& name, GenericValue&& value, Allocator& allocator) argument
1073 AddMember(GenericValue&& name, GenericValue& value, Allocator& allocator) argument
1076 AddMember(GenericValue& name, GenericValue&& value, Allocator& allocator) argument
1079 AddMember(StringRefType name, GenericValue&& value, Allocator& allocator) argument
1096 AddMember(StringRefType name, GenericValue& value, Allocator& allocator) argument
1110 AddMember(StringRefType name, StringRefType value, Allocator& allocator) argument
1134 AddMember(StringRefType name, T value, Allocator& allocator) argument
1158 RemoveMember(const Ch* name) argument
1164 RemoveMember(const std::basic_string<Ch>& name) argument
1168 RemoveMember(const GenericValue<Encoding, SourceAllocator>& name) argument
1248 EraseMember(const Ch* name) argument
1254 EraseMember(const std::basic_string<Ch>& name) argument
1258 EraseMember(const GenericValue<Encoding, SourceAllocator>& name) argument
[all...]
/packages/apps/TimeZoneData/oem_template/data_app/
H A Dbuild_oem_data_app.mk21 # TIME_ZONE_DATA_APP_SUFFIX - the suffix to apply to the package name. Can be
24 # TIME_ZONE_DATA_APP_VERSION_NAME - the version name for the .apk.
43 --version-name $(TIME_ZONE_DATA_APP_VERSION_NAME)
45 # OEM-INSTRUCTION: Modify the name, s/oemcorp/<Your company name>/
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
H A DBuilder.java77 String name = buildString((ASTphrase)n, false);
80 return new Group(name, buildGroupBody((ASTgroup_body)n2));
83 name = DecoderUtil.decodeEncodedWords(name);
84 return new NamedMailbox(name, buildAngleAddr((ASTangle_addr)n2));
130 String name;
132 name = buildString((ASTphrase)n, false);
140 name = DecoderUtil.decodeEncodedWords(name);
141 return new NamedMailbox(name, buildAngleAdd
[all...]
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/
H A DTestProviderTests.java41 private static final String PONY_COLUMN_NAME = "name";
69 private static ContentValues ponyValues(String name, String type, int legs, boolean canRide) { argument
71 cv.put(PONY_COLUMN_NAME, name);
115 String name = c.getString(PONY_NAME);
116 if ("Flicka".equals(name)) {
122 } else if ("Elise".equals(name)) {
128 fail("Wrong record: " + name);
163 String name = c.getString(PONY_NAME);
164 if ("Flicka".equals(name)) {
170 } else if ("Elise".equals(name)) {
[all...]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DBluetoothRouteManagerTest.java55 private String name; field in class:BluetoothRouteManagerTest.BluetoothRouteTestParametersBuilder
67 public BluetoothRouteTestParametersBuilder setName(String name) { argument
68 this.name = name;
130 return new BluetoothRouteTestParameters(name,
145 public String name; field in class:BluetoothRouteManagerTest.BluetoothRouteTestParameters
156 public String expectedFinalStateName; // Expected name of the final state.
159 public BluetoothRouteTestParameters(String name, String initialBluetoothState, argument
165 this.name = name;
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DTestUtils.java60 private static String getDatabaseFile(Context context, @Nullable String name) { argument
78 if (name == null) {
81 ret = new File(sDatabasePath, name);
104 public static void createDatabaseSnapshot(Context context, String name) { argument
110 final File toDir = new File(context.getCacheDir(), "snapshot-" + name);
137 final String name = namesAndValues[i - 1].toString();
140 ret.putNull(name);
142 ret.put(name, (String) value);
144 ret.put(name, (Integer) value);
146 ret.put(name, (Lon
188 dumpTable(SQLiteDatabase db, String name) argument
[all...]
/packages/apps/Car/Stream/src/com/android/car/stream/telecom/
H A DTelecomUtils.java76 String name = TelecomUtils.getDisplayName(context, number);
77 ltd.setContactDetails(name, number);
209 // A call might get created before its children are added. In that case, the display name
260 String name = null;
265 name = cursor.getString(0);
266 sContactNameCache.put(number, name);
273 return name;
290 String name;
292 name = context.getString(R.string.voicemail);
294 name
[all...]
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapConvoListing.java156 String name = parser.getName();
157 if(!name.equalsIgnoreCase(XML_TAG)) {
158 if(D) Log.i(TAG,"Unknown XML tag: " + name);
186 String name = parser.getName();
187 if(name.trim().equalsIgnoreCase(BluetoothMapConvoListingElement.XML_TAG_CONVERSATION)
189 if(D) Log.i(TAG,"Unknown XML tag: " + name);
/packages/apps/Camera2/src/com/android/camera/session/
H A DPlaceholderManager.java197 String name = cursor.getString(nameIndex);
199 if (name.toLowerCase().endsWith(Storage.JPEG_POSTFIX)) {
200 name = name.substring(0, name.length() - Storage.JPEG_POSTFIX.length());
203 return new Placeholder(name, uri, date);
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
H A DDirectoryAddonsAdapterTest.java72 for (String name : names) {
73 mEnv.model.createFolder(name);
82 for (String name : names) {
83 mEnv.model.createFile(name);
91 for (String name : names) {
92 mEnv.model.createFile(name);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
H A DServiceProxy.java66 * we found that there are many instances where the package name of the Email app is
101 public void onServiceConnected(ComponentName name, IBinder binder) { argument
103 LogUtils.v(mTag, "Connected: " + name.getShortClassName() + " at " +
149 public void onServiceDisconnected(ComponentName name) { argument
151 LogUtils.v(mTag, "Disconnected: " + name.getShortClassName() + " at " +
170 protected boolean setTask(ProxyTask task, String name) throws IllegalStateException { argument
175 mName = name;
/packages/apps/Email/tests/src/com/android/email/
H A DAccountTestCase.java99 if (accountManagerAccount.name.startsWith(TEST_ACCOUNT_PREFIX) &&
100 accountManagerAccount.name.endsWith(TEST_ACCOUNT_SUFFIX)) {
106 protected String getTestAccountName(String name) { argument
107 return TEST_ACCOUNT_PREFIX + name;
110 protected String getTestAccountEmailAddress(String name) { argument
111 return TEST_ACCOUNT_PREFIX + name + TEST_ACCOUNT_SUFFIX;
/packages/apps/Test/connectivity/sl4n/rapidjson/example/serialize/
H A Dserialize.cpp13 Person(const std::string& name, unsigned age) : name_(name), age_(age) {} argument
19 // This base class just write out name-value pairs, without wrapping within an object.
20 writer.String("name");
66 Dependent(const std::string& name, unsigned age, Education* education = 0) : Person(name, age), education_(education) {} argument
104 Employee(const std::string& name, unsigned age, bool married) : Person(name, age), dependents_(), married_(married) {} argument
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/
H A DContentTypeField.java63 * The name of the <code>boundary</code> parameter.
67 * The name of the <code>charset</code> parameter.
75 protected ContentTypeField(String name, String body, String raw, String mimeType, Map<String, String> parameters, ParseException parseException) { argument
76 super(name, body, raw);
130 * @param name the name of the parameter to get.
133 public String getParameter(String name) { argument
135 ? parameters.get(name.toLowerCase())
211 public Field parse(final String name, final String body, final String raw) { argument
256 return new ContentTypeField(name, bod
[all...]

Completed in 822 milliseconds

1234567891011>>