Searched refs:instantiate (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CurrentApiHelperTest.java | 20 import static com.android.cts.managedprofile.CurrentApiHelper.instantiate; 80 assertEquals(false, instantiate(boolean.class)); in testInstantiate() 81 assertEquals(0, instantiate(byte.class)); in testInstantiate() 82 assertEquals(0, instantiate(char.class)); in testInstantiate() 83 assertEquals(0, instantiate(double.class)); in testInstantiate() 84 assertEquals(0, instantiate(float.class)); in testInstantiate() 85 assertEquals(0, instantiate(int.class)); in testInstantiate() 86 assertEquals(0, instantiate(long.class)); in testInstantiate() 87 assertEquals(0, instantiate(short.class)); in testInstantiate() 88 assertNull(instantiate(String.class)); in testInstantiate() [all …]
|
D | ParentProfileTest.java | 113 params[i] = CurrentApiHelper.instantiate(paramTypes[i]); in testParentProfileApiDisabled()
|
D | CurrentApiHelper.java | 113 public static Object instantiate(Class clazz) { in instantiate() method in CurrentApiHelper
|
/cts/tests/app/src/android/app/cts/ |
D | FragmentTest.java | 35 assertNotNull(Fragment.instantiate(getContext(), TestFragment.class.getName())); in testInstantiateFragment() 40 Fragment.instantiate(getContext(), TestNotFragment.class.getName()); in testInstantiateNonFragment()
|