Home
last modified time | relevance | path

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

12

/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java313 public PhoneData(String data, int type, String label, boolean isPrimary) { in PhoneData() argument
317 mIsPrimary = isPrimary; in PhoneData()
391 public boolean isPrimary() { in isPrimary() method in VCardEntry.PhoneData
403 public EmailData(String data, int type, String label, boolean isPrimary) { in EmailData() argument
407 mIsPrimary = isPrimary; in EmailData()
481 public boolean isPrimary() { in isPrimary() method in VCardEntry.EmailData
507 boolean isPrimary, int vcardType) { in PostalData() argument
517 mIsPrimary = isPrimary; in PostalData()
525 final int type, final String label, boolean isPrimary, int vcardType) { in constructPostalData() argument
550 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/native/services/surfaceflinger/
DDisplayDevice.cpp67 mIsPrimary(args.isPrimary) {
169 mCompositionDisplay->setLayerStackFilter(stack, isPrimary()); in setLayerStack()
255 if (isPrimary()) { in setProjection()
275 if (isPrimary()) { in setProjection()
292 isPrimary() ? "primary, " : "", isVirtual() ? "virtual, " : "", in getDebugName()
DDisplayDevice.h79 bool isPrimary() const { return mIsPrimary; } in isPrimary() function
247 bool isPrimary{false};
DSurfaceFlinger.cpp1920 if (display->isPrimary()) { in logLayerStats()
2577 creationArgs.isPrimary = isInternalDisplay; in setupNewDisplayDeviceInternal()
3345 if (displayDevice->isPrimary() && supportProtectedContent) { in doComposeSurfaces()
4432 if (display->isPrimary() && mode != HWC_POWER_MODE_DOZE_SUSPEND) { in setPowerModeInternal()
4453 if (display->isPrimary() && currentMode != HWC_POWER_MODE_DOZE_SUSPEND) { in setPowerModeInternal()
4465 if (display->isPrimary() && currentMode == HWC_POWER_MODE_DOZE_SUSPEND) { in setPowerModeInternal()
4471 if (display->isPrimary()) { in setPowerModeInternal()
4481 if (display->isPrimary()) { in setPowerModeInternal()
6057 if (!display->isPrimary()) { in setAllowedDisplayConfigsInternal()
6119 if (display->isPrimary()) { in getAllowedDisplayConfigs()
/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/base/services/core/java/com/android/server/notification/
DManagedServices.java206 final boolean isPrimary = approvedByType.keyAt(j); in dump()
210 + " (user: " + userId + " isPrimary: " + isPrimary + ")"); in dump()
250 final boolean isPrimary = approvedByType.keyAt(j); in dump()
258 proto.write(ServiceProto.IS_PRIMARY, isPrimary); in dump()
328 final boolean isPrimary = approvedByType.keyAt(j); in writeXml()
335 out.attribute(null, ATT_IS_PRIMARY, Boolean.toString(isPrimary)); in writeXml()
339 if (!forBackup && isPrimary) { in writeXml()
396 final boolean isPrimary = in readXml()
402 addApprovedList(approved, resolvedUserId, isPrimary); in readXml()
439 protected void addApprovedList(String approved, int userId, boolean isPrimary) { in addApprovedList() argument
[all …]
/frameworks/av/media/libstagefright/
DStagefrightMetadataRetriever.cpp177 int32_t isPrimary; in getImageInternal() local
179 kKeyTrackIsDefault, &isPrimary) && isPrimary) in getImageInternal()
590 int32_t isPrimary; in parseMetaData() local
592 kKeyTrackIsDefault, &isPrimary) && isPrimary) { in parseMetaData()
DUtils.cpp946 int32_t isPrimary; in convertMetaDataToMessage() local
947 if (meta->findInt32(kKeyTrackIsDefault, &isPrimary) && isPrimary) { in convertMetaDataToMessage()
1676 int32_t isPrimary; in convertMessageToMetaData() local
1677 if (msg->findInt32("is-default", &isPrimary) && isPrimary) { in convertMessageToMetaData()
/frameworks/base/core/java/android/os/storage/
DVolumeInfo.java289 public boolean isPrimary() { in isPrimary() method in VolumeInfo
295 return isPrimary() && (getType() == TYPE_PUBLIC); in isPrimaryPhysical()
417 return new StorageVolume(id, userPath, internalPath, description, isPrimary(), removable, in buildStorageVolume()
459 } else if (type == VolumeInfo.TYPE_EMULATED && isPrimary()) { in buildBrowseIntentForUser()
472 intent.putExtra(DocumentsContract.EXTRA_SHOW_ADVANCED, isPrimary()); in buildBrowseIntentForUser()
DStorageVolume.java210 public boolean isPrimary() { in isPrimary() method in StorageVolume
353 if ((isPrimary() && directoryName == null) || in createAccessIntent()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h392 bool isPrimary) in FakeHwcDisplayInjector() argument
393 : mDisplayId(displayId), mHwcDisplayType(hwcDisplayType), mIsPrimary(isPrimary) {} in FakeHwcDisplayInjector()
492 bool isPrimary) in FakeDisplayDeviceInjector() argument
495 mCreationArgs.isPrimary = isPrimary; in FakeDisplayDeviceInjector()
/frameworks/base/media/java/android/mtp/
DMtpStorage.java44 if (volume.isPrimary()) { in MtpStorage()
/frameworks/base/core/java/com/android/internal/os/
DZygote.java387 static void initNativeState(boolean isPrimary) { in initNativeState() argument
388 nativeInitNativeState(isPrimary); in initNativeState()
391 protected static native void nativeInitNativeState(boolean isPrimary); in nativeInitNativeState() argument
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsCbEtwsInfo.java136 public boolean isPrimary() { in isPrimary() method in SmsCbEtwsInfo
/frameworks/base/core/java/android/content/pm/
DUserInfo.java147 public boolean isPrimary() { in isPrimary() method in UserInfo
/frameworks/av/media/libstagefright/include/media/stagefright/
DMPEG4Writer.h174 bool isPrimary;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java111 if (user.id != UserHandle.USER_SYSTEM && !user.isPrimary()) { in removeExistingUsers()
133 && !user.isPrimary()) { in testAddUser()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DBaseSettingsProviderTest.java321 if (!user.isPrimary() && !user.isManagedProfile()) { in getSecondaryUserId()
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DStorageNotification.java433 if (!vol.isPrimary()) { in onVolumeRemoved()
450 if (!vol.isPrimary()) { in onVolumeBadRemoval()
/frameworks/av/media/extractors/mp4/
DItemTable.cpp1432 bool isPrimary = (mItemIdToItemMap[i].itemId == mPrimaryItemId); in buildImageItemsIfPossible() local
1433 if (!mItemIdToItemMap[i].hidden || isPrimary) { in buildImageItemsIfPossible()
1436 foundPrimary |= isPrimary; in buildImageItemsIfPossible()
/frameworks/base/core/java/android/widget/
DProgressBar.java1540 final boolean isPrimary = id == R.id.progress; in doRefreshProgress()
1542 if (isPrimary && animate) { in doRefreshProgress()
1552 if (isPrimary && callBackToApp) { in doRefreshProgress()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java2612 final boolean isPrimary; in onDestroyActionMode()
2615 isPrimary = mode == mPrimaryActionMode; in onDestroyActionMode()
2617 if (!isPrimary && mode.getType() == ActionMode.TYPE_PRIMARY) { in onDestroyActionMode()
2628 isPrimary = mode.getType() == ActionMode.TYPE_PRIMARY; in onDestroyActionMode()
2631 if (isPrimary) { in onDestroyActionMode()
/frameworks/base/core/java/android/provider/
DMediaStore.java1499 if (sv.isPrimary()) { in getVolumeName()
3249 if (vi.isPrimary()) { in getExternalVolumeNames()
3328 && volume.isPrimary(); in getVolumePath()

12