/cts/tests/tests/widget/src/android/widget/cts/ |
D | AlphabetIndexerTest.java | 94 int index = ALPHABET.indexOf('A'); in testAlphabetIndexer() local 95 assertEquals(INDEX_OF_ARGENTINA, indexer.getPositionForSection(index)); in testAlphabetIndexer() 98 index = ALPHABET.indexOf('C'); in testAlphabetIndexer() 99 assertEquals(INDEX_OF_CHINA, indexer.getPositionForSection(index)); in testAlphabetIndexer() 102 index = ALPHABET.indexOf('T'); in testAlphabetIndexer() 103 assertEquals(INDEX_OF_UNITED_STATES, indexer.getPositionForSection(index)); in testAlphabetIndexer() 106 index = ALPHABET.indexOf('X'); in testAlphabetIndexer() 107 assertEquals(COUNTRIES_LIST.length, indexer.getPositionForSection(index)); in testAlphabetIndexer() 122 index = ALPHABET.indexOf('B'); in testAlphabetIndexer() 123 assertEquals(INDEX_OF_BERGKAMP, indexer.getPositionForSection(index)); in testAlphabetIndexer() [all …]
|
D | GalleryTest.java | 448 int index = 2; in testGetChildDrawingOrder() local 450 gallery.getChildDrawingOrder(childCount, index)); in testGetChildDrawingOrder() 453 index = 2; in testGetChildDrawingOrder() 454 assertEquals(index + 1, gallery.getChildDrawingOrder(childCount, index)); in testGetChildDrawingOrder() 457 index = 3; in testGetChildDrawingOrder() 458 assertEquals(index + 1, gallery.getChildDrawingOrder(childCount, index)); in testGetChildDrawingOrder()
|
/cts/tools/host/src/com/android/cts/ |
D | DeviceManager.java | 82 int index = 0; in allocateDevices() local 94 while (index < mDevices.size() && deviceList.size() != num) { in allocateDevices() 95 td = mDevices.get(index); in allocateDevices() 99 index++; in allocateDevices() 150 int index = getDeviceIndex(device); in removeDevice() local 151 if (index == -1) { in removeDevice() 155 mDevices.get(index).disconnected(); in removeDevice() 156 mDevices.remove(index); in removeDevice() 168 for (int index = 0; index < mDevices.size(); index++) { in getDeviceIndex() 169 td = mDevices.get(index); in getDeviceIndex() [all …]
|
D | TestCase.java | 154 int index = 0; in searchTest() local 159 if (testName.substring(index).startsWith(caseFullName + Test.METHOD_SEPARATOR)) { in searchTest() 160 index += caseFullName.length() + 1; in searchTest() 165 if (index == testNameStartIndex) { in searchTest()
|
D | CommandHistory.java | 66 public String get(final int index) { in get() argument 67 return mCmdRecords.get(index); in get()
|
/cts/tools/dasm/src/java_cup/ |
D | lalr_state.java | 150 public int index() {return _index;} in index() method in lalr_state 171 System.out.println("lalr_state [" + st.index() + "] {"); in dump_state() 462 our_act_row = act_table.under_state[index()]; in build_table_entries() 463 our_red_row = reduce_table.under_state[index()]; in build_table_entries() 498 if (itm.the_production().index() < in build_table_entries() 499 ((reduce_action)other_act).reduce_with().index()) in build_table_entries() 520 if ( our_act_row.under_term[sym.index()].kind() == in build_table_entries() 523 our_act_row.under_term[sym.index()] = act; in build_table_entries() 531 our_act_row.under_term[sym.index()] = act; in build_table_entries() 537 our_red_row.under_non_term[sym.index()] = trans.to_state(); in build_table_entries() [all …]
|
D | terminal_set.java | 80 return _elements.get(sym.index()); in contains() 139 result = _elements.get(sym.index()); in add() 143 _elements.set(sym.index()); in add() 157 _elements.clear(sym.index()); in remove()
|
D | emit.java | 273 term.index() + ";"); in symbols() 288 nt.index() + ";"); in symbols() 359 out.println(" case " + prod.index() + ": // " + in emit_action_code() 374 prod.lhs().the_symbol().index() + ");"); in emit_action_code() 436 all_prods[prod.index()] = prod; in emit_production_table() 447 out.print(/* lhs symbol # */ prod.lhs().the_symbol().index() + ", "); in emit_production_table() 525 (((shift_action)act).shift_to().index() + 1) + ","); in do_action_table() 532 red = ((reduce_action)act).reduce_with().index(); in do_action_table() 596 out.print(j + "," + goto_st.index() + ","); in do_reduce_table() 702 start_production.index() + ";}"); in parser() [all …]
|
D | shift_action.java | 78 public String toString() {return "SHIFT(" + shift_to().index() + ")";} in toString()
|
D | reduce_action.java | 79 return "REDUCE(" + reduce_with().index() + ")"; in toString()
|
D | symbol.java | 88 public int index() {return _index;} in index() method in symbol
|
D | lalr_transition.java | 86 result += _to_state.index(); in toString()
|
D | parse_reduce_table.java | 76 result += goto_st.index(); in toString()
|
D | parse_action_row.java | 90 prod = ((reduce_action)under_term[i]).reduce_with().index(); in compute_default()
|
D | terminal.java | 125 return super.toString() + "[" + index() + "]"; in toString()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | TimePickerDialogTest.java | 184 private void popDialog(int index) { in popDialog() argument 185 assertTrue(index > 0); in popDialog() 187 while (index != 0) { in popDialog() 189 index--; in popDialog()
|
D | AlertDialogTest.java | 61 protected void popDialog(int index) { in popDialog() argument 62 while (index != 0) { in popDialog() 64 index--; in popDialog() 123 private void doTestAlertDialog(int index) throws Throwable { in doTestAlertDialog() argument 124 popDialog(index); in doTestAlertDialog()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | ArrayTest.java | 34 private void checkEntry(final int resid, final int index, final Object res, in checkEntry() argument 37 + " at index " + index, expected, res); in checkEntry()
|
D | TypedArrayTest.java | 272 int index = mTypedArray.getIndex(R.styleable.style1_type16); in testAttrsMethod() local 273 assertEquals(EXPETED_INDEX, index); in testAttrsMethod() 274 assertTrue(mTypedArray.getValue(index, DEF_VALUE)); in testAttrsMethod()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | CtsApiCoverage.java | 115 private static String getExpectedArg(String[] args, int index) { in getExpectedArg() argument 116 if (index < args.length) { in getExpectedArg() 117 return args[index]; in getExpectedArg()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | RemoteCallbackListTest.java | 150 int index = rc.beginBroadcast(); in testRemoteCallbackList() local 151 assertEquals(1, index); in testRemoteCallbackList() 152 IInterface actual = rc.getBroadcastItem(index - 1); in testRemoteCallbackList()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | TimeTest.java | 394 for (int index = 0; index < len; index++) { in testNormalize1() 395 DateTest test = dayTests[index]; in testNormalize1() 409 "day test index " + index + ", normalize(): expected local " + expectedTime in testNormalize1() 427 "day test index " + index + ", toMillis(): expected local " + expectedTime in testNormalize1() 433 for (int index = 0; index < len; index++) { in testNormalize1() 434 DateTest test = minuteTests[index]; in testNormalize1() 452 "minute test index " + index + ", normalize(): expected local " in testNormalize1() 474 "minute test index " + index + ", toMillis(): expected local " in testNormalize1()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | LayoutAnimationControllerTest.java | 459 private AbsListView.LayoutParams setAnimationParameters(int index) { 461 animationParams.index = index; 483 animationParams.index = 0; 485 animationParams.index = 1; 487 animationParams.index = 2; 492 animationParams.index = 0; 494 animationParams.index = 1; 496 animationParams.index = 2;
|
/cts/tools/dx-tests/src/dxconvext/ |
D | ClassFileParser.java | 268 int index = path.lastIndexOf("/./"); in fixPath() local 270 if (index != -1) { in fixPath() 271 return path.substring(index + 3); in fixPath()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_TestDataBuilder.java | 226 int index = mCursor.getColumnIndex(columnName); in getColumnIndex() local 229 index != -1); in getColumnIndex() 230 return index; in getColumnIndex()
|