| /dalvik/dx/tests/137-dexmerger-dex38/src/invokecustom/ |
| TestGenerator.java | 444 Handle constructor = local 459 constructor,
|
| /external/annotation-tools/asmx/src/org/objectweb/asm/commons/ |
| AdviceAdapter.java | 65 private boolean constructor; field in class:AdviceAdapter 84 constructor = "<init>".equals(name); 85 if (!constructor) { 97 if (constructor && branches != null) { 107 if (constructor) { 346 if (constructor) { 382 if (constructor) { 417 if (constructor) { 429 if (constructor) { 440 if (constructor) { [all...] |
| /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/ |
| PBES2AlgorithmParameters.java | 27 import java.lang.reflect.Constructor; 312 * the constructor became available in Java 1.8 and Bouncycastle is at level 1.5. 320 Constructor<PBEParameterSpec> constructor = local 323 return constructor.newInstance(salt, iterationCount, new IvParameterSpec(iv));
|
| /external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/ |
| bootstrap.js | 144 $.fn.alert.Constructor = Alert 235 $.fn.button.Constructor = Button 401 $.fn.carousel.Constructor = Carousel 458 constructor: Collapse 556 $.fn.collapse.Constructor = Collapse 611 constructor: Dropdown 659 $.fn.dropdown.Constructor = Dropdown 708 constructor: Modal 872 $.fn.modal.Constructor = Modal 924 constructor: Toolti 456 Collapse.prototype = { property in class:slide.Collapse.Collapse 609 Dropdown.prototype = { property in class:var.Dropdown 706 Modal.prototype = { property in class:toggle.Modal 922 Tooltip.prototype = { property in class:removeBackdrop.Tooltip 1303 ScrollSpy.prototype = { property in class:Popover.ScrollSpy 1443 Tab.prototype = { property in class:ScrollSpy.Tab 1586 Typeahead.prototype = { property in class:ScrollSpy.Typeahead [all...] |
| /external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
| KeyTest.java | 70 ExecutableElement constructor = local 73 keyFactory.forInjectConstructorWithResolvedType(constructor.getEnclosingElement().asType()))
|
| /external/desugar/java/com/google/devtools/common/options/ |
| OptionDefinition.java | 18 import java.lang.reflect.Constructor; 235 Constructor<?> constructor = converterClass.getConstructor(); local 236 converter = (Converter<?>) constructor.newInstance();
|
| /external/guava/guava/src/com/google/common/reflect/ |
| Invokable.java | 26 import java.lang.reflect.Constructor; 39 * Wrapper around either a {@link Method} or a {@link Constructor}. 44 * TypeToken#constructor} will resolve the type parameters of the method or constructor in the 53 * @param <T> the type that owns this method or constructor. 55 * constructor. 71 /** Returns {@link Invokable} of {@code constructor}. */ 72 public static <T> Invokable<T, T> from(Constructor<T> constructor) { 73 return new ConstructorInvokable<T>(constructor); 232 final Constructor<?> constructor; field in class:Invokable.ConstructorInvokable [all...] |
| /external/guava/guava-testlib/src/com/google/common/testing/ |
| ArbitraryInstances.java | 94 import java.lang.reflect.Constructor; 159 * used; or if the class exposes a public parameter-less constructor then it will be "new"d and 360 final Constructor<T> constructor; local 362 constructor = type.getConstructor(); 366 constructor.setAccessible(true); // accessibility check is too slow 368 return constructor.newInstance(); 374 logger.log(Level.WARNING, "Exception while invoking default constructor.", e.getCause()); 407 // Internal implementations of some classes, with public default constructor that get() needs.
|
| /external/guice/core/src/com/google/inject/ |
| TypeLiteral.java | 27 import java.lang.reflect.Constructor; 277 * @param methodOrConstructor a method or constructor defined by this or any supertype. 289 } else if (methodOrConstructor instanceof Constructor) { 290 Constructor<?> constructor = (Constructor<?>) methodOrConstructor; local 291 checkArgument(constructor.getDeclaringClass().isAssignableFrom(rawType), 292 "%s does not construct a supertype of %s", constructor, type); local 293 genericParameterTypes = constructor.getGenericParameterTypes(); 296 throw new IllegalArgumentException("Not a method or a constructor: " + methodOrConstructor) 318 Constructor<?> constructor = (Constructor<?>) methodOrConstructor; local 320 "%s does not construct a supertype of %s", constructor, type); local [all...] |
| /external/guice/core/src/com/google/inject/internal/ |
| ConstructorBindingImpl.java | 36 import java.lang.reflect.Constructor; 69 * @param constructorInjector the constructor to use, or {@code null} to use the default. 96 // Find a constructor annotated @Inject 100 if (failIfNotExplicit && !hasAtInject((Constructor) constructorInjector.getMember())) { 128 /** Returns true if the inject annotation is on the constructor. */ 129 private static boolean hasAtInject(Constructor cxtor) { 147 /** Returns an injection point that can be used to clean up the constructor store. */ 213 @SuppressWarnings("unchecked") // the raw constructor member and declaring type always agree 215 InjectionPoint constructor = getConstructor(); local 217 (Constructor) getConstructor().getMember(), (TypeLiteral) constructor.getDeclaringType())) [all...] |
| ProxyFactory.java | 37 import java.lang.reflect.Constructor; 70 @SuppressWarnings("unchecked") // the member of injectionPoint is always a Constructor<T> 71 Constructor<T> constructor = (Constructor<T>) injectionPoint.getMember(); local 72 declaringClass = constructor.getDeclaringClass(); 243 final Constructor<T> constructor; field in class:ProxyFactory.ProxyConstructor 249 @SuppressWarnings("unchecked") // the constructor promises to construct 'T's 254 this.constructor = (Constructor<T>) injectionPoint.getMember() [all...] |
| /external/guice/core/test/com/google/inject/internal/ |
| ProxyFactoryTest.java | 139 ConstructionProxy<A> constructor = factory.create(); local 141 A a = constructor.newInstance(5); 154 ConstructionProxy<A> constructor = factory.create(); local 156 A a = constructor.newInstance(5); 177 ConstructionProxy<Counter> constructor = factory.create(); local 179 Counter counter = constructor.newInstance();
|
| /external/okhttp/website/static/ |
| bootstrap.min.js | 6 !function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data()),o;i.carousel(s),(o=n.attr("data-slide-to"))&&i.data("carousel").pause().to(o).cycle(),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning||this.$element.hasClass("in"))return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning||!this.$element.hasClass("in"))return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=e.extend({},e.fn.collapse.defaults,r.data(),typeof n=="object"&&n);i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=n,this},e(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})}(window.jQuery),!function(e){"use strict";function r(){e(t).each(function(){i(e(this)).removeClass("open")})}function i(t){var n=t.attr("data-target"),r;n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=n&&e(n);if(!r||!r.length)r=t.parent();return r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||s.toggleClass("open"),n.focus(),!1},keydown:function(n){var r,s,o,u,a,f;if(!/(38|40|27)/.test(n.keyCode))return;r=e(this),n.preventDefault(),n.stopPropagation();if(r.is(".disabled, :disabled"))return;u=i(r),a=u.hasClass("open");if(!a||a&&n.keyCode==27)return n.which==27&&u.find(t).focus(),r.click();s=e("[role=menu] li:not(.divider):visible a",u);if(!s.length)return;f=s.index(s.filter(":focus")),n.keyCode==38&&f>0&&f--,n.keyCode==40&&f<s.length-1&&f++,~f||(f=0),s.eq(f).focus()}};var s=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var r=e(this),i=r.data("dropdown");i||r.data("dropdown",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.dropdown.data-api",r).on("click.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.dropdown-menu",function(e){e.stopPropagation()}).on("click.dropdown.data-api",t,n.prototype.toggle).on("keydown.dropdown.data-api",t+", [role=menu]",n.prototype.keydown)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",e.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,n=e.Event("show");this.$element.trigger(n);if(this.isShown||n.isDefaultPrevented())return;this.isShown=!0,this.escape(),this.backdrop(function(){var n=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),n&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1),t.enforceFocus(),n?t.$element.one(e.support.transition.end,function(){t.$element.focus().trigger("shown")}):t.$element.focus().trigger("shown")})},hide:function(t){t&&t.preventDefault();var n=this;t=e.Event("hide"),this.$element.trigger(t);if(!this.isShown||t.isDefaultPrevented())return;this.isShown=!1,this.escape(),e(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),e.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var t=this;e(document).on("focusin.modal",function(e){t.$element[0]!==e.target&&!t.$element.has(e.target).length&&t.$element.focus()})},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(t){t.which==27&&e.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,n=setTimeout(function(){t.$element.off(e.support.transition.end),t.hideModal()},500);this.$element.one(e.support.transition.end,function(){clearTimeout(n),t.hideModal()})},hideModal:function(){var e=this;this.$element.hide(),this.backdrop(function(){e.removeBackdrop(),e.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&r;this.$backdrop=e('<div class="modal-backdrop '+r+'" />').appendTo(document.body),this.$backdrop.click(this.options.backdrop=="static"?e.proxy(this.$element[0].focus,this.$element[0]):e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in");if(!t)return;i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,t):t()):t&&t()}};var n=e.fn.modal;e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s,o,u,a;this.type=t,this.$element=e(n),this.options=this.getOptions(r (…) property in class:t [all...] |
| /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
| ShadowMotionEvent.java | 4 import java.lang.reflect.Constructor; 28 Constructor<MotionEvent> constructor = MotionEvent.class.getDeclaredConstructor(); local 29 constructor.setAccessible(true); 30 MotionEvent motionEvent = constructor.newInstance();
|
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
| BeanConstructorTest.java | 16 package org.yaml.snakeyaml.constructor; 30 Yaml yaml = new Yaml(new Constructor(TestBean1.class)); 31 String document = Util.getLocalResource("constructor/test-primitives1.yaml"); 69 new Yaml(new Constructor((Class<? extends Object>) null)); 78 new Yaml(new Constructor((String) null)); 87 new Yaml(new Constructor(" ")); 95 Yaml yaml = new Yaml(new Constructor(TestBean1.class)); 119 Yaml yaml = new Yaml(new Constructor(TestBean2.class)); 123 fail("No empty constructor available"); 149 Yaml yaml = new Yaml(new Constructor(TestBean2.class)) [all...] |
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue82/ |
| PropOrderInfluenceWhenAliasedInGenericCollectionTest.java | 29 import org.yaml.snakeyaml.constructor.Constructor; 156 Constructor constructor = new Constructor(); local 159 constructor 163 Yaml yaml = new Yaml(constructor, representer); 185 Constructor constructor = new Constructor(); local 210 Constructor constructor = new Constructor(); local [all...] |
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/ |
| Human_WithArrayOfChildrenTest.java | 25 import org.yaml.snakeyaml.constructor.Constructor; 145 Constructor constructor = new Constructor(Human_WithArrayOfChildren.class); local 150 constructor.addTypeDescription(HumanWithChildrenArrayDescription); 152 Yaml yaml = new Yaml(constructor); 172 Constructor constructor = new Constructor(Human_WithArrayOfChildren.class) local [all...] |
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/recursive/generics/ |
| HumanGenericsTest.java | 35 import org.yaml.snakeyaml.constructor.Constructor; 147 Constructor constructor = new Constructor(); local 150 constructor.addTypeDescription(humanDescription); 152 Yaml yaml = new Yaml(constructor); 229 Yaml beanLoader = new Yaml(new Constructor(humanDescription)); 289 Constructor constructor = new Constructor() local 333 Constructor constructor = new Constructor(); local 371 Constructor constructor = new Constructor(); local 440 Constructor constructor = new Constructor(); local [all...] |
| /external/v8/src/builtins/ |
| builtins-conversion.cc | 460 Node* constructor = assembler.LoadFixedArrayElement( local 463 constructor, JSFunction::kPrototypeOrInitialMapOffset);
|
| /external/v8/src/runtime/ |
| runtime-literals.cc | 111 Handle<JSFunction> constructor = isolate->array_function(); local 117 isolate->factory()->NewJSObject(constructor, pretenure_flag));
|
| /frameworks/base/core/java/android/preference/ |
| GenericInflater.java | 20 import java.lang.reflect.Constructor; 370 Constructor constructor = (Constructor) sConstructorMap.get(name); local 373 if (null == constructor) { 378 constructor = clazz.getConstructor(mConstructorSignature); 379 constructor.setAccessible(true); 380 sConstructorMap.put(name, constructor); 385 return (T) constructor.newInstance(args); 402 + constructor.getClass().getName()) [all...] |
| /frameworks/base/core/java/android/transition/ |
| TransitionInflater.java | 36 import java.lang.reflect.Constructor; 51 private final static ArrayMap<String, Constructor> sConstructors = 52 new ArrayMap<String, Constructor>(); 208 Constructor constructor = sConstructors.get(className); local 209 if (constructor == null) { 213 constructor = c.getConstructor(sConstructorSignature); 214 constructor.setAccessible(true); 215 sConstructors.put(className, constructor); 218 return constructor.newInstance(mContext, attrs) [all...] |
| /frameworks/base/services/core/java/com/android/server/ |
| SystemServiceManager.java | 25 import java.lang.reflect.Constructor; 97 Constructor<T> constructor = serviceClass.getConstructor(Context.class); local 98 service = constructor.newInstance(mContext); 104 + ": service must have a public constructor with a Context argument", ex); 107 + ": service must have a public constructor with a Context argument", ex); 110 + ": service constructor threw an exception", ex);
|
| /frameworks/support/preference/src/main/java/androidx/preference/ |
| PreferenceInflater.java | 33 import java.lang.reflect.Constructor; 46 private static final HashMap<String, Constructor> CONSTRUCTOR_MAP = new HashMap<>(); 222 Constructor constructor = CONSTRUCTOR_MAP.get(name); local 225 if (constructor == null) { 252 constructor = clazz.getConstructor(CONSTRUCTOR_SIGNATURE); 253 constructor.setAccessible(true); 254 CONSTRUCTOR_MAP.put(name, constructor); 259 return (Preference) constructor.newInstance(args);
|
| /frameworks/support/transition/src/main/java/androidx/transition/ |
| TransitionInflater.java | 36 import java.lang.reflect.Constructor; 45 private static final ArrayMap<String, Constructor> CONSTRUCTORS = new ArrayMap<>(); 201 Constructor constructor = CONSTRUCTORS.get(className); local 202 if (constructor == null) { 207 constructor = c.getConstructor(CONSTRUCTOR_SIGNATURE); 208 constructor.setAccessible(true); 209 CONSTRUCTORS.put(className, constructor); 213 return constructor.newInstance(mContext, attrs);
|