HomeSort by relevance Sort by last modified time
    Searched refs:Looper (Results 176 - 200 of 928) sorted by null

1 2 3 4 5 6 78 91011>>

  /frameworks/base/packages/SystemUI/src/com/android/systemui/media/
NotificationPlayer.java 26 import android.os.Looper;
61 private Looper mLooper;
67 * be created with a looper running so its event handler is not null.
77 Looper.prepare();
78 mLooper = Looper.myLooper();
128 Looper.loop();
237 // if there are no more sounds to play, end the Looper to listen for media completion
  /frameworks/base/services/core/java/com/android/server/twilight/
TwilightService.java 32 import android.os.Looper;
76 mHandler = new Handler(Looper.getMainLooper(), this);
158 null /* default */, this, Looper.getMainLooper());
164 LocationManager.NETWORK_PROVIDER, this, Looper.getMainLooper());
167 LocationManager.GPS_PROVIDER, this, Looper.getMainLooper());
  /frameworks/base/telephony/java/android/telephony/
PhoneStateListener.java 21 import android.os.Looper;
242 * This class requires Looper.myLooper() not return null.
245 this(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, Looper.myLooper());
250 * using a particular non-null Looper.
253 public PhoneStateListener(Looper looper) {
254 this(SubscriptionManager.DEFAULT_SUBSCRIPTION_ID, looper);
259 * This class requires Looper.myLooper() not return null. To supply your
260 * own non-null Looper use PhoneStateListener(int subId, Looper looper) below
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/util/
NotificationPlayer.java 24 import android.os.Looper;
65 private Looper mLooper;
71 * be created with a looper running so its event handler is not null.
82 Looper.prepare();
83 mLooper = Looper.myLooper();
113 Looper.loop();
225 // if there are no more sounds to play, end the Looper to listen for media completion
  /packages/providers/MediaProvider/src/com/android/providers/media/
MediaScannerService.java 32 import android.os.Looper;
49 private volatile Looper mServiceLooper;
156 Looper.prepare();
158 mServiceLooper = Looper.myLooper();
161 Looper.loop();
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
CrossProfileWidgetPrimaryUserTest.java 27 import android.os.Looper;
70 mResult = new Result(Looper.getMainLooper());
116 public Result(Looper looper) {
117 super(looper);
  /cts/libs/deviceutil/src/android/cts/util/
KeyEventUtil.java 20 import android.os.Looper;
197 if (Looper.myLooper() == Looper.getMainLooper()) {
  /cts/tests/tests/database/src/android/database/cts/
ContentObserverTest.java 24 import android.os.Looper;
50 Looper looper = ht.getLooper(); local
51 Handler handler = new Handler(looper);
69 looper.quit();
94 Looper looper = ht.getLooper(); local
95 Handler handler = new Handler(looper);
115 looper.quit();
  /cts/tests/tests/media/src/android/media/cts/
MidiSoloTest.java 34 import android.os.Looper;
103 midiManager.registerDeviceCallback(callback, new Handler(Looper.getMainLooper()));
104 midiManager.registerDeviceCallback(callback, new Handler(Looper.getMainLooper()));
  /development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
RemoteControlClientCompat.java 21 import android.os.Looper;
112 public RemoteControlClientCompat(PendingIntent pendingIntent, Looper looper) {
119 sRemoteControlClientClass.getConstructor(PendingIntent.class, Looper.class)
120 .newInstance(pendingIntent, looper);
  /external/droiddriver/src/io/appium/droiddriver/util/
InstrumentationUtils.java 22 import android.os.Looper;
121 "Timed out after " + timeoutMillis + " milliseconds waiting for idle on main looper");
145 * example, if the main Looper has exited due to uncaught exception.
190 if (Looper.myLooper() == Looper.getMainLooper()) {
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
PollingAction.java 33 import android.os.Looper;
109 if (Looper.myLooper() == null) {
110 Looper.prepare();
  /frameworks/base/core/java/android/hardware/location/
ContextHubManager.java 22 import android.os.Looper;
40 private final Looper mMainLooper;
349 public ContextHubManager(Context context, Looper mainLooper) {
  /frameworks/base/core/java/android/hardware/radio/
RadioModule.java 23 import android.os.Looper;
101 // find the looper for our new event handler
102 Looper looper; local
104 looper = handler.getLooper();
106 looper = Looper.getMainLooper();
109 // construct the event handler with this looper
110 if (looper != null) {
112 mHandler = new Handler(looper) {
    [all...]
  /frameworks/base/core/tests/coretests/src/android/app/activity/
TestedScreen.java 22 import android.os.Looper;
73 Looper.myLooper().myQueue().addIdleHandler(new Idler());
76 Looper.myLooper().myQueue().addIdleHandler(new Idler());
  /frameworks/base/libs/input/
PointerController.h 30 #include <utils/Looper.h>
91 const sp<Looper>& looper, const sp<SpriteController>& spriteController);
144 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/media/java/android/media/
AudioPortEventHandler.java 20 import android.os.Looper;
54 // find the looper for our new event handler
55 Looper looper = Looper.getMainLooper(); local
57 if (looper != null) {
58 mHandler = new Handler(looper) {
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
TileServicesTests.java 19 import android.os.Looper;
50 mTileService = new TestTileServices(host, Looper.myLooper());
108 public TestTileServices(QSTileHost host, Looper looper) {
109 super(host, looper);
  /frameworks/base/services/core/java/com/android/server/hdmi/
HdmiCecFeatureAction.java 19 import android.os.Looper;
127 public ActionTimerHandler(Looper looper) {
128 super(looper);
155 private ActionTimer createActionTimer(Looper looper) {
156 return new ActionTimerHandler(looper);
  /frameworks/native/services/sensorservice/
SensorService.h 31 #include <utils/Looper.h>
184 sp<Looper> getLooper() const;
191 // Acquire or release wake_lock. If wake_lock is acquired, set the timeout in the looper to 5
192 // seconds and wake the looper.
230 sp<Looper> mLooper;
  /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
FrameworkFacade.java 31 import android.os.Looper;
81 public WifiScanner makeWifiScanner(Context context, Looper looper) {
83 getService(Context.WIFI_SCANNING_SERVICE)), looper);
133 * @param looper current thread looper
143 Context context, Looper looper, WifiNative wifiNative,
148 looper, wifiNative, nmService, countryCode,
SoftApManager.java 28 import android.os.Looper;
70 public SoftApManager(Looper looper,
76 mStateMachine = new SoftApStateMachine(looper);
181 SoftApStateMachine(Looper looper) {
182 super(TAG, looper);
  /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/
ServiceProxy.java 28 import android.os.Looper;
196 if (Looper.myLooper() == Looper.getMainLooper()) {
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/uiflows/
EncryptionController.java 28 import android.os.Looper;
139 if (Looper.myLooper() != Looper.getMainLooper()) {

Completed in 449 milliseconds

1 2 3 4 5 6 78 91011>>