Searched refs:thread (Results 1 - 20 of 20) sorted by relevance

/development/ndk/platforms/android-9/arch-mips/include/asm/
H A Ddsp.h30 #define __save_dsp(tsk) do { tsk->thread.dsp.dspr[0] = mfhi1(); tsk->thread.dsp.dspr[1] = mflo1(); tsk->thread.dsp.dspr[2] = mfhi2(); tsk->thread.dsp.dspr[3] = mflo2(); tsk->thread.dsp.dspr[4] = mfhi3(); tsk->thread.dsp.dspr[5] = mflo3(); tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); } while (0)
32 #define __restore_dsp(tsk) do { mthi1(tsk->thread.dsp.dspr[0]); mtlo1(tsk->thread.dsp.dspr[1]); mthi2(tsk->thread
[all...]
H A Dprocessor.h77 #define release_thread(thread) do { } while(0)
/development/tools/axl/
H A Dchewie.py52 # thread, queued, opened, send, sent, reading, read, uri, server, y
92 thread, action = x[1], x[2]
97 # save opened time and server for this thread, so we can stuff it in l8r
98 time, thread, host = x[0], x[1], x[4]
99 opened[thread] = [time, host, connectionCount]
102 time, thread, url = x[0], x[1], x[3]
103 opentime, host, connection = opened[thread]
105 record = [thread, qtime, opentime, time, None, None, None, url, host, connection]
106 active[thread].append(record)
108 time, thread
[all...]
/development/tools/emulator/opengl/system/egl/
H A DClientAPIExts.cpp94 EGLThreadInfo* thread = getEGLThreadInfo(); \
95 if (!thread->currentContext) { \
98 int idx = (int)thread->currentContext->version - 1; \
108 EGLThreadInfo* thread = getEGLThreadInfo(); \
109 if (!thread->currentContext) { \
112 int idx = (int)thread->currentContext->version - 1; \
/development/samples/training/threadsample/src/com/example/android/threadsample/
H A DPhotoManager.java49 * thread to change the bitmap to reflect the state.
65 // Sets the amount of time an idle thread will wait for a task before terminating
122 * Constructs the work queues and thread pools used to download and decode images.
171 * handleMessage() method. The Handler *must* run on the UI thread, because it moves photo
173 * To force the Handler to run on the UI thread, it's defined as part of the PhotoManager
297 * thread pool
334 // Gets the task's current thread
335 Thread thread = taskArray[taskArrayIndex].mThreadThis;
338 if (null != thread) {
339 thread
[all...]
H A DPhotoTask.java225 public void setCurrentThread(Thread thread) { argument
227 mCurrentThread = thread;
/development/tools/emulator/opengl/shared/OpenglOsUtils/
H A DAndroid.mk3 # - thread-local storage
/development/ndk/platforms/android-9/arch-x86/include/asm/
H A Di387_32.h29 #define restore_fpu(tsk) alternative_input( "nop ; frstor %1", "fxrstor %1", X86_FEATURE_FXSR, "m" ((tsk)->thread.i387.fxsave))
/development/samples/LunarLander/src/com/example/android/lunarlander/
H A DLunarView.java163 /** Message handler used by thread to interact with TextView */
422 * Used to signal the thread whether it should be running or not.
423 * Passing true allows the thread to run; passing false will shut it
458 * owned by this thread, we can't touch the state of that View.
460 * thread, which updates the user-text View.
784 /** The thread that actually draws the animation */
785 private LunarThread thread; field in class:LunarView
794 // create thread only; it's started in surfaceCreated()
795 thread = new LunarThread(holder, context, new Handler() {
807 * Fetches the animation thread correspondin
[all...]
/development/ndk/sources/android/native_app_glue/
H A Dandroid_native_app_glue.h36 * by the Activity's main thread when certain events occur.
44 * loop in a different thread instead. Here's how it works:
47 * will be called when the activity is created, in a new thread that is
48 * distinct from the activity's main thread.
106 * in its own thread separate from the main thread of the process.
107 * It is not required that this thread be associated with the Java
142 // The ALooper associated with the app's thread.
161 // destroyed and waiting for the app thread to complete.
173 pthread_t thread; member in struct:android_app
[all...]
H A Dandroid_native_app_glue.c241 // Native activity interaction (called from main thread)
270 pthread_create(&android_app->thread, &attr, android_app_entry, android_app);
272 // Wait for thread to start.
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DServiceStartArguments.java52 * work of creating the extra thread and dispatching commands to it.
113 // Start up the thread running the service. Note that we create a
114 // separate thread because the service normally runs in the process's
115 // main thread, which we don't want to block. We also make it
117 HandlerThread thread = new HandlerThread("ServiceStartArguments",
119 thread.start();
121 mServiceLooper = thread.getLooper();
/development/samples/JetBoy/src/com/example/android/jetboy/
H A DJetBoyView.java215 /** Message handler used by thread to interact with TextView */
433 // JET info: inthis animation thread object.
1027 * Used to signal the thread whether it should be running or not.
1028 * Passing true allows the thread to run; passing false will shut it
1227 //this is how we send data back up to the main JetBoyView thread.
1270 //events fire outside the animation thread. This can cause timing issues.
1271 //put in queue for processing by animation thread.
1288 }//end thread class
1292 /** The thread that actually draws the animation */
1293 private JetBoyThread thread; field in class:JetBoyView
[all...]
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/
H A DMissileLauncherActivity.java139 Thread thread = new Thread(this);
140 thread.start();
/development/ndk/platforms/android-3/include/linux/raid/
H A Dmd_k.h102 struct mdk_thread_s *thread; member in struct:mddev_s
/development/ndk/platforms/android-3/include/
H A Dpthread.h139 int pthread_create(pthread_t *thread, pthread_attr_t const * attr,
/development/ndk/platforms/android-5/include/
H A Dpthread.h139 int pthread_create(pthread_t *thread, pthread_attr_t const * attr,
/development/ndk/platforms/android-8/include/
H A Dpthread.h139 int pthread_create(pthread_t *thread, pthread_attr_t const * attr,
/development/ndk/platforms/android-9/include/
H A Dpthread.h139 int pthread_create(pthread_t *thread, pthread_attr_t const * attr,
/development/tools/emulator/system/gps/
H A Dgps_qemu.c575 /* commands sent to the gps thread */
588 pthread_t thread; member in struct:__anon611
598 // tell the thread to quit, and wait for it
602 pthread_join(s->thread, &dummy);
673 /* this is the main thread, it waits for commands from gps_state_start/stop and,
693 D("gps thread running");
706 D("gps thread received %d events", nevents);
725 D("gps thread quitting on demand");
730 D("gps thread starting location_cb=%p", state->callbacks.location_cb);
737 D("gps thread stoppin
[all...]

Completed in 815 milliseconds