/external/protobuf/java/src/test/java/com/google/protobuf/ |
CodedOutputStreamTest.java | 85 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); 97 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); 113 CodedOutputStream.newInstance(rawOutput, blockSize); 122 CodedOutputStream.newInstance(rawOutput, blockSize); 167 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); 175 output = CodedOutputStream.newInstance(rawOutput, blockSize); 189 CodedOutputStream output = CodedOutputStream.newInstance(rawOutput); 197 output = CodedOutputStream.newInstance(rawOutput, blockSize); 290 CodedOutputStream.newInstance(rawOutput, blockSize); 323 CodedOutputStream codedStream = CodedOutputStream.newInstance(outputStream) [all...] |
/external/testng/src/main/java/org/testng/internal/ |
ClassHelper.java | 48 public static <T> T newInstance(Class<T> clazz) { 50 T instance = clazz.newInstance(); 70 public static <T> T newInstance(Constructor<T> constructor, Object... parameters) { 72 return constructor.newInstance(parameters); 193 IJUnitTestRunner tr = (IJUnitTestRunner) ClassHelper.forName(JUNIT_4_TESTRUNNER).newInstance(); 201 IJUnitTestRunner tr = (IJUnitTestRunner) ClassHelper.forName(JUNIT_TESTRUNNER).newInstance(); 273 return (IMethodSelector) cls.newInstance(); 300 return objectFactory.newInstance(declaringClass); 326 result = objectFactory.newInstance(constructor, parameters); 353 Object o = objectFactory.newInstance(ec.getConstructor(parameterTypes)) [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
AbstractNewInstanceTestCase.java | 35 * Base class to test ClassType.NewInstance for specific reference types. 67 * Checks that ClassType.NewInstance command for the given type and constructor returns the 70 * Once the debuggee is suspended on the breakpoint, send ClassType.NewInstance command 119 .println("Sending ClassType.NewInstance command for constructor " + fullMethodName); 131 checkReplyPacket(reply, "ClassType.NewInstance command");
|
/packages/apps/Email/provider_src/com/android/email/mail/ |
Sender.java | 40 public static Sender newInstance(Account account) throws MessagingException { 41 throw new MessagingException("Sender.newInstance: Unknown scheme in " 50 // and invoke "newInstance" class method and instantiate sender object. 52 c.getMethod("newInstance", Account.class, Context.class); 56 "exception %s invoking method %s#newInstance(Account, Context) for %s",
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
DomUtilitiesTest.java | 35 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); 88 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); 117 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); 156 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); 190 DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
Dfp.java | 160 /** Name for traps triggered by newInstance. */ 161 private static final String NEW_INSTANCE_TRAP = "newInstance"; 550 public Dfp newInstance() { 558 public Dfp newInstance(final byte x) { 566 public Dfp newInstance(final int x) { 574 public Dfp newInstance(final long x) { 582 public Dfp newInstance(final double x) { 591 public Dfp newInstance(final Dfp d) { 596 final Dfp result = newInstance(getZero()); 610 public Dfp newInstance(final String s) [all...] |
/prebuilts/tools/common/m2/repository/com/google/dexmaker/dexmaker-mockito/1.0/ |
dexmaker-mockito-1.0.jar | |
/prebuilts/tools/common/m2/repository/com/google/dexmaker/dexmaker-mockito/1.2/ |
dexmaker-mockito-1.2.jar | |
/cts/tests/tests/permission/src/android/permission/cts/ |
NoCaptureVideoPermissionTest.java | 48 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); 71 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); 92 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
FragmentCustomAnimations.java | 54 Fragment newFragment = CountingFragment.newInstance(mStackLevel); 73 Fragment newFragment = CountingFragment.newInstance(mStackLevel); 96 static CountingFragment newInstance(int num) {
|
FragmentStack.java | 56 Fragment newFragment = CountingFragment.newInstance(mStackLevel); 75 Fragment newFragment = CountingFragment.newInstance(mStackLevel); 95 static CountingFragment newInstance(int num) {
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/ |
URLClassLoaderTest.java | 166 * @tests java.net.URLClassLoader#newInstance(java.net.URL[]) 173 ucl = URLClassLoader.newInstance(urls); 183 ucl = URLClassLoader.newInstance(urls); 189 * @tests java.net.URLClassLoader#newInstance(java.net.URL[], 195 ucl = URLClassLoader.newInstance(u, cl); 238 URLClassLoader ucl = URLClassLoader.newInstance(urls, null); 252 ucl = URLClassLoader.newInstance(urls, null); 294 ucl = URLClassLoader.newInstance(urls, null); 298 ucl = URLClassLoader.newInstance(urls, null); 311 ucl = URLClassLoader.newInstance(urls, null) [all...] |
/external/javassist/src/test/test/javassist/proxy/ |
ProxyCacheGCTest.java | 96 MethodHandler handler= (MethodHandler)javaHandlerClass.newInstance(); 97 MethodFilter filter = (MethodFilter)javaFilterClass.newInstance(); 105 Object target = proxyClass.newInstance();
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/beans/ |
BulkBean.java | 35 public Object newInstance(String target, String[] getters, String[] setters, String[] types); 109 Object key = KEY_FACTORY.newInstance(targetClassName, getters, setters, typeClassNames); 118 BulkBean instance = (BulkBean)ReflectUtils.newInstance(type);
|
/external/slf4j/slf4j-android/src/main/java/org/slf4j/impl/ |
AndroidLoggerFactory.java | 52 Logger newInstance = new AndroidLoggerAdapter(tag); 53 Logger oldInstance = loggerMap.putIfAbsent(tag, newInstance); 54 logger = oldInstance == null ? newInstance : oldInstance;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/ |
BitmapRegionTileSource.java | 57 public static SimpleBitmapRegionDecoderWrapper newInstance( 60 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(pathName, isShareable); 70 public static SimpleBitmapRegionDecoderWrapper newInstance( 73 BitmapRegionDecoder d = BitmapRegionDecoder.newInstance(is, isShareable); 101 public static DumbBitmapRegionDecoder newInstance(String pathName) { 108 public static DumbBitmapRegionDecoder newInstance(InputStream is) { 233 d = SimpleBitmapRegionDecoderWrapper.newInstance(mPath, true); 235 d = DumbBitmapRegionDecoder.newInstance(mPath); 275 SimpleBitmapRegionDecoderWrapper.newInstance(is, false); 279 regionDecoder = DumbBitmapRegionDecoder.newInstance(is) [all...] |
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
FragmentCustomAnimationSupport.java | 51 Fragment newFragment = CountingFragment.newInstance(mStackLevel); 70 Fragment newFragment = CountingFragment.newInstance(mStackLevel); 93 static CountingFragment newInstance(int num) {
|
FragmentStackSupport.java | 63 Fragment newFragment = CountingFragment.newInstance(mStackLevel); 82 Fragment newFragment = CountingFragment.newInstance(mStackLevel); 102 static CountingFragment newInstance(int num) {
|
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/ |
BottomSheetModalBase.java | 50 ModalFragment.newInstance(5) 54 ModalFragment.newInstance(ModalFragment.LENGTH_ALL) 70 public static ModalFragment newInstance(int length) {
|
/libcore/benchmarks/src/benchmarks/ |
XmlParseBenchmark.java | 62 SAXParserFactory saxParserFactory = SAXParserFactory.newInstance(); 65 DocumentBuilderFactory builderFactory = DocumentBuilderFactory.newInstance(); 138 XmlPullParser xmlPullParser = constructor.newInstance();
|
/libcore/dom/src/test/java/org/w3c/domts/ |
JAXPDOMTestDocumentBuilderFactory.java | 47 factory = DocumentBuilderFactory.newInstance(); 75 public DOMTestDocumentBuilderFactory newInstance(DocumentBuilderSetting[] 81 DocumentBuilderFactory newFactory = factory.newInstance();
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
HttpClientFactory.java | 59 Method newInstance = clazz.getMethod("newInstance", String.class); 60 Object instance = newInstance.invoke(null, userAgent);
|
/art/test/141-class-unload/src/ |
Main.java | 121 new WeakReference((ClassLoader) constructor.newInstance( 131 new WeakReference((ClassLoader) constructor.newInstance( 134 Object o = intHolder.get().newInstance(); 141 ClassLoader loader = (ClassLoader) constructor.newInstance( 158 ClassLoader loader = (ClassLoader) constructor.newInstance( 180 ClassLoader loader = (ClassLoader) constructor.newInstance(
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
MigrateStorageActivity.java | 100 MigrateConfirmationStepFragment.newInstance(mTargetVolumeDesc)) 111 ChooseStorageStepFragment.newInstance(mVolumeInfo)) 151 MigrateProgressFragment.newInstance(mTargetVolumeDesc)) 191 public static MigrateConfirmationStepFragment newInstance(String volumeDescription) { 241 public static ChooseStorageStepFragment newInstance(VolumeInfo currentVolumeInfo) { 294 public static MigrateProgressFragment newInstance(String volumeDescription) {
|
/prebuilts/devtools/tools/lib/ |
objenesis-2.1.jar | |