/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/ |
BluetoothAccessoryActivity.java | 47 return SettingsFragment.newInstance(deviceAddress, deviceName, deviceImgId); 52 public static SettingsFragment newInstance(String deviceAddress, String deviceName, 70 BluetoothAccessoryFragment.newInstance(deviceAddress, deviceName, deviceImgId));
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
AccountSyncActivity.java | 49 return SettingsFragment.newInstance(account); 55 public static SettingsFragment newInstance(Account account) { 66 startPreferenceFragment(AccountSyncFragment.newInstance(account));
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
AppsActivity.java | 43 return SettingsFragment.newInstance(volumeUuid, volumeName); 48 public static SettingsFragment newInstance(String volumeUuid, String volumeName) { 61 startPreferenceFragment(AppsFragment.newInstance(volumeUuid, volumeName));
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
ServReqClearRequestTestCase.java | 44 WifiP2pUpnpServiceRequest.newInstance(); 46 WifiP2pUpnpServiceRequest.newInstance("ssdp:all"); 48 WifiP2pDnsSdServiceRequest.newInstance(); 50 WifiP2pDnsSdServiceRequest.newInstance("_ipp._tcp");
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/transform/ |
ClassTransformerFactory.java | 19 ClassTransformer newInstance();
|
/external/objenesis/main/src/org/objenesis/ |
ObjenesisHelper.java | 42 public static Object newInstance(Class clazz) {
43 return OBJENESIS_STD.newInstance(clazz);
54 return (Serializable) OBJENESIS_SERIALIZER.newInstance(clazz);
60 * ObjectInstantiator than calling {@link #newInstance(Class)}.
|
Objenesis.java | 33 Object newInstance(Class clazz);
38 * ObjectInstantiator than calling {@link #newInstance(Class)}.
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pUpnpServiceRequest.java | 34 * This constructor is only used in newInstance(). 44 * This constructor is only used in newInstance(). 56 public static WifiP2pUpnpServiceRequest newInstance() { 73 public static WifiP2pUpnpServiceRequest newInstance(String st) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
MalformedParameterizedTypeExceptionTests.java | 18 assertNotNull(ctor.newInstance());
|
/art/test/068-classloader/src/ |
Main.java | 38 * implementation" throws an exception from Class.newInstance(), 79 Object mDexFile = ctor.newInstance(DEX_FILE); 165 obj = altClass.newInstance(); 168 System.err.println("newInstance failed: " + ie); 237 obj = doubledExtendClass.newInstance(); 239 System.err.println("newInstance failed: " + ie); 242 System.err.println("newInstance failed: " + iae); 284 obj = doubledExtendOkayClass.newInstance(); 286 System.err.println("newInstance failed: " + ie); 289 System.err.println("newInstance failed: " + iae) [all...] |
/art/test/045-reflect-array/src/ |
Main.java | 27 intArray = Array.newInstance(Integer.TYPE, 2); 66 intArray = Array.newInstance(Integer.TYPE, 0); 73 Object charArray = Array.newInstance(Character.TYPE, 7); 126 Object shortArray = Array.newInstance(Short.TYPE, 1); 138 Object longArray = Array.newInstance(Long.TYPE, 2); 165 strArray = Array.newInstance(String.class, 2); 199 intIntIntArray = Array.newInstance(Integer.TYPE, dimensions); 218 strStrStrArray = Array.newInstance(String.class, dimensions); 246 strStrStrArray = Array.newInstance(String[].class, dimensions2); 261 Object arrayOfAbstractClasses = Array.newInstance(Number.class, 1) [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/ |
KeyFactory.java | 32 * single method named <code>newInstance</code>, which returns an 38 * public Object newInstance(int i, String s); 42 * the <code>newInstance</code> method defined by your interface. 45 * Object key1 = factory.newInstance(4, "Hello"); 46 * Object key2 = factory.newInstance(4, "World"); 157 return ReflectUtils.newInstance(type); 167 Method newInstance = ReflectUtils.findNewInstance(keyInterface); 168 if (!newInstance.getReturnType().equals(Object.class)) { 169 throw new IllegalArgumentException("newInstance method must return Object"); 172 Type[] parameterTypes = TypeUtils.getTypes(newInstance.getParameterTypes()) [all...] |
MethodWrapper.java | 27 public Object newInstance(String name, String[] parameterTypes, String returnType); 34 return KEY_FACTORY.newInstance(method.getName(),
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/ |
AbstractLayoutBase.java | 32 return ExpectedKey.newInstance(label, moreKeys); 38 return ExpectedKey.newInstance(label, outputText, moreKeys); 44 return ExpectedKey.newInstance(label, code, moreKeys); 50 return ExpectedKey.newInstance(iconId, outputText, moreKeys); 56 return ExpectedKey.newInstance(iconId, code, moreKeys); 61 return ExpectedKey.newInstance(key.getVisual(), key.getOutput(), moreKeys); 70 return ExpectedAdditionalMoreKey.newInstance(label); 75 return ExpectedKey.newInstance(label); 81 return ExpectedKey.newInstance(label, outputText); 87 return ExpectedKey.newInstance(label, code) [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
DfpMath.java | 253 return base.newInstance(result); 272 return a.newInstance((byte)1, Dfp.INFINITE); 277 return a.newInstance(); 327 return a.dotrap(DfpField.FLAG_INVALID, "ln", a, a.newInstance((byte)1, Dfp.QNAN)); 337 x = x.divide(pow(a.newInstance(10000), lr)); /* This puts x in the range 0-10000 */ 352 spy[0] = a.newInstance("1.33333"); // Use spy[0] for comparison 362 spx[0] = a.newInstance(new StringBuilder().append(p2+4*lr).toString()); 369 spx[0] = a.newInstance(new StringBuilder().append(4*lr).toString()); 376 return a.newInstance(spz[0].add(spz[1])); 441 Dfp x = t.add(a[0].newInstance("-0.25")).divide(t.add(a[0].newInstance("0.25"))) [all...] |
/art/test/042-new-instance/src/otherpackage/ |
ConstructorAccess.java | 30 // IllegalAccessException from #newInstance 34 Object obj = cons.newInstance();
|
/dalvik/dx/tests/125-main-dex-list/com/android/dx/multidex/ |
MainDexListTest.java | 29 .newInstance("out/classes.dex", MainDexListTest.class.getClassLoader()); 32 .newInstance("out/classes2.dex", MainDexListTest.class.getClassLoader());
|
/developers/build/prebuilts/gradle/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/ |
MainActivity.java | 45 .replace(R.id.container, SetupProfileFragment.newInstance()) 51 .add(R.id.container, BasicManagedProfileFragment.newInstance())
|
/developers/samples/android/admin/BasicManagedProfile/Application/src/main/java/com/example/android/basicmanagedprofile/ |
MainActivity.java | 45 .replace(R.id.container, SetupProfileFragment.newInstance()) 51 .add(R.id.container, BasicManagedProfileFragment.newInstance())
|
/development/samples/browseable/BasicManagedProfile/src/com.example.android.basicmanagedprofile/ |
MainActivity.java | 45 .replace(R.id.container, SetupProfileFragment.newInstance()) 51 .add(R.id.container, BasicManagedProfileFragment.newInstance())
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
DelegatedData.java | 46 protected DelegatedData newInstance(Data newDelegate) { 118 return newInstance(getDelegate().getRoot()); 123 return newInstance(getDelegate().getParent()); 138 return newInstance(getDelegate().getNextSibling()); 162 return newInstance(iterator.next()); 197 return newInstance(getDelegate().getChild(path)); 202 return newInstance(getDelegate().createChild(path)); 229 return newInstance(getDelegate().getSymlink());
|
/external/junit/src/org/junit/internal/builders/ |
AnnotatedBuilder.java | 31 return runnerClass.getConstructor(Class.class).newInstance( 36 RunnerBuilder.class).newInstance(
|
/external/libgdx/gdx/src/com/badlogic/gdx/utils/reflect/ |
ArrayReflection.java | 24 static public Object newInstance (Class c, int size) {
25 return java.lang.reflect.Array.newInstance(c, size);
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
MulticastDelegate.java | 39 MulticastDelegate copy = newInstance(); 49 MulticastDelegate copy = newInstance(); 59 abstract public MulticastDelegate newInstance(); 72 new Signature("newInstance", MULTICAST_DELEGATE, new Type[0]); 112 // newInstance 164 return ((MulticastDelegate)ReflectUtils.newInstance(type)).newInstance(); 168 return ((MulticastDelegate)instance).newInstance();
|
/external/protobuf/java/src/test/java/com/google/protobuf/ |
CodedInputStreamTest.java | 104 CodedInputStream input = CodedInputStream.newInstance(data); 108 input = CodedInputStream.newInstance(data); 112 input = CodedInputStream.newInstance(data); 116 input = CodedInputStream.newInstance(data); 122 input = CodedInputStream.newInstance( 127 input = CodedInputStream.newInstance( 132 input = CodedInputStream.newInstance( 137 input = CodedInputStream.newInstance( 161 CodedInputStream input = CodedInputStream.newInstance(data); 169 input = CodedInputStream.newInstance(data) [all...] |