Home
last modified time | relevance | path

Searched defs:receiver (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/
DBroadcastInterceptingContext.java49 public BroadcastInterceptor(BroadcastReceiver receiver, IntentFilter filter) { in BroadcastInterceptor()
96 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
104 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
110 public void unregisterReceiver(BroadcastReceiver receiver) { in unregisterReceiver()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java427 BluetoothReceiver receiver = getBluetoothReceiver(mask); in enable() local
487 BluetoothReceiver receiver = getBluetoothReceiver(mask); in disable() local
555 BluetoothReceiver receiver = getBluetoothReceiver(mask); in discoverable() local
598 BluetoothReceiver receiver = getBluetoothReceiver(mask); in undiscoverable() local
640 BluetoothReceiver receiver = getBluetoothReceiver(mask); in startScan() local
678 BluetoothReceiver receiver = getBluetoothReceiver(mask); in stopScan() local
788 PairReceiver receiver = getPairReceiver(device, passkey, pin, mask); in pairOrAcceptPair() local
850 PairReceiver receiver = getPairReceiver(device, 0, null, mask); in unpair() local
926 ConnectProfileReceiver receiver = getConnectProfileReceiver(device, profile, mask); in connectProfile() local
1007 ConnectProfileReceiver receiver = getConnectProfileReceiver(device, profile, mask); in disconnectProfile() local
[all …]
/frameworks/support/v4/java/android/support/v4/content/
DLocalBroadcastManager.java49 final BroadcastReceiver receiver; field in LocalBroadcastManager.ReceiverRecord
133 public void registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
163 public void unregisterReceiver(BroadcastReceiver receiver) { in unregisterReceiver()
221 ReceiverRecord receiver = entries.get(i); in sendBroadcast() local
/frameworks/base/services/java/com/android/server/am/
DPendingThumbnailsRecord.java29 final IThumbnailReceiver receiver; // who is waiting. field in PendingThumbnailsRecord
DReceiverList.java38 public final IIntentReceiver receiver; field in ReceiverList
DBroadcastQueue.java320 public BroadcastRecord getMatchingOrderedReceiver(IBinder receiver) { in getMatchingOrderedReceiver()
366 private static void performReceiveLocked(ProcessRecord app, IIntentReceiver receiver, in performReceiveLocked()
DBroadcastRecord.java60 IBinder receiver; // who is currently running, null if none. field in BroadcastRecord
/frameworks/base/core/jni/
Dandroid_view_InputEventReceiver.cpp242 sp<NativeInputEventReceiver> receiver = new NativeInputEventReceiver(env, in nativeInit() local
257 sp<NativeInputEventReceiver> receiver = in nativeDispose() local
265 sp<NativeInputEventReceiver> receiver = in nativeFinishInputEvent() local
277 sp<NativeInputEventReceiver> receiver = in nativeConsumeBatchedInputEvents() local
Dandroid_view_DisplayEventReceiver.cpp214 sp<NativeDisplayEventReceiver> receiver = new NativeDisplayEventReceiver(env, in nativeInit() local
229 sp<NativeDisplayEventReceiver> receiver = in nativeDispose() local
236 sp<NativeDisplayEventReceiver> receiver = in nativeScheduleVsync() local
/frameworks/base/core/java/android/webkit/
DJsPromptResult.java42 public JsPromptResult(ResultReceiver receiver) { in JsPromptResult()
DJsResult.java57 public JsResult(ResultReceiver receiver) { in JsResult()
DCallbackProxy.java571 final JsResultReceiver receiver = (JsResultReceiver) msg.obj; in handleMessage() local
608 final JsResultReceiver receiver = (JsResultReceiver) msg.obj; in handleMessage() local
653 final JsResultReceiver receiver = (JsResultReceiver) msg.obj; in handleMessage() local
711 final JsResultReceiver receiver = (JsResultReceiver) msg.obj; in handleMessage() local
758 final JsResultReceiver receiver = (JsResultReceiver) msg.obj; in handleMessage() local
/frameworks/native/services/surfaceflinger/tests/vsync/
Dvsync.cpp22 int receiver(int fd, int events, void* data) in receiver() function
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp28 int receiver(int fd, int events, void* data) in receiver() function
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java85 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
90 public void unregisterReceiver(BroadcastReceiver receiver) { in unregisterReceiver()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java204 public void invokeInstallPackage(Uri packageURI, int flags, GenericReceiver receiver, in invokeInstallPackage()
717 GenericReceiver receiver = new DeleteReceiver(pkg.packageName); in installFromRawResource() local
729 InstallReceiver receiver = new InstallReceiver(pkg.packageName); in installFromRawResource() local
844 GenericReceiver receiver; in sampleReplaceFromRawResource() local
975 public boolean invokeDeletePackage(final String pkgName, int flags, GenericReceiver receiver) in invokeDeletePackage()
1015 GenericReceiver receiver = new DeleteReceiver(ip.pkg.packageName); in deleteFromRawResource() local
1258 SdMountReceiver receiver = new SdMountReceiver(new String[]{ip.pkg.packageName}); in mountFromRawResource() local
1440 GenericReceiver receiver = new ReplaceReceiver(ip.pkg.packageName); in testReplaceFlagInternalSdcard() local
1467 GenericReceiver receiver = new ReplaceReceiver(ip.pkg.packageName); in testReplaceFlagSdcardInternal() local
1493 GenericReceiver receiver = new ReplaceReceiver(ip.pkg.packageName); in testManifestInstallLocationReplaceInternalSdcard() local
[all …]
/frameworks/base/services/java/com/android/server/
DLocationManagerService.java645 Receiver receiver = mReceivers.get(binder); in locationCallbackFinished() local
1027 UpdateRecord(String provider, LocationRequest request, Receiver receiver) { in UpdateRecord()
1082 Receiver receiver = mReceivers.get(binder); in getReceiver() local
1098 Receiver receiver = mReceivers.get(intent); in getReceiver() local
1203 private void requestLocationUpdatesLocked(LocationRequest request, Receiver receiver, in requestLocationUpdatesLocked()
1242 Receiver receiver = checkListenerOrIntent(listener, intent, pid, uid, packageName); in removeUpdates() local
1255 private void removeUpdatesLocked(Receiver receiver) { in removeUpdatesLocked()
1632 Receiver receiver = r.mReceiver; in handleLocationChangedLocked() local
/frameworks/base/core/java/android/view/
DDisplayEventReceiver.java45 private static native int nativeInit(DisplayEventReceiver receiver, in nativeInit()
DInputEventReceiver.java45 private static native int nativeInit(InputEventReceiver receiver, in nativeInit()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerStressTest.java124 MultipleDownloadsCompletedReceiver receiver = registerNewMultipleDownloadsReceiver(); in testDownloadLargeFile() local
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/downloadmanagertests/
DDownloadManagerBaseTest.java203 MultipleDownloadsCompletedReceiver receiver = new MultipleDownloadsCompletedReceiver(); in registerNewMultipleDownloadsReceiver() local
226 WiFiChangedReceiver receiver = new WiFiChangedReceiver(mContext); in setWiFiStateOn() local
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java363 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
368 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
375 public Intent registerReceiverAsUser(BroadcastReceiver receiver, UserHandle user, in registerReceiverAsUser()
381 public void unregisterReceiver(BroadcastReceiver receiver) { in unregisterReceiver()
/frameworks/base/core/java/android/content/
DContextWrapper.java422 BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
428 BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
437 BroadcastReceiver receiver, UserHandle user, IntentFilter filter, in registerReceiverAsUser()
444 public void unregisterReceiver(BroadcastReceiver receiver) { in unregisterReceiver()
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
DNetworkActivity.java81 private NetworkReceiver receiver = new NetworkReceiver(); field in NetworkActivity
/frameworks/av/media/libmedia/
DVisualizer.cpp337 Visualizer::CaptureThread::CaptureThread(Visualizer& receiver, uint32_t captureRate, bool bCanCallJ… in CaptureThread()

12