/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | PhoneNumber.java | 95 @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);
|
D | Contact.java | 342 if (newNumber.isPrimary()) { in addPhoneNumber() 620 if (phoneNumber.isPrimary()) { in fromParcel()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | CallCardPresenter.java | 572 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/ |
D | MetadataEntryParser.java | 83 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()
|
D | DataRowHandler.java | 279 final boolean isPrimary = c.getInt(0) != 0; in handlePrimaryAndSuperPrimary() 285 if (clearPrimary && isPrimary) { in handlePrimaryAndSuperPrimary()
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | DataItem.java | 127 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/ |
D | DataItem.java | 120 public boolean isPrimary() { in isPrimary() method in DataItem 215 if (isPrimary() || that.isPrimary()) { in collapseWith()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | ValuesDelta.java | 166 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()
|
D | RawContactDelta.java | 160 if (entry.isPrimary()) { in getPrimaryEntry() 191 } else if (entry.isPrimary()) { in getSuperPrimaryEntry()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioZonesHelper.java | 147 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/ |
D | CellBroadcastAlertServiceTest.java | 76 assertEquals(info1.isPrimary(), info2.isPrimary()); in compareEtwsWarningInfo()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | DataAction.java | 100 mIsPrimary = item.isPrimary(); in DataAction() 274 public boolean isPrimary() { in isPrimary() method in DataAction
|
D | Action.java | 47 public boolean isPrimary(); in isPrimary() method
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | SaveChosenLockWorkerBase.java | 80 if (context == null || UserManager.get(context).getUserInfo(mUserId).isPrimary()) { in prepare()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | SaveChosenLockWorkerBase.java | 80 if (context == null || UserManager.get(context).getUserInfo(mUserId).isPrimary()) { in prepare()
|
D | ConfirmDeviceCredentialBaseFragment.java | 269 if (userToBeWiped == null || userToBeWiped.isPrimary()) { in getUserTypeForWipe()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastHandler.java | 366 && message.getEtwsWarningInfo().isPrimary() in isDuplicate() 367 != messageToCheck.getEtwsWarningInfo().isPrimary()) { in isDuplicate()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/ |
D | DialerUtils.java | 72 item.setTitle(number.isPrimary() in showPhoneNumberSelector()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapVcardManager.java | 311 boolean isPrimary) { in getSelectedPhonebookNameList() 724 boolean isPrimary) { in composeContactsAndSendVCards() 825 boolean isPrimary) { in composeContactsAndSendSelectedVCards()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | SecondaryUserController.java | 75 if (info.isPrimary()) { in getSecondaryUserControllers()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/ |
D | SecondaryUserController.java | 75 if (info.isPrimary()) { in getSecondaryUserControllers()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MtpService.java | 72 if (mUnlocked && (volume.isPrimary() || !mPtpMode)) {
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/ |
D | ContactDetailsViewHolder.java | 161 if (phoneNumber.isPrimary()) { in bind()
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
D | GroupMembersFragment.java | 392 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/ |
D | DialpadFragment.java | 284 ViewUtils.setText(mLabel, phoneNumber.isPrimary() ? getContext().getString( in presentContactDetail()
|