/cts/tests/tests/os/src/android/os/cts/ |
HandlerTest.java | 22 import android.os.Looper; 40 private final Handler mHandler = new Handler(Looper.getMainLooper()); 41 private final MockHandler mHandler1 = new MockHandler(Looper.getMainLooper()); 59 Looper.prepare(); 66 new Handler(Looper.getMainLooper()); 67 new Handler(Looper.getMainLooper(), cb); 174 Looper looper = Looper.getMainLooper(); local 175 Handler handler = new Handler(looper); [all...] |
/frameworks/base/media/java/android/media/ |
RemoteController.java | 33 import android.os.Looper; 115 * @param looper the {@link Looper} on which to run the event loop, 116 * or null to use the current thread's looper. 119 public RemoteController(Context context, OnClientUpdateListener updateListener, Looper looper) 127 if (looper != null) { 128 mEventHandler = new EventHandler(this, looper); 130 Looper l = Looper.myLooper() [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiController.java | 34 import android.os.Looper; 132 WifiController(Context context, WifiServiceImpl service, Looper looper) { 133 super(TAG, looper); 200 initializeAndRegisterForSettingsChange(looper); 203 private void initializeAndRegisterForSettingsChange(Looper looper) { 204 Handler handler = new Handler(looper);
|
RttService.java | 12 import android.os.Looper; 46 ClientHandler(android.os.Looper looper) { 47 super(looper); 239 RttStateMachine(Looper looper) { 240 super("RttStateMachine", looper);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
Avrcp.java | 37 import android.os.Looper; 174 Looper looper = thread.getLooper(); local 175 mHandler = new AvrcpMessageHandler(looper); 191 Looper looper = mHandler.getLooper(); local 192 if (looper != null) { 193 looper.quit(); 258 private AvrcpMessageHandler(Looper looper) { [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
HealthService.java | 32 import android.os.Looper; 95 Looper looper = thread.getLooper(); local 96 mHandler = new HealthServiceMessageHandler(looper); 105 Looper looper = mHandler.getLooper(); local 106 if (looper != null) { 107 looper.quit(); 147 private HealthServiceMessageHandler(Looper looper) { [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_hdmi_HdmiCecController.cpp | 31 #include <utils/Looper.h> 44 const sp<Looper>& looper); 79 sp<Looper> mLooper; 187 jobject callbacksObj, const sp<Looper>& looper) : 190 mLooper(looper) {
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/ |
looper.py | 7 looper you can get a better sense of the context. Use like:: 9 >>> for loop, item in looper(['a', 'b', 'c']): 21 __all__ = ['looper'] 26 class looper(object): class in inherits:object 32 for loop, item in looper(seq):
|
/frameworks/av/cmds/screenrecord/ |
screenrecord.cpp | 166 sp<ALooper> looper = new ALooper; local 167 looper->setName("screenrecord_looper"); 168 looper->start(); 170 sp<MediaCodec> codec = MediaCodec::CreateByType(looper, kMimeTypeAvc, true); [all...] |
/frameworks/av/media/libstagefright/ |
MediaCodecSource.cpp | 135 // Stop source from caller's thread instead of puller's looper. 137 // looper allows us to at least stop if source gets stuck. 138 // If source gets stuck in read(), the looper would never 263 const sp<ALooper> &looper, 269 new MediaCodecSource(looper, format, source, consumer, flags); 287 // mPuller->stop() needs to be done outside MediaCodecSource's looper, 290 // MediaBuffers are only returned when MediaCodecSource looper gets 334 const sp<ALooper> &looper, 339 : mLooper(looper),
|
/frameworks/base/drm/java/android/drm/ |
DrmManagerClient.java | 27 import android.os.Looper; 130 public EventHandler(Looper looper) { 131 super(looper); 196 public InfoHandler(Looper looper) { 197 super(looper); [all...] |
/frameworks/base/libs/input/ |
PointerController.h | 27 #include <utils/Looper.h> 79 const sp<Looper>& looper, const sp<SpriteController>& spriteController); 131 sp<Looper> mLooper;
|
SpriteController.h | 21 #include <utils/Looper.h> 143 SpriteController(const sp<Looper>& looper, int32_t overlayLayer); 267 sp<Looper> mLooper;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
WifiTracker.java | 29 import android.os.Looper; 94 public WifiTracker(Context context, WifiListener wifiListener, Looper workerLooper, 104 public WifiTracker(Context context, WifiListener wifiListener, Looper workerLooper, 107 (WifiManager) context.getSystemService(Context.WIFI_SERVICE), Looper.myLooper()); 111 WifiTracker(Context context, WifiListener wifiListener, Looper workerLooper, 113 WifiManager wifiManager, Looper currentLooper) { 119 // When we aren't on a looper thread, default to the main. 120 currentLooper = Looper.getMainLooper(); 532 public MainHandler(Looper looper) { [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
AutomaticBrightnessController.java | 30 import android.os.Looper; 196 public AutomaticBrightnessController(Callbacks callbacks, Looper looper, 214 mHandler = new AutomaticBrightnessHandler(looper); 596 public AutomaticBrightnessHandler(Looper looper) { 597 super(looper, null, true /*async*/);
|
/frameworks/base/services/core/java/com/android/server/power/ |
Notifier.java | 38 import android.os.Looper; 128 public Notifier(Looper looper, Context context, IBatteryStats batteryStats, 140 mHandler = new NotifierHandler(looper); 665 public NotifierHandler(Looper looper) { 666 super(looper, null, true /*async*/);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pManager.java | 32 import android.os.Looper; 665 Channel(Context context, Looper looper, ChannelListener l) { 667 mHandler = new P2pHandler(looper); 685 P2pHandler(Looper looper) { 686 super(looper); [all...] |
/system/core/include/utils/ |
Looper.h | 30 * NOTE: Since Looper is used to implement the NDK ALooper, the Looper 43 * to have this file descriptor and callback unregistered from the looper. 48 * A message that can be posted to a Looper. 60 * Interface for a Looper message handler. 62 * The Looper holds a strong reference to the message handler whenever it has 63 * a message to deliver to it. Make sure to call Looper::removeMessages 96 * A looper callback. 110 * to have this file descriptor and callback unregistered from the looper. 134 * A looper can be associated with a thread although there is no requirement that it must be [all...] |
/external/toybox/toys/pending/ |
fdisk.c | 573 int sys_id, looper = 0; local 589 for (looper = 4; looper < num_parts; looper++) { 590 pe = &partitions[looper]; 625 if (i == 4) looper = i+2; 626 else if (i > 4) looper = i+1; 627 for (; looper < num_parts; looper++) 628 partitions[looper-1] = partitions[looper] [all...] |
/development/ndk/platforms/android-13/include/android/ |
input.h | 46 #include <android/looper.h> 761 * Add this input queue to a looper for processing. See 764 void AInputQueue_attachLooper(AInputQueue* queue, ALooper* looper, 768 * Remove the input queue from the looper it is currently attached to. [all...] |
/development/ndk/platforms/android-14/include/android/ |
input.h | 46 #include <android/looper.h> [all...] |
/development/ndk/platforms/android-18/include/android/ |
input.h | 46 #include <android/looper.h> [all...] |
/frameworks/base/core/java/android/accessibilityservice/ |
AccessibilityService.java | 24 import android.os.Looper; 705 public IAccessibilityServiceClientWrapper(Context context, Looper looper, 708 mCaller = new HandlerCaller(context, looper, this, true /*asyncHandler*/); [all...] |
/frameworks/base/core/java/android/net/nsd/ |
NsdManager.java | 24 import android.os.Looper; 297 ServiceHandler(Looper looper) { 298 super(looper);
|
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityManager.java | 28 import android.os.Looper; 683 public MyHandler(Looper looper) { 684 super(looper, null, false);
|