/external/swiftshader/src/Common/ |
GrallocAndroid.cpp | 21 static GrallocModule instance; local 22 return &instance;
|
/external/testng/src/main/java/org/testng/internal/ |
PropertyUtils.java | 21 public void setProperty(Object instance, String name, String value) { 22 if (instance == null) { 23 LOGGER.warn("Cannot set property " + name + " with value " + value + ". The target instance is null"); 27 Class propClass = getPropertyType(instance.getClass(), name); 35 setPropertyRealValue(instance, name, realValue); 40 LOGGER.warn("Cannot retrieve property class for " + propertyName + ". Target instance class is null"); 67 public void setPropertyRealValue(Object instance, String name, Object value) { 68 if (instance == null) { 69 LOGGER.warn("Cannot set property " + name + " with value " + value + ". Targe instance is null"); 73 PropertyDescriptor propDesc = getPropertyDescriptor(instance.getClass(), name) [all...] |
MethodInvocationHelper.java | 40 protected static Object invokeMethod(Method thisMethod, Object instance, Object[] parameters)
42 Utils.checkInstanceOrStatic(instance, thisMethod);
45 // If the instance has a different classloader, its class won't match the
47 if (instance == null || !thisMethod.getDeclaringClass().isAssignableFrom(instance.getClass())) {
53 Class<?> clazz = instance.getClass();
70 if (thisMethod.getDeclaringClass().getName().equals(instance.getClass().getName())) {
75 + " on this instance of " + instance.getClass() + " due to class mismatch");
86 return thisMethod.invoke(instance, parameters); [all...] |
/external/v8/tools/clang/blink_gc_plugin/ |
BlinkGCPlugin.cpp | 26 std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance& instance, 28 return llvm::make_unique<BlinkGCPluginConsumer>(instance, options_);
|
/libcore/luni/src/main/java/libcore/net/event/ |
NetworkEventDispatcher.java | 27 private static final NetworkEventDispatcher instance = new NetworkEventDispatcher(); field in class:NetworkEventDispatcher 33 * Returns the shared {@link NetworkEventDispatcher} instance. 36 return instance;
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ProxyTest.java | 122 ThrowsIOException instance = (ThrowsIOException) Proxy.newProxyInstance(loader, local 126 instance.run(new EOFException()); 131 instance.run(new IOException()); 136 instance.run(new Exception()); 143 ThrowsEOFException instance = (ThrowsEOFException) Proxy.newProxyInstance(loader, local 147 instance.run(new EOFException()); 152 instance.run(new SocketException()); 159 ThrowsEOFException instance = (ThrowsEOFException) Proxy.newProxyInstance(loader, local 163 instance.run(new EOFException()); 168 instance.run(new SocketException()) 180 ThrowsIOException instance = (ThrowsIOException) Proxy.newProxyInstance(loader, local 237 ExtendsExtendsDeclaresFiveMethods instance = (ExtendsExtendsDeclaresFiveMethods) local 253 Echo instance = (Echo) Proxy.newProxyInstance(loader, new Class[]{Echo.class}, handler); local 266 Echo instance = (Echo) Proxy.newProxyInstance(loader, new Class[]{Echo.class}, handler); local 276 Echo instance = (Echo) Proxy.newProxyInstance(loader, new Class[]{Echo.class}, handler); local [all...] |
/libcore/ojluni/src/main/java/java/security/cert/ |
CertPathHelperImpl.java | 53 if (CertPathHelper.instance == null) { 54 CertPathHelper.instance = new CertPathHelperImpl();
|
/external/libcups/cups/ |
testcups.c | 293 if (dest->instance) 294 printf(" /%s", dest->instance); 376 * cupsGetNamedDest(NULL, printer, instance) 380 dest->instance ? dest->instance : "(null)"); 384 dest->instance)) == NULL || 498 (a->instance && !b->instance) || 499 (!a->instance && b->instance) || [all...] |
/external/guice/core/src/com/google/inject/util/ |
Providers.java | 45 * Returns a provider which always provides {@code instance}. This should not 49 * @param instance the instance that should always be provided. This is also 53 public static <T> Provider<T> of(final T instance) { 54 return new ConstantProvider<T>(instance); 58 private final T instance; field in class:Providers.ConstantProvider 60 private ConstantProvider(T instance) { 61 this.instance = instance; 65 return instance; [all...] |
/external/libchrome/base/memory/ |
singleton_unittest.cc | 41 Init5Singleton* instance = new Init5Singleton(); local 42 instance->value_ = 5; 43 return instance; 57 static void Delete(Type* instance) { 58 if (instance->callback_) 59 (instance->callback_)(); 60 DefaultSingletonTraits<Type>::Delete(instance); 107 static void Delete(CallbackSingletonWithStaticTrait* instance) { 108 if (instance->callback_) 109 (instance->callback_)() [all...] |
/external/deqp/framework/platform/android/ |
tcuAndroidNativeActivity.cpp | 31 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onStart(); 36 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onResume(); 41 return static_cast<tcu::Android::NativeActivity*>(activity->instance)->onSaveInstanceState(outSize); 46 return static_cast<tcu::Android::NativeActivity*>(activity->instance)->onPause(); 51 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onStop(); 56 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onDestroy(); 61 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onWindowFocusChanged(hasFocus); 66 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onNativeWindowCreated(window); 71 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onNativeWindowResized(window); 76 static_cast<tcu::Android::NativeActivity*>(activity->instance)->onNativeWindowRedrawNeeded(window) [all...] |
/frameworks/av/media/libstagefright/omx/1.0/ |
Omx.cpp | 92 sp<OMXNodeInstance> instance; 100 instance = new OMXNodeInstance( 106 instance.get(), &handle); 116 instance->setHandle(handle); 136 instance->setQuirks(quirks); 139 mLiveNodes.add(observer.get(), instance); 140 mNode2Observer.add(instance.get(), observer.get()); 144 _hidl_cb(toStatus(OK), new TWOmxNode(instance)); 169 sp<OMXNodeInstance> instance; local 181 instance = mLiveNodes.editValueAt(index) [all...] |
/external/google-benchmark/src/ |
benchmark_register.cc | 79 std::vector<Benchmark::Instance>* benchmarks, 90 static BenchmarkFamilies instance; local 91 return &instance; 108 const std::string& spec, std::vector<Benchmark::Instance>* benchmarks, 148 Benchmark::Instance instance; local 149 instance.name = family->name_; 150 instance.benchmark = family.get(); 151 instance.report_mode = family->report_mode_; 152 instance.arg = args [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/ |
ShadowWrangler.java | 87 public Object methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, Object[] params) throws Throwable { 88 InvocationPlan invocationPlan = new InvocationPlan(clazz, methodName, instance, paramTypes); 157 public Object shadowFor(Object instance) { 158 Field field = getShadowField(instance); 159 Object shadow = readField(instance, field); 165 String shadowClassName = getShadowClassName(instance.getClass()); 168 System.out.println("creating new " + shadowClassName + " as shadow for " + instance.getClass().getName()); 170 Class<?> shadowClass = loadClass(shadowClassName, instance.getClass().getClassLoader()); 171 Constructor<?> constructor = findConstructor(instance, shadowClass); 173 shadow = constructor.newInstance(instance); 290 private Object instance; field in class:ShadowWrangler.InvocationPlan [all...] |
/packages/apps/Camera2/src/com/android/camera/debug/ |
Log.java | 70 public static void d(Tag tag, Object instance, String msg) { 72 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg)); 76 public static void d(Tag tag, Object instance, String msg, String tags) { 78 android.util.Log.d(tag.toString(), LogUtil.addTags(instance, msg, tags)); 94 public static void e(Tag tag, Object instance, String msg) { 96 android.util.Log.e(tag.toString(), LogUtil.addTags(instance, msg)); 100 public static void e(Tag tag, Object instance, String msg, String tags) { 102 android.util.Log.e(tag.toString(), LogUtil.addTags(instance, msg, tags)); 118 public static void i(Tag tag, Object instance, String msg) { 120 android.util.Log.i(tag.toString(), LogUtil.addTags(instance, msg)) [all...] |
/prebuilts/ndk/r13/sources/third_party/vulkan/src/build-android/generated/layer-src/threading/ |
threading.cpp | 68 my_data->instance = *pInstance; 83 VKAPI_ATTR void VKAPI_CALL DestroyInstance(VkInstance instance, const VkAllocationCallbacks *pAllocator) { 84 dispatch_key key = get_dispatch_key(instance); 97 startWriteObject(my_data, instance); 98 pTable->DestroyInstance(instance, pAllocator); 99 finishWriteObject(my_data, instance); 130 PFN_vkCreateDevice fpCreateDevice = (PFN_vkCreateDevice)fpGetInstanceProcAddr(my_instance_data->instance, "vkCreateDevice"); 235 VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL GetInstanceProcAddr(VkInstance instance, const char *funcName) { 246 assert(instance); 248 my_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map) [all...] |
/prebuilts/ndk/r13/sources/third_party/vulkan/src/layers/ |
threading.cpp | 68 my_data->instance = *pInstance; 83 VKAPI_ATTR void VKAPI_CALL DestroyInstance(VkInstance instance, const VkAllocationCallbacks *pAllocator) { 84 dispatch_key key = get_dispatch_key(instance); 97 startWriteObject(my_data, instance); 98 pTable->DestroyInstance(instance, pAllocator); 99 finishWriteObject(my_data, instance); 130 PFN_vkCreateDevice fpCreateDevice = (PFN_vkCreateDevice)fpGetInstanceProcAddr(my_instance_data->instance, "vkCreateDevice"); 235 VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL GetInstanceProcAddr(VkInstance instance, const char *funcName) { 246 assert(instance); 248 my_data = get_my_data_ptr(get_dispatch_key(instance), layer_data_map) [all...] |
/cts/tests/sensor/jni/ |
android_hardware_cts_SensorNativeTest.cpp | 34 void tearDown(JNIEnv*, jclass, jlong instance) { 35 delete reinterpret_cast<SensorTest *>(instance); 38 void test(JNIEnv* env, jclass, jlong instance) { 39 SensorTest *test = reinterpret_cast<SensorTest *>(instance);
|
/cts/tests/tests/nativehardware/jni/ |
android_hardware_cts_AHardwareBufferNativeTest.cpp | 36 void tearDown(JNIEnv*, jclass, jlong instance) { 37 delete reinterpret_cast<AHardwareBufferTest*>(instance); 40 void test(JNIEnv* env, jclass, jlong instance, jboolean vrHighPerformanceSupported) { 41 AHardwareBufferTest *test = reinterpret_cast<AHardwareBufferTest*>(instance);
|
/external/autotest/server/site_tests/network_WiFi_RoamSuspendSSID/ |
network_WiFi_RoamSuspendSSID.py | 49 get_client_config(self.context.router.get_ssid(instance=0), 52 get_client_config(self.context.router.get_ssid(instance=1), 59 self.context.router.deconfig_aps(instance=1) 63 self.context.router.get_ssid(instance=0),
|
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
__init__.py | 34 Get an instance of the Serial class, depending on port/url. The port is not 75 instance = klass(None, *args, **kwargs) 76 instance.port = url 78 instance.open() 79 return instance
|
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/ |
Injector.java | 26 T instance(); method in interface:Injector
|
/external/dagger2/producers/src/main/java/dagger/producers/internal/ |
AbstractProducer.java | 39 private volatile ListenableFuture<T> instance = null; field in class:AbstractProducer 57 ListenableFuture<T> result = instance; 60 result = instance; 63 instance = result = compute(monitor);
|
/external/deqp/external/vulkancts/framework/vulkan/ |
vkPlatformDriverImpl.inl | 10 PFN_vkVoidFunction PlatformDriver::getInstanceProcAddr (VkInstance instance, const char* pName) const 12 return m_vk.getInstanceProcAddr(instance, pName);
|
/external/deqp/framework/platform/win32/ |
tcuWGLContextFactory.hpp | 38 ContextFactory (HINSTANCE instance);
|