Home
last modified time | relevance | path

Searched refs:mDelegate (Results 1 – 25 of 63) sorted by relevance

123

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/mockable/
DMediaController.java43 @NonNull public android.media.session.MediaController mDelegate; field in MediaController
48 mDelegate = delegate; in MediaController()
54 mDelegate = new android.media.session.MediaController(context, token); in MediaController()
55 mTransportDelegate = mDelegate.getTransportControls(); in MediaController()
60 return mDelegate; in getWrappedInstance()
70 return mDelegate.dispatchMediaButtonEvent(keyEvent); in dispatchMediaButtonEvent()
76 return mDelegate.getPlaybackState(); in getPlaybackState()
82 return mDelegate.getMetadata(); in getMetadata()
88 return mDelegate.getQueue(); in getQueue()
94 return mDelegate.getQueueTitle(); in getQueueTitle()
[all …]
DMediaBrowser.java34 android.media.browse.MediaBrowser mDelegate; field in MediaBrowser
38 mDelegate = delegate; in MediaBrowser()
47 mDelegate = in MediaBrowser()
69 mDelegate.connect(); in connect()
74 mDelegate.disconnect(); in disconnect()
79 return mDelegate.getExtras(); in getExtras()
84 mDelegate.getItem(mediaId, callback); in getItem()
89 return mDelegate.getRoot(); in getRoot()
94 return mDelegate.getServiceComponent(); in getServiceComponent()
99 return mDelegate.getSessionToken(); in getSessionToken()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/
DDocsSelectionHelper.java43 private SelectionTracker<String> mDelegate = new StubSelectionTracker<>(); field in DocsSelectionHelper
51 if (mDelegate != null) { in reset()
52 mDelegate.clearSelection(); in reset()
54 mDelegate = mFactory.create(selectionTracker); in reset()
59 mDelegate.addObserver(listener); in addObserver()
64 return mDelegate.hasSelection(); in hasSelection()
69 return mDelegate.getSelection(); in getSelection()
74 mDelegate.copySelection(dest); in copySelection()
79 return mDelegate.isSelected(id); in isSelected()
84 mDelegate.clearSelection(); in replaceSelection()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DProfileProvider.java45 private final ContactsProvider2 mDelegate; field in ProfileProvider
48 mDelegate = delegate; in ProfileProvider()
62 return mDelegate.getTransactionHolder(); in getTransactionHolder()
77 return mDelegate.queryLocal(uri, projection, selection, selectionArgs, sortOrder, -1, in query()
87 return mDelegate.insertInTransaction(uri, values); in insertInTransaction()
94 return mDelegate.updateInTransaction(uri, values, selection, selectionArgs); in updateInTransaction()
100 return mDelegate.deleteInTransaction(uri, selection, selectionArgs); in deleteInTransaction()
105 return mDelegate.openAssetFileLocal(uri, mode); in openAssetFile()
116 mDelegate.notifyChange(); in notifyChange()
120 mDelegate.notifyChange(syncToNetwork); in notifyChange()
[all …]
/packages/apps/Camera2/src/com/android/camera/one/v2/camera2proxy/
DForwardingImageReader.java26 private final ImageReaderProxy mDelegate; field in ForwardingImageReader
29 mDelegate = delegate; in ForwardingImageReader()
34 return mDelegate.getWidth(); in getWidth()
39 return mDelegate.getHeight(); in getHeight()
44 return mDelegate.getImageFormat(); in getImageFormat()
49 return mDelegate.getMaxImages(); in getMaxImages()
55 return mDelegate.getSurface(); in getSurface()
61 return mDelegate.acquireLatestImage(); in acquireLatestImage()
67 return mDelegate.acquireNextImage(); in acquireNextImage()
74 mDelegate.setOnImageAvailableListener(listener, handler); in setOnImageAvailableListener()
[all …]
DAndroidImageReaderProxy.java36 private final android.media.ImageReader mDelegate; field in AndroidImageReaderProxy
40 mDelegate = delegate; in AndroidImageReaderProxy()
80 return mDelegate.getWidth(); in getWidth()
87 return mDelegate.getHeight(); in getHeight()
94 return mDelegate.getImageFormat(); in getImageFormat()
101 return mDelegate.getMaxImages(); in getMaxImages()
109 return mDelegate.getSurface(); in getSurface()
117 Image image = mDelegate.acquireLatestImage(); in acquireLatestImage()
130 Image image = mDelegate.acquireNextImage(); in acquireNextImage()
144 mDelegate.setOnImageAvailableListener( in setOnImageAvailableListener()
[all …]
/packages/apps/Camera2/src/com/android/camera/async/
DForwardingBufferQueue.java26 private final BufferQueue<T> mDelegate; field in ForwardingBufferQueue
29 mDelegate = delegate; in ForwardingBufferQueue()
34 mDelegate.close(); in close()
39 return mDelegate.getNext(); in getNext()
45 return mDelegate.getNext(timeout, unit); in getNext()
50 return mDelegate.peekNext(); in peekNext()
55 mDelegate.discardNext(); in discardNext()
60 return mDelegate.isClosed(); in isClosed()
65 return mDelegate.toString(); in toString()
/packages/apps/Gallery2/src/com/android/photos/
DMultiChoiceManager.java67 private Delegate mDelegate; field in MultiChoiceManager
77 if (mDelegate == delegate) { in setDelegate()
83 mDelegate = delegate; in setDelegate()
92 int count = mDelegate.getSelectedItemCount(); in updateSelectedTitle()
98 int type = mDelegate.getItemMediaType(item); in getItemMimetype()
112 Object item = mDelegate.getItemAtPosition(position); in onItemCheckedStateChanged()
114 int supported = mDelegate.getItemSupportedOperations(item); in onItemCheckedStateChanged()
117 ArrayList<Uri> subItems = mDelegate.getSubItemUrisForItem(item); in onItemCheckedStateChanged()
126 mDelegate.getItemMediaType(item), in onItemCheckedStateChanged()
187 private Delegate mDelegate; field in MultiChoiceManager.BulkDeleteTask
[all …]
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/
DDelegatingLocationListeningAccountant.java36 private LocationListeningAccountant mDelegate; field in DelegatingLocationListeningAccountant
39 mDelegate = Objects.requireNonNull(delegate); in DelegatingLocationListeningAccountant()
49 Duration balanceToTransfer = mDelegate.withdrawActiveListeningBalance(); in replaceDelegate()
51 mDelegate = replacement; in replaceDelegate()
56 mDelegate.depositActiveListeningAmount(amount); in depositActiveListeningAmount()
61 mDelegate.accrueActiveListeningBudget(timeInPassiveMode); in accrueActiveListeningBudget()
69 return mDelegate.getNextListeningInstruction( in getNextListeningInstruction()
76 return mDelegate.withdrawActiveListeningBalance(); in withdrawActiveListeningBalance()
82 + "mDelegate=" + mDelegate in toString()
DOfflineLocationTimeZoneProviderService.java51 private OfflineLocationTimeZoneDelegate mDelegate; field in OfflineLocationTimeZoneProviderService
58 mDelegate = OfflineLocationTimeZoneDelegate.create(environment); in onCreate()
63 mDelegate.onDestroy(); in onDestroy()
68 mDelegate.onStartUpdates(Duration.ofMillis(initializationTimeoutMillis)); in onStartUpdates()
94 mDelegate.onStopUpdates(); in onStopUpdates()
99 mDelegate.dump(writer); in dump()
/packages/apps/Contacts/tests/src/com/android/contacts/interactions/
DTestLoaderManager.java44 private LoaderManager mDelegate; field in TestLoaderManager
58 if (delegate == null || (mDelegate != null && mDelegate != delegate)) { in setDelegate()
62 mDelegate = delegate; in setDelegate()
66 return mDelegate; in getDelegate()
89 (AsyncTaskLoader<?>) mDelegate.getLoader(loaderId); in waitForLoaders()
136 return mDelegate.initLoader(id, args, new LoaderManager.LoaderCallbacks<D>() { in initLoader()
159 return mDelegate.restartLoader(id, args, callback);
164 mDelegate.destroyLoader(id);
169 return mDelegate.getLoader(id);
174 mDelegate.dump(prefix, fd, writer, args);
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsSubscriptionsMonitorTest.java80 @Mock private NetworkStatsSubscriptionsMonitor.Delegate mDelegate; field in NetworkStatsSubscriptionsMonitorTest
101 mMonitor = new NetworkStatsSubscriptionsMonitor(mContext, mExecutor, mDelegate); in setUp()
208 verify(mDelegate).onCollapsedRatTypeChanged(eq(subscriberId), typeCaptor.capture()); in assertRatTypeChangedForSub()
216 verify(mDelegate, never()).onCollapsedRatTypeChanged(eq(subscriberId), anyInt()); in assertRatTypeNotChangedForSub()
232 reset(mDelegate); in testSubChangedAndRatTypeChanged()
241 reset(mDelegate); in testSubChangedAndRatTypeChanged()
250 reset(mDelegate); in testSubChangedAndRatTypeChanged()
258 reset(mDelegate); in testSubChangedAndRatTypeChanged()
264 reset(mDelegate); in testSubChangedAndRatTypeChanged()
287 reset(mDelegate); in test5g()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDirectoryAddonsAdapter.java47 private final DocumentsAdapter mDelegate; field in DirectoryAddonsAdapter
67 mDelegate = delegate; in DirectoryAddonsAdapter()
82 mDelegate.registerAdapterDataObserver(new EventRelay()); in DirectoryAddonsAdapter()
134 holder = mDelegate.createViewHolder(parent, viewType);
162 mDelegate.onBindViewHolder(holder, toDelegatePosition(p), payload);
180 mDelegate.onBindViewHolder(holder, toDelegatePosition(p));
190 ? mDelegate.getItemCount() + addons
191 : mDelegate.getItemCount() + addons + 1;
200 mDelegate.getModelUpdateListener().accept(event);
242 return mDelegate.getItemViewType(toDelegatePosition(p));
[all …]
/packages/modules/GeoTZ/locationtzprovider/src/test/java/com/android/timezone/location/provider/core/
DOfflineLocationTimeZoneDelegateTest.java64 private OfflineLocationTimeZoneDelegate mDelegate; field in OfflineLocationTimeZoneDelegateTest
71 mDelegate = new OfflineLocationTimeZoneDelegate(mTestEnvironment); in setUp()
92 assertEquals(Mode.MODE_STOPPED, mDelegate.getCurrentModeEnumForTests()); in locationFoundImmediately()
98 mDelegate.onStartUpdates(initializationTimeout); in locationFoundImmediately()
105 assertEquals(Mode.MODE_STARTED, mDelegate.getCurrentModeEnumForTests()); in locationFoundImmediately()
119 assertEquals(Mode.MODE_STARTED, mDelegate.getCurrentModeEnumForTests()); in locationFoundImmediately()
145 assertEquals(Mode.MODE_STOPPED, mDelegate.getCurrentModeEnumForTests()); in locationNotFoundImmediately()
151 mDelegate.onStartUpdates(initializationTimeout); in locationNotFoundImmediately()
158 assertEquals(Mode.MODE_STARTED, mDelegate.getCurrentModeEnumForTests()); in locationNotFoundImmediately()
179 assertEquals(Mode.MODE_STOPPED, mDelegate.getCurrentModeEnumForTests());
[all …]
/packages/modules/GeoTZ/data_pipeline/src/main/java/com/android/timezone/location/data_pipeline/util/
DNamedFuture.java34 private final Future<V> mDelegate; field in NamedFuture
39 this.mDelegate = Objects.requireNonNull(delegate); in NamedFuture()
49 return mDelegate.cancel(b); in cancel()
54 return mDelegate.isCancelled(); in isCancelled()
59 return mDelegate.isDone(); in isDone()
64 return mDelegate.get(); in get()
70 return mDelegate.get(l, timeUnit); in get()
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DPrimaryProviderPreference.java48 private @Nullable Delegate mDelegate = null; field in PrimaryProviderPreference
99 if (mDelegate != null) { in onBindViewHolderOldSettingsUi()
100 mDelegate.onOpenButtonClicked(); in onBindViewHolderOldSettingsUi()
114 if (mDelegate != null) { in onBindViewHolderOldSettingsUi()
115 mDelegate.onChangeButtonClicked(); in onBindViewHolderOldSettingsUi()
126 if (mDelegate != null) { in onBindViewHolderNewSettingsUi()
127 mDelegate.onOpenButtonClicked(); in onBindViewHolderNewSettingsUi()
138 if (mDelegate != null) { in onBindViewHolderNewSettingsUi()
139 mDelegate.onChangeButtonClicked(); in onBindViewHolderNewSettingsUi()
181 mDelegate = delegate; in setDelegate()
/packages/apps/Camera2/src/com/android/camera/one/v2/core/
DObservableFrameServer.java49 private final FrameServer mDelegate; field in ObservableFrameServer
53 private final Session mDelegate; field in ObservableFrameServer.SessionImpl
57 mDelegate = delegate; in SessionImpl()
64 mDelegate.submitRequest(burstRequests, type); in submitRequest()
72 mDelegate.close(); in close()
78 mDelegate = delegate; in ObservableFrameServer()
91 Session session = mDelegate.createExclusiveSession(); in createExclusiveSession()
105 Session session = mDelegate.tryCreateExclusiveSession(); in tryCreateExclusiveSession()
/packages/apps/Camera2/src/com/android/camera/one/v2/photo/zsl/
DAutoFlashZslImageFilter.java82 private final TotalCaptureResultProxy mDelegate; field in AutoFlashZslImageFilter.AEConvergedTotalCaptureResult
85 mDelegate = delegate; in AEConvergedTotalCaptureResult()
92 Integer aeState = (Integer) mDelegate.get(key); in get()
97 return mDelegate.get(key); in get()
103 return mDelegate.getKeys(); in getKeys()
109 return mDelegate.getRequest(); in getRequest()
114 return mDelegate.getFrameNumber(); in getFrameNumber()
119 return mDelegate.getSequenceId(); in getSequenceId()
125 return mDelegate.getPartialResults(); in getPartialResults()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/inputconsumers/
DDelegateInputConsumer.java17 protected final InputConsumer mDelegate; field in DelegateInputConsumer
23 mDelegate = delegate; in DelegateInputConsumer()
33 return mDelegate.getActiveConsumerInHierarchy(); in getActiveConsumerInHierarchy()
38 return mDelegate.allowInterceptByParent() && mState != STATE_ACTIVE; in allowInterceptByParent()
43 mDelegate.onConsumerAboutToBeSwitched(); in onConsumerAboutToBeSwitched()
56 return mDelegate.getInputConsumerOfClass(c); in getInputConsumerOfClass()
70 mDelegate.onMotionEvent(event); in setActive()
/packages/modules/GeoTZ/tzs2storage/src/readonly/java/com/android/timezone/location/storage/tzs2range/read/
DSuffixTableBlock.java60 private final SuffixTableBlockDelegate mDelegate; field in SuffixTableBlock
98 mDelegate = Objects.requireNonNull(delegate); in SuffixTableBlock()
126 return mDelegate.getPrefix(); in getPrefix()
134 return mDelegate.getTzIdSetBank(); in getTzIdSetBank()
157 return mDelegate.findEntryByCellId(cellId); in findEntryByCellId()
162 return mDelegate.findEntryByIndex(i); in getEntryByIndex()
167 return mDelegate.getEntryCount(); in getEntryCount()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DCustomizationPickerActivity.java81 private WallpaperPickerDelegate mDelegate; field in CustomizationPickerActivity
94 mDelegate = new WallpaperPickerDelegate(this, this, injector); in onCreate()
144 mDelegate.prefetchCategories(); in onCreate()
190 mDelegate.initialize(/* forceCategoryRefresh= */ true); in onStart()
255 mDelegate.requestExternalStoragePermission(listener); in requestExternalStoragePermission()
260 mDelegate.showViewOnlyPreview(wallpaperInfo, isAssetIdPresent); in showViewOnlyPreview()
265 mDelegate.requestCustomPhotoPicker(listener); in requestCustomPhotoPicker()
271 mDelegate.show(category.getCollectionId()); in show()
305 mDelegate.initialize(mDelegate.getCategoryProvider().shouldForceReload(this)); in fetchCategories()
310 mDelegate.cleanUp(); in cleanUp()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockTypeDialogFragmentTest.java76 mFragment.mDelegate = mock(OnLockTypeSelectedListener.class); in testThat_OnClickListener_IsCalled()
82 verify(mFragment.mDelegate, times(1)).onLockTypeSelected(any(ScreenLockType.class)); in testThat_OnClickListener_IsCalled()
87 mFragment.mDelegate = mock(OnLockTypeSelectedListener.class); in testThat_OnClickListener_IsNotCalledWhenCancelled()
92 verify(mFragment.mDelegate, never()).onLockTypeSelected(any(ScreenLockType.class)); in testThat_OnClickListener_IsNotCalledWhenCancelled()
105 private OnLockTypeSelectedListener mDelegate; field in ChooseLockTypeDialogFragmentTest.TestFragment
109 if (mDelegate != null) { in onLockTypeSelected()
110 mDelegate.onLockTypeSelected(lock); in onLockTypeSelected()
/packages/services/Telephony/utils/satellite/s2storage/src/readonly/java/com/android/telephony/sats2range/read/
DSuffixTableBlock.java58 private final SuffixTableBlockDelegate mDelegate; field in SuffixTableBlock
90 mDelegate = Objects.requireNonNull(delegate); in SuffixTableBlock()
118 return mDelegate.getPrefix(); in getPrefix()
141 return mDelegate.findEntryByCellId(cellId); in findEntryByCellId()
146 return mDelegate.findEntryByIndex(i); in getEntryByIndex()
151 return mDelegate.getEntryCount(); in getEntryCount()
/packages/apps/TV/src/com/android/tv/
DInputSessionManager.java521 private final TvInputCallbackCompat mDelegate; field in InputSessionManager.DelegateTvInputCallback
524 mDelegate = delegate; in DelegateTvInputCallback()
529 mDelegate.onConnectionFailed(inputId); in onConnectionFailed()
534 mDelegate.onDisconnected(inputId); in onDisconnected()
539 mDelegate.onChannelRetuned(inputId, channelUri); in onChannelRetuned()
544 mDelegate.onTracksChanged(inputId, tracks); in onTracksChanged()
549 mDelegate.onTrackSelected(inputId, type, trackId); in onTrackSelected()
554 mDelegate.onVideoSizeChanged(inputId, width, height); in onVideoSizeChanged()
559 mDelegate.onVideoAvailable(inputId); in onVideoAvailable()
564 mDelegate.onVideoUnavailable(inputId, reason); in onVideoUnavailable()
[all …]
/packages/apps/TV/common/src/com/android/tv/common/feature/
DTestableFeature.java35 private final Feature mDelegate; field in TestableFeature
49 mDelegate = delegate; in TestableFeature()
53 mDelegate = delegate; in TestableFeature()
92 return mDelegate.isEnabled(context); in isEnabled()
97 String msg = mDelegate.toString(); in toString()

123