/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderResults.java | 68 AllAppsList allAppsList, int pageToBindFirst, WeakReference<Callbacks> callbacks) { in LoaderResults() argument 74 mCallbacks = callbacks == null ? new WeakReference<Callbacks>(null) : callbacks; in LoaderResults() 83 Callbacks callbacks = mCallbacks.get(); in bindWorkspace() local 86 if (callbacks == null) { in bindWorkspace() 106 ? mPageToBindFirst : callbacks.getCurrentWorkspaceScreen(); in bindWorkspace() 133 Callbacks callbacks = mCallbacks.get(); in bindWorkspace() 134 if (callbacks != null) { in bindWorkspace() 135 callbacks.clearPendingBinds(); in bindWorkspace() 136 callbacks.startBinding(); in bindWorkspace() 146 Callbacks callbacks = mCallbacks.get(); in bindWorkspace() [all …]
|
D | BaseModelUpdateTask.java | 80 final Callbacks callbacks = mModel.getCallback(); in scheduleCallbackTask() local 84 if (callbacks == cb && cb != null) { in scheduleCallbackTask() 85 task.execute(callbacks); in scheduleCallbackTask() 102 public void execute(Callbacks callbacks) { in bindUpdatedShortcuts() 103 callbacks.bindShortcutsChanged(updatedShortcuts, user); in bindUpdatedShortcuts() 113 public void execute(Callbacks callbacks) { in bindDeepShortcuts() 114 callbacks.bindDeepShortcutMap(shortcutMapCopy); in bindDeepShortcuts() 124 public void execute(Callbacks callbacks) { in bindUpdatedWidgets() 125 callbacks.bindAllWidgets(widgets); in bindUpdatedWidgets() 136 public void execute(Callbacks callbacks) { in deleteAndBindComponentsRemoved() [all …]
|
D | PackageInstallStateChangedTask.java | 91 public void execute(Callbacks callbacks) { in execute() 92 callbacks.bindPromiseAppProgressUpdated(updatedPromiseApp); in execute() 99 public void execute(Callbacks callbacks) { in execute() 100 callbacks.bindAppInfosRemoved(removed); in execute() 134 public void execute(Callbacks callbacks) { in execute() 135 callbacks.bindRestoreItemsChange(updates); in execute()
|
D | PackageUpdatedTask.java | 166 public void execute(Callbacks callbacks) { in execute() 167 callbacks.bindAppsAddedOrUpdated(addedOrModified); in execute() 289 public void execute(Callbacks callbacks) { in execute() 290 callbacks.bindWidgetsRestored(widgets); in execute() 333 public void execute(Callbacks callbacks) { in execute() 334 callbacks.bindAppInfosRemoved(removedApps); in execute() 345 public void execute(Callbacks callbacks) { in execute() 346 callbacks.notifyWidgetProvidersChanged(); in execute()
|
D | CacheDataUpdatedTask.java | 79 public void execute(Callbacks callbacks) { in execute() 80 callbacks.bindAppsAddedOrUpdated(updatedApps); in execute()
|
/packages/services/Car/car-lib/src/android/car/cluster/ |
D | CarInstrumentClusterManager.java | 96 Set<Callback> callbacks = mCallbacksByCategory.get(category); in registerCallback() local 97 if (callbacks == null) { in registerCallback() 98 callbacks = new HashSet<>(1); in registerCallback() 99 mCallbacksByCategory.put(category, callbacks); in registerCallback() 101 if (!callbacks.add(callback)) { in registerCallback() 137 Set<Callback> callbacks = entry.getValue(); in unregisterCallback() local 138 if (callbacks.remove(callback) && callbacks.isEmpty()) { in unregisterCallback() 199 List<CarInstrumentClusterManager.Callback> callbacks = null; in handleMessage() local 202 callbacks = new ArrayList<>(mCallbacksByCategory.get(category)); in handleMessage() 205 Log.i(TAG, "handleMessage, callbacks: " + callbacks); in handleMessage() [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherModel.java | 789 public void initialize(Callbacks callbacks) { in initialize() argument 791 mCallbacks = new WeakReference<Callbacks>(callbacks); in initialize() 872 Callbacks callbacks = mCallbacks.get(); in onReceive() local 873 if (callbacks != null) { in onReceive() 874 callbacks.bindSearchablesChanged(); in onReceive() 908 Callbacks callbacks = mCallbacks.get(); in startLoaderFromBackground() local 909 if (callbacks != null) { in startLoaderFromBackground() 911 if (!callbacks.setLoadOnResume()) { in startLoaderFromBackground() 1206 final Callbacks callbacks = mCallbacks.get(); in tryGetCallbacks() local 1207 if (callbacks != oldCallbacks) { in tryGetCallbacks() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | PerUserCarServiceHelper.java | 92 List<ServiceCallback> callbacks; in onReceive() local 108 callbacks = new ArrayList<>(mServiceCallbacks); in onReceive() 111 for (ServiceCallback callback : callbacks) { in onReceive() 128 List<ServiceCallback> callbacks; 136 callbacks = new ArrayList<>(mServiceCallbacks); 139 for (ServiceCallback callback : callbacks) { 147 List<ServiceCallback> callbacks; 153 callbacks = new ArrayList<>(mServiceCallbacks); 156 for (ServiceCallback callback : callbacks) {
|
/packages/services/Car/car-lib/src/android/car/hardware/hvac/ |
D | CarHvacManager.java | 271 Collection<CarHvacEventCallback> callbacks; in handleOnChangeEvent() local 273 callbacks = new ArraySet<>(mCallbacks); in handleOnChangeEvent() 275 if (!callbacks.isEmpty()) { in handleOnChangeEvent() 276 for (CarHvacEventCallback l: callbacks) { in handleOnChangeEvent() 283 Collection<CarHvacEventCallback> callbacks; in handleOnErrorEvent() local 285 callbacks = new ArraySet<>(mCallbacks); in handleOnErrorEvent() 287 if (!callbacks.isEmpty()) { in handleOnErrorEvent() 288 for (CarHvacEventCallback l: callbacks) { in handleOnErrorEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherModel.java | 307 public void initialize(Callbacks callbacks) { in initialize() argument 310 mCallbacks = new WeakReference<>(callbacks); in initialize() 438 Callbacks callbacks = getCallback(); in startLoaderFromBackground() local 439 if (callbacks != null) { in startLoaderFromBackground() 441 if (!callbacks.setLoadOnResume()) { in startLoaderFromBackground() 442 startLoader(callbacks.getCurrentWorkspaceScreen()); in startLoaderFromBackground() 447 public boolean isCurrentCallbacks(Callbacks callbacks) { in isCurrentCallbacks() argument 448 return (mCallbacks != null && mCallbacks.get() == callbacks); in isCurrentCallbacks() 534 public void execute(Callbacks callbacks) { in onInstallSessionCreated() 535 callbacks.bindAppsAddedOrUpdated(arrayList); in onInstallSessionCreated() [all …]
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | ForegroundUtils.java | 83 List<Callback> callbacks = mBackgroundCallbacks.get(uid, new ArrayList<Callback>()); in registerUidToBackgroundCallback() local 84 callbacks.add(callback); in registerUidToBackgroundCallback() 85 mBackgroundCallbacks.put(uid, callbacks); in registerUidToBackgroundCallback() 121 List<Callback> callbacks = mBackgroundCallbacks.get(uid); in handleUidToBackground() local 122 if (callbacks != null) { in handleUidToBackground() 123 pendingCallbacks = new ArrayList<Callback>(callbacks); in handleUidToBackground()
|
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/ |
D | MockedVehicleHal.java | 96 List<IVehicleCallback> callbacks = mSubscribers.get(value.prop); in injectEvent() local 98 + ". No listeners found", callbacks); in injectEvent() 99 for (IVehicleCallback callback : callbacks) { in injectEvent() 110 List<IVehicleCallback> callbacks = mSubscribers.get(propertyId); in injectError() local 112 + ". No listeners found", callbacks); in injectError() 113 for (IVehicleCallback callback : callbacks) { in injectError()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | CapabilitiesCache.java | 144 request.callbacks.add(onLocalPrinterCapabilities); in request() 160 request.callbacks.remove(onLocalPrinterCapabilities); in cancel() 161 if (request.callbacks.isEmpty()) { in cancel() 220 for (OnLocalPrinterCapabilities callback : request.callbacks) { in startNextRequest() 249 final Set<OnLocalPrinterCapabilities> callbacks = new HashSet<>(); field in CapabilitiesCache.Request
|
/packages/apps/Terminal/jni/ |
D | com_android_terminal_Terminal.cpp | 110 Terminal(jobject callbacks); 267 Terminal::Terminal(jobject callbacks) : in Terminal() argument 268 mCallbacks(callbacks), mRows(25), mCols(80), mKilled(false), in Terminal() 271 mCallbacks = env->NewGlobalRef(callbacks); in Terminal() 551 static jlong com_android_terminal_Terminal_nativeInit(JNIEnv* env, jclass clazz, jobject callbacks)… in com_android_terminal_Terminal_nativeInit() argument 552 return reinterpret_cast<jlong>(new Terminal(callbacks)); in com_android_terminal_Terminal_nativeInit()
|
/packages/services/Car/car-lib/src/android/car/hardware/cabin/ |
D | CarCabinManager.java | 414 Collection<CarCabinEventCallback> callbacks; in handleOnChangeEvent() local 416 callbacks = new ArraySet<>(mCallbacks); in handleOnChangeEvent() 418 for (CarCabinEventCallback l: callbacks) { in handleOnChangeEvent()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | SecureConversationViewFragment.java | 99 final ContactLoaderCallbacks callbacks = getContactInfoSource(); in onPageFinished() local 100 callbacks.setSenders(emailAddresses); in onPageFinished() 101 getLoaderManager().restartLoader(CONTACT_LOADER, Bundle.EMPTY, callbacks); in onPageFinished()
|
D | ConversationPositionTracker.java | 52 public ConversationPositionTracker(Callbacks callbacks) { in ConversationPositionTracker() argument 53 mCallbacks = callbacks; in ConversationPositionTracker()
|
/packages/experimental/PrintService/src/foo/bar/printservice/ |
D | MyPrintService.java | 486 final CustomPrinterIconCallback callbacks) { in onRequestCustomPrinterIcon() argument 491 args.arg2 = callbacks; in onRequestCustomPrinterIcon() 536 CustomPrinterIconCallback callbacks = (CustomPrinterIconCallback) args.arg2; in handleMessage() local 540 callbacks.onCustomPrinterIconLoaded(Icon.createWithBitmap( in handleMessage()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | EmlMessageViewFragment.java | 135 final ContactLoaderCallbacks callbacks = getContactInfoSource(); in onPageFinished() local 136 callbacks.setSenders(emailAddresses); in onPageFinished() 137 getLoaderManager().restartLoader(CONTACT_LOADER, Bundle.EMPTY, callbacks); in onPageFinished()
|
D | ConversationFooterView.java | 137 public void setConversationFooterCallbacks(ConversationFooterCallbacks callbacks) { in setConversationFooterCallbacks() argument 138 mCallbacks = callbacks; in setConversationFooterCallbacks()
|
D | ConversationViewHeader.java | 101 public void setCallbacks(ConversationViewHeaderCallbacks callbacks, in setCallbacks() argument 104 mCallbacks = callbacks; in setCallbacks()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | BaseModelUpdateTaskTestCase.java | 64 public Callbacks callbacks; field in BaseModelUpdateTaskTestCase 74 callbacks = mock(Callbacks.class); in setUp() 81 when(model.getCallback()).thenReturn(callbacks); in setUp()
|
/packages/apps/UnifiedEmail/src/com/android/mail/text/ |
D | ChangeLabelsSpan.java | 17 public ChangeLabelsSpan(ConversationViewHeaderCallbacks callbacks) { in ChangeLabelsSpan() argument 18 mCallbacks = callbacks; in ChangeLabelsSpan()
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
D | ObjectCache.java | 45 public ObjectCache(Callback<T> callbacks, int maxSize) { in ObjectCache() argument 46 mCallback = callbacks; in ObjectCache()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | ImapFolder.java | 265 MessageUpdateCallbacks callbacks) throws MessagingException { in copyMessages() argument 291 if (callbacks == null) { in copyMessages() 311 callbacks.onMessageUidChange(m, newIdArray[i]); in copyMessages() 317 if (callbacks != null && !handledUidPlus) { in copyMessages() 328 callbacks.onMessageUidChange(m, newIdArray[0]); in copyMessages()
|