/external/guava/guava-tests/test/com/google/common/base/ |
FinalizableReferenceQueueTest.java | 36 public class FinalizableReferenceQueueTest extends TestCase { 56 static class MockReference extends FinalizableWeakReference<Object> { 119 Class<?> finalizerCopy = decoupledLoader.loadFinalizer(); 122 assertNotSame(Finalizer.class, finalizerCopy); 127 static class DecoupledClassLoader extends URLClassLoader { 134 protected synchronized Class<?> loadClass(String name, boolean resolve) 136 // Force Finalizer to load from this class loader, not its parent. 137 if (name.equals(Finalizer.class.getName())) { 138 Class<?> clazz = findClass(name); 150 assertNotNull(getClass().getResource("internal/Finalizer.class")); [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nv04_surface.c | 484 unsigned handle = 0x88000000, class; local 508 class = NV04_SURFACE_2D_CLASS; 510 class = NV10_SURFACE_2D_CLASS; 512 ret = nouveau_object_new(chan, handle++, class, NULL, 0, &hw->surf2d); 579 class = NV04_SURFACE_SWZ_CLASS; 581 class = NV20_SURFACE_SWZ_CLASS; 583 ret = nouveau_object_new(chan, handle++, class, NULL, 0, &hw->swzsurf); 592 class = NV04_SIFM_CLASS; 594 class = NV10_SIFM_CLASS; 596 ret = nouveau_object_new(chan, handle++, class, NULL, 0, &hw->sifm) [all...] |
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/server/ |
AbstractFtpServerTestCase.java | 36 public abstract class AbstractFtpServerTestCase extends AbstractTestCase {
89 CommandHandler commandHandler = (CommandHandler) createMock(CommandHandler.class);
146 assertEquals(ftpServer.createSession(new Socket()).getClass(), DefaultSession.class);
|
/external/okhttp/okio/okio/src/main/java/okio/ |
AsyncTimeout.java | 40 public class AsyncTimeout extends Timeout { 43 * the order to be triggered. This class synchronizes on AsyncTimeout.class. 100 AsyncTimeout.class.notify(); // Wake up the watchdog when inserting at the front. 277 private static final class Watchdog extends Thread { 311 AsyncTimeout.class.wait(); 323 AsyncTimeout.class.wait(waitMillis, (int) waitNanos);
|
/external/sepolicy/tools/ |
sepolicy-check.c | 18 fprintf(stderr, "%s -s <source> -t <target> -c <class> -p <perm> -P <policy file>\n", arg0); 147 fprintf(stderr, "class %s does not exist\n", c); 155 fprintf(stderr, "perm %s does not exist in class %s\n", p, c); 160 fprintf(stderr, "perm %s does not exist in class %s\n", p, c); 235 char *policy = NULL, *source = NULL, *target = NULL, *class = NULL, *perm = NULL; local 245 {"class", required_argument, NULL, 'c'}, 260 class = optarg; 273 if (!source || !target || !class || !perm || !policy) 282 match = check_rule(source, target, class, perm, &policydb);
|
/external/toybox/toys/pending/ |
tr.c | 114 static char *class[] = { local 122 if (!memcmp(class_name, class[i], (class_name[0] == 'x')?10:9)) break; 201 error_exit("bad equiv class");
|
/external/toybox/toys/posix/ |
od.c | 95 *class = c[t->type-2]; local 102 throw = sprintf(buf, class, 0, or); 118 sprintf(buf, class, throw, ll);
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/ |
ConnectivityManagerMobileTest.java | 30 public class ConnectivityManagerMobileTest extends ConnectivityManagerTestBase { 33 super(ConnectivityManagerMobileTest.class.getSimpleName());
|
WifiAssociationTest.java | 40 public class WifiAssociationTest extends ConnectivityManagerTestBase { 46 super(WifiAssociationTest.class.getSimpleName());
|
WifiConnectionTest.java | 36 * -e class com.android.connectivitymanagertest.functional.WifiConnectionTest \ 39 public class WifiConnectionTest extends ConnectivityManagerTestBase { 44 super(WifiConnectionTest.class.getSimpleName());
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/ |
WifiApStress.java | 37 public class WifiApStress extends ConnectivityManagerTestBase { 47 super(WifiApStress.class.getSimpleName());
|
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/ |
EffectsVideoCapture.java | 33 public class EffectsVideoCapture extends ActivityInstrumentationTestCase2 39 super(CameraEffectsRecordingSample.class); 62 CameraEffectsRecordingSample.class);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
AppCompatButton.java | 47 * layouts. You should only need to manually use this class when writing custom views.</p> 49 public class AppCompatButton extends Button implements TintableBackgroundView { 161 event.setClassName(Button.class.getName()); 167 info.setClassName(Button.class.getName());
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldAndroidEnumTest.java | 24 public class OldAndroidEnumTest extends TestCase { 46 assertSame(MyEnum.ONE.getDeclaringClass(), MyEnum.class); 47 assertSame(MyEnum.FOUR.getDeclaringClass(), MyEnum.class);
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ConstructorTest.java | 22 public final class ConstructorTest extends TestCase { 24 Constructor<?> constructor = ConstructorTestHelper.class.getConstructor(new Class[0]); 25 Class[] exceptions = constructor.getExceptionTypes(); 27 assertEquals(IndexOutOfBoundsException.class, exceptions[0]); 29 exceptions[0] = NullPointerException.class; 32 assertEquals(IndexOutOfBoundsException.class, exceptions[0]); 36 Class[] expectedParameters = new Class[] { Object.class }; [all...] |
/packages/apps/Browser/src/com/android/browser/preferences/ |
AdvancedPreferencesFragment.java | 38 public class AdvancedPreferencesFragment extends PreferenceFragment 50 websiteSettings.setFragment(WebsiteSettingsFragment.class.getName()); 125 getActivity(), BrowserActivity.class));
|
/packages/apps/Camera/tests/src/com/android/camera/power/ |
ImageAndVideoCapture.java | 39 public class ImageAndVideoCapture extends ActivityInstrumentationTestCase2 <CameraActivity> { 49 super(CameraActivity.class); 100 CameraActivity.class);
|
/packages/apps/Camera/tests/src/com/android/camera/stress/ |
CameraStartUp.java | 36 public class CameraStartUp extends InstrumentationTestCase { 49 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 72 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class);
|
ImageCapture.java | 36 * -e class com.android.camera.stress.ImageCapture \ 41 public class ImageCapture extends ActivityInstrumentationTestCase2 <CameraActivity> { 53 super(CameraActivity.class); 97 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 112 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class);
|
SwitchPreview.java | 38 * -e class com.android.camera.stress.SwitchPreview \ 42 public class SwitchPreview extends ActivityInstrumentationTestCase2 <CameraActivity>{ 53 super(CameraActivity.class); 102 CameraActivity.class); 108 CameraActivity.class);
|
VideoCapture.java | 38 * -e class com.android.camera.stress.VideoCapture \ 43 public class VideoCapture extends ActivityInstrumentationTestCase2 <CameraActivity> { 54 super(CameraActivity.class); 91 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 106 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class);
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
CameraStartUp.java | 36 public class CameraStartUp extends InstrumentationTestCase { 49 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 72 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class);
|
ImageCapture.java | 36 * -e class com.android.camera.stress.ImageCapture \ 41 public class ImageCapture extends ActivityInstrumentationTestCase2 <CameraActivity> { 53 super(CameraActivity.class); 96 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 110 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class);
|
SwitchPreview.java | 38 * -e class com.android.camera.stress.SwitchPreview \ 42 public class SwitchPreview extends ActivityInstrumentationTestCase2 <CameraActivity>{ 53 super(CameraActivity.class); 101 CameraActivity.class); 107 CameraActivity.class);
|
VideoCapture.java | 38 * -e class com.android.camera.stress.VideoCapture \ 43 public class VideoCapture extends ActivityInstrumentationTestCase2 <CameraActivity> { 54 super(CameraActivity.class); 89 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class); 103 intent.setClass(getInstrumentation().getTargetContext(), CameraActivity.class);
|