Home
last modified time | relevance | path

Searched refs:primary (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/av/services/audiopolicy/
Daudio_policy.conf84 primary {
106 primary {
115 primary {
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DTextViewActions.java349 boolean primary) { in dragHandle() argument
354 new HandleCoordinates(textView, handleType, endIndex, primary), in dragHandle()
423 public HandleCoordinates(TextView textView, Handle handleType, int index, boolean primary) { in HandleCoordinates() argument
427 mPrimary = primary; in HandleCoordinates()
430 + " (" + (primary ? "primary" : "secondary" ) + ")"; in HandleCoordinates()
510 public TextCoordinates(int index, boolean primary) { in TextCoordinates() argument
512 mPrimary = primary; in TextCoordinates()
514 + " (" + (primary ? "primary" : "secondary" ) + ")"; in TextCoordinates()
539 private float[] locateTextAtIndex(TextView textView, int index, boolean primary) { in locateTextAtIndex() argument
546 (primary ? layout.getPrimaryHorizontal(index) in locateTextAtIndex()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/
DPackageDexUsageTests.java538 private void assertPackageDexUsage(TestData primary, TestData... secondaries) { in assertPackageDexUsage() argument
539 assertPackageDexUsage(mPackageDexUsage, null, primary, secondaries); in assertPackageDexUsage()
543 TestData primary, TestData... secondaries) { in assertPackageDexUsage() argument
544 String packageName = primary == null ? secondaries[0].mPackageName : primary.mPackageName; in assertPackageDexUsage()
545 boolean primaryUsedByOtherApps = primary != null && primary.mUsedByOtherApps; in assertPackageDexUsage()
550 if (primary != null) { in assertPackageDexUsage()
551 assertEquals(primaryUsedByOtherApps, pInfo.isUsedByOtherApps(primary.mDexFile)); in assertPackageDexUsage()
553 assertEquals(pInfo.getLoadingPackages(primary.mDexFile), users); in assertPackageDexUsage()
/frameworks/base/telephony/java/com/android/internal/telephony/
DSmsCbEtwsInfo.java76 boolean primary, byte[] warningSecurityInformation) { in SmsCbEtwsInfo() argument
80 mPrimary = primary; in SmsCbEtwsInfo()
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
DDomainMatcher.java67 public DomainMatcher(List<String> primary, List<List<String>> secondary) { in DomainMatcher() argument
73 mRoot.addDomain(primary.iterator(), Match.Primary); in DomainMatcher()
/frameworks/base/core/java/android/app/
DWallpaperColors.java168 Color primary = null, secondary = null, tertiary = null; in fromBitmap() local
175 primary = color; in fromBitmap()
195 return new WallpaperColors(primary, secondary, tertiary, HINT_FROM_BITMAP | hints); in fromBitmap()
/frameworks/data-binding/compiler/src/test/java/android/databinding/
DBindingExpressionParserTest.java147 PrimaryContext primary = parsePrimary("int.class"); in testPrimitiveClassExtraction() local
148 PrimitiveTypeContext type = primary.classExtraction().type().primitiveType(); in testPrimitiveClassExtraction()
154 PrimaryContext primary = parsePrimary("abcdEfg"); in testIdentifier() local
155 assertEquals("abcdEfg", primary.identifier().getText()); in testIdentifier()
/frameworks/base/services/core/java/com/android/server/notification/
DCalendarTracker.java94 final String primary = "\"primary\""; in getPrimaryCalendars() local
96 "(" + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT + ") AS " + primary }; in getPrimaryCalendars()
97 final String selection = primary + " = 1"; in getPrimaryCalendars()
DManagedServices.java393 protected String getApproved(int userId, boolean primary) { in getApproved() argument
396 ArraySet<String> approved = allowedByType.getOrDefault(primary, new ArraySet<>()); in getApproved()
/frameworks/base/core/java/android/os/storage/
DStorageVolume.java124 public StorageVolume(String id, int storageId, File path, String description, boolean primary, in StorageVolume() argument
131 mPrimary = primary; in StorageVolume()
/frameworks/base/services/tests/notification/src/com/android/server/notification/
DManagedServicesTest.java465 boolean primary = i % 2 == 0; in testSetPackageOrComponentEnabled()
466 service.setPackageOrComponentEnabled(expectedForUser.get(i), userId, primary, in testSetPackageOrComponentEnabled() local
695 private void verifyExpectedBoundEntries(ManagedServices service, boolean primary) in verifyExpectedBoundEntries() argument
697 ArrayMap<Integer, String> verifyMap = primary ? mExpectedPrimary.get(service.mApprovalLevel) in verifyExpectedBoundEntries()
730 private void verifyExpectedApprovedEntries(ManagedServices service, boolean primary) { in verifyExpectedApprovedEntries() argument
731 ArrayMap<Integer, String> verifyMap = primary in verifyExpectedApprovedEntries()
/frameworks/native/services/vr/virtual_touchpad/idc/
Dvr-virtual-touchpad-0.idc16 # Virtual touchpad for the primary display
/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java535 final StorageVolume primary = storage.getPrimaryVolume(); in fitsOnExternal() local
536 return (params.sizeBytes > 0) && !primary.isEmulated() in fitsOnExternal()
537 && Environment.MEDIA_MOUNTED.equals(primary.getState()) in fitsOnExternal()
538 && params.sizeBytes <= storage.getStorageBytesUntilLow(primary.getPathFile()); in fitsOnExternal()
/frameworks/base/core/java/android/hardware/radio/
DProgramSelector.java340 Identifier primary = new Identifier(IDENTIFIER_TYPE_AMFM_FREQUENCY, frequencyKhz); in createAmFmSelector() local
353 return new ProgramSelector(programType, primary, secondary, null); in createAmFmSelector()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java157 EnforcedAdmin primary = RestrictedLockUtils.checkIfKeyguardFeaturesDisabled( in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile() local
159 assertThat(primary).isNull(); in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPlaybackControlsRowPresenter.java124 Presenter getPresenter(boolean primary) { in getPresenter() argument
125 ObjectAdapter adapter = primary in getPresenter()
134 return primary ? selector.getPrimaryPresenter() in getPresenter()
DPlaybackTransportRowPresenter.java427 Presenter getPresenter(boolean primary) { in getPresenter() argument
428 ObjectAdapter adapter = primary in getPresenter()
/frameworks/av/media/libstagefright/matroska/
DMatroskaExtractor.cpp1127 static inline bool isValidPrimary(const mkvparser::PrimaryChromaticity *primary) { in isValidPrimary() argument
1128 return primary != NULL && primary->x >= 0 && primary->x <= 1 in isValidPrimary()
1129 && primary->y >= 0 && primary->y <= 1; in isValidPrimary()
/frameworks/av/drm/mediacas/plugins/clearkey/protos/
Dlicense_protos.proto45 // Organization table and part of the primary key for the Asset table.
/frameworks/base/core/java/android/text/
DLayout.java1129 private float getHorizontal(int offset, boolean primary) { in getHorizontal() argument
1130 return primary ? getPrimaryHorizontal(offset) : getSecondaryHorizontal(offset); in getHorizontal()
1178 private float[] getLineHorizontals(int line, boolean clamped, boolean primary) { in getLineHorizontals() argument
1198 if (!primary) { in getLineHorizontals()
1439 public int getOffsetForHorizontal(int line, float horiz, boolean primary) { in getOffsetForHorizontal() argument
1451 new HorizontalMeasurementProvider(line, primary); in getOffsetForHorizontal()
1542 HorizontalMeasurementProvider(final int line, final boolean primary) { in HorizontalMeasurementProvider() argument
1544 mPrimary = primary; in HorizontalMeasurementProvider()
/frameworks/base/core/java/android/widget/
DDialerFilter.java70 mPrimary = (EditText) findViewById(com.android.internal.R.id.primary); in onFinishInflate()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java324 final StorageVolume primary = storageManager.getPrimaryVolume(); in systemReady() local
325 massStorageSupported = primary != null && primary.allowMassStorage(); in systemReady()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2616 Color primary = null, secondary = null, tertiary = null; in parseWallpaperAttributes() local
2620 primary = color; in parseWallpaperAttributes()
2630 wallpaper.primaryColors = new WallpaperColors(primary, secondary, tertiary, colorHints); in parseWallpaperAttributes()
/frameworks/rs/script_api/include/
Drs_object_info.rsh28 * Allocations are the primary method used to pass data to and from RenderScript kernels.
/frameworks/native/vulkan/doc/implementors_guide/
Dimplementors_guide.adoc11 The primary interface between Vulkan applications and a device's Vulkan driver is the loader, which…

12