Home
last modified time | relevance | path

Searched defs:receiver (Results 1 – 25 of 37) 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
DBroadcastRecord.java59 IBinder receiver; // who is currently running, null if none. field in BroadcastRecord
/frameworks/base/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.java173 public boolean invokeInstallPackage(Uri packageURI, int flags, GenericReceiver receiver) { in invokeInstallPackage()
576 GenericReceiver receiver = new DeleteReceiver(pkg.packageName); in installFromRawResource() local
590 InstallReceiver receiver = new InstallReceiver(pkg.packageName); in installFromRawResource() local
700 GenericReceiver receiver; in sampleReplaceFromRawResource() local
807 GenericReceiver receiver) throws Exception { in invokeDeletePackage()
844 GenericReceiver receiver = new DeleteReceiver(ip.pkg.packageName); in deleteFromRawResource() local
1086 SdMountReceiver receiver = new SdMountReceiver(new String[]{ip.pkg.packageName}); in mountFromRawResource() local
1244 GenericReceiver receiver = new ReplaceReceiver(ip.pkg.packageName); in testReplaceFlagInternalSdcard() local
1271 GenericReceiver receiver = new ReplaceReceiver(ip.pkg.packageName); in testReplaceFlagSdcardInternal() local
1297 GenericReceiver receiver = new ReplaceReceiver(ip.pkg.packageName); in testManifestInstallLocationReplaceInternalSdcard() local
[all …]
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerStressTest.java125 MultipleDownloadsCompletedReceiver receiver = registerNewMultipleDownloadsReceiver(); in testDownloadLargeFile() local
DDownloadManagerBaseTest.java470 MultipleDownloadsCompletedReceiver receiver = new MultipleDownloadsCompletedReceiver(); in registerNewMultipleDownloadsReceiver() local
523 WiFiChangedReceiver receiver = new WiFiChangedReceiver(mContext); in setWiFiStateOn() local
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java107 final BroadcastReceiver receiver = new BroadcastReceiver() { in RegisteredServicesCache() local
223 final BroadcastReceiver receiver = mReceiver.getAndSet(null); in close() local
/frameworks/base/core/tests/hosttests/src/android/content/pm/
DPackageManagerHostTestUtils.java256 InstallReceiver receiver = new InstallReceiver(); in installFileForwardLocked() local
475 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in executeShellCommand() local
521 CollectingOutputReceiver receiver = new CollectingOutputReceiver(); in rebootDevice() local
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java306 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
311 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
317 public void unregisterReceiver(BroadcastReceiver receiver) { in unregisterReceiver()
/frameworks/base/services/java/com/android/server/
DLocationManagerService.java420 Receiver receiver = mReceivers.get(binder); in locationCallbackFinished() local
993 Receiver receiver, int uid) { in UpdateRecord()
1045 Receiver receiver = mReceivers.get(binder); in getReceiver() local
1063 Receiver receiver = mReceivers.get(intent); in getReceiver() local
1153 boolean singleShot, Receiver receiver) { in requestLocationUpdatesLocked()
1228 private void removeUpdatesLocked(Receiver receiver) { in removeUpdatesLocked()
1796 Receiver receiver = r.mReceiver; in handleLocationChangedLocked() local
/frameworks/base/core/java/android/content/
DContextWrapper.java340 BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
346 BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
353 public void unregisterReceiver(BroadcastReceiver receiver) { in unregisterReceiver()
DContext.java1126 public abstract Intent registerReceiver(BroadcastReceiver receiver, in registerReceiver()
1160 public abstract Intent registerReceiver(BroadcastReceiver receiver, in registerReceiver()
1174 public abstract void unregisterReceiver(BroadcastReceiver receiver); in unregisterReceiver()
/frameworks/base/media/libmedia/
DVisualizer.cpp299 Visualizer::CaptureThread::CaptureThread(Visualizer& receiver, uint32_t captureRate, bool bCanCallJ… in CaptureThread()
DAudioRecord.cpp817 AudioRecord::ClientRecordThread::ClientRecordThread(AudioRecord& receiver, bool bCanCallJava) in ClientRecordThread()
/frameworks/base/core/java/android/app/
DContextImpl.java109 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
114 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
1023 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
1028 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
1034 private Intent registerReceiverInternal(BroadcastReceiver receiver, in registerReceiverInternal()
1064 public void unregisterReceiver(BroadcastReceiver receiver) { in unregisterReceiver()
DLoadedApk.java699 final BroadcastReceiver receiver = mReceiver; in run() local
749 ReceiverDispatcher(BroadcastReceiver receiver, Context context, in ReceiverDispatcher()
DApplicationThreadNative.java357 IIntentReceiver receiver = IIntentReceiver.Stub.asInterface( in onTransact() local
934 public void scheduleRegisteredReceiver(IIntentReceiver receiver, Intent intent, in scheduleRegisteredReceiver()
/frameworks/base/core/tests/hosttests/test-apps/DownloadManagerTestApp/src/com/android/frameworks/
DDownloadManagerBaseTest.java405 MultipleDownloadsCompletedReceiver receiver = new MultipleDownloadsCompletedReceiver(); in registerNewMultipleDownloadsReceiver() local
428 WiFiChangedReceiver receiver = new WiFiChangedReceiver(mContext); in setWiFiStateOn() local
DDownloadManagerTestApp.java492 MultipleDownloadsCompletedReceiver receiver = registerNewMultipleDownloadsReceiver(); in runDownloadMultipleSimultaneously() local
/frameworks/base/core/java/android/app/admin/
DDeviceAdminInfo.java218 public DeviceAdminInfo(Context context, ResolveInfo receiver) in DeviceAdminInfo()

12