/external/dagger2/producers/src/test/java/dagger/producers/internal/ |
AbstractProducerTest.java | 59 public ProductionComponentMonitor get() { 69 producer.get(); 75 @Test public void get() throws Exception { method in class:AbstractProducerTest 85 assertThat(producer.get().get()).isEqualTo(0); 86 assertThat(producer.get().get()).isEqualTo(0); 87 assertThat(producer.get().get()).isEqualTo(0); 95 ListenableFuture<Integer> future = producer.get(); [all...] |
ProducersTest.java | 43 assertThat(producedFuture.get().get()).isEqualTo("monkey"); 50 assertThat(getProducedException(producedFuture.get()).getCause()).hasMessage("monkey"); 67 assertThat(getProducedException(producedFuture.get()).getCause()) 73 produced.get(); 84 assertThat(setFuture.get()).containsExactly("monkey"); 92 setFuture.get(); 103 @Override public Integer get() { 107 assertThat(producer.get().get()).isEqualTo(0) [all...] |
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
TestJapaneseChronoImpl.java | 114 assertEquals(jDate.get(ChronoField.DAY_OF_MONTH), cal.get(Calendar.DAY_OF_MONTH), "Day mismatch in " + jDate + "; cal: " + cal); 115 assertEquals(jDate.get(ChronoField.MONTH_OF_YEAR), cal.get(Calendar.MONTH) + 1, "Month mismatch in " + jDate); 116 assertEquals(jDate.get(ChronoField.YEAR_OF_ERA), cal.get(Calendar.YEAR), "Year mismatch in " + jDate); 140 assertEquals(jd.get(ChronoField.DAY_OF_YEAR), cal.get(Calendar.DAY_OF_YEAR),
|
TestThaiBuddhistChronoImpl.java | 103 cal.set(Calendar.YEAR, thaiDate.get(ChronoField.YEAR)); 104 cal.set(Calendar.MONTH, thaiDate.get(ChronoField.MONTH_OF_YEAR) - 1); 105 cal.set(Calendar.DAY_OF_MONTH, thaiDate.get(ChronoField.DAY_OF_MONTH)); 108 assertEquals(thaiDate.get(ChronoField.DAY_OF_MONTH), cal.get(Calendar.DAY_OF_MONTH), "Day mismatch in " + thaiDate + "; cal: " + cal); 109 assertEquals(thaiDate.get(ChronoField.MONTH_OF_YEAR), cal.get(Calendar.MONTH) + 1, "Month mismatch in " + thaiDate); 110 assertEquals(thaiDate.get(ChronoField.YEAR_OF_ERA), cal.get(Calendar.YEAR), "Year mismatch in " + thaiDate); 119 cal.get(Calendar.YEAR), cal.get(Calendar.MONTH) + 1, cal.get(Calendar.DAY_OF_MONTH)) [all...] |
/packages/apps/Dialer/java/com/android/dialer/calllog/ui/menu/ |
Modules.java | 63 modules.add(moduleForSendingTextMessage.get()); 84 modules.add(moduleForAddingToContacts.get()); 105 modules.add(moduleForCopyingNumber.get()); 171 .setNameOrNumber(presentationName.get())
|
/external/guice/extensions/mini/test/com/google/inject/mini/ |
MiniGuiceTest.java | 91 assertNotNull(h.aProvider.get()); 92 assertNotNull(h.aProvider.get()); 93 assertNotSame(h.aProvider.get(), h.aProvider.get()); 107 assertSame(j.fProvider.get(), j.fProvider.get()); 108 assertSame(j.iProvider.get(), j.iProvider.get()); 152 a1.set(aProvider.get()); 153 a2.set(aProvider.get()); [all...] |
/art/test/647-jni-get-field-id/src/ |
Main.java | 34 Method get = Main.class.getDeclaredMethod("getFieldId", local 41 m.invoke(null, get); 47 public static void testClassLoading(Method get) throws Exception { 52 get.invoke(null, TestClass.class, "bogus", signature);
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
DependencyRequestFormatter.java | 69 builder.append(qualifier.get()).append(' '); 105 appendParameter(parameters.get(i), parameterTypes.get(i), builder); 119 builder.append(qualifier.get()).append(' ');
|
/external/guice/core/test/com/google/inject/spi/ |
HasDependenciesTest.java | 48 assertEquals(ImmutableSet.<Dependency<?>>of(Dependency.get(Key.get(Integer.class))), 61 assertEquals(Key.get(String.class), onlyDependency.getKey()); 73 assertEquals(Key.get(String.class), onlyDependency.getKey()); 83 public A get() { method in class:HasDependenciesTest.ProviderOfA 90 return ImmutableSet.<Dependency<?>>of(Dependency.get(Key.get(Integer.class))); 97 return ImmutableSet.<Dependency<?>>of(Dependency.get(Key.get(Integer.class)));
|
/external/guice/core/test/com/google/inject/util/ |
ProvidersTest.java | 37 assertSame(foo, p.get()); 38 assertSame(foo, p.get()); 43 assertNull(p.get()); 78 public Integer get() { method in class:ProvidersTest.JavaxProvider 98 public Integer get() { method in class:ProvidersTest.JavaxProviderWithDependencies
|
/external/mockito/src/test/java/org/mockito/internal/stubbing/defaultanswers/ |
ReturnsSmartNullsTest.java | 34 Foo get(); method in interface:ReturnsSmartNullsTest.Foo 42 Foo smartNull = (Foo) answer.answer(invocationOf(Foo.class, "get")); 45 smartNull.get(); 54 Foo smartNull = (Foo) answer.answer(invocationOf(Foo.class, "get")); 58 .contains("foo.get()"); 80 smartNull.get();
|
/external/replicaisland/src/com/replica/replicaisland/ |
DynamicCollisionComponent.java | 72 mBoundingVolume.growBy(mAttackVolumes.get(x)); 79 mBoundingVolume.growBy(mVulnerabilityVolumes.get(x));
|
/frameworks/base/core/tests/coretests/src/android/net/ |
SSLTest.java | 40 String get = "GET /sslcheck.html HTTP/1.1\r\nHost: 68.178.217.222\r\n\r\n"; local 43 out.write(get.getBytes());
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
NameMappingTest.java | 40 return f1.get(); 45 return f2.get(); 53 if (f1New != f1.get()) { 57 if (f2New != f2.get()) { 62 assertEquals(f2.get(), mBinder.textView.isEnabled()); 63 assertEquals(f2.get(), mBinder.textView2.isEnabled()); 66 assertEquals(f1.get(), mBinder.textView.isFocusable()); 67 assertEquals(f1.get(), mBinder.textView2.isFocusable());
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
ScanResultUtilTest.java | 97 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); 102 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.NONE)); 103 assertTrue(config.allowedAuthAlgorithms.get(WifiConfiguration.AuthAlgorithm.OPEN)); 104 assertTrue(config.allowedAuthAlgorithms.get(WifiConfiguration.AuthAlgorithm.SHARED)); 109 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_PSK)); 114 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.WPA_EAP)); 115 assertTrue(config.allowedKeyManagement.get(WifiConfiguration.KeyMgmt.IEEE8021X));
|
/frameworks/support/paging/common/src/main/java/androidx/paging/ |
WrapperItemKeyedDataSource.java | 63 mKeyMap.put(dest.get(i), mSource.getKey(source.get(i))); 111 return mKeyMap.get(item);
|
/libcore/ojluni/src/main/java/java/nio/ |
HeapDoubleBuffer.java | 109 public double get() { method in class:HeapDoubleBuffer 113 public double get(int i) { method in class:HeapDoubleBuffer 117 public DoubleBuffer get(double[] dst, int offset, int length) { method in class:HeapDoubleBuffer 182 src.get(hb, ix(position()), n);
|
HeapFloatBuffer.java | 108 public float get() { method in class:HeapFloatBuffer 112 public float get(int i) { method in class:HeapFloatBuffer 116 public FloatBuffer get(float[] dst, int offset, int length) { method in class:HeapFloatBuffer 181 src.get(hb, ix(position()), n);
|
HeapIntBuffer.java | 109 public int get() { method in class:HeapIntBuffer 113 public int get(int i) { method in class:HeapIntBuffer 117 public IntBuffer get(int[] dst, int offset, int length) { method in class:HeapIntBuffer 182 src.get(hb, ix(position()), n);
|
HeapLongBuffer.java | 110 public long get() { method in class:HeapLongBuffer 114 public long get(int i) { method in class:HeapLongBuffer 118 public LongBuffer get(long[] dst, int offset, int length) { method in class:HeapLongBuffer 183 src.get(hb, ix(position()), n);
|
HeapShortBuffer.java | 109 public short get() { method in class:HeapShortBuffer 113 public short get(int i) { method in class:HeapShortBuffer 117 public ShortBuffer get(short[] dst, int offset, int length) { method in class:HeapShortBuffer 182 src.get(hb, ix(position()), n);
|
/libcore/ojluni/src/main/java/java/util/ |
Optional.java | 36 * {@code get()} will return the value. 129 public T get() { method in class:Optional 258 * @return the value if present otherwise the result of {@code other.get()} 263 return value != null ? value : other.get(); 286 throw exceptionSupplier.get();
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/utils/ |
CachedSupplierTest.java | 37 assertEquals("foo", cs.get()); 42 assertEquals("foo", cs.get()); 55 assertEquals("bar", cs.get()); 67 cs.get(); 76 cs.get(); 90 assertEquals("foo", cs.get()); 97 assertEquals("bar", cs.get()); 106 public String get() { method in class:CachedSupplierTest.TestSupplier
|
/art/tools/ahat/src/main/com/android/ahat/heapdump/ |
Instances.java | 51 public T get(long id) { method in class:Instances 57 T midInst = mInstances.get(mid);
|
SuperRoot.java | 55 public Reference get(int index) { method in class:SuperRoot 57 return new Reference(SuperRoot.this, field, mRoots.get(index), true);
|