/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | SecureConversationViewController.java | 62 private final SecureConversationViewControllerCallbacks mCallbacks; field in SecureConversationViewController 78 mCallbacks = callbacks; in SecureConversationViewController() 103 mCallbacks.getFragment(), mCallbacks.getHandler()); in onCreateView() 107 mWebView.setWebViewClient(mCallbacks.getWebViewClient()); in onCreateView() 112 mCallbacks.getFragment().getActivity(), in onCreateView() 120 ConversationViewUtils.setTextZoom(mCallbacks.getFragment().getResources(), settings); in onCreateView() 132 mCallbacks.setupConversationHeaderView(mConversationHeaderView); in onActivityCreated() 134 final Fragment fragment = mCallbacks.getFragment(); in onActivityCreated() 138 mCallbacks.getConversationAccountController(), mCallbacks.getAddressCache()); in onActivityCreated() 139 mMessageHeaderView.setContactInfoSource(mCallbacks.getContactInfoSource()); in onActivityCreated() [all …]
|
D | ConversationPositionTracker.java | 47 private final Callbacks mCallbacks; field in ConversationPositionTracker 53 mCallbacks = callbacks; in ConversationPositionTracker() 58 final ConversationCursor cursor = mCallbacks.getConversationListCursor(); in conversationAtPosition() 69 final ConversationCursor cursor = mCallbacks.getConversationListCursor(); in getCount() 140 final ConversationCursor cursor = mCallbacks.getConversationListCursor(); in isDataLoaded() 168 final ConversationCursor cursor = mCallbacks.getConversationListCursor(); in calculatePosition()
|
D | ConversationListFragment.java | 112 private ConversationListCallbacks mCallbacks; field in ConversationListFragment 216 return mCallbacks != null && mCallbacks.setupEmptyIconView(mFolder, isEmpty); in setupEmptyIcon() 337 mCallbacks = mActivity.getListHandler(); in onActivityCreated() 724 mCallbacks.onConversationFocused(conv); in onKey() 862 mCallbacks.onConversationSelected(conv, false /* inLoaderCallbacks */); in viewConversation() 951 return mCallbacks != null ? mCallbacks.getConversationListCursor() : null; in getConversationListCursor() 1117 if (mCallbacks == null || mListAdapter == null) { in onCursorUpdated() 1122 final ConversationCursor newCursor = mCallbacks.getConversationListCursor(); in onCursorUpdated() 1152 final Conversation conv = mCallbacks.getCurrentConversation(); in onCursorUpdated() 1153 final boolean currentConvIsPeeking = mCallbacks.isCurrentConversationJustPeeking(); in onCursorUpdated()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ |
D | HvacController.java | 113 private List<Callback> mCallbacks = new ArrayList<>(); field in HvacController 147 synchronized (mCallbacks) { in registerCallback() 148 mCallbacks.add(callback); in registerCallback() 153 synchronized (mCallbacks) { in unregisterCallback() 154 mCallbacks.remove(callback); in unregisterCallback() 251 synchronized (mCallbacks) { in handleHvacPowerOn() 252 for (int i = 0; i < mCallbacks.size(); i++) { in handleHvacPowerOn() 253 mCallbacks.get(i).onHvacPowerChange(isOn); in handleHvacPowerOn() 266 synchronized (mCallbacks) { in handleSeatWarmerUpdate() 267 for (int i = 0; i < mCallbacks.size(); i++) { in handleSeatWarmerUpdate() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ServiceBinder.java | 76 synchronized (mCallbacks) { in bind() 77 if (!mCallbacks.isEmpty()) { in bind() 79 mCallbacks.add(callback); in bind() 82 mCallbacks.add(callback); in bind() 216 private final Set<BindCallback> mCallbacks = new ArraySet<>(); field in ServiceBinder 359 synchronized (mCallbacks) { in handleSuccessfulConnection() 360 callbacksCopy.addAll(mCallbacks); in handleSuccessfulConnection() 361 mCallbacks.clear(); in handleSuccessfulConnection() 376 synchronized (mCallbacks) { in handleFailedConnection() 377 callbacksCopy.addAll(mCallbacks); in handleFailedConnection() [all …]
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/ |
D | MultiStateCallback.java | 34 private final SparseArray<Runnable> mCallbacks = new SparseArray<>(); field in MultiStateCallback 57 int count = mCallbacks.size(); in setState() 59 int state = mCallbacks.keyAt(i); in setState() 62 Runnable callback = mCallbacks.valueAt(i); in setState() 65 mCallbacks.setValueAt(i, null); in setState() 106 if (FeatureFlags.IS_DOGFOOD_BUILD && mCallbacks.get(stateMask) != null) { in addCallback() 109 mCallbacks.put(stateMask, callback); in addCallback()
|
D | RecentsAnimationWrapper.java | 45 private final ArrayList<Runnable> mCallbacks = new ArrayList<>(); field in RecentsAnimationWrapper 79 if (!mCallbacks.isEmpty()) { in setController() 80 for (Runnable action : new ArrayList<>(mCallbacks)) { in setController() 83 mCallbacks.clear(); in setController() 89 mCallbacks.add(action); in runOnInit()
|
/packages/services/Telephony/src/com/android/phone/ |
D | NetworkQueryService.java | 134 final RemoteCallbackList<INetworkQueryServiceCallback> mCallbacks = field in NetworkQueryService 191 synchronized (mCallbacks) { 192 mCallbacks.register(cb); 292 synchronized (mCallbacks) { 294 mCallbacks.unregister(cb); 330 synchronized (mCallbacks) { in broadcastQueryResults() 334 for (int i = (mCallbacks.beginBroadcast() - 1); i >= 0; i--) { in broadcastQueryResults() 335 INetworkQueryServiceCallback cb = mCallbacks.getBroadcastItem(i); in broadcastQueryResults() 368 mCallbacks.finishBroadcast(); in broadcastQueryResults()
|
/packages/services/Car/car-lib/src/android/car/hardware/ |
D | CarVendorExtensionManager.java | 54 private final ArraySet<CarVendorExtensionCallback> mCallbacks = new ArraySet<>(); field in CarVendorExtensionManager 63 callbacks = new ArrayList<>(mCallbacks); in handleOnChangeEvent() 73 listeners = new ArrayList<>(mCallbacks); in handleOnErrorEvent() 110 if (mCallbacks.isEmpty()) { in registerCallback() 118 mCallbacks.add(callback); in registerCallback() 125 mCallbacks.remove(callback); in unregisterCallback() 131 if (mCallbacks.isEmpty()) { in unregisterCallback()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
D | InCallServiceImpl.java | 40 private CopyOnWriteArrayList<Callback> mCallbacks = new CopyOnWriteArrayList<>(); field in InCallServiceImpl 80 for (Callback callback : mCallbacks) { in onCallAdded() 90 for (Callback callback : mCallbacks) { in onCallRemoved() 116 for (Callback callback : mCallbacks) { in onCallAudioStateChanged() 122 mCallbacks.add(callback); in registerCallback() 126 mCallbacks.remove(callback); in unregisterCallback()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | FakeTvInputManager.java | 34 private final Map<TvInputManager.TvInputCallback, Handler> mCallbacks = new HashMap<>(); field in FakeTvInputManager 43 for (final Map.Entry<TvInputManager.TvInputCallback, Handler> e : mCallbacks.entrySet()) { in add() 60 for (final Map.Entry<TvInputManager.TvInputCallback, Handler> e : mCallbacks.entrySet()) { in setInputState() 75 for (final Map.Entry<TvInputManager.TvInputCallback, Handler> e : mCallbacks.entrySet()) { in remove() 99 mCallbacks.put(internalCallback, handler); in registerCallback() 104 mCallbacks.remove(internalCallback); in unregisterCallback()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningManagerHelper.java | 53 private List<ProvisioningManagerCallback> mCallbacks = new ArrayList<>(); field in ProvisioningManagerHelper 79 mCallbacks.add(callback); in registerListener() 86 mCallbacks.remove(callback); in unregisterListener() 92 for (ProvisioningManagerCallback callback : mCallbacks) { in error() 132 for (ProvisioningManagerCallback callback : mCallbacks) { in notifyPreFinalizationCompleted() 168 return mCallbacks.contains(callback); in isCallbackStillRequired()
|
/packages/services/Car/car-lib/src/android/car/hardware/hvac/ |
D | CarHvacManager.java | 53 private final ArraySet<CarHvacEventCallback> mCallbacks = new ArraySet<>(); field in CarHvacManager 278 callbacks = new ArraySet<>(mCallbacks); in handleOnChangeEvent() 290 callbacks = new ArraySet<>(mCallbacks); in handleOnErrorEvent() 317 if (mCallbacks.isEmpty()) { in registerCallback() 325 mCallbacks.add(callback); in registerCallback() 334 mCallbacks.remove(callback); in unregisterCallback() 345 if (mCallbacks.isEmpty()) { in unregisterCallback()
|
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/ |
D | NetworkMonitorTest.java | 140 private @Mock INetworkMonitorCallbacks mCallbacks; field in NetworkMonitorTest 387 reset(mCallbacks); in resetCallbacks() 390 when(mCallbacks.getInterfaceVersion()).thenReturn(3); in resetCallbacks() 402 super(mContext, mCallbacks, mNetwork, mLogger, mValidationLogger, in WrappedNetworkMonitor() 719 verify(mCallbacks, timeout(HANDLER_TIMEOUT_MS).times(1)) in testLaunchCaptivePortalApp() 745 verify(mCallbacks, timeout(HANDLER_TIMEOUT_MS).atLeastOnce()) in testLaunchCaptivePortalApp() 760 verify(mCallbacks, timeout(HANDLER_TIMEOUT_MS).times(1)) in testPrivateDnsSuccess() 775 verify(mCallbacks, timeout(HANDLER_TIMEOUT_MS).atLeastOnce()) in testPrivateDnsResolutionRetryUpdate() 785 verify(mCallbacks, timeout(HANDLER_TIMEOUT_MS).atLeastOnce()) in testPrivateDnsResolutionRetryUpdate() 795 verify(mCallbacks, timeout(HANDLER_TIMEOUT_MS)) in testPrivateDnsResolutionRetryUpdate() [all …]
|
/packages/services/Car/car-lib/src/android/car/hardware/cabin/ |
D | CarCabinManager.java | 65 private final ArraySet<CarCabinEventCallback> mCallbacks = new ArraySet<>(); field in CarCabinManager 445 callbacks = new ArraySet<>(mCallbacks); in handleOnChangeEvent() 455 listeners = new ArraySet<>(mCallbacks); in handleOnErrorEvent() 492 if (mCallbacks.isEmpty()) { in registerCallback() 500 mCallbacks.add(callback); in registerCallback() 509 mCallbacks.remove(callback); in unregisterCallback() 515 if (mCallbacks.isEmpty()) { in unregisterCallback()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ViewAutoScroller.java | 34 private ScrollerCallbacks mCallbacks; field in ViewAutoScroller 41 mCallbacks = callbacks; in ViewAutoScroller() 81 mCallbacks.scrollBy(numPixels); in run() 84 mCallbacks.removeCallback(this); in run() 85 mCallbacks.runAtNextFrame(this); in run()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherModel.java | 111 @Thunk WeakReference<Callbacks> mCallbacks; field in LauncherModel 204 mCallbacks = new WeakReference<>(callbacks); in initialize() 337 return (mCallbacks != null && mCallbacks.get() == callbacks); in isCurrentCallbacks() 349 if (mCallbacks != null && mCallbacks.get() != null) { in startLoader() 350 final Callbacks oldCallbacks = mCallbacks.get(); in startLoader() 357 mBgAllAppsList, synchronousBindPage, mCallbacks); in startLoader() 580 return mCallbacks != null ? mCallbacks.get() : null; in getCallback()
|
/packages/services/Car/tests/CarTrustAgentClientApp/src/com/android/car/trust/client/ |
D | SimpleBleClient.java | 53 private final List<ClientCallback> mCallbacks = new ArrayList<>(); field in SimpleBleClient 150 mCallbacks.add(callback); in addCallback() 154 mCallbacks.remove(callback); in removeCallback() 276 for (ClientCallback callback : mCallbacks) { 282 for (ClientCallback callback : mCallbacks) { 311 for (ClientCallback callback : mCallbacks) { 340 for (ClientCallback callback : mCallbacks) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/text/ |
D | ChangeLabelsSpan.java | 15 private final ConversationViewHeaderCallbacks mCallbacks; field in ChangeLabelsSpan 18 mCallbacks = callbacks; in ChangeLabelsSpan() 23 if (mCallbacks != null) { in onClick() 24 mCallbacks.onFoldersClicked(); in onClick()
|
/packages/services/Car/tools/keventreader/server/ |
D | eventprovider.cpp | 31 for (auto&& cb : mCallbacks) { in startLoop() 44 mCallbacks.push_back(cb); in registerCallback() 50 std::remove(mCallbacks.begin(), mCallbacks.end(), cb); in unregisterCallback()
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | ConversationViewHeader.java | 72 private ConversationViewHeaderCallbacks mCallbacks; field in ConversationViewHeader 104 mCallbacks = callbacks; in setCallbacks() 114 mSubjectAndFolderView.setFolders(mCallbacks, mAccountController.getAccount(), conv); in setFolders() 157 mCallbacks.onConversationViewHeaderHeightChange(h); in onConversationUpdated() 177 frag.show(mCallbacks.getActivity().getFragmentManager(), CopySubjectDialog.TAG); in onLongClick()
|
D | MessageHeaderView.java | 98 private MessageHeaderViewCallbacks mCallbacks; field in MessageHeaderView 304 mCallbacks = callbacks; in setCallbacks() 412 } else if (mCallbacks.isSecure()) { in render() 506 if (mCallbacks != null) { in updateSpacerHeight() 507 mCallbacks.setMessageSpacerHeight(mMessageHeaderItem, h); in updateSpacerHeight() 919 text + "\n\n" + mCallbacks.getMessageTransforms(mMessage)); in onClick() 923 text + "\n\n" + mCallbacks.getMessageTransforms(mMessage)); in onClick() 950 && mCallbacks.supportsMessageTransforms(); in onClick() 1022 if (mCallbacks != null) { in toggleExpanded() 1023 mCallbacks.setMessageExpanded(mMessageHeaderItem, h); in toggleExpanded() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/ |
D | TaskThumbnailCache.java | 50 private ArrayList<HighResLoadingStateChangedCallback> mCallbacks = new ArrayList<>(); field in TaskThumbnailCache.HighResLoadingState 63 mCallbacks.add(callback); in addCallback() 67 mCallbacks.remove(callback); in removeCallback() 88 for (int i = mCallbacks.size() - 1; i >= 0; i--) { in updateState() 89 mCallbacks.get(i).onHighResLoadingStateChanged(mHighResLoadingEnabled); in updateState()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | KeyInputHandler.java | 38 private final Callbacks<DocumentItemDetails> mCallbacks; field in KeyInputHandler 47 mCallbacks = callbacks; in KeyInputHandler() 73 if (mCallbacks.onFocusItem(details, keyCode, event)) { in onKey() 95 return mCallbacks.onItemActivated(details, event); in onKey()
|
/packages/apps/Launcher3/src/com/android/launcher3/compat/ |
D | LauncherAppsCompatVL.java | 49 private final ArrayMap<OnAppsChangedCallbackCompat, WrappedCallback> mCallbacks = field in LauncherAppsCompatVL 108 synchronized (mCallbacks) { in addOnAppsChangedCallback() 109 mCallbacks.put(callback, wrappedCallback); in addOnAppsChangedCallback() 117 synchronized (mCallbacks) { in removeOnAppsChangedCallback() 118 wrappedCallback = mCallbacks.remove(callback); in removeOnAppsChangedCallback()
|