Home
last modified time | relevance | path

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

12

/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.java1010 if (volume.isPrimary()) { in getPrimaryVolume()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DOpenExternalDirectoryActivity.java162 final boolean isPrimary = storageVolume.isPrimary(); in showFragment()
164 if (isRoot && isPrimary) { in showFragment()
262 args.putBoolean(EXTRA_IS_PRIMARY, isPrimary); in showFragment()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java78 if (user.id != UserHandle.USER_SYSTEM && !user.isPrimary()) { in removeExistingUsers()
98 && !user.isPrimary()) { in testAddUser()
/frameworks/opt/telephony/src/java/android/telephony/
DSmsCbEtwsInfo.java136 public boolean isPrimary() { in isPrimary() method in SmsCbEtwsInfo
/frameworks/base/core/java/android/content/pm/
DUserInfo.java125 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/core/java/android/widget/
DProgressBar.java1314 final boolean isPrimary = id == R.id.progress; in doRefreshProgress()
1316 if (isPrimary && animate) { in doRefreshProgress()
1326 if (isPrimary && callBackToApp) { in doRefreshProgress()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2308 final boolean isPrimary;
2311 isPrimary = mode == mPrimaryActionMode;
2313 if (!isPrimary && mode.getType() == ActionMode.TYPE_PRIMARY) {
2324 isPrimary = mode.getType() == ActionMode.TYPE_PRIMARY;
2327 if (isPrimary) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java424 if (!vol.isPrimary()) { in onVolumeRemoved()
441 if (!vol.isPrimary()) { in onVolumeBadRemoval()
/frameworks/base/core/java/android/os/
DUserManager.java814 return user != null && user.isPrimary(); in isPrimaryUser()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java197 if (volume.isPrimary()) { in updateVolumesLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserSwitcherController.java509 if (userInfo != null && !userInfo.isPrimary()) {
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalActions.java603 return currentUser == null || currentUser.isPrimary();
/frameworks/base/services/core/java/com/android/server/
DMountService.java2130 if (vol.isPrimary() && vol.isMountedWritable()) { in warnOnNotMounted()
3071 if (vol.isPrimary()) {
DConnectivityService.java3930 if (mUserManager.getUserInfo(userId).isPrimary() && LockdownVpnTracker.isEnabled()) { in onUserStart()
3969 if (mUserManager.getUserInfo(userId).isPrimary() && LockdownVpnTracker.isEnabled()) { in onUserUnlocked()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java526 if (ui.isPrimary() && !mRemovingUserIds.get(ui.id)) { in getPrimaryUser()
DPackageManagerService.java1852 if (vol.type == VolumeInfo.TYPE_PUBLIC && vol.isPrimary()) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java3934 getUserInfo(userId).isPrimary())) { in getAdminWithMinimumFailedPasswordsForWipeLocked()
/frameworks/base/api/
Dcurrent.txt29613 method public boolean isPrimary();
30553 field public static final java.lang.String IS_PRIMARY = "isPrimary";
Dsystem-current.txt32197 method public boolean isPrimary();
33176 field public static final java.lang.String IS_PRIMARY = "isPrimary";

12