/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntry.java | 325 public PhoneData(String data, int type, String label, boolean isPrimary) { in PhoneData() argument 329 mIsPrimary = isPrimary; in PhoneData() 403 public boolean isPrimary() { in isPrimary() method in VCardEntry.PhoneData 415 public EmailData(String data, int type, String label, boolean isPrimary) { in EmailData() argument 419 mIsPrimary = isPrimary; in EmailData() 493 public boolean isPrimary() { in isPrimary() method in VCardEntry.EmailData 519 boolean isPrimary, int vcardType) { in PostalData() argument 529 mIsPrimary = isPrimary; in PostalData() 537 final int type, final String label, boolean isPrimary, int vcardType) { in constructPostalData() argument 562 dataArray[4], dataArray[5], dataArray[6], type, label, isPrimary, vcardType); in constructPostalData() [all …]
|
D | VCardBuilder.java | 241 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 …]
|
D | VCardPhoneNumberTranslationCallback.java | 34 public String onValueReceived(String rawValue, int type, String label, boolean isPrimary); in onValueReceived() argument
|
/frameworks/base/services/companion/java/com/android/server/companion/devicepresence/ |
D | CompanionServiceConnector.java | 90 boolean isPrimary) { in newInstance() argument 94 context, userId, componentName, bindingFlags, isPrimary); in newInstance() 98 @NonNull ComponentName componentName, int bindingFlags, boolean isPrimary) { in CompanionServiceConnector() argument 102 mIsPrimary = isPrimary; in CompanionServiceConnector() 138 boolean isPrimary() { in isPrimary() method in CompanionServiceConnector
|
D | CompanionAppBinder.java | 129 boolean isPrimary = i == 0; in bindCompanionApp() 131 companionServices.get(i), isSelfManaged, isPrimary)); in bindCompanionApp() 209 if (serviceConnector.isPrimary()) { in scheduleRebinding() 234 if (serviceConnector.isPrimary()) { in onRebindingCompanionApplicationTimeout() 270 String.valueOf(serviceConnector.isPrimary())); in dump()
|
D | DevicePresenceProcessor.java | 860 boolean isPrimary = serviceConnector.isPrimary(); in onBinderDied() 861 Slog.i(TAG, "onBinderDied() u" + userId + "/" + packageName + " isPrimary: " + isPrimary); in onBinderDied() 864 if (isPrimary) { in onBinderDied() 881 final boolean shouldScheduleRebind = shouldScheduleRebind(userId, packageName, isPrimary); in onBinderDied() 892 private boolean shouldScheduleRebind(int userId, String packageName, boolean isPrimary) { in shouldScheduleRebind() argument 909 if (isPrimary && isDevicePresent(associationId)) { in shouldScheduleRebind()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/wifi/ |
D | WifiStatusTrackerTest.java | 89 when(primaryWifiInfo.isPrimary()).thenReturn(true); in testWifiInfoClearedOnPrimaryNetworkLost() 109 when(nonPrimaryWifiInfo.isPrimary()).thenReturn(false); in testWifiInfoClearedOnPrimaryNetworkLost() 143 when(primaryWifiInfo.isPrimary()).thenReturn(true); in isCarrierMerged_typicalWifi_false() 175 when(primaryWifiInfo.isPrimary()).thenReturn(true); in isCarrierMerged_cellularCarrierMergedWifi_true() 195 when(underlyingCarrierMergedInfo.isPrimary()).thenReturn(true); in isCarrierMerged_cellularWithUnderlyingCarrierMergedWifi_true() 227 when(primaryWifiInfo.isPrimary()).thenReturn(true); in isDefaultNetwork_typicalWifi_true() 259 when(primaryWifiInfo.isPrimary()).thenReturn(true); in isDefaultNetwork_cellularCarrierMergedWifi_true() 279 when(underlyingCarrierMergedInfo.isPrimary()).thenReturn(true); in isDefaultNetwork_cellularWithUnderlyingCarrierMergedWifi_true()
|
/frameworks/native/services/surfaceflinger/FrontEnd/ |
D | DisplayInfo.h | 36 bool isPrimary; member 45 << "} isSecure=" << isSecure << " isPrimary=" << isPrimary in getDebugString()
|
/frameworks/base/packages/CredentialManager/wear/robotests/src/com/android/credentialmanager/ |
D | CredentialSelectorUiStateGetMapperTest.kt | 103 providerInfos = listOf(createProviderInfo(credentialList1))).toGet(isPrimary = true) in On primary screen, just one account returns SingleEntry() 116 unknownCredentialEntryInfo)))).toGet(isPrimary = true) in On primary screen, multiple accounts returns SingleEntryPerAccount() 134 providerInfos = listOf(createProviderInfo(credentialList1))).toGet(isPrimary = false) in On secondary screen, a MultipleEntry is returned() 153 createProviderInfo(credentialList2))).toGet(isPrimary = false) in Returned multiple entry is sorted by credentialType and lastUsedTimeMillis()
|
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/ |
D | EmbeddingTestUtils.java | 67 static Rect getSplitBounds(boolean isPrimary) { in getSplitBounds() argument 68 return getSplitBounds(isPrimary, false /* shouldSplitHorizontally */); in getSplitBounds() 72 static Rect getSplitBounds(boolean isPrimary, boolean shouldSplitHorizontally) { in getSplitBounds() argument 77 return isPrimary in getSplitBounds() 89 return isPrimary in getSplitBounds()
|
/frameworks/base/telephony/java/android/telephony/ |
D | SmsCbEtwsInfo.java | 109 boolean isPrimary, @Nullable byte[] warningSecurityInformation) { in SmsCbEtwsInfo() argument 113 mIsPrimary = isPrimary; in SmsCbEtwsInfo() 170 public boolean isPrimary() { in isPrimary() method in SmsCbEtwsInfo
|
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ |
D | CredentialSelectorViewModel.kt | 58 ) { request, isPrimary, shouldClose -> in <lambda>() method 61 " isPrimaryScreen: " + isPrimary.toString()) in <lambda>() 71 is Request.Get -> request.toGet(isPrimary) in <lambda>()
|
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/mappers/ |
D | CredentialSelectorUiStateGetMapper.kt | 27 fun Request.Get.toGet(isPrimary: Boolean): CredentialSelectorUiState.Get { in <lambda>() 34 return if (isPrimary) { in <lambda>()
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | FakeDisplayInjector.h | 34 bool isPrimary = true; member 77 args.hwcDisplayId, args.isPrimary);
|
/frameworks/base/core/java/android/credentials/ |
D | CredentialProviderInfo.java | 112 public boolean isPrimary() { in isPrimary() method in CredentialProviderInfo 289 public @NonNull Builder setPrimary(boolean isPrimary) { in setPrimary() argument 290 mIsPrimary = isPrimary; in setPrimary()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/metrics/ |
D | RequestSessionMetric.java | 315 ComponentName componentName, boolean isPrimary) { in updateMetricsOnResponseReceived() argument 322 .getCandidatePhasePerProviderMetric(), isPrimary); in updateMetricsOnResponseReceived() 341 boolean isPrimary) { in collectChosenMetricViaCandidateTransfer() argument 344 mChosenProviderFinalPhaseMetric.setPrimary(isPrimary); in collectChosenMetricViaCandidateTransfer()
|
/frameworks/base/services/credentials/java/com/android/server/credentials/ |
D | ProviderSession.java | 218 boolean isPrimary = mProviderInfo != null && mProviderInfo.isPrimary(); in updateStatusAndInvokeCallback() 224 /*isPrimary*/isPrimary); in updateStatusAndInvokeCallback() local
|
D | MetricUtilities.java | 204 /* primary_indicated */ finalPhaseMetric.isPrimary() in logApiCalledFinalPhase() 352 candidatePrimaryProviderList[index] = metric.isPrimary(); in logApiCalledCandidatePhase() 583 /* primary_indicated */ finalPhaseMetric.isPrimary(), in logApiCalledNoUidFinal()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | NonSdkApiWrapper.java | 118 static boolean isPrimary(@NonNull WifiInfo wifiInfo) { in isPrimary() method in NonSdkApiWrapper 119 return wifiInfo.isPrimary(); in isPrimary()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 364 final boolean isPrimary = approvedByType.keyAt(j); in dump() 368 + " (user: " + userId + " isPrimary: " + isPrimary in dump() 429 final boolean isPrimary = approvedByType.keyAt(j); in dump() 437 proto.write(ServiceProto.IS_PRIMARY, isPrimary); in dump() 537 final boolean isPrimary = approvedByType.keyAt(j); in writeXml() 547 out.attributeBoolean(null, ATT_IS_PRIMARY, isPrimary); in writeXml() 558 if (!forBackup && isPrimary) { in writeXml() 666 final boolean isPrimary = in readXml() 715 addApprovedList(approved, resolvedUserId, isPrimary, userSetComponent); in readXml() 778 protected void addApprovedList(String approved, int userId, boolean isPrimary) { in addApprovedList() argument [all …]
|
/frameworks/base/core/java/android/os/storage/ |
D | VolumeInfo.java | 308 public boolean isPrimary() { in isPrimary() method in VolumeInfo 314 return isPrimary() && (getType() == TYPE_PUBLIC); in isPrimaryPhysical() 462 return new StorageVolume(id, userPath, internalPath, description, isPrimary(), removable, in buildStorageVolume() 504 } else if (type == VolumeInfo.TYPE_EMULATED && isPrimary()) { in buildBrowseIntentForUser() 517 intent.putExtra(DocumentsContract.EXTRA_SHOW_ADVANCED, isPrimary()); in buildBrowseIntentForUser()
|
D | StorageVolume.java | 253 public boolean isPrimary() { in isPrimary() method in StorageVolume 348 if (isPrimary()) { in getMediaStoreVolumeName() 441 if ((isPrimary() && directoryName == null) || in createAccessIntent()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightMetadataRetriever.cpp | 179 int32_t isPrimary; in getImageInternal() local 181 kKeyTrackIsDefault, &isPrimary) && isPrimary) in getImageInternal() 666 int32_t isPrimary; in parseMetaData() local 668 kKeyTrackIsDefault, &isPrimary) && isPrimary) { in parseMetaData()
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/sdk_src/src/com/android/wifitrackerlib/ |
D | NonSdkApiWrapper.java | 79 static boolean isPrimary(@NonNull WifiInfo wifiInfo) { in isPrimary() method in NonSdkApiWrapper
|
/frameworks/base/core/java/android/service/credentials/ |
D | CredentialProviderInfoFactory.java | 90 boolean isPrimary) in create() argument 98 isPrimary); in create() 119 boolean isPrimary) in create() argument 134 .setPrimary(isPrimary) in create()
|