Searched defs:registerReceiver (Results 1 - 17 of 17) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DBroadcastInterceptingContext.java98 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { method in class:BroadcastInterceptingContext
106 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, method in class:BroadcastInterceptingContext
108 return registerReceiver(receiver, filter);
/frameworks/support/core-utils/java/android/support/v4/content/
H A DLocalBroadcastManager.java133 public void registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { method in class:LocalBroadcastManager
161 * @see #registerReceiver
198 * @see #registerReceiver
/frameworks/base/core/java/android/widget/
H A DTextClock.java524 registerReceiver();
551 private void registerReceiver() { method in class:TextClock
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBatteryControllerImpl.java63 registerReceiver();
67 private void registerReceiver() { method in class:BatteryControllerImpl
73 mContext.registerReceiver(this, filter);
207 registerReceiver();
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java87 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { method in class:IsolatedContext
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java395 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { method in class:AccountManagerServiceTest.MyMockContext
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DDpmMockContext.java586 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { method in class:DpmMockContext
587 return spiedContext.registerReceiver(receiver, filter);
591 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, method in class:DpmMockContext
593 return spiedContext.registerReceiver(receiver, filter, broadcastPermission, scheduler);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java478 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { method in class:MockContext
483 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, method in class:MockContext
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DContextFixture.java262 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { method in class:ContextFixture.FakeContext
263 return registerReceiver(receiver, filter, null, null);
267 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, method in class:ContextFixture.FakeContext
/frameworks/base/core/java/android/app/
H A DContextImpl.java92 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { method in class:ReceiverRestrictedContext
93 return registerReceiver(receiver, filter, null, null);
97 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, method in class:ReceiverRestrictedContext
102 return super.registerReceiver(null, filter, broadcastPermission, scheduler);
1275 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { method in class:ContextImpl
1276 return registerReceiver(receiver, filter, null, null);
1280 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, method in class:ContextImpl
1314 final Intent intent = ActivityManagerNative.getDefault().registerReceiver(
H A DActivityManagerNative.java455 Intent intent = registerReceiver(app, packageName, rec, filter, perm, userId);
3479 public Intent registerReceiver(IApplicationThread caller, String packageName, method in class:ActivityManagerProxy
H A DIActivityManager.java108 public Intent registerReceiver(IApplicationThread caller, String callerPackage, method in interface:IActivityManager
/frameworks/base/core/java/android/content/
H A DContextWrapper.java584 public Intent registerReceiver( method in class:ContextWrapper
586 return mBase.registerReceiver(receiver, filter);
590 public Intent registerReceiver( method in class:ContextWrapper
593 return mBase.registerReceiver(receiver, filter, broadcastPermission,
H A DContext.java414 * {@link #registerReceiver(BroadcastReceiver, IntentFilter)}:
1775 * @see #registerReceiver
1801 * @see #registerReceiver
1827 * @see #registerReceiver
1857 * @see #registerReceiver
1892 * @see #registerReceiver
1936 * @see #registerReceiver
1983 * @see #registerReceiver
2117 * value of {@link #registerReceiver(BroadcastReceiver, IntentFilter)}. In
2184 * @see #registerReceiver
2358 public abstract Intent registerReceiver(@Nullable BroadcastReceiver receiver, method in class:Context
2393 public abstract Intent registerReceiver(BroadcastReceiver receiver, method in class:Context
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A DApplicationsState.java185 mPackageIntentReceiver.registerReceiver();
1029 void registerReceiver() { method in class:ApplicationsState.PackageIntentReceiver
1034 mContext.registerReceiver(this, filter);
1039 mContext.registerReceiver(this, sdFilter);
1044 mContext.registerReceiver(this, userFilter);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java1518 public Intent registerReceiver(BroadcastReceiver arg0, IntentFilter arg1) { method in class:BridgeContext
1524 public Intent registerReceiver(BroadcastReceiver arg0, IntentFilter arg1, method in class:BridgeContext
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java6788 mContext.registerReceiver(new BroadcastReceiver() {
6808 mContext.registerReceiver(new BroadcastReceiver() {
17493 public Intent registerReceiver(IApplicationThread caller, String callerPackage, method in class:ActivityManagerService
17495 enforceNotIsolatedCaller("registerReceiver");
17524 ALLOW_FULL_ONLY, "registerReceiver", callerPackage);

Completed in 403 milliseconds