Home
last modified time | relevance | path

Searched refs:isPrimary (Results 1 – 19 of 19) sorted by relevance

/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java313 public PhoneData(String data, int type, String label, boolean isPrimary) { in PhoneData() argument
317 mIsPrimary = isPrimary; in PhoneData()
391 public boolean isPrimary() { in isPrimary() method in VCardEntry.PhoneData
403 public EmailData(String data, int type, String label, boolean isPrimary) { in EmailData() argument
407 mIsPrimary = isPrimary; in EmailData()
481 public boolean isPrimary() { in isPrimary() method in VCardEntry.EmailData
507 boolean isPrimary, int vcardType) { in PostalData() argument
517 mIsPrimary = isPrimary; in PostalData()
525 final int type, final String label, boolean isPrimary, int vcardType) { in constructPostalData() argument
550 dataArray[4], dataArray[5], dataArray[6], type, label, isPrimary, vcardType); in constructPostalData()
[all …]
DVCardBuilder.java241 final Integer isPrimary = contentValues.getAsInteger(StructuredName.IS_PRIMARY); in getPrimaryContentValueWithStructuredName() local
242 if (isPrimary != null && isPrimary > 0 && in getPrimaryContentValueWithStructuredName()
795 final boolean isPrimary = (isPrimaryAsInteger != null ? in appendPhones()
811 phoneNumber, type, label, isPrimary); in appendPhones()
814 appendTelLine(type, label, phoneNumber, isPrimary); in appendPhones()
822 appendTelLine(type, label, phoneNumber, isPrimary); in appendPhones()
869 appendTelLine(type, label, formatted, isPrimary); in appendPhones()
947 final boolean isPrimary = (isPrimaryAsInteger != null ? in appendEmails()
952 appendEmailLine(type, label, emailAddress, isPrimary); in appendEmails()
1040 final boolean isPrimary = (isPrimaryAsInteger != null ? in appendPostalsForGeneric()
[all …]
DVCardPhoneNumberTranslationCallback.java34 public String onValueReceived(String rawValue, int type, String label, boolean isPrimary); in onValueReceived() argument
/frameworks/base/core/java/android/os/storage/
DVolumeInfo.java259 public boolean isPrimary() { in isPrimary() method in VolumeInfo
264 return isPrimary() && (getType() == TYPE_PUBLIC); in isPrimaryPhysical()
273 if (isPrimary() && mountUserId != userId) { in isVisibleForRead()
358 if (isPrimary()) { in buildStorageVolume()
376 if (isPrimary()) { in buildStorageVolume()
396 return new StorageVolume(id, mtpStorageId, userPath, description, isPrimary(), removable, in buildStorageVolume()
431 } else if (type == VolumeInfo.TYPE_EMULATED && isPrimary()) { in buildBrowseIntent()
DStorageVolume.java124 public boolean isPrimary() { in isPrimary() method in StorageVolume
DStorageManager.java912 if (volume.isPrimary()) { in getPrimaryVolume()
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
DBluetoothPbapCard.java107 jsonPhone.put("is_primary", phone.isPrimary());
129 jsonEmail.put("is_primary", email.isPrimary());
/frameworks/base/core/java/android/content/pm/
DUserInfo.java106 public boolean isPrimary() { in isPrimary() method in UserInfo
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java62 if (!user.isPrimary() && !user.isManagedProfile()) { in setContext()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java87 && !user.isPrimary()) { in testAddUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java404 if (!vol.isPrimary()) { in onVolumeRemoved()
421 if (!vol.isPrimary()) { in onVolumeBadRemoval()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java3547 final boolean isPrimary;
3550 isPrimary = mode == mPrimaryActionMode;
3552 if (!isPrimary && mode.getType() == ActionMode.TYPE_PRIMARY) {
3563 isPrimary = mode.getType() == ActionMode.TYPE_PRIMARY;
3566 if (isPrimary) {
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalActions.java528 return currentUser == null || currentUser.isPrimary();
/frameworks/base/services/core/java/com/android/server/
DMountService.java1941 if (vol.isPrimary() && vol.isMountedWritable()) { in warnOnNotMounted()
2646 if (vol.isPrimary()) { in getVolumeList()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1187 if (!user.isPrimary() && user.isRestricted()) { in renameAccountInternal()
1392 if (!user.isPrimary() && user.isRestricted()) { in removeAccountInternal()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java2824 (userInfo.isPrimary() && count >= admin.maximumFailedPasswordsForWipe)) { in getAdminWithMinimumFailedPasswordsForWipeLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java1658 if (vol.type == VolumeInfo.TYPE_PUBLIC && vol.isPrimary()) {
/frameworks/base/api/
Dcurrent.txt24633 field public static final java.lang.String IS_PRIMARY = "isPrimary";
Dsystem-current.txt26589 field public static final java.lang.String IS_PRIMARY = "isPrimary";