/cts/tools/dasm/src/java_cup/ |
D | production_part.java | 37 public String label() {return _label;} in label() method in production_part 56 if (label() != null) in equals() 57 return label().equals(other.label()); in equals() 59 return other.label() == null; in equals() 78 return label()==null ? 0 : label().hashCode(); in hashCode() 86 if (label() != null) in toString() 87 return label() + ":"; in toString()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | Contacts_PhonesTest.java | 25 CharSequence label = "label"; in testGetDisplayLabel() local 27 Phones.TYPE_CUSTOM, label).toString(); in testGetDisplayLabel() 28 assertEquals(label, display); in testGetDisplayLabel() 32 CharSequence label = "label"; in testGetDisplayLabelCharSequenceArray() local 43 Phones.TYPE_CUSTOM, label, labelArray).toString(); in testGetDisplayLabelCharSequenceArray() 44 assertEquals(label, display); in testGetDisplayLabelCharSequenceArray() 47 Phones.TYPE_HOME, label, labelArray).toString(); in testGetDisplayLabelCharSequenceArray() 51 Phones.TYPE_MOBILE, label, labelArray).toString(); in testGetDisplayLabelCharSequenceArray() 55 Phones.TYPE_WORK, label, labelArray).toString(); in testGetDisplayLabelCharSequenceArray() 59 Phones.TYPE_FAX_WORK, label, labelArray).toString(); in testGetDisplayLabelCharSequenceArray() [all …]
|
D | ContactsContract_CommonDataKinds_ImTest.java | 59 String label = mResources.getString(res); in assertGetProtocolLabel() local 60 assertEquals(label, Im.getProtocolLabel(mResources, type, "")); in assertGetProtocolLabel() 63 private void assertCustomProtocolLabel(String label) { in assertCustomProtocolLabel() argument 66 assertEquals(label, Im.getProtocolLabel(mResources, Im.PROTOCOL_CUSTOM, label)); in assertCustomProtocolLabel() 73 String label = mResources.getString(res); in assertGetTypeLabel() local 74 assertEquals(label, Im.getTypeLabel(mResources, type, "")); in assertGetTypeLabel() 77 private void assertCustomTypeLabel(String label) { in assertCustomTypeLabel() argument 80 assertEquals(label, Im.getTypeLabel(mResources, Im.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
|
D | ContactsContract_CommonDataKinds_StructuredPostalTest.java | 45 String label = mResources.getString(res); in assertGetTypeLabel() local 46 assertEquals(label, StructuredPostal.getTypeLabel(mResources, type, "")); in assertGetTypeLabel() 49 private void assertCustomTypeLabel(String label) { in assertCustomTypeLabel() argument 52 assertEquals(label, StructuredPostal.getTypeLabel(mResources, in assertCustomTypeLabel() 53 StructuredPostal.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
|
D | ContactsContract_CommonDataKinds_SipAddressTest.java | 45 String label = mResources.getString(res); in assertGetTypeLabel() local 46 assertEquals(label, SipAddress.getTypeLabel(mResources, type, "")); in assertGetTypeLabel() 49 private void assertCustomTypeLabel(String label) { in assertCustomTypeLabel() argument 52 assertEquals(label, SipAddress.getTypeLabel(mResources, SipAddress.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
|
D | ContactsContract_CommonDataKinds_EmailTest.java | 46 String label = mResources.getString(res); in assertGetTypeLabel() local 47 assertEquals(label, Email.getTypeLabel(mResources, type, "")); in assertGetTypeLabel() 50 private void assertCustomTypeLabel(String label) { in assertCustomTypeLabel() argument 53 assertEquals(label, Email.getTypeLabel(mResources, Email.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
|
D | ContactsContract_CommonDataKinds_OrganizationTest.java | 48 String label = mResources.getString(res); in assertGetTypeLabel() local 49 assertEquals(label, Organization.getTypeLabel(mResources, type, "")); in assertGetTypeLabel() 52 private void assertCustomTypeLabel(String label) { in assertCustomTypeLabel() argument 55 assertEquals(label, Organization.getTypeLabel(mResources, Im.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
|
D | Contacts_ContactMethodsTest.java | 51 String label = "label"; in test() local 53 ContactMethods.TYPE_CUSTOM, label).toString(); in test() 54 assertEquals(label, display); in test() 57 ContactMethods.TYPE_CUSTOM, label).toString(); in test() 58 assertEquals(label, display); in test()
|
D | ContactsContract_CommonDataKinds_RelationTest.java | 56 String label = mResources.getString(res); in assertGetTypeLabel() local 57 assertEquals(label, Relation.getTypeLabel(mResources, type, "")); in assertGetTypeLabel() 60 private void assertCustomTypeLabel(String label) { in assertCustomTypeLabel() argument 63 assertEquals(label, Relation.getTypeLabel(mResources, Relation.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
|
D | ContactsContract_CommonDataKinds_PhoneTest.java | 62 String label = mResources.getString(res); in assertGetTypeLabel() local 63 assertEquals(label, Phone.getTypeLabel(mResources, type, "")); in assertGetTypeLabel() 66 private void assertCustomTypeLabel(String label) { in assertCustomTypeLabel() argument 69 assertEquals(label, Phone.getTypeLabel(mResources, Phone.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
|
D | Contacts_OrganizationsTest.java | 24 String label = "label"; in testGetDisplayLabel() local 26 Organizations.TYPE_CUSTOM, label).toString(); in testGetDisplayLabel() 27 assertEquals(label, display); in testGetDisplayLabel()
|
/cts/hostsidetests/statsd/src/android/cts/statsd/metric/ |
D | MetricsUtils.java | 56 public static AtomMatcher startAtomMatcherWithLabel(int id, int label) { in startAtomMatcherWithLabel() argument 57 return appBreadcrumbMatcherWithLabelAndState(id, label, AppBreadcrumbReported.State.START); in startAtomMatcherWithLabel() 72 public static AtomMatcher stopAtomMatcherWithLabel(int id, int label) { in stopAtomMatcherWithLabel() argument 73 return appBreadcrumbMatcherWithLabelAndState(id, label, AppBreadcrumbReported.State.STOP); in stopAtomMatcherWithLabel() 95 public static AtomMatcher appBreadcrumbMatcherWithLabel(int id, int label) { in appBreadcrumbMatcherWithLabel() argument 102 .setEqInt(label))) in appBreadcrumbMatcherWithLabel() 106 public static AtomMatcher appBreadcrumbMatcherWithLabelAndState(int id, int label, in appBreadcrumbMatcherWithLabelAndState() argument 118 .setEqInt(label))) in appBreadcrumbMatcherWithLabelAndState() 122 public static AtomMatcher simpleAtomMatcher(int id, int label) { in simpleAtomMatcher() argument 129 .setEqInt(label) in simpleAtomMatcher()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AbstractWebViewActivity.java | 32 protected UiObject2 getInput(UiBot uiBot, UiObject2 label) throws Exception { in getInput() argument 34 final UiObject2 parent = label.getParent(); in getInput() 37 if (label.equals(previous)) { in getInput() 46 uiBot.dumpScreen("getInput() for label " + label + "failed"); in getInput() 47 throw new IllegalStateException("could not find username (label=" + label + ")"); in getInput()
|
D | VirtualContainerView.java | 161 final String readOnlyText = line.label.text + ": ["; in onDraw() 342 Line addLine(String labelId, String label, String textId, String text, int inputType) { in addLine() argument 343 final Line line = new Line(labelId, label, textId, text, inputType); in addLine() 346 mItems.put(line.label.id, line.label); in addLine() 416 final Item label; field in VirtualContainerView.Line 427 private Line(String labelId, String label, String textId, String text, int inputType) { in Line() argument 428 this.label = new Item(this, ++mNextChildId, labelId, label, false, false); in Line() 508 return "Label: " + label + " Text: " + text + " Focused: " + focused in toString() 536 assertWithMessage("Timeout (%s ms) on Line %s", FILL_TIMEOUT.ms(), label) in assertAutoFilled() 539 assertWithMessage("Wrong auto-fill value on Line %s", label) in assertAutoFilled()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | DateSorterTest.java | 54 String label = dateSorter.getLabel(i); in testGetLabel() local 55 assertNotNull(label); in testGetLabel() 56 assertThat(label.length(), greaterThan(0)); in testGetLabel() 58 assertFalse("Set should not contain label", set.contains(label)); in testGetLabel() 59 set.add(label); in testGetLabel()
|
/cts/apps/CameraITS/tests/scene0/ |
D | test_gyro_bias.py | 62 pylab.plot(times, xs, 'r', label='x') 63 pylab.plot(times, ys, 'g', label='y') 64 pylab.plot(times, zs, 'b', label='z')
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | DataObjectUnitTests.java | 163 final CharSequence label = "Out of service area"; in testDisconnectCause() local 168 label, in testDisconnectCause() 173 assertEquals(label, cause.getLabel()); in testDisconnectCause() 186 assertEquals(label, parcelCause.getLabel()); in testDisconnectCause() 197 final CharSequence label = "Wi-Fi call"; in testStatusHints() local 204 label, in testStatusHints() 207 assertEquals(label, hints.getLabel()); in testStatusHints() 220 assertEquals(label, parcelHints.getLabel()); in testStatusHints() 232 final CharSequence label = "Wi-Fi call"; in testGatewayInfo() local
|
/cts/tests/sensor/src/android/hardware/cts/helpers/ |
D | SensorCtsHelper.java | 187 public static String formatAssertionMessage(String label, TestSensorEnvironment environment) { in formatAssertionMessage() argument 188 return formatAssertionMessage(label, environment, "Failed"); in formatAssertionMessage() 202 String label, in formatAssertionMessage() argument 206 return formatAssertionMessage(label, environment, String.format(format, params)); in formatAssertionMessage() 219 String label, in formatAssertionMessage() argument 224 label, in formatAssertionMessage()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | UserRestrictions.java | 183 return context.getString(item.label); in getRestrictionLabel() 226 .putExtra(PolicyTransparencyTestActivity.EXTRA_TITLE, context.getString(item.label)) in getUserRestrictionTestIntent() 279 final int label; field in UserRestrictions.UserRestrictionItem 282 public UserRestrictionItem(int label, int userAction, String intentAction) { in UserRestrictionItem() argument 283 this.label = label; in UserRestrictionItem()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | EditorInfoTest.java | 57 info.label = "label"; in testEditorInfo() 87 assertEquals(info.label.toString(), targetInfo.label.toString()); in testEditorInfo()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PointerIconTest.java | 90 private TabHost.TabSpec createTabSpec(TabHost tabHost, String label, PointerIcon pointerIcon) { in createTabSpec() argument 92 tabIndicator.setText(label); in createTabSpec() 94 return tabHost.newTabSpec(label) in createTabSpec()
|
/cts/apps/CameraITS/tools/ |
D | dng_noise_model.py | 208 label="Linear fit") 279 label="Measured") 280 plt_S.loglog(sens, S_model, 'rgkb'[pidx]+'x', basex=10, basey=10, label="Model") 283 label="Measured") 284 plt_O.loglog(sens, O_model, 'rgkb'[pidx]+'x', basex=10, basey=10, label="Model") 299 label="Model", alpha=0.5)
|
/cts/apps/CameraITS/tests/scene1/ |
D | test_exposure.py | 159 pylab.plot(mults, raw_r_means, 'ro-', label='R') 160 pylab.plot(mults, raw_gr_means, 'go-', label='GR') 161 pylab.plot(mults, raw_gb_means, 'ko-', label='GB') 162 pylab.plot(mults, raw_b_means, 'bo-', label='B')
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/ |
D | IconHeaderItemPresenter.java | 57 TextView label = (TextView) rootView.findViewById(R.id.header_label); in onBindViewHolder() local 58 label.setText(headerItem.getName()); in onBindViewHolder()
|
/cts/apps/CameraITS/tests/sensor_fusion/ |
D | test_multi_camera_frame_sync.py | 85 pylab.plot(range(len(cam0_angles)), cam0_angles, "r", label="%s" % ids[0]) 86 pylab.plot(range(len(cam1_angles)), cam1_angles, "g", label="%s" % ids[1]) 95 label="cam%s-%s" % (ids[1], ids[0]))
|