/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/personalization/ |
H A D | PersonalizationHelper.java | 99 DictFilter(final String name) { argument 100 mName = name; 104 public boolean accept(final File dir, final String name) { argument 105 return name.startsWith(mName);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ContactsTaskScheduler.java | 57 public ContactsTaskScheduler(String name) { argument 58 this(name, SHUTDOWN_TIMEOUT_SECONDS); 62 protected ContactsTaskScheduler(String name, int shutdownTimeoutSeconds) { argument 63 mName = name;
|
/packages/services/Car/libvehiclemonitor/include/ |
H A D | HandlerThread.h | 34 status_t start(const char* name = 0, int32_t priority = PRIORITY_DEFAULT, size_t stack = 0);
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
H A D | CarDiagnosticConstantsTest.java | 57 static MismatchException fieldValueMismatch(Class<?> clazz1, Class<?> clazz2, String name, argument 61 " field " + name + " had different values " + value1 + " vs. " + value2); 97 final String name = field.getName(); 99 fields.put(name, field.getInt(null)); 111 final String name = field2.getName(); 112 if (fields.containsKey(name)) { 115 final int value1 = fields.getOrDefault(name, value2+1); 120 fields.remove(name); 129 throw MismatchException.fieldOnlyInClass2(clazz1, clazz2, name);
|
/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
H A D | NotificationChannelManager.java | 68 CharSequence name = ""; 76 name = context.getText(R.string.notification_channel_incoming_call); 84 name = context.getText(R.string.notification_channel_missed_call); 93 NotificationChannel channel = new NotificationChannel(channelId, name, importance);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | Helpers.java | 167 // If package name was filtered during insert (probably due to being 206 String name = null; 212 name = file.getName(); 219 name = chooseFilename(url, hint, contentDisposition, contentLocation); 230 name = DownloadDrmHelper.modifyDrmFwLockFileExtension(name); 235 final int dotIndex = name.lastIndexOf('.'); 240 prefix = name; 243 prefix = name.substring(0, dotIndex); 244 suffix = name 416 isFilenameAvailableLocked(File[] parents, String name) argument [all...] |
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
H A D | TelecomUtils.java | 210 // A call might get created before its children are added. In that case, the display name 233 String name; 235 name = context.getResources().getString(R.string.voicemail); 237 name = getContactNameFromNumber(cr, number); 240 if (name == null) { 241 name = getFormattedNumber(context, number); 243 if (name == null && gatewayOriginalAddress != null) { 244 name = gatewayOriginalAddress.getSchemeSpecificPart(); 246 if (name == null) { 247 name 351 setContactBitmapAsync(Context context, final ImageView icon, final @Nullable String name, final String number) argument [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | InstallShortcutReceiver.java | 48 public static final String NAME_KEY = "name"; 88 .key(NAME_KEY).value(info.name); 124 String name = object.getString(NAME_KEY); 142 new PendingInstallShortcutInfo(data, name, launchIntent); 162 String name; field in class:InstallShortcutReceiver.PendingInstallShortcutInfo 169 name = shortcutName; 183 // This name is only used for comparisons and notifications, so fall back to activity name 185 String name = data.getStringExtra(Intent.EXTRA_SHORTCUT_NAME); 186 if (name 278 installShortcut(Context context, Intent data, ArrayList<ItemInfo> items, String name, final Intent intent, final int screen, boolean shortcutExists, final SharedPreferences sharedPrefs, int[] result) argument [all...] |
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/bluetooth/ |
H A D | BluetoothScanner.java | 50 public String name = ""; field in class:BluetoothScanner.Device 62 str.append(" name=\""); 63 str.append(name); 73 return String.format("\"%s\" (%s)", this.name, 80 this.name = ""; 372 String name = btDevice.getName(); 375 Log.d(TAG, "Device found, address: " + address + " name: \"" + name + "\""); 378 if (address == null || name == null) { 382 // Older Bluetooth stacks may append a null character to a device name [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | AvatarUriUtil.java | 47 * 3) Letter Tile - A letter tile is used when a participant has a name but no profile photo. A 48 * letter tile will contain the first code point of the participant's name and a background color 49 * based on the hash of the participant's full name. Letter tiles will be in the following format. 53 * name. In these cases we use the default person icon with a color background. The color 152 final String name = participant.getFullName(); 155 return createAvatarUri(profilePhotoUri, name, destination, contactLookupKey); 161 public static Uri createAvatarUri(final Uri profilePhotoUri, final CharSequence name, argument 164 if (!TextUtils.isEmpty(name) && isValidFirstCharacter(name)) { 165 generatedUri = AvatarUriUtil.fromName(name, contactLookupKe 183 isValidFirstCharacter(final CharSequence name) argument 244 fromName(@onNull final CharSequence name, final String contactLookupKey) argument [all...] |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/providers/protos/mock/ |
H A D | MockUiProviderTests.java | 86 int name = foldersCursor.getColumnIndex(UIProvider.FolderColumns.NAME); 96 assertEquals(foldersCursor.getString(name), "Folder zero"); 105 assertEquals(foldersCursor.getString(name), "Folder one"); 113 assertEquals(foldersCursor.getString(name), "Folder two"); 121 assertEquals(foldersCursor.getString(name), "Folder three"); 137 int name = childFoldersCursor.getColumnIndex(UIProvider.FolderColumns.NAME); 141 assertEquals(childFoldersCursor.getString(name), "Folder zeroChild0"); 144 assertEquals(childFoldersCursor.getString(name), "Folder zeroChild1"); 218 int name = attachmentCursor.getColumnIndex(UIProvider.AttachmentColumns.NAME); 222 assertEquals(attachmentCursor.getString(name), "Attachmen [all...] |
/packages/apps/Music/src/com/android/music/ |
H A D | QueryBrowserActivity.java | 84 public void onServiceConnected(ComponentName name, IBinder service) { argument 174 public void onServiceDisconnected(ComponentName name) {} argument 379 String name = cursor.getString( 381 String displayname = name; 383 if (name == null || name.equals(MediaStore.UNKNOWN_STRING)) { 399 String name = cursor.getString( 401 String displayname = name; 402 if (name == null || name [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/ |
H A D | AvrcpPlayer.java | 45 AvrcpPlayer(int id, String name, int transportFlags, int playStatus, int playerType) { argument 47 mName = name;
|
/packages/apps/Camera2/src/com/android/camera/ |
H A D | DisableCameraReceiver.java | 77 ComponentName name = new ComponentName(context, klass); 82 pm.setComponentEnabledSetting(name,
|
/packages/apps/Contacts/src/com/android/contacts/compat/ |
H A D | AggregationSuggestionsCompat.java | 33 public static final String PARAMETER_MATCH_NAME = "name"; 56 * Add a name to be used when searching for aggregation suggestions. 58 * @param name name to find aggregation suggestions for 61 public Builder addNameParameter(String name) { argument 62 mValues.add(name);
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
H A D | SimContactsTestHelper.java | 71 public Uri addSimContact(String name, String number) { argument 73 // Oddly even though it's called name when querying we have to use "tag" for it to work 75 if (name != null) { 76 values.put("tag", name); 139 public int deleteSimContact(@NonNull String name, @NonNull String number) { argument 141 final String selection = "tag='" + name + "' AND " + 156 final String name = "writabeProbe" + System.nanoTime(); 157 final Uri uri = addSimContact(name, "15095550101"); 158 return uri != null && deleteSimContact(name, "15095550101") == 1;
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | DeskClockApplication.java | 55 final String name = PreferenceManager.getDefaultSharedPreferencesName(context); 57 if (!storageContext.moveSharedPreferencesFrom(context, name)) {
|
/packages/apps/Email/tests/src/com/android/email/ |
H A D | MessagingControllerUnitTests.java | 53 * MockFolder allows setting and retrieving role & name 59 public MyMockFolder(FolderRole role, String name) { argument 61 mName = name;
|
/packages/apps/Gallery2/jni/filters/ |
H A D | filters.h | 38 #define JNIFUNCF(cls, name, vars...) Java_com_android_gallery3d_filtershow_filters_ ## cls ## _ ## name(JNIEnv* env, jobject obj_unused __unused, vars)
|
/packages/apps/Gallery2/src/com/android/camera/ |
H A D | DisableCameraReceiver.java | 76 ComponentName name = new ComponentName(context, klass); 81 pm.setComponentEnabledSetting(name,
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | Face.java | 30 public Face(String name, String personId, String rect) { argument 31 mName = name;
|
H A D | LocalAlbumSet.java | 72 String name[] = path.split(); 73 if (name.length < 2) { 76 return getTypeFromString(name[1]); 137 DataManager manager, int type, Path parent, int id, String name) { 144 return new LocalAlbum(path, mApplication, id, true, name); 146 return new LocalAlbum(path, mApplication, id, false, name); 150 getLocalAlbum(manager, MEDIA_TYPE_IMAGE, PATH_IMAGE, id, name), 151 getLocalAlbum(manager, MEDIA_TYPE_VIDEO, PATH_VIDEO, id, name)}, id); 136 getLocalAlbum( DataManager manager, int type, Path parent, int id, String name) argument
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
H A D | FilterFxRepresentation.java | 28 public FilterFxRepresentation(String name, int bitmapResource, int nameResource) { argument 29 super(name);
|
/packages/apps/Launcher3/src/com/android/launcher3/testing/ |
H A D | MemoryTracker.java | 48 public String name; field in class:MemoryTracker.ProcessMemInfo 56 public ProcessMemInfo(int pid, String name, long start) { argument 58 this.name = name; 100 public void startTrackingProcess(int pid, String name, long start) { argument 109 mData.put(pid, new ProcessMemInfo(pid, name, start)); 193 final String name = intent.getStringExtra("name"); 195 startTrackingProcess(pid, name, start);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/model/ |
H A D | PermissionGroup.java | 29 PermissionGroup(String name, String declaringPackage, CharSequence label, Drawable icon, argument 32 mName = name;
|