/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseUtilsTest.java | 78 final int sel = STATEMENT_SELECT; in testStatementType() local 79 assertEquals(sel, getSqlStatementType("SELECT")); in testStatementType() 80 assertEquals(sel, getSqlStatementType(" SELECT")); in testStatementType() 81 assertEquals(sel, getSqlStatementType(" \n\r\f\t SELECT")); in testStatementType() 82 assertEquals(sel, getSqlStatementType(" \n\r\f\t SEL")); in testStatementType() 94 assertEquals(sel, getSqlStatementType("select")); in testStatementType() 95 assertEquals(sel, getSqlStatementType("sElect")); in testStatementType() 96 assertEquals(sel, getSqlStatementType("sELECT")); in testStatementType() 97 assertEquals(sel, getSqlStatementType("seLECT")); in testStatementType() 110 assertEquals(sel, getSqlStatementType("-- cmt\n SELECT")); in testStatementType() [all …]
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/ |
D | ConversionUtils.java | 395 android.hardware.broadcastradio.ProgramSelector sel) { in isValidHalProgramSelector() argument 396 return sel.primaryId.type == IdentifierType.AMFM_FREQUENCY_KHZ in isValidHalProgramSelector() 397 || sel.primaryId.type == IdentifierType.RDS_PI in isValidHalProgramSelector() 398 || sel.primaryId.type == IdentifierType.HD_STATION_ID_EXT in isValidHalProgramSelector() 399 || sel.primaryId.type == IdentifierType.DAB_SID_EXT in isValidHalProgramSelector() 400 || sel.primaryId.type == IdentifierType.DRMO_SERVICE_ID in isValidHalProgramSelector() 401 || sel.primaryId.type == IdentifierType.SXM_SERVICE_ID in isValidHalProgramSelector() 402 || isVendorIdentifierType(sel.primaryId.type); in isValidHalProgramSelector() 407 ProgramSelector sel) { in programSelectorToHalProgramSelector() argument 411 hwSel.primaryId = identifierToHalProgramIdentifier(sel.getPrimaryId()); in programSelectorToHalProgramSelector() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ListView.java | 872 View sel = makeAndAddView(position, childrenTop, true, in fillFromMiddle() local 876 int selHeight = sel.getMeasuredHeight(); in fillFromMiddle() 878 sel.offsetTopAndBottom((height - selHeight) / 2); in fillFromMiddle() 881 fillAboveAndBelow(sel, position); in fillFromMiddle() 889 return sel; in fillFromMiddle() 899 private void fillAboveAndBelow(View sel, int position) { in fillAboveAndBelow() argument 902 fillUp(position - 1, sel.getTop() - dividerHeight); in fillAboveAndBelow() 904 fillDown(position + 1, sel.getBottom() + dividerHeight); in fillAboveAndBelow() 906 fillDown(position + 1, sel.getBottom() + dividerHeight); in fillAboveAndBelow() 908 fillUp(position - 1, sel.getTop() - dividerHeight); in fillAboveAndBelow() [all …]
|
D | GridView.java | 495 final View sel = makeRow(mStackFromBottom ? rowEnd : rowStart, topSelectionPixel, true); in fillSelection() local 516 return sel; in fillSelection() 745 View sel; in fillFromSelection() local 752 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, selectedTop, true); in fillFromSelection() 771 return sel; in fillFromSelection() 933 View sel; in moveSelection() local 944 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, oldBottom + verticalSpacing, true); in moveSelection() 955 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, oldTop - verticalSpacing, false); in moveSelection() 966 sel = makeRow(mStackFromBottom ? rowEnd : rowStart, oldTop, true); in moveSelection() 980 return sel; in moveSelection() [all …]
|
D | AbsListView.java | 2666 void positionSelectorLikeTouch(int position, View sel, float x, float y) { in positionSelectorLikeTouch() argument 2667 positionSelector(position, sel, true, x, y); in positionSelectorLikeTouch() 2673 void positionSelectorLikeFocus(int position, View sel) { in positionSelectorLikeFocus() argument 2678 positionSelector(position, sel, true, x, y); in positionSelectorLikeFocus() 2680 positionSelector(position, sel); in positionSelectorLikeFocus() 2684 void positionSelector(int position, View sel) { in positionSelector() argument 2685 positionSelector(position, sel, false, -1, -1); in positionSelector() 2689 private void positionSelector(int position, View sel, boolean manageHotspot, float x, float y) { in positionSelector() argument 2696 selectorRect.set(sel.getLeft(), sel.getTop(), sel.getRight(), sel.getBottom()); in positionSelector() 2697 if (sel instanceof SelectionBoundsAdjuster) { in positionSelector() [all …]
|
D | Spinner.java | 677 View sel = makeView(mSelectedPosition, true); in layout() local 678 int width = sel.getMeasuredWidth(); in layout() 690 sel.offsetLeftAndRight(selectedOffset); in layout()
|
D | Gallery.java | 690 View sel = makeAndAddView(mSelectedPosition, 0, 0, true); in layout() local 693 int selectedOffset = childrenLeft + (childrenWidth / 2) - (sel.getWidth() / 2) + in layout() 695 sel.offsetLeftAndRight(selectedOffset); in layout()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | Convert.java | 294 @NonNull ProgramSelector sel) { in programSelectorToHal() 298 programIdentifierToHal(hwSel.primaryId, sel.getPrimaryId()); in programSelectorToHal() 299 Arrays.stream(sel.getSecondaryIds()).map(Convert::programIdentifierToHal). in programSelectorToHal() 306 @NonNull android.hardware.broadcastradio.V2_0.ProgramSelector sel) { in isEmpty() 307 return sel.primaryId.type == 0 && sel.primaryId.value == 0 && sel.secondaryIds.isEmpty(); in isEmpty() 311 @NonNull android.hardware.broadcastradio.V2_0.ProgramSelector sel) { in programSelectorFromHal() 312 if (isEmpty(sel)) return null; in programSelectorFromHal() 314 ProgramSelector.Identifier[] secondaryIds = sel.secondaryIds.stream(). in programSelectorFromHal() 319 identifierTypeToProgramType(sel.primaryId.type), in programSelectorFromHal() 320 Objects.requireNonNull(programIdentifierFromHal(sel.primaryId)), in programSelectorFromHal()
|
/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/ |
D | MailAppHelper.kt | 58 val sel = By.res(packageName, MAIL_LIST_RES_ID).scrollable(true) in waitForMailList() constant 59 val ret = uiDevice.wait(Until.findObject(sel), FIND_TIMEOUT) in waitForMailList()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/ |
D | TunerSessionHidlTest.java | 373 ProgramSelector sel = TestUtils.makeFmSelector(AM_FM_FREQUENCY_LIST[1]); in tune_withDeadTunerCallback_removesDeadSession() local 377 mTunerSessions[0].tune(sel); in tune_withDeadTunerCallback_removesDeadSession() 420 ProgramSelector sel = TestUtils.makeFmSelector(AM_FM_FREQUENCY_LIST[1]); in tune_withUnknownErrorFromHal_fails() local 424 mTunerSessions[0].tune(sel); in tune_withUnknownErrorFromHal_fails() 434 ProgramSelector sel = TestUtils.makeFmSelector(AM_FM_FREQUENCY_LIST[1]); in tune_withClosedTuner_fails() local 438 () -> mTunerSessions[0].tune(sel)); in tune_withClosedTuner_fails()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
D | TunerSessionTest.java | 386 ProgramSelector sel = AidlTestUtils.makeFmSelector(AM_FM_FREQUENCY_LIST[1]); in tune_withDeadTunerCallback_removesDeadSession() local 390 mTunerSessions[0].tune(sel); in tune_withDeadTunerCallback_removesDeadSession() 438 ProgramSelector sel = AidlTestUtils.makeFmSelector(AM_FM_FREQUENCY_LIST[1]); in tune_withUnknownErrorFromHal_fails() local 443 mTunerSessions[0].tune(sel); in tune_withUnknownErrorFromHal_fails() 453 ProgramSelector sel = AidlTestUtils.makeFmSelector(AM_FM_FREQUENCY_LIST[1]); in tune_withClosedTuner_fails() local 457 () -> mTunerSessions[0].tune(sel)); in tune_withClosedTuner_fails() 1211 ProgramSelector sel = AidlTestUtils.makeFmSelector(AM_FM_FREQUENCY_LIST[1]); in onTuneFailed_forTunerCallback() local 1217 .onTuneFailed(RadioTuner.TUNER_RESULT_CANCELED, sel); in onTuneFailed_forTunerCallback()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | TextViewActivityTest.java | 1360 final TextSelection sel = mOriginal.suggestSelection(request); in suggestSelection() local 1362 sel.getSelectionStartIndex(), sel.getSelectionEndIndex()) in suggestSelection()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |