OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Looper
(Results
1 - 25
of
71
) sorted by null
1
2
3
/frameworks/base/tools/layoutlib/bridge/src/android/os/
Looper_Accessor.java
24
// clean up the
looper
25
Looper
.sThreadLocal.remove();
HandlerThread_Delegate.java
70
Looper
.prepare();
72
theThread.mLooper =
Looper
.myLooper();
77
Looper
.loop();
/frameworks/base/core/tests/coretests/src/android/content/
ContentQueryMapTest.java
24
import android.os.
Looper
;
34
/** Helper class to run test code in a new thread with a
Looper
. */
43
Looper
.prepare();
45
Looper
.loop();
84
Looper
.myLooper().quit();
/frameworks/base/core/java/android/os/
HandlerThread.java
20
* Handy class for starting a new thread that has a
looper
. The
looper
can then be
26
Looper
mLooper;
46
* setup before
Looper
loops.
53
Looper
.prepare();
55
mLooper =
Looper
.myLooper();
60
Looper
.loop();
65
* This method returns the
Looper
associated with this thread. If this thread not been started
67
* has been started, this method will block until the
looper
has been initialized.
68
* @return The
looper
94
Looper
looper
= getLooper();
local
[
all
...]
/frameworks/base/core/tests/coretests/src/android/os/
HandlerTester.java
20
import android.os.
Looper
;
61
Looper
.prepare();
62
mLooper =
Looper
.myLooper();
64
Looper
.loop();
87
private
Looper
mLooper;
TestHandlerThread.java
20
import android.os.
Looper
;
28
private
Looper
mLooper;
61
public
Looper
getLooper() {
82
Looper
.prepare();
83
mLooper =
Looper
.myLooper();
85
Looper
.loop();
/frameworks/base/core/java/android/webkit/
WebSyncManager.java
21
import android.os.
Looper
;
80
// prepare
Looper
for sync handler
81
Looper
.prepare();
90
Looper
.loop();
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
PackageIconLoaderTest.java
25
import android.os.
Looper
;
72
Looper
.prepare();
77
Looper
.loop();
93
Looper
.myLooper().quit();
/cts/tests/src/android/app/cts/
TestedActivity.java
21
import android.os.
Looper
;
38
Looper
.myLooper();
39
Looper
.myQueue().addIdleHandler(new Idler());
TestedScreen.java
23
import android.os.
Looper
;
65
Looper
.myLooper();
66
Looper
.myQueue().addIdleHandler(new Idler());
69
Looper
.myLooper();
70
Looper
.myQueue().addIdleHandler(new Idler());
/cts/tests/tests/os/src/android/os/cts/
LooperTest.java
20
import android.os.
Looper
;
32
@TestTargetClass(
Looper
.class)
39
private
Looper
mLooper = null;
51
Looper
.myLooper().dump(printer, prefix);
60
Looper
looper
=
Looper
.getMainLooper();
local
61
assertNotNull(
looper
);
76
Looper
.loop();
89
assertNull(
Looper
.myLooper())
[
all
...]
TokenWatcherTest.java
25
import android.os.
Looper
;
52
private
Looper
mLooper;
58
Looper
.prepare();
59
mLooper =
Looper
.myLooper();
61
Looper
.loop();
/cts/tests/tests/media/src/android/media/cts/
PresetReverbTest.java
23
import android.os.
Looper
;
44
private
Looper
mLooper = null;
243
Log.e(TAG, "
Looper
creation: wait was interrupted.");
275
Log.e(TAG, "
Looper
creation: wait was interrupted.");
310
Log.e(TAG, "
Looper
creation: wait was interrupted.");
360
// Initializes the reverb listener
looper
379
// Set up a
looper
380
Looper
.prepare();
382
// Save the
looper
so that we can terminate this thread
384
mLooper =
Looper
.myLooper()
[
all
...]
VisualizerTest.java
23
import android.os.
Looper
;
42
private
Looper
mLooper = null;
250
Log.e(TAG, "
Looper
creation: wait was interrupted.");
356
// Set up a
looper
to be used by mEffect.
357
Looper
.prepare();
359
// Save the
looper
so that we can terminate this thread
361
mLooper =
Looper
.myLooper();
398
Looper
.loop(); // Blocks forever until
Looper
.quit() is called.
403
* Terminates the listener
looper
thread
[
all
...]
BassBoostTest.java
23
import android.os.
Looper
;
46
private
Looper
mLooper = null;
297
Log.e(TAG, "
Looper
creation: wait was interrupted.");
329
Log.e(TAG, "
Looper
creation: wait was interrupted.");
364
Log.e(TAG, "
Looper
creation: wait was interrupted.");
414
// Initializes the bassboot listener
looper
433
// Set up a
looper
434
Looper
.prepare();
436
// Save the
looper
so that we can terminate this thread
438
mLooper =
Looper
.myLooper()
[
all
...]