OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getMainLooper
(Results
1 - 25
of
273
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
/packages/services/Telecomm/src/com/android/server/telecom/
ThreadUtil.java
31
return Looper.
getMainLooper
() == Looper.myLooper();
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLooper.java
40
public static Looper
getMainLooper
() {
41
return Robolectric.getShadowApplication().
getMainLooper
();
47
if (looper != shadowOf(
getMainLooper
())) {
66
if (this == shadowOf(
getMainLooper
())) throw new RuntimeException("Main thread not allowed to quit");
92
pauseLooper(Looper.
getMainLooper
());
96
unPauseLooper(Looper.
getMainLooper
());
100
shadowOf(Looper.
getMainLooper
()).idle(interval);
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
Resource.java
62
if (!Looper.
getMainLooper
().equals(Looper.myLooper())) {
72
if (!Looper.
getMainLooper
().equals(Looper.myLooper())) {
/packages/apps/Launcher3/src/com/android/launcher3/
MainThreadExecutor.java
33
private Handler mHandler = new Handler(Looper.
getMainLooper
());
37
if (Looper.
getMainLooper
() == Looper.myLooper()) {
/frameworks/base/tools/layoutlib/bridge/src/android/view/inputmethod/
InputMethodManager_Delegate.java
43
new BridgeIInputMethodManager(), Looper.
getMainLooper
());
/packages/apps/Gallery2/src/com/android/gallery3d/app/
GalleryContext.java
31
public Looper
getMainLooper
();
GalleryApp.java
37
public Looper
getMainLooper
();
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
LooperTest.java
19
assertSame(Looper.myLooper(), Looper.
getMainLooper
());
41
Looper mainLooper = Looper.
getMainLooper
();
64
Looper.
getMainLooper
().quit();
104
assertTrue(shadowOf(Looper.
getMainLooper
()).getThread() == Thread.currentThread());
/cts/tests/tests/view/src/android/view/cts/
GestureDetectorTest.java
59
mContext, new SimpleOnGestureListener(), new Handler(Looper.
getMainLooper
()));
61
new GestureDetector(new SimpleOnGestureListener(), new Handler(Looper.
getMainLooper
()));
/frameworks/volley/src/com/android/volley/toolbox/
ClearCacheRequest.java
51
Handler handler = new Handler(Looper.
getMainLooper
());
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
CountryMonitor.java
63
}, Looper.
getMainLooper
());
/cts/tests/tests/os/src/android/os/cts/
LooperTest.java
42
Looper.
getMainLooper
().dump(printer, prefix);
46
Looper looper = Looper.
getMainLooper
();
188
assertNotNull(Looper.
getMainLooper
().toString());
MessageQueueTest.java
211
Looper.
getMainLooper
().removeSyncBarrier(-1);
218
int barrierToken = Looper.
getMainLooper
().postSyncBarrier();
219
Looper.
getMainLooper
().removeSyncBarrier(barrierToken);
221
Looper.
getMainLooper
().removeSyncBarrier(barrierToken);
ResultReceiverTest.java
27
private Handler mHandler = new Handler(Looper.
getMainLooper
());
HandlerTest.java
40
private final Handler mHandler = new Handler(Looper.
getMainLooper
());
41
private final MockHandler mHandler1 = new MockHandler(Looper.
getMainLooper
());
66
new Handler(Looper.
getMainLooper
());
67
new Handler(Looper.
getMainLooper
(), cb);
174
Looper looper = Looper.
getMainLooper
();
292
Handler handler = new Handler(Looper.
getMainLooper
());
303
Handler handler = new Handler(Looper.
getMainLooper
());
316
Handler handler = new Handler(Looper.
getMainLooper
());
331
Handler handler = new Handler(Looper.
getMainLooper
());
477
super(Looper.
getMainLooper
());
[
all
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
TestCase.java
147
mChannel = mP2pMgr.initialize(mContext, mContext.
getMainLooper
(), null);
148
mSubChannel = mP2pMgr.initialize(mContext, mContext.
getMainLooper
(), null);
/external/chromium_org/base/android/java/src/org/chromium/base/
ThreadUtils.java
37
Looper.
getMainLooper
() + "), cannot set to new looper " + looper);
50
sUiThreadHandler = new Handler(Looper.
getMainLooper
());
PowerMonitor.java
27
private final Handler mHandler = new Handler(Looper.
getMainLooper
());
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/
MockGrantCredentialsPermissionActivity.java
49
Handler handler = new Handler(Looper.
getMainLooper
());
/frameworks/base/core/java/android/bluetooth/le/
BluetoothLeScanner.java
70
mHandler = new Handler(Looper.
getMainLooper
());
327
Handler handler = new Handler(Looper.
getMainLooper
());
339
Handler handler = new Handler(Looper.
getMainLooper
());
360
Handler handler = new Handler(Looper.
getMainLooper
());
/frameworks/base/test-runner/src/android/test/
LoaderTestCase.java
77
final Handler mainThreadHandler = new Handler(Looper.
getMainLooper
()) {
/packages/apps/Browser/src/com/android/browser/
WebViewTimersControl.java
41
if (Looper.myLooper() != Looper.
getMainLooper
()) {
/packages/apps/Dialer/src/com/android/dialer/util/
AsyncTaskExecutors.java
82
Preconditions.checkState(Thread.currentThread() == Looper.
getMainLooper
().getThread(),
/packages/apps/PhoneCommon/src/com/android/phone/common/
CallLogAsync.java
112
if (!Looper.
getMainLooper
().equals(Looper.myLooper())) {
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
TimedMessageWizardFragment.java
75
mTimeoutHandler = new Handler(getActivity().
getMainLooper
()) {
Completed in 1011 milliseconds
1
2
3
4
5
6
7
8
9
10
11