Home
last modified time | relevance | path

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

123

/frameworks/base/keystore/java/android/security/keystore/
DDelegatingX509Certificate.java40 private final X509Certificate mDelegate; field in DelegatingX509Certificate
43 mDelegate = delegate; in DelegatingX509Certificate()
48 return mDelegate.getCriticalExtensionOIDs(); in getCriticalExtensionOIDs()
53 return mDelegate.getExtensionValue(oid); in getExtensionValue()
58 return mDelegate.getNonCriticalExtensionOIDs(); in getNonCriticalExtensionOIDs()
63 return mDelegate.hasUnsupportedCriticalExtension(); in hasUnsupportedCriticalExtension()
69 mDelegate.checkValidity(); in checkValidity()
75 mDelegate.checkValidity(date); in checkValidity()
80 return mDelegate.getBasicConstraints(); in getBasicConstraints()
85 return mDelegate.getIssuerDN(); in getIssuerDN()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerHalMaxModelLimiter.java37 private final @NonNull ISoundTriggerHal mDelegate; field in SoundTriggerHalMaxModelLimiter
47 mDelegate = delegate; in SoundTriggerHalMaxModelLimiter()
53 mDelegate.reboot(); in reboot()
58 mDelegate.detach(); in detach()
63 return mDelegate.getProperties(); in getProperties()
69 mDelegate.registerCallback(mGlobalCallback); in registerCallback()
78 int result = mDelegate.loadSoundModel(soundModel, callback); in loadSoundModel()
91 int result = mDelegate.loadPhraseSoundModel(soundModel, callback); in loadPhraseSoundModel()
104 mDelegate.unloadSoundModel(modelHandle); in unloadSoundModel()
120 mDelegate.stopRecognition(modelHandle); in stopRecognition()
[all …]
DSoundTriggerDuplicateModelHandler.java37 private final @NonNull ISoundTriggerHal mDelegate; field in SoundTriggerDuplicateModelHandler
71 mDelegate = delegate; in SoundTriggerDuplicateModelHandler()
76 mDelegate.reboot(); in reboot()
81 mDelegate.detach(); in detach()
86 return mDelegate.getProperties(); in getProperties()
92 mDelegate.registerCallback(mGlobalCallback); in registerCallback()
99 var result = mDelegate.loadSoundModel(soundModel, callback); in loadSoundModel()
109 var result = mDelegate.loadPhraseSoundModel(soundModel, callback); in loadPhraseSoundModel()
117 mDelegate.unloadSoundModel(modelHandle); in unloadSoundModel()
133 mDelegate.stopRecognition(modelHandle); in stopRecognition()
[all …]
DSoundTriggerMiddlewarePermission.java68 private final @NonNull ISoundTriggerMiddlewareInternal mDelegate; field in SoundTriggerMiddlewarePermission
73 mDelegate = delegate; in SoundTriggerMiddlewarePermission()
82 return mDelegate.listModules(); in listModules()
92 return wrapper.attach(mDelegate.attach(handle, wrapper.getCallbackWrapper(), isTrusted)); in attach()
98 return Objects.toString(mDelegate); in toString()
194 if (mDelegate instanceof Dumpable) { in dump()
195 ((Dumpable) mDelegate).dump(pw); in dump()
204 private ISoundTriggerModule mDelegate; field in SoundTriggerMiddlewarePermission.ModuleWrapper
218 mDelegate = delegate; in attach()
229 return mDelegate.loadModel(model); in loadModel()
[all …]
DSoundTriggerMiddlewareService.java72 private final @NonNull ISoundTriggerMiddlewareInternal mDelegate; field in SoundTriggerMiddlewareService
83 mDelegate = Objects.requireNonNull(delegate); in SoundTriggerMiddlewareService()
91 return mDelegate.listModules(); in listModulesAsOriginator()
100 return mDelegate.listModules(); in listModulesAsMiddleman()
108 return new ModuleService(mDelegate.attach(handle, callback, /* isTrusted= */ false)); in attachAsOriginator()
118 return new ModuleService(mDelegate.attach(handle, callback, isTrusted)); in attachAsMiddleman()
134 if (mDelegate instanceof Dumpable) { in dump()
135 ((Dumpable) mDelegate).dump(fout); in dump()
152 private final ISoundTriggerModule mDelegate; field in SoundTriggerMiddlewareService.ModuleService
155 mDelegate = delegate; in ModuleService()
[all …]
DSoundTriggerHalConcurrentCaptureHandler.java67 @NonNull private final ISoundTriggerHal mDelegate; field in SoundTriggerHalConcurrentCaptureHandler
124 mDelegate = delegate; in SoundTriggerHalConcurrentCaptureHandler()
137 mDelegate.startRecognition(modelHandle, deviceHandle, ioHandle, config); in startRecognition()
152 mDelegate.stopRecognition(modelHandle); in stopRecognition()
186 mDelegate.stopRecognition(toStop); in abortAllActiveModels()
196 int handle = mDelegate.loadSoundModel(soundModel, new CallbackWrapper(callback)); in loadSoundModel()
204 int handle = mDelegate.loadPhraseSoundModel(soundModel, new CallbackWrapper(callback)); in loadPhraseSoundModel()
212 mDelegate.unloadSoundModel(modelHandle); in unloadSoundModel()
218 mDelegate.registerCallback(mGlobalCallback); in registerCallback()
224 mDelegate.linkToDeath(wrapper); in linkToDeath()
[all …]
/frameworks/base/core/java/android/widget/
DCalendarView.java78 private final CalendarViewDelegate mDelegate; field in CalendarView
122 mDelegate = new CalendarViewLegacyDelegate( in CalendarView()
126 mDelegate = new CalendarViewMaterialDelegate( in CalendarView()
144 mDelegate.setShownWeekCount(count); in setShownWeekCount()
158 return mDelegate.getShownWeekCount(); in getShownWeekCount()
171 mDelegate.setSelectedWeekBackgroundColor(color); in setSelectedWeekBackgroundColor()
186 return mDelegate.getSelectedWeekBackgroundColor(); in getSelectedWeekBackgroundColor()
199 mDelegate.setFocusedMonthDateColor(color); in setFocusedMonthDateColor()
214 return mDelegate.getFocusedMonthDateColor(); in getFocusedMonthDateColor()
227 mDelegate.setUnfocusedMonthDateColor(color); in setUnfocusedMonthDateColor()
[all …]
DDatePicker.java120 private final DatePickerDelegate mDelegate; field in DatePicker
181 mDelegate = createCalendarUIDelegate(context, attrs, defStyleAttr, defStyleRes); in DatePicker()
185 mDelegate = createSpinnerUIDelegate(context, attrs, defStyleAttr, defStyleRes); in DatePicker()
193 mDelegate.setAutoFillChangeListener((v, y, m, d) -> { in DatePicker()
240 mDelegate.init(year, monthOfYear, dayOfMonth, onDateChangedListener); in init()
250 mDelegate.setOnDateChangedListener(onDateChangedListener); in setOnDateChangedListener()
261 mDelegate.updateDate(year, month, dayOfMonth); in updateDate()
269 return mDelegate.getYear(); in getYear()
277 return mDelegate.getMonth(); in getMonth()
285 return mDelegate.getDayOfMonth(); in getDayOfMonth()
[all …]
DTimePicker.java90 private final TimePickerDelegate mDelegate; field in TimePicker
146 mDelegate = new TimePickerClockDelegate( in TimePicker()
151 mDelegate = new TimePickerSpinnerDelegate( in TimePicker()
155 mDelegate.setAutoFillChangeListener((v, h, m) -> { in TimePicker()
186 mDelegate.setHour(MathUtils.constrain(hour, 0, 23)); in setHour()
197 return mDelegate.getHour(); in getHour()
207 mDelegate.setMinute(MathUtils.constrain(minute, 0, 59)); in setMinute()
218 return mDelegate.getMinute(); in getMinute()
276 mDelegate.setIs24Hour(is24HourView); in setIs24HourView()
286 return mDelegate.is24Hour(); in is24HourView()
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/
DVisibleRecipientChip.java30 private final SimpleRecipientChip mDelegate; field in VisibleRecipientChip
35 mDelegate = new SimpleRecipientChip(entry); in VisibleRecipientChip()
40 mDelegate.setSelected(selected); in setSelected()
45 return mDelegate.isSelected(); in isSelected()
50 return mDelegate.getDisplay(); in getDisplay()
55 return mDelegate.getValue(); in getValue()
60 return mDelegate.getContactId(); in getContactId()
65 return mDelegate.getDirectoryId(); in getDirectoryId()
70 return mDelegate.getLookupKey(); in getLookupKey()
75 return mDelegate.getDataId(); in getDataId()
[all …]
DInvisibleRecipientChip.java31 private final SimpleRecipientChip mDelegate; field in InvisibleRecipientChip
37 mDelegate = new SimpleRecipientChip(entry); in InvisibleRecipientChip()
42 mDelegate.setSelected(selected); in setSelected()
47 return mDelegate.isSelected(); in isSelected()
52 return mDelegate.getDisplay(); in getDisplay()
57 return mDelegate.getValue(); in getValue()
62 return mDelegate.getContactId(); in getContactId()
67 return mDelegate.getDirectoryId(); in getDirectoryId()
72 return mDelegate.getLookupKey(); in getLookupKey()
77 return mDelegate.getDataId(); in getDataId()
[all …]
/frameworks/base/core/java/android/timezone/
DCountryTimeZones.java43 private com.android.i18n.timezone.CountryTimeZones.TimeZoneMapping mDelegate; field in CountryTimeZones.TimeZoneMapping
46 this.mDelegate = Objects.requireNonNull(delegate); in TimeZoneMapping()
57 return mDelegate.getTimeZoneId(); in getTimeZoneId()
65 return mDelegate.getTimeZone(); in getTimeZone()
77 return this.mDelegate.equals(that.mDelegate); in equals()
82 return this.mDelegate.hashCode(); in hashCode()
87 return mDelegate.toString(); in toString()
150 private final com.android.i18n.timezone.CountryTimeZones mDelegate; field in CountryTimeZones
153 mDelegate = delegate; in CountryTimeZones()
161 return mDelegate.matchesCountryCode(countryIso); in matchesCountryCode()
[all …]
DTelephonyNetwork.java32 private final com.android.i18n.timezone.TelephonyNetwork mDelegate; field in TelephonyNetwork
35 mDelegate = Objects.requireNonNull(delegate); in TelephonyNetwork()
43 return mDelegate.getMcc(); in getMcc()
51 return mDelegate.getMnc(); in getMnc()
59 return mDelegate.getCountryIsoCode(); in getCountryIsoCode()
71 return mDelegate.equals(that.mDelegate); in equals()
76 return Objects.hash(mDelegate); in hashCode()
82 + "mDelegate=" + mDelegate in toString()
DTzDataSetVersion.java71 tzDataSetVersion.mDelegate); in isCompatibleWithThisDevice()
104 private final com.android.i18n.timezone.TzDataSetVersion mDelegate; field in TzDataSetVersion
107 mDelegate = Objects.requireNonNull(delegate); in TzDataSetVersion()
112 return mDelegate.getFormatMajorVersion(); in getFormatMajorVersion()
117 return mDelegate.getFormatMinorVersion(); in getFormatMinorVersion()
123 return mDelegate.getRulesVersion(); in getRulesVersion()
128 return mDelegate.getRevision(); in getRevision()
140 return mDelegate.equals(that.mDelegate); in equals()
145 return Objects.hash(mDelegate); in hashCode()
150 return mDelegate.toString(); in toString()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapper.java42 private final XmlPullParser mDelegate; field in LayoutParserWrapper
59 mDelegate = delegate; in LayoutParserWrapper()
109 mEventType = mDelegate.getEventType(); in peekNext()
110 mNext = mDelegate.next(); in peekNext()
112 int count = mDelegate.getAttributeCount(); in peekNext()
116 mAttributes.add(new Attribute(mDelegate.getAttributeNamespace(i), in peekNext()
117 mDelegate.getAttributeName(i), mDelegate.getAttributeValue(i))); in peekNext()
120 mDepth = mDelegate.getDepth(); in peekNext()
121 mText = mDelegate.getText(); in peekNext()
122 mName = mDelegate.getName(); in peekNext()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DNinePatchInputStream.java34 private final InputStream mDelegate; field in NinePatchInputStream
39 mDelegate = new FileInputStream(file); in NinePatchInputStream()
44 mDelegate = stream; in NinePatchInputStream()
56 return mFakeMarkSupport || mDelegate.markSupported(); in markSupported()
67 return mDelegate.read(); in read()
72 return mDelegate.read(b); in read()
77 return mDelegate.read(b, off, len); in read()
82 return mDelegate.skip(n); in skip()
87 return mDelegate.available(); in available()
92 mDelegate.close(); in close()
[all …]
/frameworks/av/media/libaudioclient/
DIAudioFlinger.cpp244 const sp<media::IAudioFlingerService> delegate) : mDelegate(delegate) {} in AudioFlingerClientAdapter()
248 return statusTFromBinderStatus(mDelegate->createTrack(input, &output)); in createTrack()
253 return statusTFromBinderStatus(mDelegate->createRecord(input, &output)); in createRecord()
260 RETURN_IF_ERROR(statusTFromBinderStatus(mDelegate->sampleRate(ioHandleAidl, &aidlRet))); in sampleRate()
271 RETURN_IF_ERROR(statusTFromBinderStatus(mDelegate->format(outputAidl, &aidlRet))); in format()
281 RETURN_IF_ERROR(statusTFromBinderStatus(mDelegate->frameCount(ioHandleAidl, &aidlRet))); in frameCount()
292 RETURN_IF_ERROR(statusTFromBinderStatus(mDelegate->latency(outputAidl, &aidlRet))); in latency()
300 return statusTFromBinderStatus(mDelegate->setMasterVolume(value)); in setMasterVolume()
304 return statusTFromBinderStatus(mDelegate->setMasterMute(muted)); in setMasterMute()
310 RETURN_IF_ERROR(statusTFromBinderStatus(mDelegate->masterVolume(&aidlRet))); in masterVolume()
[all …]
/frameworks/base/core/java/android/net/http/
DHttpResponseCache.java153 private final AndroidResponseCacheAdapter mDelegate; field in HttpResponseCache
156 mDelegate = delegate; in HttpResponseCache()
207 return mDelegate.get(uri, requestMethod, requestHeaders); in get()
212 return mDelegate.put(uri, urlConnection); in put()
222 return mDelegate.getSize(); in size()
234 return mDelegate.getMaxSize(); in maxSize()
244 mDelegate.flush(); in flush()
254 return mDelegate.getNetworkCount(); in getNetworkCount()
263 return mDelegate.getHitCount(); in getHitCount()
272 return mDelegate.getRequestCount(); in getRequestCount()
[all …]
/frameworks/av/services/audiopolicy/service/
DBinderProxy.h48 if (mDelegate != nullptr) { in ~BinderProxy()
49 sp<IBinder> binder = IInterface::asBinder(mDelegate); in ~BinderProxy()
58 if (mDelegate == nullptr) { in waitServiceOrDie()
59 mDelegate = waitForService<ServiceType>(String16(mServiceName.c_str())); in waitServiceOrDie()
60 LOG_ALWAYS_FATAL_IF(mDelegate == nullptr, in waitServiceOrDie()
63 sp<IBinder> binder = IInterface::asBinder(mDelegate); in waitServiceOrDie()
68 return mDelegate; in waitServiceOrDie()
72 sp<ServiceType> mDelegate;
91 mDelegate.clear(); in binderDied()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DFixedSizeQueue.java39 private final Queue<E> mDelegate; field in FixedSizeQueue
48 mDelegate = new ArrayDeque<>(maxSize); in FixedSizeQueue()
55 return mDelegate.size(); in size()
62 E removed = mDelegate.remove(); in add()
67 mDelegate.add(element); in add()
76 return mDelegate.poll(); in poll()
84 return mDelegate.remove(element); in remove()
89 return mDelegate.isEmpty(); in isEmpty()
/frameworks/base/services/core/java/com/android/server/location/provider/
DDelegateLocationProvider.java39 protected final AbstractLocationProvider mDelegate; field in DelegateLocationProvider
46 mDelegate = delegate; in DelegateLocationProvider()
57 setState(previousState -> mDelegate.getController().setListener(this)); in initializeDelegate()
88 mDelegate.getController().start(); in onStart()
94 mDelegate.getController().stop(); in onStop()
100 mDelegate.getController().setRequest(request); in onSetRequest()
106 mDelegate.getController().flush(callback); in onFlush()
112 mDelegate.getController().sendExtraCommand(uid, pid, command, extras); in onExtraCommand()
118 mDelegate.dump(fd, pw, args); in dump()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DStationaryThrottlingLocationProviderTest.java64 private @Mock FakeProvider.FakeProviderInterface mDelegate; field in StationaryThrottlingLocationProviderTest
78 mDelegateProvider = new FakeProvider(mDelegate); in setUp()
110 verify(mDelegate).onSetRequest(request); in testThrottle_stationaryExit()
116 verify(mDelegate, never()).onSetRequest(ProviderRequest.EMPTY_REQUEST); in testThrottle_stationaryExit()
119 verify(mDelegate).onSetRequest(ProviderRequest.EMPTY_REQUEST); in testThrottle_stationaryExit()
123 verify(mDelegate, times(2)).onSetRequest(request); in testThrottle_stationaryExit()
132 verify(mDelegate).onSetRequest(request); in testThrottle_idleExit()
138 verify(mDelegate, never()).onSetRequest(ProviderRequest.EMPTY_REQUEST); in testThrottle_idleExit()
141 verify(mDelegate).onSetRequest(ProviderRequest.EMPTY_REQUEST); in testThrottle_idleExit()
145 verify(mDelegate, times(2)).onSetRequest(request); in testThrottle_idleExit()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/customize/
DTileAdapterDelegateTest.java55 private TileAdapterDelegate mDelegate; field in TileAdapterDelegateTest
63 mDelegate = new TileAdapterDelegate(); in setUp()
69 mDelegate.onInitializeAccessibilityNodeInfo(mView, mInfo); in testInfoNoSpecialActionsWhenNoHolder()
82 mDelegate.onInitializeAccessibilityNodeInfo(mView, mInfo); in testInfoNoSpecialActionsWhenCannotStartAccessibleAction()
96 mDelegate.onInitializeAccessibilityNodeInfo(mView, mInfo); in testNoCollectionItemInfo()
110 mDelegate.onInitializeAccessibilityNodeInfo(mView, mInfo); in testStateDescriptionHasPositionForCurrentTile()
122 mDelegate.onInitializeAccessibilityNodeInfo(mView, mInfo); in testStateDescriptionEmptyForNotCurrentTile()
133 mDelegate.onInitializeAccessibilityNodeInfo(mView, mInfo); in testClickAddAction()
148 mDelegate.onInitializeAccessibilityNodeInfo(mView, mInfo); in testClickRemoveAction()
165 mDelegate.onInitializeAccessibilityNodeInfo(mView, mInfo); in testNoClickAction()
[all …]
/frameworks/base/core/java/android/view/textclassifier/
DTextClassificationSession.java39 private final TextClassifier mDelegate; field in TextClassificationSession
52 mDelegate = Objects.requireNonNull(delegate); in TextClassificationSession()
57 mCleaner = Cleaner.create(this, new CleanerRunnable(mEventHelper, mDelegate)); in TextClassificationSession()
62 return checkDestroyedAndRun(() -> mDelegate.suggestSelection(request)); in suggestSelection()
66 if (mDelegate instanceof SystemTextClassifier) { in initializeRemoteSession()
67 ((SystemTextClassifier) mDelegate).initializeRemoteSession( in initializeRemoteSession()
74 return checkDestroyedAndRun(() -> mDelegate.classifyText(request)); in classifyText()
79 return checkDestroyedAndRun(() -> mDelegate.generateLinks(request)); in generateLinks()
84 return checkDestroyedAndRun(() -> mDelegate.suggestConversationActions(request)); in suggestConversationActions()
89 return checkDestroyedAndRun(() -> mDelegate.detectLanguage(request)); in detectLanguage()
[all …]
/frameworks/av/media/libaaudio/src/binding/
DAAudioBinderAdapter.cpp28 : mDelegate(delegate), mServiceLifetimeId(serviceLifetimeId) {} in AAudioBinderAdapter()
31 mDelegate->registerClient(client); in registerClient()
38 Status status = mDelegate->openStream(request.parcelable(), in openStream()
53 Status status = mDelegate->closeStream(streamHandleInfo.getHandle(), &result); in closeStream()
67 Status status = mDelegate->getStreamDescription(streamHandleInfo.getHandle(), in getStreamDescription()
82 Status status = mDelegate->startStream(streamHandleInfo.getHandle(), &result); in startStream()
94 Status status = mDelegate->pauseStream(streamHandleInfo.getHandle(), &result); in pauseStream()
106 Status status = mDelegate->stopStream(streamHandleInfo.getHandle(), &result); in stopStream()
118 Status status = mDelegate->flushStream(streamHandleInfo.getHandle(), &result); in flushStream()
132 Status status = mDelegate->registerAudioThread( in registerAudioThread()
[all …]

123