/frameworks/base/test-runner/src/android/test/ |
ProviderTestCase2.java | 54 * An instance of the provider under test, running in an {@link IsolatedContext}. 112 * @return T An instance of the provider class given as a parameter to the test case class. 123 * that isolates the provider's file operations, and a new instance of 147 * Creates and sets up a new instance of the provider. 152 T instance = providerClass.newInstance(); local 155 instance.attachInfoForTesting(context, providerInfo); 156 return instance; 175 * @return A {@link MockContentResolver} instance. 183 * @return The {@link IsolatedContext} instance
|
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/ |
MultiArgTestAdapter.java | 28 for(BaseMultiBindingClass instance : classes) { 29 sb.append(instance == null ? "??" : instance.getValue());
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
SubscriptionParameters.java | 37 for (OMANode instance : ulNode.getChildren()) { 38 if (instance.isLeaf()) { 42 mLimits.add(new Limit(instance));
|
/prebuilts/tools/common/m2/repository/com/google/dagger/dagger/2.0/ |
dagger-2.0.jar | |
/external/webrtc/webrtc/sound/ |
pulseaudiosoundsystem.cc | 258 data.instance = this; 315 data.instance = this; 380 PulseAudioInputStream* instance; member in struct:rtc::PulseAudioInputStream::GetVolumeCallbackData 385 PulseAudioInputStream* instance; member in struct:rtc::PulseAudioInputStream::GetSourceChannelCountCallbackData 418 PulseAudioInputStream *instance = local 420 instance->OnReadCallback(); 506 data->instance->OnGetVolumeCallback(info, eol, &data->channel_volumes); 537 data->instance->OnGetSourceChannelCountCallback(info, eol, &data->channels); 635 data.instance = this; 775 PulseAudioOutputStream* instance; member in struct:rtc::PulseAudioOutputStream::GetVolumeCallbackData 822 PulseAudioOutputStream *instance = local 864 PulseAudioOutputStream *instance = local 1087 PulseAudioSoundSystem *instance; member in struct:rtc::ConnectToPulseCallbackData 1193 PulseAudioSoundSystem *instance; member in struct:rtc::EnumerateDevicesCallbackData 1289 PulseAudioSoundSystem *instance; member in struct:rtc::GetDefaultDeviceCallbackData 1339 PulseAudioSoundSystem *instance = local [all...] |
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
MultibinderTest.java | 24 import static com.google.inject.multibindings.SpiUtils.instance; 127 instance("A"), instance("B"), instance("C"), instance("D"), instance("E")); 149 instance("A"), instance("B"), instance("C")); 171 instance("A"), instance("B"), instance("C")) 418 instance(new ValueType(1, 2)), instance(new ValueType(1, 3))); method [all...] |
/external/guava/guava-testlib/src/com/google/common/testing/ |
ClassSanityTester.java | 142 * exception that if the sample instance is to be passed to a {@link Nullable} parameter, one 154 for (T instance : instances) { 155 checkArgument(uniqueValues.add(instance), "Duplicate value: %s", instance); local 176 * @return this tester instance 197 * {@code cls}, all non-private instance methods will be checked too using the instance 203 * <li>Test will fail if the factory method returns null so testing instance methods is 208 * {@code cls}, instance methods are skipped for nulls test. 229 Object instance = instantiate(cls) local 365 T instance; local 442 Object instance = instantiate(factory); local 489 Object instance = instantiate(factory); local 519 Object instance = instantiate(factory); local 583 Object instance = createInstance(factory, args); local 752 T instance = invoke(factory, args); local [all...] |
/art/test/134-reg-promotion/smali/ |
Test.smali | 22 new-instance v2, Ljava/lang/String; 42 new-instance v2, Ljava/lang/String;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/opc_throw/d/ |
T_opc_throw_5.d | 30 new-instance v2, java/lang/Object 35 new-instance v1, java/lang/NullPointerException
|
/development/host/windows/usb/api/ |
AdbWinApi.cpp | 101 extern "C" BOOL WINAPI DllMain(HINSTANCE instance,
|
/external/autotest/server/site_tests/network_WiFi_Roam/ |
network_WiFi_Roam.py | 45 # Tear down the AP instance that the DUT is currently connected to. 46 self.context.router.deconfig_aps(instance=0)
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
reloader.py | 132 for instance in cls.instances: 133 instance.watch_file(filename) 144 for instance in cls.instances: 145 instance.add_file_callback(callback)
|
/external/guava/guava/src/com/google/common/hash/ |
AbstractNonStreamingHashFunction.java | 44 @Override public <T> HashCode hashObject(T instance, Funnel<? super T> funnel) { 45 return newHasher().putObject(instance, funnel).hash(); 138 public <T> Hasher putObject(T instance, Funnel<? super T> funnel) { 139 funnel.funnel(instance, this);
|
AbstractStreamingHashFunction.java | 36 @Override public <T> HashCode hashObject(T instance, Funnel<? super T> funnel) { 37 return newHasher().putObject(instance, funnel).hash(); 88 * Constructor for use by subclasses. This hasher instance will process chunks of the specified 99 * Constructor for use by subclasses. This hasher instance will process chunks of the specified 222 public final <T> Hasher putObject(T instance, Funnel<? super T> funnel) { 223 funnel.funnel(instance, this);
|
HashFunction.java | 40 * represents a hash code as an instance of {@link HashCode}. 135 * Hasher} instance that is ready to receive data. Example: <pre> {@code 204 * Shortcut for {@code newHasher().putObject(instance, funnel).hash()}. The implementation 209 <T> HashCode hashObject(T instance, Funnel<? super T> funnel);
|
Hasher.java | 93 <T> Hasher putObject(T instance, Funnel<? super T> funnel); 97 * unspecified if this method is called more than once on the same instance.
|
/external/guava/guava-gwt/src/com/google/common/collect/ |
DenseImmutableTable_CustomFieldSerializer.java | 28 SerializationStreamReader reader, DenseImmutableTable<?, ?, ?> instance) {
|
SparseImmutableTable_CustomFieldSerializer.java | 28 SerializationStreamReader reader, SparseImmutableTable<?, ?, ?> instance) {
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/ |
Shader.java | 39 * A specific Shader instance might be (and usually is) dedicated to a specific type of {@link Renderable}. For example it might
41 * {@link #canRender(Renderable)} method can be used to check if the Shader instance can be used for a specific {@link Renderable}
66 * @param instance The renderable to check against this shader.
68 boolean canRender (Renderable instance);
78 * instance might not be able to render every type of {@link Renderable}s. Use the {@link #canRender(Renderable)} method to
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/particles/renderers/ |
ModelInstanceRenderer.java | 47 ModelInstance instance = renderData.modelInstanceChannel.data[i]; local 58 instance.transform.set( renderData.positionChannel.data[positionOffset + ParticleChannels.XOffset], 65 ColorAttribute colorAttribute = (ColorAttribute)instance.materials.get(0).get(ColorAttribute.Diffuse); 66 BlendingAttribute blendingAttribute = (BlendingAttribute)instance.materials.get(0).get(BlendingAttribute.Type);
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
ShadowMappingTest.java | 44 ModelInstance instance; field in class:ShadowMappingTest 74 instance = new ModelInstance(model); 91 shadowBatch.render(instance); 96 modelBatch.render(instance, environment);
|
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/ |
PhoneNumberOfflineGeocoder.java | 34 private static PhoneNumberOfflineGeocoder instance = null; field in class:PhoneNumberOfflineGeocoder 47 * Gets a {@link PhoneNumberOfflineGeocoder} instance to carry out international phone number 51 * this method multiple times will only result in one instance being created. 53 * @return a {@link PhoneNumberOfflineGeocoder} instance 56 if (instance == null) { 57 instance = new PhoneNumberOfflineGeocoder(MAPPING_DATA_DIRECTORY); 59 return instance;
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/beans/ |
BeanGenerator.java | 120 protected Object nextInstance(Object instance) { 121 Class protoclass = (instance instanceof Class) ? (Class)instance : instance.getClass();
|
/external/opencv3/modules/flann/include/opencv2/flann/ |
object_factory.h | 80 static ThisClass& instance() function in class:cvflann::ObjectFactory
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/ |
InstrumentDetectorTest.java | 32 /** Instance. */ 33 private static ClassLoaderForTesting instance; field in class:InstrumentDetectorTest.ClassLoaderForTesting 39 if (instance == null) { 40 instance = new ClassLoaderForTesting(ShadowWrangler.getInstance()); 42 return instance;
|