Home
last modified time | relevance | path

Searched refs:receiver (Results 1 – 25 of 34) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java93 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/
DRegisteredComponentCache.java63 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/Camera/src/com/android/camera/
DEffectsRecorder.java1164 private Object invoke(Object receiver, Method method) { in invoke() argument
1166 return method.invoke(receiver); in invoke()
1173 private Object invoke(Object receiver, Method method, Object[] args) { in invoke() argument
1175 return method.invoke(receiver, args); in invoke()
1181 private void setInputValue(Object receiver, String key, Object value) { in setInputValue() argument
1183 sFilterSetInputValue.invoke(receiver, new Object[] {key, value}); in setInputValue()
1205 private Object getGraphFilter(Object receiver, String name) { in getGraphFilter() argument
1208 .invoke(receiver), new Object[] {name}); in getGraphFilter()
1214 private Object getContextGLEnvironment(Object receiver) { in getContextGLEnvironment() argument
1217 .invoke(sGraphEnvironmentGetContext.invoke(receiver)); in getContextGLEnvironment()
[all …]
DPreviewGestures.java234 for (View receiver : mReceivers) { in checkReceivers()
235 if (isInside(m, receiver)) { in checkReceivers()
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DPermissionsUtil.java92 public static void registerPermissionReceiver(Context context, BroadcastReceiver receiver, in registerPermissionReceiver() argument
95 LocalBroadcastManager.getInstance(context).registerReceiver(receiver, filter); in registerPermissionReceiver()
98 public static void unregisterPermissionReceiver(Context context, BroadcastReceiver receiver) { in unregisterPermissionReceiver() argument
99 LocalBroadcastManager.getInstance(context).unregisterReceiver(receiver); in unregisterPermissionReceiver()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSuggestionsProviderImpl.java66 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/applications/
DPermissionsSummaryHelper.java45 BroadcastReceiver receiver = new BroadcastReceiver() { in sendPermissionRequest() local
58 context.registerReceiver(receiver, new IntentFilter(action)); in sendPermissionRequest()
62 return receiver; in sendPermissionRequest()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java541 DownloadReceiver receiver = new DownloadReceiver(); in testNotificationClickedBroadcast() local
542 receiver.mSystemFacade = mSystemFacade; in testNotificationClickedBroadcast()
547 receiver.onReceive(mContext, intent); in testNotificationClickedBroadcast()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java120 final BroadcastReceiver receiver = new BroadcastReceiver() { in RegisteredServicesCache() local
143 mReceiver = new AtomicReference<BroadcastReceiver>(receiver); in RegisteredServicesCache()
/packages/apps/Messaging/src/com/android/messaging/receiver/
DSmsDeliverReceiver.java17 package com.android.messaging.receiver;
DDefaultSmsSubscriptionChangeReceiver.java16 package com.android.messaging.receiver;
DStorageStatusReceiver.java17 package com.android.messaging.receiver;
DAbortSmsReceiver.java17 package com.android.messaging.receiver;
DAbortMmsWapPushReceiver.java17 package com.android.messaging.receiver;
DMmsWapPushDeliverReceiver.java17 package com.android.messaging.receiver;
DBootAndPackageReplacedReceiver.java17 package com.android.messaging.receiver;
DMmsWapPushReceiver.java17 package com.android.messaging.receiver;
DNotificationReceiver.java16 package com.android.messaging.receiver;
DSendStatusReceiver.java17 package com.android.messaging.receiver;
DSmsReceiver.java17 package com.android.messaging.receiver;
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DConversationListData.java34 import com.android.messaging.receiver.SmsReceiver;
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
DDebugSmsMmsFromDumpFileDialogFragment.java40 import com.android.messaging.receiver.SmsReceiver;
/packages/apps/Messaging/src/com/android/messaging/
DBugleApplication.java32 import com.android.messaging.receiver.SmsReceiver;
/packages/apps/Messaging/src/com/android/messaging/sms/
DMmsSender.java42 import com.android.messaging.receiver.SendStatusReceiver;
DSmsSender.java31 import com.android.messaging.receiver.SendStatusReceiver;

12