Home
last modified time | relevance | path

Searched refs:label (Results 1 – 25 of 47) sorted by relevance

12

/cts/tools/dasm/src/java_cup/
Dproduction_part.java37 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/
DContacts_PhonesTest.java25 CharSequence label = "label"; in testGetDisplayLabel() local
27 Phones.TYPE_CUSTOM, label).toString(); in testGetDisplayLabel()
28 assertEquals(label, display); in testGetDisplayLabel()
33 Phones.TYPE_HOME, label).toString(); in testGetDisplayLabel()
37 Phones.TYPE_MOBILE, label).toString(); in testGetDisplayLabel()
41 Phones.TYPE_WORK, label).toString(); in testGetDisplayLabel()
45 Phones.TYPE_FAX_WORK, label).toString(); in testGetDisplayLabel()
49 Phones.TYPE_FAX_HOME, label).toString(); in testGetDisplayLabel()
53 Phones.TYPE_PAGER, label).toString(); in testGetDisplayLabel()
57 Phones.TYPE_OTHER, label).toString(); in testGetDisplayLabel()
[all …]
DContactsContract_CommonDataKinds_ImTest.java59 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()
DContacts_ContactMethodsTest.java55 String label = "label"; in test() local
57 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
58 assertEquals(label, display); in test()
63 ContactMethods.TYPE_HOME, label).toString(); in test()
67 ContactMethods.TYPE_OTHER, label).toString(); in test()
71 ContactMethods.TYPE_WORK, label).toString(); in test()
76 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
80 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
84 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
88 ContactMethods.TYPE_CUSTOM, label).toString(); in test()
[all …]
DContacts_OrganizationsTest.java25 String label = "label"; in testGetDisplayLabel() local
27 Organizations.TYPE_CUSTOM, label).toString(); in testGetDisplayLabel()
28 assertEquals(label, display); in testGetDisplayLabel()
33 Organizations.TYPE_OTHER, label).toString(); in testGetDisplayLabel()
37 Organizations.TYPE_WORK, label).toString(); in testGetDisplayLabel()
DContactsContract_CommonDataKinds_StructuredPostalTest.java45 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()
DContactsContract_CommonDataKinds_OrganizationTest.java45 String label = mResources.getString(res); in assertGetTypeLabel() local
46 assertEquals(label, Organization.getTypeLabel(mResources, type, "")); in assertGetTypeLabel()
49 private void assertCustomTypeLabel(String label) { in assertCustomTypeLabel() argument
52 assertEquals(label, Organization.getTypeLabel(mResources, Im.TYPE_CUSTOM, label)); in assertCustomTypeLabel()
DContactsContract_CommonDataKinds_SipAddressTest.java45 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()
DContactsContract_CommonDataKinds_EmailTest.java46 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()
DContactsContract_CommonDataKinds_RelationTest.java56 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()
DContactsContract_CommonDataKinds_PhoneTest.java62 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()
/cts/tests/tests/webkit/src/android/webkit/cts/
DDateSorterTest.java49 String label = dateSorter.getLabel(i); in testGetLabel() local
50 assertNotNull(label); in testGetLabel()
51 assertTrue(label.length() > 0); in testGetLabel()
53 assertFalse(set.contains(label)); in testGetLabel()
54 set.add(label); in testGetLabel()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DSensorCtsHelper.java160 public static String formatAssertionMessage(String label, TestSensorEnvironment environment) { in formatAssertionMessage() argument
161 return formatAssertionMessage(label, environment, "Failed"); in formatAssertionMessage()
175 String label, in formatAssertionMessage() argument
179 return formatAssertionMessage(label, environment, String.format(format, params)); in formatAssertionMessage()
192 String label, in formatAssertionMessage() argument
197 label, in formatAssertionMessage()
/cts/apps/CameraITS/tests/scene0/
Dtest_gyro_bias.py64 pylab.plot(times, xs, 'r', label="x")
65 pylab.plot(times, ys, 'g', label="y")
66 pylab.plot(times, zs, 'b', label="z")
/cts/tests/tests/view/src/android/view/inputmethod/cts/
DEditorInfoTest.java43 info.label = "label"; in testEditorInfo()
71 assertEquals(info.label.toString(), targetInfo.label.toString()); in testEditorInfo()
/cts/tests/tests/telecom/src/android/telecom/cts/
DDataObjectUnitTests.java166 final CharSequence label = "Out of service area"; in testDisconnectCause() local
171 label, in testDisconnectCause()
176 assertEquals(label, cause.getLabel()); in testDisconnectCause()
189 assertEquals(label, parcelCause.getLabel()); in testDisconnectCause()
200 final CharSequence label = "Wi-Fi call"; in testStatusHints() local
207 label, in testStatusHints()
210 assertEquals(label, hints.getLabel()); in testStatusHints()
223 assertEquals(label, parcelHints.getLabel()); in testStatusHints()
235 final CharSequence label = "Wi-Fi call"; in testGatewayInfo() local
DTestUtils.java92 PhoneAccountHandle handle, String label, String address) throws Exception { in registerSimPhoneAccount() argument
96 + handle.getId() + " " + label + " " + address); in registerSimPhoneAccount()
/cts/apps/CameraITS/tests/dng_noise_model/
Ddng_noise_model.py179 label="Linear fit")
232 label="Measured")
233 plt_S.loglog(sens, S_model, 'bx', basex=10, basey=10, label="Model")
239 label="Measured")
240 plt_O.loglog(sens, O_model, 'bx', basex=10, basey=10, label="Model")
250 label="Model")
/cts/tests/tests/os/src/android/os/cts/
DBuildVersionTest.java88 private void assertAnyOf(String label, String actualValue, Set<String> permittedValues) { in assertAnyOf() argument
90 fail("For: " + label + ", the value: " + actualValue + in assertAnyOf()
/cts/tests/leanbackjank/app/src/android/cts/jank/leanback/presenter/
DIconHeaderItemPresenter.java57 TextView label = (TextView) rootView.findViewById(R.id.header_label); in onBindViewHolder() local
58 label.setText(headerItem.getName()); in onBindViewHolder()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DDocumentsClientTest.java74 private UiObject findRoot(String label) throws UiObjectNotFoundException { in findRoot() argument
93 new UiScrollable(rootsList).scrollIntoView(new UiSelector().text(label)); in findRoot()
94 return new UiObject(rootsList.childSelector(new UiSelector().text(label))); in findRoot()
97 private UiObject findDocument(String label) throws UiObjectNotFoundException { in findDocument() argument
107 new UiScrollable(docList).scrollIntoView(new UiSelector().text(label)); in findDocument()
108 return new UiObject(docList.childSelector(new UiSelector().text(label))); in findDocument()
/cts/hostsidetests/security/src/android/cts/security/
DSELinuxHostTest.java437 assertEquals(msg, domain, exeProcs.get(0).label); in assertDomainOne()
472 assertEquals(msg, domain, exeProcs.get(0).label); in assertDomainZeroOrOne()
506 assertEquals(msg, domain, p.label); in assertDomainN()
541 assertEquals(msg, domain, p.label); in assertDomainHasExecutable()
683 public String label; field in SELinuxHostTest.ProcessDetails
693 ProcessDetails(String label, String user, int pid, int ppid, String procTitle) { in ProcessDetails() argument
694 this.label = label; in ProcessDetails()
703 return "label: " + label in toString()
/cts/apps/CameraITS/tests/scene1/
Dtest_dng_noise_model.py95 label=["R","GR","GB","B"][ch]+" expected")
97 label=["R", "GR", "GB", "B"][ch]+" measured")
/cts/suite/cts/deviceTests/opengl/jni/graphics/
DMatrix.h38 void print(const char* label);
/cts/apps/CameraITS/tests/sensor_fusion/
Dtest_sensor_fusion.py166 pylab.plot(candidates, dists, 'r', label="data")
167 pylab.plot(xfit, yfit, 'b', label="fit")
187 pylab.plot(range(len(cam_rots)), cam_rots, 'r', label="camera")
188 pylab.plot(range(len(gyro_rots)), gyro_rots, 'b', label="gyro")

12