Home
last modified time | relevance | path

Searched refs:BroadcastReceiver (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DTestUtil.java19 import android.content.BroadcastReceiver;
35 public static void sendNetworkStateChanged(BroadcastReceiver broadcastReceiver, in sendNetworkStateChanged()
47 public static void sendScanResultsAvailable(BroadcastReceiver broadcastReceiver, in sendScanResultsAvailable()
56 public static void sendWifiScanAvailable(BroadcastReceiver broadcastReceiver, in sendWifiScanAvailable()
66 public static void sendWifiStateChanged(BroadcastReceiver broadcastReceiver, in sendWifiStateChanged()
76 public static void sendWifiApStateChanged(BroadcastReceiver broadcastReceiver, in sendWifiApStateChanged()
95 public static void sendTetherStateChanged(BroadcastReceiver broadcastReceiver, in sendTetherStateChanged()
DSupplicantStateTrackerTest.java22 import android.content.BroadcastReceiver;
85 BroadcastReceiver wifiBroadcastReceiver = new BroadcastReceiver() { in testSupplicantStateChangeIntent()
107 BroadcastReceiver wifiBroadcastReceiver = new BroadcastReceiver() { in testAuthPassInSupplicantStateChangeIntent()
133 BroadcastReceiver wifiBroadcastReceiver = new BroadcastReceiver() { in testAuthFailedInSupplicantStateChangeIntent()
160 BroadcastReceiver wifiBroadcastReceiver = new BroadcastReceiver() { in testReasonCodeInSupplicantStateChangeIntent()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DBroadcastTest.java21 import android.content.BroadcastReceiver;
225 private BroadcastReceiver mReceiver = new BroadcastReceiver() {
260 private class TestBroadcastReceiver extends BroadcastReceiver {
385 BroadcastReceiver finish = new BroadcastReceiver() { in testRegisteredReceivePermissionDenied()
412 BroadcastReceiver finish = new BroadcastReceiver() { in testRegisteredBroadcastPermissionDenied()
434 BroadcastReceiver finish = new BroadcastReceiver() { in testLocalReceivePermissionDenied()
458 BroadcastReceiver finish = new BroadcastReceiver() { in testLocalBroadcastPermissionDenied()
480 BroadcastReceiver finish = new BroadcastReceiver() { in testRemoteReceivePermissionDenied()
504 BroadcastReceiver finish = new BroadcastReceiver() { in testRemoteBroadcastPermissionDenied()
DResultReceiver.java21 import android.content.BroadcastReceiver;
28 public class ResultReceiver extends BroadcastReceiver
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBroadcastInterceptingContext.java19 import android.content.BroadcastReceiver;
63 private final BroadcastReceiver mReceiver;
66 public BroadcastInterceptor(BroadcastReceiver receiver, IntentFilter filter) { in BroadcastInterceptor()
128 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
136 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
142 public void unregisterReceiver(BroadcastReceiver receiver) { in unregisterReceiver()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java28 import android.content.BroadcastReceiver;
376BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendOrderedBroadcast()
385 …Bundle options, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initi… in sendOrderedBroadcast()
393BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendOrderedBroadcast()
426 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser()
434 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
442 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
454BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, in sendStickyOrderedBroadcast()
477 UserHandle user, BroadcastReceiver resultReceiver, in sendStickyOrderedBroadcastAsUser()
489 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java32 import android.content.BroadcastReceiver;
268 public void unregisterReceiver(BroadcastReceiver receiver) { in unregisterReceiver()
272 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
277 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver()
283 public Intent registerReceiverAsUser(BroadcastReceiver receiver, UserHandle user, in registerReceiverAsUser()
302 for (BroadcastReceiver broadcastReceiver : in sendBroadcast()
323 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast()
335 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast()
343 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast()
368 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java25 import android.content.BroadcastReceiver;
335 public final BroadcastReceiver receiver;
342 public BroadcastReceiverRegistration(BroadcastReceiver receiver, IntentFilter filter, in BroadcastReceiverRegistration()
350 final BroadcastReceiver.PendingResult result = new BroadcastReceiver.PendingResult( in sendBroadcastIfApplicable()
666 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast()
674 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast()
683 BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast()
715 String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, in sendOrderedBroadcastAsUser()
724 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
733 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DDcTesterDeactivateAll.java19 import android.content.BroadcastReceiver;
47 protected BroadcastReceiver sIntentReceiver = new BroadcastReceiver() {
/frameworks/base/packages/InputDevices/src/com/android/inputdevices/
DInputDeviceReceiver.java19 import android.content.BroadcastReceiver;
23 public class InputDeviceReceiver extends BroadcastReceiver {
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DReceiver.java19 import android.content.BroadcastReceiver;
26 public class Receiver extends BroadcastReceiver {
/frameworks/base/core/tests/coretests/EnabledTestApp/src/com/android/frameworks/coretests/enabled_app/
DDisabledReceiver.java19 import android.content.BroadcastReceiver;
27 public class DisabledReceiver extends BroadcastReceiver {
DEnabledReceiver.java19 import android.content.BroadcastReceiver;
27 public class EnabledReceiver extends BroadcastReceiver {
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DDummyAppWidget.java19 import android.content.BroadcastReceiver;
26 public class DummyAppWidget extends BroadcastReceiver {
/frameworks/base/tests/SharedLibrary/client/src/com/google/android/test/lib_client/
DDependentAppwidgetProvider.java19 import android.content.BroadcastReceiver;
23 public class DependentAppwidgetProvider extends BroadcastReceiver {
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DActionSendMultipleConsumerActivity.java24 import android.content.BroadcastReceiver;
93 BroadcastReceiver receiver = new BroadcastReceiver() { in CustomActionSendMultipleListener()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DStartEmpty.java19 import android.content.BroadcastReceiver;
24 public class StartEmpty extends BroadcastReceiver {
DAlarmSpamReceiver.java19 import android.content.BroadcastReceiver;
26 public class AlarmSpamReceiver extends BroadcastReceiver {
DSingleUserReceiver.java19 import android.content.BroadcastReceiver;
26 public class SingleUserReceiver extends BroadcastReceiver {
/frameworks/base/services/core/java/com/android/server/
DBrickReceiver.java21 import android.content.BroadcastReceiver;
25 public class BrickReceiver extends BroadcastReceiver {
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
DWakeUpCall.java19 import android.content.BroadcastReceiver;
27 public class WakeUpCall extends BroadcastReceiver {
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportReceiver.java27 import android.content.BroadcastReceiver;
39 public class BugreportReceiver extends BroadcastReceiver {
64 static void cleanupOldFiles(BroadcastReceiver br, Intent intent, String expectedAction, in cleanupOldFiles()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcutsReceiver.java18 import android.content.BroadcastReceiver;
25 public class KeyboardShortcutsReceiver extends BroadcastReceiver {
/frameworks/support/core-utils/java/android/support/v4/content/
DLocalBroadcastManager.java23 import android.content.BroadcastReceiver;
49 final BroadcastReceiver receiver;
53 ReceiverRecord(IntentFilter _filter, BroadcastReceiver _receiver) { in ReceiverRecord()
88 private final HashMap<BroadcastReceiver, ArrayList<ReceiverRecord>> mReceivers
135 public void registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver()
165 public void unregisterReceiver(BroadcastReceiver receiver) { in unregisterReceiver()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DMountReceiver.java19 import android.content.BroadcastReceiver;
24 public class MountReceiver extends BroadcastReceiver {

12345678910>>...16