/frameworks/base/libs/androidfw/include/androidfw/ |
DisplayEventDispatcher.h | 36 sp<Looper> mLooper;
|
/frameworks/base/libs/hwui/tests/common/ |
TestContext.h | 66 sp<Looper> mLooper;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
CameraTest.java | 63 private Looper mLooper = null; 93 mLooper = Looper.myLooper(); 110 mLooper.quit(); 116 mLooper.getThread().join();
|
/frameworks/base/native/android/ |
choreographer.cpp | 80 const sp<Looper> mLooper; 104 DisplayEventDispatcher(looper), mLooper(looper), mThreadId(std::this_thread::get_id()) { 122 mLooper->sendMessage(this, m); 128 mLooper->sendMessageDelayed(delay, this, m);
|
/frameworks/base/tests/net/java/com/android/server/connectivity/ |
TetheringTest.java | 111 private final TestLooper mLooper = new TestLooper(); 179 mLooper.getLooper(), mSystemProperties, 290 mLooper.dispatchAll(); 310 mLooper.dispatchAll(); 317 mLooper.dispatchAll(); 324 mLooper.dispatchAll(); 351 mLooper.dispatchAll(); 376 mLooper.dispatchAll(); 411 mLooper.dispatchAll(); 422 mLooper.dispatchAll() [all...] |
/frameworks/native/libs/sensor/ |
SensorEventQueue.cpp | 85 if (mLooper == 0) { 86 mLooper = new Looper(true); 87 mLooper->addFd(getFd(), getFd(), ALOOPER_EVENT_INPUT, NULL, NULL); 89 return mLooper;
|
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
ConnectionDetector.h | 78 sp<Looper> mLooper;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
RttServiceTest.java | 68 TestLooper mLooper; 83 mLooper = new TestLooper(); 89 mRttServiceImpl = new RttService.RttServiceImpl(mContext, mLooper.getLooper(), 109 channel.connect(mLooper.getLooper(), mRttServiceImpl.getMessenger(null, new int[1]), 111 mLooper.dispatchAll(); 132 mLooper.dispatchAll(); 168 mLooper.dispatchAll(); 180 mLooper.dispatchAll();
|
WifiServiceImplTest.java | 124 private TestLooper mLooper; 194 Handler handler = new Handler(mLooper.getLooper()) { 232 mLooper = new TestLooper(); 233 mHandler = spy(new Handler(mLooper.getLooper())); 244 when(mHandlerThread.getLooper()).thenReturn(mLooper.getLooper()); 275 mLooper.getLooper(), "mockWlan"); 290 mLooper.dispatchAll(); [all...] |
/frameworks/base/lowpan/java/android/net/lowpan/ |
LowpanManager.java | 65 private final Looper mLooper; 90 mLooper = null; 107 mLooper = looper; 124 iface = new LowpanInterface(mContext, ifaceService, mLooper); 238 } else if (mLooper != null) { 239 mHandler = new Handler(mLooper);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
WificondPnoScannerTest.java | 59 TestLooper mLooper; 69 mLooper = new TestLooper(); 130 assertEquals("dispatch message after alarm", 1, mLooper.dispatchAll()); 199 assertEquals("dispatch message after alarm", 1, mLooper.dispatchAll()); 208 assertEquals("dispatch message after alarm", 1, mLooper.dispatchAll()); 235 mLooper.dispatchAll(); 243 mLooper.dispatchAll(); 289 mLooper.dispatchAll(); 323 mLooper.dispatchAll(); 348 mLooper.getLooper(), mClock) [all...] |
/frameworks/native/services/sensorservice/hidl/ |
SensorManager.cpp | 49 : mLooper(new Looper(false /*allowNonCallbacks*/)), mStopThread(true), mJavaVm(vm) { 57 if (mLooper != nullptr) { 58 mLooper->wake(); 143 std::thread pollThread{[&stopThread = mStopThread, looper = mLooper, javaVm = mJavaVm] { 192 return mLooper;
|
/frameworks/av/media/libstagefright/foundation/ |
ALooper.cpp | 39 mLooper(looper), 50 return mLooper->loop(); 61 ALooper *mLooper;
|
ALooperRoster.cpp | 46 info.mLooper = looper; 86 sp<ALooper> looper = info.mLooper.promote(); 139 sp<ALooper> looper = info.mLooper.promote();
|
/frameworks/base/telephony/java/android/telephony/ |
TelephonyScanManager.java | 92 private final Looper mLooper; 99 mLooper = thread.getLooper(); 100 mMessenger = new Messenger(new Handler(mLooper) {
|
/frameworks/av/media/ndk/ |
NdkMediaCodec.cpp | 84 sp<ALooper> mLooper; 160 mData->mLooper = new ALooper; 161 mData->mLooper->setName("NDK MediaCodec_looper"); 162 size_t res = mData->mLooper->start( 172 mData->mCodec = android::MediaCodec::CreateByType(mData->mLooper, name, encoder); 174 mData->mCodec = android::MediaCodec::CreateByComponentName(mData->mLooper, name); 181 mData->mLooper->registerHandler(mData->mHandler); 212 if (mData->mLooper != NULL) { 214 mData->mLooper->unregisterHandler(mData->mHandler->id()); 216 mData->mLooper->stop() [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
BassBoostTest.java | 358 mLooper = Looper.myLooper(); 420 if (mLooper != null) { 421 mLooper.quit(); 422 mLooper = null;
|
PresetReverbTest.java | 319 mLooper = Looper.myLooper(); 380 if (mLooper != null) { 381 mLooper.quit(); 382 mLooper = null;
|
/cts/tests/tests/os/src/android/os/cts/ |
LooperTest.java | 36 private Looper mLooper = null; 169 mLooper = Looper.myLooper(); 179 assertSame(t, mLooper.getThread()); 185 mLooper.quit();
|
MessengerTest.java | 204 private Looper mLooper; 272 mLooper.quit(); 283 return mLooper; 309 mLooper = getLooper();
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
AMessage.h | 35 : mLooper(looper), 42 wp<ALooper> mLooper; 47 return mLooper.promote(); 198 wp<ALooper> mLooper;
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
MPEG2TSWriter.h | 61 sp<ALooper> mLooper;
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
FusionEngine.java | 52 private final Looper mLooper; 54 // all fields are only used on mLooper thread. except for in dump() which is not thread-safe 72 mLooper = looper; 88 * Called on mLooper thread 96 /** Called on mLooper thread */ 104 /** Called on mLooper thread */ 112 /** Called on mLooper thread */ 138 mLocationManager.requestLocationUpdates(name, minTime, 0, this, mLooper); 141 mLocationManager.requestLocationUpdates(name, minTime, 0, this, mLooper); 261 /** Called on mLooper thread * [all...] |
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
ASensorEventQueue.h | 64 ALooper *mLooper;
|
/frameworks/layoutlib/bridge/src/android/os/ |
HandlerThread_Delegate.java | 72 theThread.mLooper = Looper.myLooper();
|