/frameworks/av/services/audiopolicy/ |
H A D | audio_policy.conf | 30 # For instance, "primary" corresponds to audio.primary.<device>.so. 31 # The "primary" module is mandatory and must include at least one output with 73 # primary { 84 primary { 106 primary { 115 primary {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | ActivityLaunchAnimator.java | 128 RemoteAnimationTarget primary = getPrimaryRemoteAnimationTarget( 130 if (primary == null) { 137 mInstantCollapsePanel = primary.position.y == 0 138 && primary.sourceContainerBounds.height() 161 int targetWidth = primary.sourceContainerBounds.width(); 179 primary.position.y, progress); 182 primary.position.y + primary.sourceContainerBounds.bottom, 184 applyParamsToWindow(primary); 214 RemoteAnimationTarget primary [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | TextViewActions.java | 345 * @param primary whether to use primary direction to get coordinate form index when endIndex is 349 boolean primary) { 354 new HandleCoordinates(textView, handleType, endIndex, primary), 423 public HandleCoordinates(TextView textView, Handle handleType, int index, boolean primary) { argument 427 mPrimary = primary; 430 + " (" + (primary ? "primary" : "secondary" ) + ")"; 510 public TextCoordinates(int index, boolean primary) { argument 512 mPrimary = primary; 348 dragHandle(TextView textView, Handle handleType, int endIndex, boolean primary) argument 539 locateTextAtIndex(TextView textView, int index, boolean primary) argument [all...] |
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/testing/ |
H A D | TestEvents.java | 42 TestEvents.builder().mouse().primary().build(); 44 TestEvents.builder().mouse().primary().ctrl().build(); 46 TestEvents.builder().mouse().primary().alt().build(); 48 TestEvents.builder().mouse().primary().shift().build(); 218 public Builder primary() { method in class:TestEvents.Builder
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | SmsCbEtwsInfo.java | 62 /** Whether ETWS primary message or not/ */ 66 * 50-byte security information (ETWS primary notification for GSM only). As of Release 10, 67 * 3GPP TS 23.041 states that the UE shall ignore the ETWS primary notification timestamp 76 boolean primary, byte[] warningSecurityInformation) { 80 mPrimary = primary; 134 * @return true if the message is primary message, otherwise secondary message 141 * Returns the Warning-Security-Information timestamp (GSM primary notifications only). 184 * Returns the digital signature (GSM primary notifications only). As of Release 10, 186 * @return a byte array containing a copy of the primary notification digital signature 75 SmsCbEtwsInfo(int warningType, boolean emergencyUserAlert, boolean activatePopup, boolean primary, byte[] warningSecurityInformation) argument
|
/frameworks/av/media/audioserver/ |
H A D | Android.mk | 55 # and use primary target architecture (32 or 64) for audioserver. 56 # first to build libraries and audioserver for the primary target architecture only.
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/dex/ |
H A D | PackageDexUsageTests.java | 538 private void assertPackageDexUsage(TestData primary, TestData... secondaries) { argument 539 assertPackageDexUsage(mPackageDexUsage, null, primary, secondaries); 543 TestData primary, TestData... secondaries) { 544 String packageName = primary == null ? secondaries[0].mPackageName : primary.mPackageName; 545 boolean primaryUsedByOtherApps = primary != null && primary.mUsedByOtherApps; 550 if (primary != null) { 551 assertEquals(primaryUsedByOtherApps, pInfo.isUsedByOtherApps(primary.mDexFile)); 553 assertEquals(pInfo.getLoadingPackages(primary 542 assertPackageDexUsage(PackageDexUsage packageDexUsage, Set<String> users, TestData primary, TestData... secondaries) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | WallpaperColors.java | 175 Color primary = null, secondary = null, tertiary = null; 182 primary = color; 202 return new WallpaperColors(primary, secondary, tertiary, HINT_FROM_BITMAP | hints);
|
/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | CalendarTracker.java | 95 final String primary = "\"primary\""; 97 "(" + Calendars.ACCOUNT_NAME + "=" + Calendars.OWNER_ACCOUNT + ") AS " + primary }; 98 final String selection = primary + " = 1";
|
H A D | ManagedServices.java | 101 static final String ATT_IS_PRIMARY = "primary"; 133 // List of approved packages or components (by user, then by primary/secondary) that are 466 protected String getApproved(int userId, boolean primary) { argument 469 ArraySet<String> approved = allowedByType.getOrDefault(primary, new ArraySet<>());
|
/frameworks/base/core/java/com/android/internal/content/ |
H A D | PackageHelper.java | 268 final StorageVolume primary = storage.getPrimaryVolume(); 269 return (params.sizeBytes > 0) && !primary.isEmulated() 270 && Environment.MEDIA_MOUNTED.equals(primary.getState()) 271 && params.sizeBytes <= storage.getStorageBytesUntilLow(primary.getPathFile());
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/ |
H A D | BindingExpressionParserTest.java | 147 PrimaryContext primary = parsePrimary("int.class"); 148 PrimitiveTypeContext type = primary.classExtraction().type().primitiveType(); 154 PrimaryContext primary = parsePrimary("abcdEfg"); 155 assertEquals("abcdEfg", primary.identifier().getText());
|
/frameworks/base/core/java/android/os/storage/ |
H A D | StorageVolume.java | 39 * A device always has one (and one only) primary storage volume, but it could have extra volumes, 60 * <li>To get read and write access to the primary storage volume, applications can declare the 123 boolean primary, boolean removable, boolean emulated, boolean allowMassStorage, 129 mPrimary = primary; 194 * Returns true if the volume is the primary shared/external storage, which is the volume 302 * Access to the entire volume is only available for non-primary volumes (for the primary 122 StorageVolume(String id, File path, File internalPath, String description, boolean primary, boolean removable, boolean emulated, boolean allowMassStorage, long maxFileSize, UserHandle owner, String fsUuid, String state) argument
|
/frameworks/base/core/java/android/hardware/radio/ |
H A D | ProgramSelector.java | 43 * The primary ID uniquely identifies a station and can be used for equality 45 * but the primary ID is sufficient (ie. after a full band scan). 47 * Two selectors with different secondary IDs, but the same primary ID are 133 * 64bit compound primary identifier for HD Radio. 173 * 28bit compound primary identifier for Digital Audio Broadcasting. 267 * @param primaryId primary program identifier. 299 * @return primary identifier. 316 * Looks up an identifier of a given type (either primary or secondary). 318 * If there are multiple identifiers if a given type, then first in order (where primary id is 334 * Looks up all identifier of a given type (either primary o [all...] |
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | ManagedServicesTest.java | 383 // If the primary and secondary lists contain component names, only those components within 420 // If the primary and secondary lists contain packages, all components within those packages 492 boolean primary = i % 2 == 0; 493 service.setPackageOrComponentEnabled(expectedForUser.get(i), userId, primary, 722 private void verifyExpectedBoundEntries(ManagedServices service, boolean primary) argument 724 ArrayMap<Integer, String> verifyMap = primary ? mExpectedPrimary.get(service.mApprovalLevel) 757 private void verifyExpectedApprovedEntries(ManagedServices service, boolean primary) { argument 758 ArrayMap<Integer, String> verifyMap = primary
|
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | PlaybackControlsRowPresenter.java | 126 Presenter getPresenter(boolean primary) { argument 127 ObjectAdapter adapter = primary 136 return primary ? selector.getPrimaryPresenter() 257 * Sets the primary color for the progress bar. If not set, a default from 266 * Returns the primary color for the progress bar. If no color was set, transparent 276 * When "more actions" is selected, the primary actions are replaced with 300 * Displays the primary actions. This will override the user having selected "more actions"
|
H A D | PlaybackTransportRowPresenter.java | 428 Presenter getPresenter(boolean primary) { argument 429 ObjectAdapter adapter = primary 617 * Sets the primary color for the progress bar. If not set, a default from 626 * Returns the primary color for the progress bar. If no color was set, transparent
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
H A D | RestrictedLockUtilsTest.java | 217 EnforcedAdmin primary = RestrictedLockUtils.checkIfKeyguardFeaturesDisabled( 219 assertThat(primary).isNull(); 287 UserInfo userInfo = new UserInfo(userId, "primary", 0);
|
/frameworks/support/recyclerview-selection/src/androidTest/java/androidx/recyclerview/selection/ |
H A D | BandSelectionHelperTest.java | 92 mStartBuilder = new Builder().mouse().primary().action(MotionEvent.ACTION_MOVE);
|
H A D | MouseInputHandlerTest.java | 143 mEvent.action(MotionEvent.ACTION_MOVE).primary().build(),
|
/frameworks/av/media/extractors/mkv/ |
H A D | MatroskaExtractor.cpp | 1244 static inline bool isValidPrimary(const mkvparser::PrimaryChromaticity *primary) { argument 1245 return primary != NULL && primary->x >= 0 && primary->x <= 1 1246 && primary->y >= 0 && primary->y <= 1;
|
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 871 * Returns the primary directionality of the paragraph containing the 1118 * Get the primary horizontal position for the specified text offset. 1120 * the paragraph's primary direction. 1127 * Get the primary horizontal position for the specified text offset, but 1139 * the direction other than the paragraph's primary direction. 1155 private float getHorizontal(int offset, boolean primary) { argument 1156 return primary ? getPrimaryHorizontal(offset) : getSecondaryHorizontal(offset); 1201 * @param primary Whether the results should be the primary or the secondary horizontal 1204 private float[] getLineHorizontals(int line, boolean clamped, boolean primary) { argument 1467 getOffsetForHorizontal(int line, float horiz, boolean primary) argument 1569 HorizontalMeasurementProvider(final int line, final boolean primary) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | DialerFilter.java | 70 mPrimary = (EditText) findViewById(com.android.internal.R.id.primary); 72 throw new IllegalStateException("DialerFilter must have a child EditText named primary");
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbDeviceManager.java | 539 // We do not show the USB notification if the primary volume supports mass storage. 542 final StorageVolume primary = storageManager.getPrimaryVolume(); 544 boolean massStorageSupported = primary != null && primary.allowMassStorage();
|
/frameworks/base/services/core/java/com/android/server/wallpaper/ |
H A D | WallpaperManagerService.java | 577 Slog.w(TAG, "Not setting primary colors since wallpaper changed"); 588 * @param colors a wallpaper primary colors representation 1056 * @param primaryColors representation of wallpaper primary colors 2777 Color primary = null, secondary = null, tertiary = null; 2781 primary = color; 2791 wallpaper.primaryColors = new WallpaperColors(primary, secondary, tertiary, colorHints); 2810 // restores only to the primary user
|