Home
last modified time | relevance | path

Searched refs:repeat (Results 1 – 25 of 60) sorted by relevance

123

/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dcommand_handler.rs78 format!("|{}{}{}|", INDENT_CHAR.repeat(indent), text, INDENT_CHAR.repeat(remaining_count)) in wrap_help_text()
198 INDENT_CHAR.repeat(4), in cmd_help()
200 INDENT_CHAR.repeat(8), in cmd_help()
211 let equal_bar = format!(" {} ", BAR1_CHAR.repeat(MAX_MENU_CHAR_WIDTH)); in cmd_help()
214 let empty_bar = format!("|{}|", INDENT_CHAR.repeat(MAX_MENU_CHAR_WIDTH)); in cmd_help()
222 format!("+{}+", BAR2_CHAR.repeat(MAX_MENU_CHAR_WIDTH)), in cmd_help()
718 assert_eq!(format!("|{}{}|", text, " ".repeat(2)), wrap_help_text(text, 7, 0)); in test_wrap_help_text()
720 format!("|{}{}|", text, " ".repeat(100 - text_len)), in test_wrap_help_text()
724 assert_eq!(format!("|{}{}|", " ".repeat(2), text), wrap_help_text(text, 5, 2)); in test_wrap_help_text()
725 assert_eq!(format!("|{}{}{}|", " ".repeat(3), text, " "), wrap_help_text(text, 6, 3)); in test_wrap_help_text()
[all …]
/packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/
DProgramGuideJankTest.java59 int repeat = EXPECTED_FRAMES * 2 / frames; in testShowClearProgramGuide() local
60 for (int i = 0; i < repeat; i++) { in testShowClearProgramGuide()
74 int repeat = EXPECTED_FRAMES * 2 / frames; in testScrollDown() local
75 for (int i = 0; i < repeat; i++) { in testScrollDown()
88 int repeat = EXPECTED_FRAMES * 2 / frames; in testScrollRight() local
89 for (int i = 0; i < repeat; i++) { in testScrollRight()
DChannelZappingJankTest.java53 int repeat = EXPECTED_FRAMES * 2 / frameCountForOneChannelZapping; in testChannelZapping() local
54 for (int i = 0; i < repeat; i++) { in testChannelZapping()
DMenuJankTest.java53 int repeat = EXPECTED_FRAMES * 2 / frames; in testShowMenu() local
54 for (int i = 0; i < repeat; i++) { in testShowMenu()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSlideshowPage.java205 boolean repeat = data.getBoolean(KEY_REPEAT); in initializeData()
207 new ShuffleSource(mediaSet, repeat), 0, null); in initializeData()
213 boolean repeat = data.getBoolean(KEY_REPEAT); in initializeData()
214 mModel = new SlideshowDataAdapter(mActivity, new SequentialSource(mediaSet, repeat), in initializeData()
248 public ShuffleSource(MediaSet mediaSet, boolean repeat) { in ShuffleSource() argument
250 mRepeat = repeat; in ShuffleSource()
318 public SequentialSource(MediaSet mediaSet, boolean repeat) { in SequentialSource() argument
320 mRepeat = repeat; in SequentialSource()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/
DPasspointConfigurationTest.java689 homeSp.setFqdn(Strings.repeat("A", MAX_STRING_LENGTH)); in testValidatePasspointConfig()
690 homeSp.setFriendlyName(Strings.repeat("A", MAX_STRING_LENGTH)); in testValidatePasspointConfig()
693 homePartnersList.add(Strings.repeat("A", MAX_STRING_LENGTH)); in testValidatePasspointConfig()
696 homeSp.setIconUrl(Strings.repeat("A", MAX_URL_BYTES)); in testValidatePasspointConfig()
711 homeSp.setFqdn(Strings.repeat("A", MAX_STRING_LENGTH + 1)); in testValidatePasspointConfig()
714 homeSp.setFqdn(Strings.repeat("A", MAX_STRING_LENGTH)); in testValidatePasspointConfig()
716 homeSp.setFriendlyName(Strings.repeat("A", MAX_STRING_LENGTH + 1)); in testValidatePasspointConfig()
719 homeSp.setFriendlyName(Strings.repeat("A", MAX_STRING_LENGTH)); in testValidatePasspointConfig()
721 homeSp.setIconUrl(Strings.repeat("A", MAX_URL_BYTES + 1)); in testValidatePasspointConfig()
724 homeSp.setIconUrl(Strings.repeat("A", MAX_URL_BYTES)); in testValidatePasspointConfig()
/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/
DHandlerUtilsTest.kt37 repeat(ATTEMPTS) { in <lambda>()
54 repeat(ATTEMPTS) { i -> in <lambda>()
58 assertEquals(tempRunnable.memory.toString(), "ab".repeat(i + 1)) in <lambda>()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayer.java171 public void start(boolean handleFocus, boolean repeat, int focusRequest) { in start() argument
173 mRepeat = repeat; in start()
206 public void start(boolean handleFocus, boolean repeat, int focusRequest, in start() argument
209 start(handleFocus, repeat, focusRequest); in start()
/packages/modules/Bluetooth/tools/rootcanal/lmp/test/SP/
DBV-13-C.in46 repeat 3 times with (part in peer_p192_public_key()) {
66 repeat 3 times with (part in local_p192_public_key(&context)) {
78 repeat 20 times {
DBV-34-C.in46 repeat 3 times with (part in peer_p192_public_key()) {
66 repeat 3 times with (part in local_p192_public_key(&context)) {
94 repeat 20 times {
DBV-12-C.in64 repeat 3 times with (part in local_p192_public_key(&context)) {
84 repeat 3 times with (part in peer_p192_public_key()) {
107 repeat 20 times {
DBV-33-C.in64 repeat 3 times with (part in local_p192_public_key(&context)) {
84 repeat 3 times with (part in peer_p192_public_key()) {
133 repeat 20 times {
DBV-15-C.in46 repeat 3 times with (part in peer_p192_public_key()) {
66 repeat 3 times with (part in local_p192_public_key(&context)) {
DBV-25-C.in46 repeat 3 times with (part in peer_p192_public_key()) {
66 repeat 3 times with (part in local_p192_public_key(&context)) {
DBV-27-C.in52 repeat 3 times with (part in peer_p192_public_key()) {
72 repeat 3 times with (part in local_p192_public_key(&context)) {
DBV-17-C.in46 repeat 3 times with (part in peer_p192_public_key()) {
66 repeat 3 times with (part in local_p192_public_key(&context)) {
DBV-09-C.in46 repeat 3 times with (part in peer_p192_public_key()) {
66 repeat 3 times with (part in local_p192_public_key(&context)) {
DBV-11-C.in46 repeat 3 times with (part in peer_p192_public_key()) {
66 repeat 3 times with (part in local_p192_public_key(&context)) {
DBV-36-C.in46 repeat 3 times with (part in peer_p192_public_key()) {
66 repeat 3 times with (part in local_p192_public_key(&context)) {
DBV-14-C.in64 repeat 3 times with (part in local_p192_public_key(&context)) {
84 repeat 3 times with (part in peer_p192_public_key()) {
DBV-26-C.in70 repeat 3 times with (part in local_p192_public_key(&context)) {
90 repeat 3 times with (part in peer_p192_public_key()) {
/packages/apps/DeskClock/src/com/android/deskclock/alarms/dataadapter/
DExpandedAlarmViewHolder.kt58 val repeat: CheckBox = itemView.findViewById(R.id.repeat_onoff) as CheckBox in <lambda>() constant
127 repeat.setOnClickListener { view -> in <lambda>()
184 repeat.isChecked = true in <lambda>()
187 repeat.isChecked = false in <lambda>()
334 val repeatAnimation: Animator = ObjectAnimator.ofFloat(repeat, View.ALPHA, 0f) in <lambda>()
406 val repeatAnimation: Animator = ObjectAnimator.ofFloat(repeat, View.ALPHA, 1f) in <lambda>()
476 repeat.alpha = alpha in <lambda>()
/packages/services/Car/service/src/com/android/car/hal/
DInputHalService.java350 int repeat;
361 repeat = state.mRepeatCount++;
371 repeat = 0;
381 repeat,
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DLiveChannelsTestController.java180 public void pressDPadCenter(int repeat) { in pressDPadCenter() argument
182 for (int i = 0; i < repeat; ++i) { in pressDPadCenter()
184 if (i < repeat - 1) { in pressDPadCenter()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DAtPhonebookTest.java230 String number = "1".repeat(31); in processCpbrCommand_withMissedCalls()
238 String name = "k".repeat(30); in processCpbrCommand_withMissedCalls()
262 String number = "1".repeat(31); in processCpbrCommand_withReceivcedCallsAndCharsetGsm()
270 String name = "k".repeat(30); in processCpbrCommand_withReceivcedCallsAndCharsetGsm()

123