/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
H A D | PluginInstanceManager.java | 68 boolean allowMultiple, Looper looper, VersionInfo version, PluginManagerImpl manager) { 69 this(context, context.getPackageManager(), action, listener, allowMultiple, looper, version, 75 PluginListener<T> listener, boolean allowMultiple, Looper looper, VersionInfo version, 78 mPluginHandler = new PluginHandler(looper); 174 public MainHandler(Looper looper) { argument 175 super(looper); 215 public PluginHandler(Looper looper) { argument 216 super(looper); 67 PluginInstanceManager(Context context, String action, PluginListener<T> listener, boolean allowMultiple, Looper looper, VersionInfo version, PluginManagerImpl manager) argument 74 PluginInstanceManager(Context context, PackageManager pm, String action, PluginListener<T> listener, boolean allowMultiple, Looper looper, VersionInfo version, PluginManagerImpl manager, boolean debuggable) argument
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
H A D | ASensorEventQueue.cpp | 33 ALooper *looper, int ident, ALooper_callbackFunc callback, void *data) 34 : mLooper(looper), 32 ASensorEventQueue( ALooper *looper, int ident, ALooper_callbackFunc callback, void *data) argument
|
H A D | ALooper.cpp | 22 #include <android/looper.h>
|
H A D | ASensorManager.h | 41 ALooper *looper,
|
/frameworks/native/services/sensorservice/ |
H A D | SensorEventConnection.h | 115 // Add or remove the file descriptor associated with the BitTube to the looper. If mDead is set 119 // connection. FDs are added to the looper when wake-up sensors are registered (to poll for 122 void updateLooperRegistration(const sp<Looper>& looper); void 123 updateLooperRegistrationLocked(const sp<Looper>& looper);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | HalWifiScannerImpl.java | 45 Looper looper, Clock clock) { 50 looper, clock); 44 HalWifiScannerImpl(Context context, WifiNative wifiNative, WifiMonitor wifiMonitor, Looper looper, Clock clock) argument
|
/frameworks/base/location/java/android/location/ |
H A D | LocationManager.java | 229 ListenerTransport(LocationListener listener, Looper looper) { argument 232 if (looper == null) { 240 mListenerHandler = new Handler(looper) { 474 * the specified looper thread. 485 * @param looper a Looper object whose message queue will be used to 495 LocationListener listener, Looper looper) { 501 requestLocationUpdates(request, listener, looper, null); 506 * on the specified looper thread. 518 * @param looper a Looper object whose message queue will be used to 528 LocationListener listener, Looper looper) { 494 requestLocationUpdates(String provider, long minTime, float minDistance, LocationListener listener, Looper looper) argument 527 requestLocationUpdates(long minTime, float minDistance, Criteria criteria, LocationListener listener, Looper looper) argument 687 requestSingleUpdate(String provider, LocationListener listener, Looper looper) argument 717 requestSingleUpdate(Criteria criteria, LocationListener listener, Looper looper) argument 832 requestLocationUpdates(LocationRequest request, LocationListener listener, Looper looper) argument 866 wrapListener(LocationListener listener, Looper looper) argument 878 requestLocationUpdates(LocationRequest request, LocationListener listener, Looper looper, PendingIntent intent) argument [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | HalDeviceManager.java | 101 * @param looper Looper on which to dispatch listener. Null implies current looper. 103 public void registerStatusListener(ManagerStatusListener listener, Looper looper) { argument 106 looper == null ? Looper.myLooper() : looper))) { 195 * @param looper The looper on which to dispatch the listener. A null value indicates the 200 Looper looper) { 201 return (IWifiStaIface) createIface(IfaceType.STA, destroyedListener, looper); 208 Looper looper) { 199 createStaIface(InterfaceDestroyedListener destroyedListener, Looper looper) argument 207 createApIface(InterfaceDestroyedListener destroyedListener, Looper looper) argument 215 createP2pIface(InterfaceDestroyedListener destroyedListener, Looper looper) argument 223 createNanIface(InterfaceDestroyedListener destroyedListener, Looper looper) argument 267 registerDestroyedListener(IWifiIface iface, InterfaceDestroyedListener destroyedListener, Looper looper) argument 304 registerInterfaceAvailableForRequestListener(int ifaceType, InterfaceAvailableForRequestListener listener, Looper looper) argument 1188 ManagerStatusListenerProxy(ManagerStatusListener statusListener, Looper looper) argument 1250 createIface(int ifaceType, InterfaceDestroyedListener destroyedListener, Looper looper) argument 1280 createIfaceIfPossible(WifiChipInfo[] chipInfos, int ifaceType, InterfaceDestroyedListener destroyedListener, Looper looper) argument 1850 ListenerProxy(LISTENER listener, Looper looper, String tag) argument 1873 InterfaceDestroyedListenerProxy(InterfaceDestroyedListener destroyedListener, Looper looper) argument 1886 InterfaceAvailableForRequestListenerProxy( InterfaceAvailableForRequestListener destroyedListener, Looper looper) argument [all...] |
H A D | WifiTrafficPoller.java | 76 WifiTrafficPoller(Context context, Looper looper, String iface) { argument 78 mTrafficHandler = new TrafficHandler(looper); 123 public TrafficHandler(Looper looper) { argument 124 super(looper);
|
/frameworks/av/cmds/stagefright/ |
H A D | recordvideo.cpp | 302 sp<ALooper> looper = new ALooper; local 303 looper->setName("recordvideo"); 304 looper->start(); 308 looper, enc_meta, source, NULL /* consumer */,
|
H A D | codec.cpp | 71 const android::sp<android::ALooper> &looper, 124 looper, mime.c_str(), false /* encoder */); 403 sp<ALooper> looper = new ALooper; local 404 looper->start(); 444 looper->registerHandler(player); 453 decode(looper, argv[0], useAudio, useVideo, surface, renderSurface, 461 looper->stop(); 70 decode( const android::sp<android::ALooper> &looper, const char *path, bool useAudio, bool useVideo, const android::sp<android::Surface> &surface, bool renderSurface, bool useTimestamp) argument
|
H A D | record.cpp | 223 MediaCodecSource::Create(looper, format, decoder); 319 sp<ALooper> looper = new ALooper; local 320 looper->setName("record"); 321 looper->start(); 324 MediaCodecSource::Create(looper, encMeta, audioSource);
|
/frameworks/base/core/java/android/content/ |
H A D | AsyncQueryHandler.java | 61 public WorkerHandler(Looper looper) { argument 62 super(looper); 138 protected Handler createHandler(Looper looper) { argument 139 return new WorkerHandler(looper);
|
/frameworks/base/core/java/android/net/ |
H A D | NetworkAgent.java | 208 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, argument 210 this(looper, context, logTag, ni, nc, lp, score, null); 213 public NetworkAgent(Looper looper, Context context, String logTag, NetworkInfo ni, argument 215 super(looper);
|
/frameworks/native/services/sensorservice/hidl/ |
H A D | EventQueue.h | 43 sp<::android::Looper> looper,
|
/frameworks/native/services/surfaceflinger/tests/vsync/ |
H A D | vsync.cpp | 17 #include <android/looper.h>
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | HandlerCaller.java | 31 MyHandler(Looper looper, boolean async) { argument 32 super(looper, null, async); 45 public HandlerCaller(Context context, Looper looper, Callback callback, argument 47 mMainLooper = looper != null ? looper : context.getMainLooper(); 91 throw new IllegalStateException("Can't wait on same thread as looper");
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | TelephonyNetworkFactory.java | 71 Looper looper, Context context, int phoneId, DcTracker dcTracker) { 72 super(looper, context, "TelephonyNetworkFactory[" + phoneId + "]", null); 73 mInternalHandler = new InternalHandler(looper); 126 public InternalHandler(Looper looper) { argument 127 super(looper); 69 TelephonyNetworkFactory(PhoneSwitcher phoneSwitcher, SubscriptionController subscriptionController, SubscriptionMonitor subscriptionMonitor, Looper looper, Context context, int phoneId, DcTracker dcTracker) argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | ModelInterpreter.java | 191 Looper looper = mHandlerThread.getLooper(); 192 mSimulatedCallState = new SimulatedGsmCallState(looper); 641 Looper looper = mHandlerThread.getLooper(); 642 if (looper != null) { 643 looper.quit();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | RemotePrintDocument.java | 570 public AsyncCommand(Looper looper, IPrintDocumentAdapter adapter, RemotePrintDocumentInfo document, argument 572 mHandler = new AsyncCommandHandler(looper); 703 AsyncCommandHandler(@NonNull Looper looper) { argument 704 super(looper); 737 public LayoutCommand(Looper looper, IPrintDocumentAdapter adapter, argument 740 super(looper, adapter, document, callback); 741 mHandler = new LayoutHandler(looper); 883 public LayoutHandler(Looper looper) { argument 884 super(looper, null, false); 1014 public WriteCommand(Context context, Looper looper, IPrintDocumentAdapte argument 1181 WriteHandler(Looper looper) argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioTrack.java | 552 // remember which looper is associated with the AudioTrack instantiation 553 Looper looper; 554 if ((looper = Looper.myLooper()) == null) { 555 looper = Looper.getMainLooper(); 585 mInitializationLooper = looper; 633 // remember which looper is associated with the AudioTrack instantiation 634 Looper looper; 635 if ((looper = Looper.myLooper()) == null) { 636 looper = Looper.getMainLooper(); 638 mInitializationLooper = looper; [all...] |
H A D | ImageReader.java | 542 * if the listener should be invoked on the calling thread's looper. 544 * If no handler specified and the calling thread has no looper. 549 Looper looper = handler != null ? handler.getLooper() : Looper.myLooper(); 550 if (looper == null) { 552 "handler is null but the current thread is not a looper"); 554 if (mListenerHandler == null || mListenerHandler.getLooper() != looper) { 555 mListenerHandler = new ListenerHandler(looper); 794 public ListenerHandler(Looper looper) { argument 795 super(looper, null, true /*async*/);
|
/frameworks/av/include/media/stagefright/ |
H A D | MediaCodecSource.h | 43 const sp<ALooper> &looper, 94 const sp<ALooper> &looper,
|
/frameworks/av/media/libstagefright/foundation/ |
H A D | ALooper.cpp | 37 LooperThread(ALooper *looper, bool canCallJava) argument 39 mLooper(looper), 160 // If not running locally and this thread _is_ the looper thread,
|
/frameworks/av/media/libstagefright/foundation/include/ |
H A D | MediaCodecSource.h | 43 const sp<ALooper> &looper, 94 const sp<ALooper> &looper,
|