/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/ |
D | PhoneNumber.java | 94 @Nullable String label, boolean isPrimary, long id, String accountName, in newInstance() argument 98 return new PhoneNumber(i18nPhoneNumber, type, label, isPrimary, id, accountName, in newInstance() 103 boolean isPrimary, long id, String accountName, String accountType, int dataVersion) { in PhoneNumber() argument 107 mIsPrimary = isPrimary; in PhoneNumber() 131 public boolean isPrimary() { in isPrimary() method in PhoneNumber 256 boolean isPrimary = source.readBoolean(); 262 isPrimary, id, accountName, accountType, dataVersion);
|
D | Contact.java | 342 if (newNumber.isPrimary()) { in addPhoneNumber() 631 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/services/Car/service/src/com/android/car/audio/ |
D | CarAudioZonesHelper.java | 256 final boolean isPrimary = Boolean.parseBoolean( in parseAudioZone() 259 final int audioZoneId = getZoneId(isPrimary, parser); in parseAudioZone() 276 private int getZoneId(boolean isPrimary, XmlPullParser parser) { in getZoneId() argument 283 return isPrimary ? PRIMARY_AUDIO_ZONE in getZoneId() 287 if (isPrimary && audioZoneIdString == null) { in getZoneId() 294 if (isPrimary) { in getZoneId()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | MetadataEntryParser.java | 90 public FieldData(String dataHashId, boolean isPrimary, boolean isSuperPrimary, in FieldData() argument 93 this.mIsPrimary = isPrimary; in FieldData() 227 final boolean isPrimary = fieldDataPrefs.getBoolean(IS_PRIMARY); in parseDataToMetaDataEntry() 248 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/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastAlertServiceTest.java | 90 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/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()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | SaveChosenLockWorkerBase.java | 84 if (context == null || UserManager.get(context).getUserInfo(mUserId).isPrimary()) { in prepare()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/ |
D | DialerUtils.java | 74 item.setTitle(number.isPrimary() in showPhoneNumberSelector()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/ |
D | SecondaryUserController.java | 75 if (info.isPrimary()) { in getSecondaryUserControllers()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | SecondaryUserController.java | 76 if (info.isPrimary()) { in getSecondaryUserControllers()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapVcardManager.java | 326 boolean isPrimary) { in getSelectedPhonebookNameList() 745 boolean isPrimary) { in composeContactsAndSendVCards() 846 boolean isPrimary) { in composeContactsAndSendSelectedVCards()
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastHandler.java | 490 && message.getEtwsWarningInfo().isPrimary() in isDuplicate() 491 != messageToCheck.getEtwsWarningInfo().isPrimary()) { in isDuplicate()
|
/packages/services/Mtp/src/com/android/mtp/ |
D | MtpService.java | 76 if (mUnlocked && (volume.isPrimary() || !mPtpMode)) {
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/ |
D | ContactDetailsViewHolder.java | 167 if (phoneNumber.isPrimary()) { in bind()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/ |
D | MenuItem.java | 311 public boolean isPrimary() { in isPrimary() method in MenuItem
|
D | MenuItemRenderer.java | 94 @LayoutRes int layout = mMenuItem.isPrimary() in createView()
|
/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()
|