/device/samsung/crespo/alsa-lib/test/ |
timer.c | 73 int class = SND_TIMER_CLASS_GLOBAL; local 94 if (!strncmp(argv[idx], "class=", 5)) { 95 class = atoi(argv[idx]+6); 111 if (class == SND_TIMER_CLASS_SLAVE && sclass == SND_TIMER_SCLASS_NONE) { 112 fprintf(stderr, "slave class is not set\n"); 129 printf("Timer device: class %i, sclass %i, card %i, device %i, subdevice %i\n", 139 sprintf(timername, "hw:CLASS=%i,SCLASS=%i,CARD=%i,DEV=%i,SUBDEV=%i", class, sclass, card, device, subdevice); 144 printf("Using timer class %i, slave class %i, card %i, device %i, subdevice %i\n", class, sclass, card, device, subdevice) [all...] |
/external/bluetooth/glib/gio/ |
gvolumemonitor.c | 272 GVolumeMonitorClass *class; local 276 class = G_VOLUME_MONITOR_GET_CLASS (volume_monitor); 278 return class->get_connected_drives (volume_monitor); 295 GVolumeMonitorClass *class; local 299 class = G_VOLUME_MONITOR_GET_CLASS (volume_monitor); 301 return class->get_volumes (volume_monitor); 318 GVolumeMonitorClass *class; local 322 class = G_VOLUME_MONITOR_GET_CLASS (volume_monitor); 324 return class->get_mounts (volume_monitor); 341 GVolumeMonitorClass *class; local 365 GVolumeMonitorClass *class; local [all...] |
gfileinputstream.c | 136 GFileInputStreamClass *class; local 152 class = G_FILE_INPUT_STREAM_GET_CLASS (stream); 153 if (class->query_info) 154 info = class->query_info (stream, attributes, cancellable, error); 254 GFileInputStreamClass *class; local 266 class = G_FILE_INPUT_STREAM_GET_CLASS (stream); 267 return class->query_info_finish (stream, result, error); 273 GFileInputStreamClass *class; local 278 class = G_FILE_INPUT_STREAM_GET_CLASS (stream); 281 if (class->tell 296 GFileInputStreamClass *class; local 327 GFileInputStreamClass *class; local 410 GFileInputStreamClass *class; local [all...] |
/external/bluetooth/glib/gobject/ |
gvaluetransform.c | 196 GEnumClass *class = g_type_class_ref (G_VALUE_TYPE (src_value)); local 197 GEnumValue *enum_value = g_enum_get_value (class, src_value->data[0].v_long); 204 g_type_class_unref (class); 210 GFlagsClass *class = g_type_class_ref (G_VALUE_TYPE (src_value)); local 211 GFlagsValue *flags_value = g_flags_get_first_value (class, src_value->data[0].v_ulong); 225 flags_value = g_flags_get_first_value (class, v_flags); 240 g_type_class_unref (class);
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
SDL_amigaevents.c | 131 int class=msg->Class,code=msg->Code; local 135 switch (class) {
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ClassLoaderReflectionTest.java | 37 * This class creates another class loader to load multiple copies of various 39 * class names using the correct class loader. 41 public final class ClassLoaderReflectionTest extends TestCase { 44 * Each of these class instances points to a different copy of the class 45 * than the one in the application class loader! 47 private Class<?> aClass; 48 private Class<?> aListClass [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLContextTest.java | 32 public class SSLContextTest extends TestCase { 144 assertTrue(SSLSocketFactory.class.isAssignableFrom(sf.getClass())); 166 assertTrue(SSLServerSocketFactory.class.isAssignableFrom(ssf.getClass()));
|
/sdk/files/ |
android.el | 14 (defvar android-jdb-activity-class-history () 36 (defcustom android-activity-class nil 37 "This is where your Android Activity class is stored." 106 (defun android-start-activity (package class) 107 "Start the activity PACKAGE/CLASS in the Android emulator. This expects the SDK tools directory to be in the current path." 111 (read-from-minibuffer "Activity Java class: " 112 (car android-jdb-activity-class-history) 115 'android-jdb-activity-class-history))) 116 (compile (format "adb shell am start -n %s/%s" package class))) 118 (defun android-debug-activity (package class) [all...] |
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
AccessibilityEndToEndTest.java | 60 * This class performs end-to-end testing of the accessibility feature by 77 public class AccessibilityEndToEndTest extends 117 super("com.android.cts.accessibilityservice", AccessibilityEndToEndTestActivity.class); 135 selectedEvent.setClassName(ListView.class.getName()); 166 clickedEvent.setClassName(Button.class.getName()); 195 longClickedEvent.setClassName(Button.class.getName()); 224 focusedEvent.setClassName(Button.class.getName()); 270 textChangedEvent.setClassName(EditText.class.getName()); 304 windowStateChangedEvent.setClassName(AlertDialog.class.getName()); 347 notificationChangedEvent.setClassName(Notification.class.getName()) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
FaceDetector_FaceTest.java | 34 @TestTargetClass(Face.class) 35 public class FaceDetector_FaceTest extends InstrumentationTestCase { 42 intent.setClass(getInstrumentation().getTargetContext(), FaceDetectorStub.class); 68 args = {PointF.class} 74 args = {int.class}
|
/cts/tools/dx-tests/src/dxc/junit/opcodes/areturn/ |
Test_areturn.java | 30 public class Test_areturn extends DxTestCase { 137 Class.forName("dxc.junit.opcodes.areturn.jm.T_areturn_3"); 150 Class.forName("dxc.junit.opcodes.areturn.jm.T_areturn_4"); 163 Class.forName("dxc.junit.opcodes.areturn.jm.T_areturn_5"); 176 Class.forName("dxc.junit.opcodes.areturn.jm.T_areturn_10"); 189 Class.forName("dxc.junit.opcodes.areturn.jm.T_areturn_11"); 205 Class.forName("dxc.junit.opcodes.areturn.jm.T_areturn_14"); 222 RunnerGenerator rg = (RunnerGenerator) Class.forName( 226 assertFalse(Runner.class.isAssignableFrom(r.getClass()));
|
/cts/tools/vm-tests/ |
Android.mk | 72 # copy Util class to compile later together with the generated host side junit tests 98 define get-class-path 113 $(call get-class-path,dot/junit/DxUtil.class) $(call get-class-path,dot/junit/DxAbstractMain.class): $(HOST_OUT_JAVA_LIBRARIES)/cts-dalvik-buildutil.jar $(DX) 115 $(GENERATED_FILES)/dot/junit/dexcore.jar: $(call get-class-path,dot/junit/DxUtil.class) $(call get-class-path,dot/junit/DxAbstractMain.class) [all...] |
/cts/tools/vm-tests/src/dot/junit/opcodes/return_object/ |
Test_return_object.java | 29 public class Test_return_object extends DxTestCase { 107 Class.forName("dxc.junit.opcodes.return_object.jm.T_return_object_3"); 120 Class.forName("dxc.junit.opcodes.return_object.jm.T_return_object_4"); 133 Class.forName("dxc.junit.opcodes.return_object.jm.T_return_object_16"); 146 Class.forName("dxc.junit.opcodes.return_object.jm.T_return_object_5"); 160 Class.forName("dxc.junit.opcodes.return_object.jm.T_return_object_10"); 173 Class.forName("dxc.junit.opcodes.return_object.jm.T_return_object_11"); 190 Class.forName("dxc.junit.opcodes.return_object.jm.T_return_object_14"); 207 RunnerGenerator rg = (RunnerGenerator) Class.forName( 211 assertFalse(Runner.class.isAssignableFrom(r.getClass())) [all...] |
/external/guava/src/com/google/common/base/internal/ |
Finalizer.java | 32 * <p>While this class is public, we consider it to be *internal* and not part 34 * class loaders in secure environments. 36 * <p>This class can't depend on other Google Collections code. If we were 37 * to load this class in the same class loader as the rest of 39 * to the class loader and prevent it from being garbage collected. This 40 * poses a problem for environments where you want to throw away the class 44 * <p>{@code com.google.common.base.FinalizableReferenceQueue} loads this class 45 * in its own class loader. That way, this class doesn't prevent the mai [all...] |
/external/openssl/crypto/pkcs7/ |
bio_ber.c | 79 int class; member in struct:ber_struct 89 int class; member in struct:bio_ber_struct 164 int class; local 200 ret=ASN1_get_object(&p,&length,&tag,&class,max);
|
/frameworks/base/test-runner/tests/src/android/test/ |
TestBrowserControllerImplTest.java | 27 public class TestBrowserControllerImplTest extends TestCase { 41 testSuite.addTestSuite(DummyTestCase.class); 45 verifyTestNames(Arrays.asList("Run All", DummyTestCase.class.getSimpleName()), 54 // class.getSimpleName(), when called on an inner class, varies 64 testSuite.addTestSuite(DummyTestCase.class); 72 verifyIntent(intent, DummyTestCase.class, expectedTargetPackageName); 82 verifyIntent(intent, DummyTestCase.class, "com.android.testharness"); 91 testSuite.addTestSuite(DummyTestCase.class); 95 verifyIntent(intent, DummyTestSuite.class, "com.android.testharness") [all...] |
InstrumentationTestRunnerTest.java | 37 public class InstrumentationTestRunnerTest extends TestCase { 52 String expectedTestClassName = PlaceHolderTest.class.getName(); 60 String expectedTestClassName = PlaceHolderTest.class.getName(); 72 testSuite.addTestSuite(PlaceHolderTest.class); 76 PlaceHolderTest.class.getName(), "testPlaceHolder"); 80 String classArg = PlaceHolderTest.class.getName() + "," + 81 PlaceHolderTest2.class.getName(); 88 new TestDescriptor(PlaceHolderTest.class.getName(), "testPlaceHolder"), 89 new TestDescriptor(PlaceHolderTest2.class.getName(), "testPlaceHolder2")); 120 String testClassName = PlaceHolderTest.class.getName() [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
EnumTest.java | 25 public class EnumTest extends TestCase { 48 assertSame(MyEnum.ONE.getDeclaringClass(), MyEnum.class); 49 assertSame(MyEnum.FOUR.getDeclaringClass(), MyEnum.class);
|
/packages/apps/Email/src/com/android/email/service/ |
EmailBroadcastProcessorService.java | 42 public class EmailBroadcastProcessorService extends IntentService { 44 // Class name will be the thread name. 45 super(EmailBroadcastProcessorService.class.getName()); 55 Intent i = new Intent(context, EmailBroadcastProcessorService.class); 112 setComponentEnabled(EasAuthenticatorServiceAlternate.class, true); 113 setComponentEnabled(EasAuthenticatorService.class, false); 130 private void setComponentEnabled(Class<?> clazz, boolean enabled) {
|
/ndk/build/core/ |
definitions.mk | 233 # where <prefix> and <suffix> depend on the module class. 297 $(if $(call module-class-is-installable,$(LOCAL_MODULE_CLASS)),\ 305 # Retrieve the class of module $1 306 module-get-class = $(__ndk_modules.$1.MODULE_CLASS) 315 module-is-installable = $(call module-class-is-installable,$(call module-get-class,$1)) 321 module-is-prebuilt = $(call module-class-is-prebuilt,$(call module-get-class,$1)) [all...] |
/cts/tests/appsecurity-tests/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
AccessPermissionWithDiffSigTest.java | 35 public class AccessPermissionWithDiffSigTest extends AndroidTestCase { 105 grantIntent.setClass(getContext(), ReceiveUriActivity.class); 156 grantIntent.setClass(getContext(), ReceiveUriService.class); 201 static class GrantResultReceiver extends BroadcastReceiver { 275 service ? ReceiveUriService.class : ReceiveUriActivity.class); 331 service ? ReceiveUriService.class : ReceiveUriActivity.class);
|
/libcore/luni/src/test/java/tests/sql/ |
ResultSetMetaDataTest.java | 32 @TestTargetClass(ResultSetMetaData.class) 33 public class ResultSetMetaDataTest extends SQLTest { 73 args = {int.class} 99 args = {int.class} 104 assertEquals(Short.class.getName(), rsmd.getColumnClassName(1)); 105 assertEquals(String.class.getName(), rsmd.getColumnClassName(2)); 106 assertEquals(String.class.getName(), rsmd.getColumnClassName(3)); 160 args = {int.class} 196 args = {int.class} 234 args = {int.class} [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
ActivityManagerTest.java | 41 @TestTargetClass(ActivityManager.class) 42 public class ActivityManagerTest extends InstrumentationTestCase { 81 args = {int.class, int.class} 97 startSubActivity(ActivityManagerRecentOneActivity.class); 100 startSubActivity(ActivityManagerRecentTwoActivity.class); 113 ActivityManagerRecentOneActivity.class.getName())) { 116 ActivityManagerRecentTwoActivity.class.getName())) { 132 private final <T extends Activity> void startSubActivity(Class<T> activityClass) { 143 args = {int.class} [all...] |
/device/samsung/crespo/alsa-lib/src/ |
confmisc.c | 1037 * for pcm specified by class and index. 1041 * \param src Handle to the source node, with definitions for \c class 1050 class 0 1062 long class, index; local 1066 err = snd_config_search(src, "class", &n); 1068 SNDERR("field class not found"); 1073 SNDERR("error evaluating class"); 1076 err = snd_config_get_integer(n, &class); 1078 SNDERR("field class is not an integer"); 1125 if (snd_pcm_info_get_class(info) == (snd_pcm_class_t)class & [all...] |
/device/samsung/crespo/alsa-lib/src/mixer/ |
simple_abst.c | 3 * \brief Mixer Simple Element Class Interface - Module Abstraction 7 * Mixer simple element class interface. 54 void (*private_free)(snd_mixer_class_t *class); 57 typedef int (*snd_mixer_sbasic_init_t)(snd_mixer_class_t *class); 58 typedef int (*snd_mixer_sfbasic_init_t)(snd_mixer_class_t *class, 64 static int try_open(snd_mixer_class_t *class, const char *lib) 66 class_priv_t *priv = snd_mixer_class_get_private(class); 102 err = err == 0 ? init_func(class) : err; 105 snd_mixer_class_set_event(class, event_func); 109 static int try_open_full(snd_mixer_class_t *class, snd_mixer_t *mixer 273 snd_mixer_class_t *class; local [all...] |