Home
last modified time | relevance | path

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

12

/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DPhoneNumber.java95 @Nullable String label, boolean isPrimary, long id, String accountName, in newInstance() argument
99 return new PhoneNumber(i18nPhoneNumber, type, label, isPrimary, id, accountName, in newInstance()
104 boolean isPrimary, long id, String accountName, String accountType, int dataVersion) { in PhoneNumber() argument
108 mIsPrimary = isPrimary; in PhoneNumber()
132 public boolean isPrimary() { in isPrimary() method in PhoneNumber
257 boolean isPrimary = source.readBoolean();
263 isPrimary, id, accountName, accountType, dataVersion);
DContact.java342 if (newNumber.isPrimary()) { in addPhoneNumber()
620 if (phoneNumber.isPrimary()) { in fromParcel()
/packages/apps/Dialer/java/com/android/incallui/
DCallCardPresenter.java572 private void maybeStartSearch(DialerCall call, boolean isPrimary) { in maybeStartSearch() argument
575 startContactInfoSearch(call, isPrimary, call.getState() == DialerCallState.INCOMING); in maybeStartSearch()
581 final DialerCall call, final boolean isPrimary, boolean isIncoming) { in startContactInfoSearch() argument
584 cache.findInfo(call, isIncoming, new ContactLookupCallback(this, isPrimary)); in startContactInfoSearch()
587 private void onContactInfoComplete(String callId, ContactCacheEntry entry, boolean isPrimary) { in onContactInfoComplete() argument
589 (isPrimary && primary != null && TextUtils.equals(callId, primary.getId())) in onContactInfoComplete()
590 || (!isPrimary && secondary != null && TextUtils.equals(callId, secondary.getId())); in onContactInfoComplete()
592 updateContactEntry(entry, isPrimary); in onContactInfoComplete()
622 private void updateContactEntry(ContactCacheEntry entry, boolean isPrimary) { in updateContactEntry() argument
623 if (isPrimary) { in updateContactEntry()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DMetadataEntryParser.java83 public FieldData(String dataHashId, boolean isPrimary, boolean isSuperPrimary, in FieldData() argument
86 this.mIsPrimary = isPrimary; in FieldData()
207 final boolean isPrimary = fieldDataPrefs.getBoolean(IS_PRIMARY); in parseDataToMetaDataEntry()
228 final FieldData fieldDataParse = new FieldData(dataHashId, isPrimary, in parseDataToMetaDataEntry()
DDataRowHandler.java279 final boolean isPrimary = c.getInt(0) != 0; in handlePrimaryAndSuperPrimary()
285 if (clearPrimary && isPrimary) { in handlePrimaryAndSuperPrimary()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataItem.java127 public boolean isPrimary() { in isPrimary() method in DataItem
216 if (isPrimary() || that.isPrimary()) { in collapseWith()
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java120 public boolean isPrimary() { in isPrimary() method in DataItem
215 if (isPrimary() || that.isPrimary()) { in collapseWith()
/packages/apps/Contacts/src/com/android/contacts/model/
DValuesDelta.java166 public boolean isPrimary() { in isPrimary() method in ValuesDelta
167 final Long isPrimary = getAsLong(ContactsContract.Data.IS_PRIMARY); in isPrimary() local
168 return isPrimary == null ? false : isPrimary != 0; in isPrimary()
DRawContactDelta.java160 if (entry.isPrimary()) { in getPrimaryEntry()
191 } else if (entry.isPrimary()) { in getSuperPrimaryEntry()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java147 final boolean isPrimary = Boolean.parseBoolean( in parseAudioZone()
149 if (isPrimary) { in parseAudioZone()
156 isPrimary ? CarAudioManager.PRIMARY_AUDIO_ZONE : getNextSecondaryZoneId(), in parseAudioZone()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertServiceTest.java76 assertEquals(info1.isPrimary(), info2.isPrimary()); in compareEtwsWarningInfo()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DDataAction.java100 mIsPrimary = item.isPrimary(); in DataAction()
274 public boolean isPrimary() { in isPrimary() method in DataAction
DAction.java47 public boolean isPrimary(); in isPrimary() method
/packages/apps/Settings/src/com/android/settings/password/
DSaveChosenLockWorkerBase.java80 if (context == null || UserManager.get(context).getUserInfo(mUserId).isPrimary()) { in prepare()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DSaveChosenLockWorkerBase.java80 if (context == null || UserManager.get(context).getUserInfo(mUserId).isPrimary()) { in prepare()
DConfirmDeviceCredentialBaseFragment.java269 if (userToBeWiped == null || userToBeWiped.isPrimary()) { in getUserTypeForWipe()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java366 && message.getEtwsWarningInfo().isPrimary() in isDuplicate()
367 != messageToCheck.getEtwsWarningInfo().isPrimary()) { in isDuplicate()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DDialerUtils.java72 item.setTitle(number.isPrimary() in showPhoneNumberSelector()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java311 boolean isPrimary) { in getSelectedPhonebookNameList()
724 boolean isPrimary) { in composeContactsAndSendVCards()
825 boolean isPrimary) { in composeContactsAndSendSelectedVCards()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DSecondaryUserController.java75 if (info.isPrimary()) { in getSecondaryUserControllers()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DSecondaryUserController.java75 if (info.isPrimary()) { in getSecondaryUserControllers()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMtpService.java72 if (mUnlocked && (volume.isPrimary() || !mPtpMode)) {
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsViewHolder.java161 if (phoneNumber.isPrimary()) { in bind()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupMembersFragment.java392 final boolean isPrimary = cursor.getInt(Query.PRIMARY) != 0; in sendToGroup()
403 contact.addItem(itemId, isPrimary); in sendToGroup()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
DDialpadFragment.java284 ViewUtils.setText(mLabel, phoneNumber.isPrimary() ? getContext().getString( in presentContactDetail()

12