Home
last modified time | relevance | path

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

123

/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java325 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 …]
DVCardBuilder.java241 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 …]
DVCardPhoneNumberTranslationCallback.java34 public String onValueReceived(String rawValue, int type, String label, boolean isPrimary); in onValueReceived() argument
/frameworks/base/telephony/java/android/telephony/
DSmsCbEtwsInfo.java109 boolean isPrimary, @Nullable byte[] warningSecurityInformation) { in SmsCbEtwsInfo() argument
113 mIsPrimary = isPrimary; in SmsCbEtwsInfo()
170 public boolean isPrimary() { in isPrimary() method in SmsCbEtwsInfo
DSmsCbMessage.java597 cv.put(CellBroadcasts.ETWS_IS_PRIMARY, etwsInfo.isPrimary()); in getContentValues()
675 boolean isPrimary = cursor.getInt(etwsIsPrimaryColumn) != 0; in createFromCursor()
676 etwsInfo = new SmsCbEtwsInfo(warningType, false, false, isPrimary, null); in createFromCursor()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityOptionsCompat.java44 public static ActivityOptions makeSplitScreenOptions(boolean dockTopLeft, boolean isPrimary) { in makeSplitScreenOptions() argument
46 options.setLaunchWindowingMode(isPrimary in makeSplitScreenOptions()
/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp70 mIsPrimary(args.isPrimary) {
220 mCompositionDisplay->setLayerStackFilter(stack, isPrimary()); in setLayerStack()
232 if (isPrimary()) { in setProjection()
269 isPrimary() ? ", primary" : "", mDisplayName.c_str()); in getDebugName()
DDisplayDevice.h80 bool isPrimary() const { return mIsPrimary; } in isPrimary() function
290 bool isPrimary{false};
DSurfaceFlinger.cpp1008 if (display->isPrimary() && in getDynamicDisplayInfo()
1482 display->isPrimary() ? hasWideColorDisplay : display->hasWideColorGamut(); in isWideColorDisplay()
2355 if (display && display->isPrimary() && display->getPowerMode() == hal::PowerMode::ON && in postComposition()
2666 creationArgs.isPrimary = id == getInternalDisplayIdLocked(); in setupNewDisplayDeviceInternal()
2699 creationArgs.isPrimary ? internalDisplayOrientation : ui::ROTATION_0; in setupNewDisplayDeviceInternal()
2805 if (display->isPrimary()) { in processDisplayAdded()
2897 if (display->isPrimary()) { in processDisplayChanged()
2905 if (display->isPrimary()) { in processDisplayChanged()
4568 if (display->isPrimary() && mode != hal::PowerMode::DOZE_SUSPEND) { in setPowerModeInternal()
4585 if (display->isPrimary() && currentMode != hal::PowerMode::DOZE_SUSPEND) { in setPowerModeInternal()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java349 final boolean isPrimary = approvedByType.keyAt(j); in dump()
353 + " (user: " + userId + " isPrimary: " + isPrimary in dump()
405 final boolean isPrimary = approvedByType.keyAt(j); in dump()
413 proto.write(ServiceProto.IS_PRIMARY, isPrimary); in dump()
505 final boolean isPrimary = approvedByType.keyAt(j); in writeXml()
515 out.attributeBoolean(null, ATT_IS_PRIMARY, isPrimary); in writeXml()
526 if (!forBackup && isPrimary) { in writeXml()
633 final boolean isPrimary = in readXml()
649 addApprovedList(approved, resolvedUserId, isPrimary, userSetComponent); in readXml()
708 protected void addApprovedList(String approved, int userId, boolean isPrimary) { in addApprovedList() argument
[all …]
/frameworks/av/media/libmediaplayerservice/
DStagefrightMetadataRetriever.cpp178 int32_t isPrimary; in getImageInternal() local
180 kKeyTrackIsDefault, &isPrimary) && isPrimary) in getImageInternal()
607 int32_t isPrimary; in parseMetaData() local
609 kKeyTrackIsDefault, &isPrimary) && isPrimary) { in parseMetaData()
/frameworks/base/core/java/android/os/storage/
DVolumeInfo.java306 public boolean isPrimary() { in isPrimary() method in VolumeInfo
312 return isPrimary() && (getType() == TYPE_PUBLIC); in isPrimaryPhysical()
445 return new StorageVolume(id, userPath, internalPath, description, isPrimary(), removable, in buildStorageVolume()
487 } else if (type == VolumeInfo.TYPE_EMULATED && isPrimary()) { in buildBrowseIntentForUser()
500 intent.putExtra(DocumentsContract.EXTRA_SHOW_ADVANCED, isPrimary()); in buildBrowseIntentForUser()
DStorageVolume.java251 public boolean isPrimary() { in isPrimary() method in StorageVolume
338 if (isPrimary()) { in getMediaStoreVolumeName()
431 if ((isPrimary() && directoryName == null) || in createAccessIntent()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobConcurrencyManagerTest.java147 doReturn(true).when(ui).isPrimary(); in createPrimaryUser()
160 doReturn(false).when(ui).isPrimary(); in createRestrictedUser()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h495 bool isPrimary) in FakeHwcDisplayInjector() argument
496 : mDisplayId(displayId), mHwcDisplayType(hwcDisplayType), mIsPrimary(isPrimary) {} in FakeHwcDisplayInjector()
635 std::optional<hal::HWDisplayId> hwcDisplayId, bool isPrimary) in FakeDisplayDeviceInjector() argument
641 mCreationArgs.isPrimary = isPrimary; in FakeDisplayDeviceInjector()
/frameworks/base/core/java/com/android/internal/os/
DZygote.java548 static void initNativeState(boolean isPrimary) { in initNativeState() argument
549 nativeInitNativeState(isPrimary); in initNativeState()
552 protected static native void nativeInitNativeState(boolean isPrimary); in nativeInitNativeState() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerWifiTest.java46 when(mWifiInfo.isPrimary()).thenReturn(true); in setUp()
290 when(mWifiInfo.isPrimary()).thenReturn(false); in testNonPrimaryWiFi()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h202 bool isPrimary;
/frameworks/base/core/java/android/content/pm/
DUserInfo.java296 public boolean isPrimary() { in isPrimary() method in UserInfo
/frameworks/base/core/java/android/widget/
DProgressBar.java1553 final boolean isPrimary = id == R.id.progress; in doRefreshProgress()
1555 if (isPrimary && animate) { in doRefreshProgress()
1569 if (isPrimary && mLastProgressAnimator != null) { in doRefreshProgress()
1576 if (isPrimary && callBackToApp) { in doRefreshProgress()
/frameworks/av/media/libstagefright/
DUtils.cpp1020 int32_t isPrimary; in convertMetaDataToMessage() local
1021 if (meta->findInt32(kKeyTrackIsDefault, &isPrimary) && isPrimary) { in convertMetaDataToMessage()
1785 int32_t isPrimary; in convertMessageToMetaData() local
1786 if (msg->findInt32("is-default", &isPrimary) && isPrimary) { in convertMessageToMetaData()
/frameworks/base/services/core/java/com/android/server/
DVpnManagerService.java750 if (mUserManager.getUserInfo(userId).isPrimary() && isLockdownVpnEnabled()) { in onUserStarted()
849 if (mUserManager.getUserInfo(userId).isPrimary() && isLockdownVpnEnabled()) { in onUserUnlocked()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp918 const bool isPrimary = !mInternalHwcDisplayId; in onHotplugConnect() local
927 port = isPrimary ? LEGACY_DISPLAY_TYPE_PRIMARY : LEGACY_DISPLAY_TYPE_EXTERNAL; in onHotplugConnect()
931 .name = isPrimary ? "Internal display" in onHotplugConnect()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java337 if (!user.isPrimary() && !user.isManagedProfile()) { in getSecondaryUserId()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DBaseWifiTracker.java265 return ((WifiInfo) transportInfo).isPrimary(); in isPrimaryWifiNetwork()

123