Home
last modified time | relevance | path

Searched refs:instantiate (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCurrentApiHelperTest.java20 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 …]
DParentProfileTest.java113 params[i] = CurrentApiHelper.instantiate(paramTypes[i]); in testParentProfileApiDisabled()
DCurrentApiHelper.java113 public static Object instantiate(Class clazz) { in instantiate() method in CurrentApiHelper
/cts/tests/app/src/android/app/cts/
DFragmentTest.java35 assertNotNull(Fragment.instantiate(getContext(), TestFragment.class.getName())); in testInstantiateFragment()
40 Fragment.instantiate(getContext(), TestNotFragment.class.getName()); in testInstantiateNonFragment()