Home
last modified time | relevance | path

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

12

/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DPhoneNumber.java94 @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);
DContact.java342 if (newNumber.isPrimary()) { in addPhoneNumber()
631 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/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java256 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/
DMetadataEntryParser.java90 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()
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/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastAlertServiceTest.java90 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DSaveChosenLockWorkerBase.java80 if (context == null || UserManager.get(context).getUserInfo(mUserId).isPrimary()) { in prepare()
/packages/apps/Settings/src/com/android/settings/password/
DSaveChosenLockWorkerBase.java84 if (context == null || UserManager.get(context).getUserInfo(mUserId).isPrimary()) { in prepare()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/common/
DDialerUtils.java74 item.setTitle(number.isPrimary() in showPhoneNumberSelector()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/
DSecondaryUserController.java75 if (info.isPrimary()) { in getSecondaryUserControllers()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DSecondaryUserController.java76 if (info.isPrimary()) { in getSecondaryUserControllers()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java326 boolean isPrimary) { in getSelectedPhonebookNameList()
745 boolean isPrimary) { in composeContactsAndSendVCards()
846 boolean isPrimary) { in composeContactsAndSendSelectedVCards()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java490 && message.getEtwsWarningInfo().isPrimary() in isDuplicate()
491 != messageToCheck.getEtwsWarningInfo().isPrimary()) { in isDuplicate()
/packages/services/Mtp/src/com/android/mtp/
DMtpService.java76 if (mUnlocked && (volume.isPrimary() || !mPtpMode)) {
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactDetailsViewHolder.java167 if (phoneNumber.isPrimary()) { in bind()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DMenuItem.java311 public boolean isPrimary() { in isPrimary() method in MenuItem
DMenuItemRenderer.java94 @LayoutRes int layout = mMenuItem.isPrimary() in createView()
/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()

12