/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | NewOutgoingCallIntentBroadcasterTest.java | 60 public BroadcastReceiver receiver; field in NewOutgoingCallIntentBroadcasterTest.ReceiverIntentPair 63 public ReceiverIntentPair(BroadcastReceiver receiver, Intent intent) { in ReceiverIntentPair() argument 64 this.receiver = receiver; in ReceiverIntentPair() 136 result.receiver.setResultData( in testAlreadyDisconnectedCall() 139 result.receiver.onReceive(mContext, result.intent); in testAlreadyDisconnectedCall() 248 BroadcastReceiver receiver = verifyBroadcastSent(handle.getSchemeSpecificPart(), in emergencyCallTestHelper() local 249 expectedExtras).receiver; in emergencyCallTestHelper() 250 assertNull(receiver); in emergencyCallTestHelper() 259 result.receiver.setResultData( in testUnmodifiedRegularCall() 262 result.receiver.onReceive(mContext, result.intent); in testUnmodifiedRegularCall() [all …]
|
D | SystemStateProviderTest.java | 99 ArgumentCaptor<BroadcastReceiver> receiver = in testOnEnterExitCarMode() local 103 verify(mContext).registerReceiver(receiver.capture(), any(IntentFilter.class)); in testOnEnterExitCarMode() 106 receiver.getValue().onReceive(mContext, mIntentEnter); in testOnEnterExitCarMode() 110 receiver.getValue().onReceive(mContext, mIntentExit); in testOnEnterExitCarMode() 113 receiver.getValue().onReceive(mContext, new Intent("invalid action")); in testOnEnterExitCarMode()
|
D | ComponentContextFixture.java | 250 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter) { in registerReceiver() argument 256 public Intent registerReceiver(BroadcastReceiver receiver, IntentFilter filter, in registerReceiver() argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | CompatUtils.java | 93 public static Object invoke(final Object receiver, final Object defaultValue, in invoke() argument 99 return method.invoke(receiver, args); in invoke() 107 public static Object getFieldValue(final Object receiver, final Object defaultValue, in getFieldValue() argument 113 return field.get(receiver); in getFieldValue() 120 public static void setFieldValue(final Object receiver, final Field field, final Object value) { in setFieldValue() argument 125 field.set(receiver, value); in setFieldValue() 178 public T invoke(final Object receiver, final Object... args) { in invoke() argument 179 return (T) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke() 190 public int invoke(final Object receiver, final Object... args) { in invoke() argument 191 return (int) CompatUtils.invoke(receiver, mDefaultValue, mMethod, args); in invoke() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | RegisteredComponentCache.java | 63 final BroadcastReceiver receiver = new BroadcastReceiver() { in RegisteredComponentCache() local 69 mReceiver = new AtomicReference<BroadcastReceiver>(receiver); in RegisteredComponentCache() 75 mContext.registerReceiverAsUser(receiver, UserHandle.ALL, intentFilter, null, null); in RegisteredComponentCache() 80 mContext.registerReceiverAsUser(receiver, UserHandle.ALL, sdFilter, null, null); in RegisteredComponentCache() 84 mContext.registerReceiverAsUser(receiver, UserHandle.ALL, userFilter, null, null); in RegisteredComponentCache() 125 final BroadcastReceiver receiver = mReceiver.getAndSet(null); in close() local 126 if (receiver != null) { in close() 127 mContext.unregisterReceiver(receiver); in close()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | PermissionsUtil.java | 94 public static void registerPermissionReceiver(Context context, BroadcastReceiver receiver, in registerPermissionReceiver() argument 97 LocalBroadcastManager.getInstance(context).registerReceiver(receiver, filter); in registerPermissionReceiver() 100 public static void unregisterPermissionReceiver(Context context, BroadcastReceiver receiver) { in unregisterPermissionReceiver() argument 101 LocalBroadcastManager.getInstance(context).unregisterReceiver(receiver); in unregisterPermissionReceiver()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | SuggestionsProviderImpl.java | 66 Consumer<SourceResult> receiver; in getSuggestions() local 68 receiver = new SuggestionCursorReceiver(suggestions); in getSuggestions() 70 receiver = new NoOpConsumer<SourceResult>(); in getSuggestions() 76 mPublishThread, receiver); in getSuggestions()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | SummaryLoader.java | 156 public void registerReceiver(final BroadcastReceiver receiver, final IntentFilter filter) { in registerReceiver() argument 163 mReceivers.add(receiver); in registerReceiver() 164 mActivity.registerReceiver(receiver, filter); in registerReceiver()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | PublicApiFunctionalTest.java | 545 DownloadReceiver receiver = new DownloadReceiver(); in testNotificationClickedBroadcast() local 551 receiver.onReceive(mContext, intent); in testNotificationClickedBroadcast() 562 DownloadReceiver receiver = new DownloadReceiver(); in testNotificationCancelDownloadClicked() local 570 receiver.onReceive(mContext, intent); in testNotificationCancelDownloadClicked()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCache.java | 120 final BroadcastReceiver receiver = new BroadcastReceiver() { in RegisteredServicesCache() local 143 mReceiver = new AtomicReference<BroadcastReceiver>(receiver); in RegisteredServicesCache()
|
D | RegisteredNfcFServicesCache.java | 126 final BroadcastReceiver receiver = new BroadcastReceiver() { in RegisteredNfcFServicesCache() local 150 mReceiver = new AtomicReference<BroadcastReceiver>(receiver); in RegisteredNfcFServicesCache()
|
/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | SmsDeliverReceiver.java | 17 package com.android.messaging.receiver;
|
D | DefaultSmsSubscriptionChangeReceiver.java | 16 package com.android.messaging.receiver;
|
D | StorageStatusReceiver.java | 17 package com.android.messaging.receiver;
|
D | AbortSmsReceiver.java | 17 package com.android.messaging.receiver;
|
D | AbortMmsWapPushReceiver.java | 17 package com.android.messaging.receiver;
|
D | MmsWapPushDeliverReceiver.java | 17 package com.android.messaging.receiver;
|
D | BootAndPackageReplacedReceiver.java | 17 package com.android.messaging.receiver;
|
D | MmsWapPushReceiver.java | 17 package com.android.messaging.receiver;
|
D | NotificationReceiver.java | 16 package com.android.messaging.receiver;
|
D | SendStatusReceiver.java | 17 package com.android.messaging.receiver;
|
/packages/apps/TV/src/com/android/tv/receiver/ |
D | PackageIntentsReceiver.java | 17 package com.android.tv.receiver;
|
D | GlobalKeyReceiver.java | 17 package com.android.tv.receiver;
|
D | BootCompletedReceiver.java | 17 package com.android.tv.receiver;
|
D | AudioCapabilitiesReceiver.java | 16 package com.android.tv.receiver;
|