/external/testng/src/main/java/org/testng/collections/ |
Objects.java | 55 public ToStringHelper add(String name, String value) { method in class:Objects.ToStringHelper 56 values.add(new ValueHolder(name, s(value))); 60 public ToStringHelper add(String name, Object value) { method in class:Objects.ToStringHelper 61 values.add(new ValueHolder(name, s(value)));
|
/external/vogar/src/vogar/target/junit/ |
VogarBlockJUnit4ClassRunner.java | 70 // found. If they cannot be found then add a fake one that will report the method as 84 // The method could not be found so add one that when invoked will report the 86 methods.add(new MissingFrameworkMethod(name)); 88 methods.add(method); 126 errors.add(new AssertionFailedError("Method \"" + name + "\" not found"));
|
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/ |
RecommendationServiceImpl.java | 70 mPlugins.add(new RemotePrintServicePlugin(new MDNSFilterPlugin(this, 82 mPlugins.add(new RemotePrintServicePlugin(new CloudPrintPlugin(this), this, 90 mPlugins.add(new RemotePrintServicePlugin(new HPRecommendationPlugin(this), this, 98 mPlugins.add(new RemotePrintServicePlugin(new MopriaRecommendationPlugin(this), this, 106 mPlugins.add(new RemotePrintServicePlugin(new SamsungRecommendationPlugin(this), this, 114 mPlugins.add(new RemotePrintServicePlugin( 165 recommendations.add(new RecommendationInfo(plugin.packageName,
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
ListTestCaseNames.java | 34 testCaseNames.add(((TestCase) test).getName()); 52 testNames.add(new TestDescriptor(className, testName));
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
NAIRealmDataTestUtil.java | 60 TEST_EAP_METHOD_CREDENTIAL_TYPE_PARAMS.add(new CredentialType( 65 TEST_EAP_METHOD_LIST.add(new EAPMethod(EAPConstants.EAP_TLS, TEST_EAP_METHOD_AUTH_PARAMS));
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/view/ |
ViewPagerActivity.java | 46 mAdapter.add("Red", Color.RED); 47 mAdapter.add("Green", Color.GREEN); 48 mAdapter.add("Blue", Color.BLUE); 59 public void add(String title, int color) { method in class:ViewPagerActivity.ColorPagerAdapter 60 mEntries.add(new Pair<>(title, color));
|
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/ |
MessagingSliceBuilder.java | 62 * Add a subslice to this builder. 64 public MessagingSliceBuilder add(MessageBuilder builder) { method in class:MessagingSliceBuilder 65 mBuilder.add((TemplateBuilderImpl) builder.mImpl); 70 * Add a subslice to this builder. 72 public MessagingSliceBuilder add(Consumer<MessageBuilder> c) { method in class:MessagingSliceBuilder 75 return add(b); 114 * Add the icon used to display contact in the messaging experience 123 * Add the icon used to display contact in the messaging experience 133 * Add the text to be used for this message. 141 * Add the time at which this message arrived in ms since Unix epoc [all...] |
/libcore/luni/src/test/java/libcore/sun/security/jca/ |
ProvidersTest.java | 70 BC_ALGORITHMS.add(new Algorithm() { 77 BC_ALGORITHMS.add(new Algorithm() { 84 BC_ALGORITHMS.add(new Algorithm() { 91 BC_ALGORITHMS.add(new Algorithm() { 98 BC_ALGORITHMS.add(new Algorithm() { 105 BC_ALGORITHMS.add(new Algorithm() { 112 BC_ALGORITHMS.add(new Algorithm() { 120 BC_ALGORITHMS.add(new Algorithm() { 130 CONSCRYPT_ALGORITHMS.add(new Algorithm() { 136 CONSCRYPT_ALGORITHMS.add(new Algorithm() [all...] |
/packages/apps/Camera2/src/com/android/camera/async/ |
Lifetime.java | 57 parent.mCloseables.add(this); 63 public <T extends SafeCloseable> T add(T closeable) { method in class:Lifetime 69 mCloseables.add(closeable);
|
/packages/apps/Dialer/java/com/android/dialer/calllogutils/ |
CallLogDates.java | 202 startOfReferenceDay.add(Calendar.HOUR_OF_DAY, -startOfReferenceDay.get(Calendar.HOUR_OF_DAY)); 203 startOfReferenceDay.add(Calendar.MINUTE, -startOfReferenceDay.get(Calendar.MINUTE)); 204 startOfReferenceDay.add(Calendar.SECOND, -startOfReferenceDay.get(Calendar.SECOND)); 211 startOfReferenceDay.add(Calendar.DATE, -1); 243 reference.add(Calendar.YEAR, -1);
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
TestRecyclerView.java | 73 holders.add(new TestViewHolder(Views.createTestView())); 83 view.holders.add(new TestViewHolder(Views.createTestView()));
|
/packages/apps/TV/partner_support/samples/src/com/example/partnersupportsampletvinput/ |
LocationFragment.java | 48 actions.add(mZipCodeAction); 54 actions.add( 79 GuidedStepFragment.add(fm, fragment);
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/util/ |
SparseArray.java | 51 mKeys.add(insertIndex, key); 52 mValues.add(insertIndex, value);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/views/ |
EventLogView.java | 92 menuManager.add(clearAction); 93 menuManager.add(new Separator()); 94 menuManager.add(saveAction); 95 menuManager.add(loadAction); 96 menuManager.add(importBugAction); 97 menuManager.add(new Separator()); 98 menuManager.add(optionAction); 102 toolBarManager.add(clearAction); 103 toolBarManager.add(new Separator()); 104 toolBarManager.add(saveAction) [all...] |
/test/vti/dashboard/src/main/java/com/android/vts/util/ |
TestRunDetails.java | 44 public void add(String testCase) { method in class:TestRunDetails.ResultColumn 45 this.testCases.add(testCase); 55 json.add(NAME_KEY, new JsonPrimitive(name)); 56 json.add(DATA_KEY, new Gson().toJsonTree(testCases)); 72 * Add a test case entity to the details object. 82 column.add(testCase.name); 95 jsonColumns.add(column.toJson());
|
/tools/loganalysis/tests/src/com/android/loganalysis/rule/ |
ProcessUsageRuleTest.java | 59 uid0Sensor.add(new SensorInfoItem("0", 9908)); 60 uid0Sensor.add(new SensorInfoItem("1", 9997)); 63 uidU0a9Sensor.add(new SensorInfoItem("2", 1315)); 88 uid0Sensor.add(new SensorInfoItem("0", 9908)); 89 uid0Sensor.add(new SensorInfoItem("1", 9997)); 92 uidU0a9Sensor.add(new SensorInfoItem("2", 913015));
|
/external/doclava/src/com/google/doclava/ |
Comment.java | 127 SourcePositionInfo pos = SourcePositionInfo.add(mPosition, mText, 0); 147 endOfInlineTag++; // add one to make it a proper ending index 283 SourcePositionInfo pos = SourcePositionInfo.add(mPosition, mText, startOfBlock); 328 mInlineTagsList.add(new TextTagInfo("Text", "Text", text, pos)); 330 mParamTagsList.add(new ParamTagInfo("@param", "@param", text, mBase, pos)); 332 mSeeTagsList.add(new SeeTagInfo("@see", "@see", text, mBase, pos)); 336 mInlineTagsList.add(linkTag); 338 mInlineTagsList.add(new SeeTagInfo(name, "@see", text, mBase, pos)); 341 mInlineTagsList.add(new SeeTagInfo(name, "@linkplain", text, mBase, pos)); 343 mInlineTagsList.add(new SeeTagInfo(name, "@value", text, mBase, pos)) [all...] |
/art/compiler/optimizing/ |
live_ranges_test.cc | 297 * | 18: add 304 * We want to make sure the phi at 10 has a lifetime hole after the add at 20. 342 // Test for the add instruction. 343 HAdd* add = liveness.GetInstructionFromSsaIndex(2)->AsAdd(); local 344 interval = add->GetLiveInterval(); 371 * 16: add 22: add 379 * We want to make sure the constant0 has a lifetime hole after the 16: add. 418 // Test for the first add. 419 HAdd* add = liveness.GetInstructionFromSsaIndex(2)->AsAdd() local [all...] |
/art/test/080-oom-throw-with-finalizer/src/ |
Main.java | 50 v.add(new InstanceFinalizerMemEater());
|
/art/test/104-growth-limit/src/ |
Main.java | 56 l.add(new byte[1048576]);
|
/art/test/304-method-tracing/src/ |
Main.java | 33 threads.add(new Thread(new ThreadRunnable(), "TestThread-" + i));
|
/art/test/640-checker-double-simd/src/ |
Main.java | 29 /// CHECK-START: void Main.add(double) loop_optimization (before) 33 /// CHECK-START-{ARM64,MIPS64}: void Main.add(double) loop_optimization (after) 37 static void add(double x) { method in class:Main 141 add(2.0); 143 expectEquals(i + 2, a[i], "add");
|
/art/test/640-checker-float-simd/src/ |
Main.java | 29 /// CHECK-START: void Main.add(float) loop_optimization (before) 33 /// CHECK-START-{ARM64,MIPS64}: void Main.add(float) loop_optimization (after) 37 static void add(float x) { method in class:Main 140 add(2.0f); 142 expectEquals(i + 2, a[i], "add");
|
/art/test/952-invoke-custom/src/ |
TestLinkerMethodMinimalArguments.java | 44 private static int add(int a, int b) { method in class:TestLinkerMethodMinimalArguments 52 System.out.println("Throwing ArithmeticException in add()"); 53 throw new ArithmeticException("add"); 81 assertEquals(x + y, add(x, y));
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
jquery-history.js | 39 add: function(hash) { 38 $.history = { method in class:$.history
|