Home
last modified time | relevance | path

Searched refs:isPrimary (Results 1 – 25 of 25) 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()
444 intent.putExtra(DocumentsContract.EXTRA_SHOW_ADVANCED, isPrimary()); in buildBrowseIntent()
DStorageVolume.java191 public boolean isPrimary() { in isPrimary() method in StorageVolume
342 if ((isPrimary() && directoryName == null) || in createAccessIntent()
DStorageManager.java1136 if (volume.isPrimary()) { in getPrimaryVolume()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsCbEtwsInfo.java136 public boolean isPrimary() { in isPrimary() method in SmsCbEtwsInfo
/frameworks/base/core/java/android/content/pm/
DUserInfo.java132 public boolean isPrimary() { in isPrimary() method in UserInfo
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java112 if (user.id != UserHandle.USER_SYSTEM && !user.isPrimary()) { in removeExistingUsers()
134 && !user.isPrimary()) { in testAddUser()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java318 if (!user.isPrimary() && !user.isManagedProfile()) { in getSecondaryUserId()
/frameworks/base/core/java/android/widget/
DProgressBar.java1285 final boolean isPrimary = id == R.id.progress; in doRefreshProgress()
1287 if (isPrimary && animate) { in doRefreshProgress()
1297 if (isPrimary && callBackToApp) { in doRefreshProgress()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2434 final boolean isPrimary;
2437 isPrimary = mode == mPrimaryActionMode;
2439 if (!isPrimary && mode.getType() == ActionMode.TYPE_PRIMARY) {
2450 isPrimary = mode.getType() == ActionMode.TYPE_PRIMARY;
2453 if (isPrimary) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java433 if (!vol.isPrimary()) { in onVolumeRemoved()
450 if (!vol.isPrimary()) { in onVolumeBadRemoval()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DSuggestionParser.java230 final boolean primaryUserCondtionMet = userInfo.isPrimary() in satisifesRequiredUserType()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java200 if (volume.isPrimary()) { in updateVolumesLocked()
/frameworks/base/core/java/android/os/
DUserManager.java948 return user != null && user.isPrimary(); in isPrimaryUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java600 return currentUser == null || currentUser.isPrimary();
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java601 return currentUser == null || currentUser.isPrimary();
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java2191 if (vol.isPrimary() && vol.isMountedWritable()) { in warnOnNotMounted()
3195 if (vol.isPrimary()) { in getVolumeList()
DConnectivityService.java3822 if (mUserManager.getUserInfo(userId).isPrimary() && LockdownVpnTracker.isEnabled()) { in onUserStart()
3861 if (mUserManager.getUserInfo(userId).isPrimary() && LockdownVpnTracker.isEnabled()) { in onUserUnlocked()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java561 if (ui.isPrimary() && !mRemovingUserIds.get(ui.id)) { in getPrimaryUser()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java4216 getUserInfo(userId).isPrimary())) { in getAdminWithMinimumFailedPasswordsForWipeLocked()
/frameworks/base/api/
Dcurrent.txt31796 method public boolean isPrimary();
32768 field public static final java.lang.String IS_PRIMARY = "isPrimary";
Dsystem-current.txt34648 method public boolean isPrimary();
35682 field public static final java.lang.String IS_PRIMARY = "isPrimary";
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt23389 field public static final java.lang.String IS_PRIMARY = "isPrimary";