Home
last modified time | relevance | path

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

1234

/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/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
DRemoteXmlPullParserAdapter.java33 protected XmlPullParser mDelegate; field in RemoteXmlPullParserAdapter
36 mDelegate = delegate; in RemoteXmlPullParserAdapter()
48 mDelegate.setFeature(name, state); in setFeature()
53 return mDelegate.getFeature(name); in getFeature()
59 mDelegate.setProperty(name, value); in setProperty()
64 return mDelegate.getProperty(name); in getProperty()
69 mDelegate.setInput(in); in setInput()
75 mDelegate.setInput(StreamUtil.getInputStream(inputStream), inputEncoding); in setInput()
80 return mDelegate.getInputEncoding(); in getInputEncoding()
91 return mDelegate.getNamespaceCount(depth); in getNamespaceCount()
[all …]
DRemoteRenderParamsAdapter.java38 private final RenderParams mDelegate; field in RemoteRenderParamsAdapter
41 mDelegate = params; in RemoteRenderParamsAdapter()
52 Object projectKey = mDelegate.getProjectKey(); in getProjectKey()
59 return new RemoteHardwareConfig(mDelegate.getHardwareConfig()); in getRemoteHardwareConfig()
64 return mDelegate.getMinSdkVersion(); in getMinSdkVersion()
69 return mDelegate.getTargetSdkVersion(); in getTargetSdkVersion()
75 return RemoteRenderResourcesAdapter.create(mDelegate.getResources()); in getRemoteResources()
84 return RemoteAssetRepositoryAdapter.create(mDelegate.getAssets()); in getAssets()
93 return RemoteLayoutlibCallbackAdapter.create(mDelegate.getLayoutlibCallback()); in getRemoteLayoutlibCallback()
102 return RemoteLayoutLogAdapter.create(mDelegate.getLog()); in getLog()
[all …]
DRemoteRenderResourcesAdapter.java34 private final RenderResources mDelegate; field in RemoteRenderResourcesAdapter
37 mDelegate = delegate; in RemoteRenderResourcesAdapter()
48 return RemoteResourceValue.fromResourceValue(mDelegate.getDefaultTheme()); in getDefaultTheme()
53 mDelegate.applyStyle(theme.toResourceValue(), useAsPrimary); in applyStyle()
58 mDelegate.clearStyles(); in clearStyles()
63 return mDelegate.getAllThemes().stream().map( in getAllThemes()
71 return RemoteResourceValue.fromResourceValue(mDelegate.getResolvedResource(reference)); in getResolvedResource()
76 return RemoteResourceValue.fromResourceValue(mDelegate.findItemInTheme(attr)); in findItemInTheme()
83 mDelegate.findItemInStyle(style.toResourceValue(), attr)); in findItemInStyle()
90 mDelegate.resolveResValue(value.toResourceValue())); in resolveValue()
[all …]
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/
DRemoteXmlPullParserAdapter.java32 protected RemoteXmlPullParser mDelegate; field in RemoteXmlPullParserAdapter
35 mDelegate = remote; in RemoteXmlPullParserAdapter()
41 mDelegate.setFeature(name, state); in setFeature()
50 return mDelegate.getFeature(name); in getFeature()
59 mDelegate.setProperty(name, value); in setProperty()
68 return mDelegate.getProperty(name); in getProperty()
77 mDelegate.setInput(in); in setInput()
87 mDelegate.setInput(RemoteInputStreamAdapter.create(inputStream), inputEncoding); in setInput()
96 return mDelegate.getInputEncoding(); in getInputEncoding()
106 mDelegate.defineEntityReplacementText(entityName, replacementText); in defineEntityReplacementText()
[all …]
DRemoteRenderResourcesAdapter.java33 private final RemoteRenderResources mDelegate; field in RemoteRenderResourcesAdapter
36 mDelegate = remoteRenderResources; in RemoteRenderResourcesAdapter()
47 return mDelegate.getDefaultTheme().toResourceValue(); in getDefaultTheme()
56 mDelegate.applyStyle(RemoteResourceValue.fromResourceValue(theme), useAsPrimary); in applyStyle()
65 mDelegate.clearStyles(); in clearStyles()
74 return mDelegate.getAllThemes().stream() in getAllThemes()
85 return mDelegate.findItemInTheme(attr).toResourceValue(); in findItemInTheme()
94 return mDelegate.findItemInStyle(RemoteResourceValue.fromResourceValue(style), attr) in findItemInStyle()
104 return mDelegate.dereference(RemoteResourceValue.fromResourceValue(resourceValue)) in dereference()
115 return mDelegate.getUnresolvedResource(reference).toResourceValue(); in getUnresolvedResource()
[all …]
DRemoteRenderSessionAdapter.java30 private final RenderSession mDelegate; field in RemoteRenderSessionAdapter
33 mDelegate = delegate; in RemoteRenderSessionAdapter()
45 return mDelegate.getResult(); in getResult()
50 return mDelegate.render(timeout, forceMeasure); in render()
56 return new SerializableImageImpl(mDelegate.getImage()); in getSerializableImage()
61 mDelegate.setSystemTimeNanos(nanos); in setSystemTimeNanos()
66 mDelegate.setSystemBootTimeNanos(nanos); in setSystemBootTimeNanos()
71 mDelegate.setElapsedFrameTimeNanos(nanos); in setElapsedFrameTimeNanos()
76 mDelegate.dispose(); in dispose()
DRemoteActionBarCallbackAdapter.java28 private final RemoteActionBarCallback mDelegate; field in RemoteActionBarCallbackAdapter
31 mDelegate = remote; in RemoteActionBarCallbackAdapter()
37 return mDelegate.getMenuIds(); in getMenuIds()
46 return mDelegate.getSplitActionBarWhenNarrow(); in getSplitActionBarWhenNarrow()
55 return mDelegate.getNavigationMode(); in getNavigationMode()
64 return mDelegate.getSubTitle(); in getSubTitle()
73 return mDelegate.getHomeButtonStyle(); in getHomeButtonStyle()
82 return mDelegate.isOverflowPopupNeeded(); in isOverflowPopupNeeded()
/frameworks/base/services/core/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 …]
DSoundTriggerMiddlewarePermission.java69 private final @NonNull ISoundTriggerMiddlewareInternal mDelegate; field in SoundTriggerMiddlewarePermission
74 mDelegate = delegate; in SoundTriggerMiddlewarePermission()
83 return mDelegate.listModules(); in listModules()
93 return wrapper.attach(mDelegate.attach(handle, wrapper.getCallbackWrapper())); in attach()
99 return Objects.toString(mDelegate); in toString()
201 if (mDelegate instanceof Dumpable) { in dump()
202 ((Dumpable) mDelegate).dump(pw); in dump()
211 private ISoundTriggerModule mDelegate; field in SoundTriggerMiddlewarePermission.ModuleWrapper
222 mDelegate = delegate; in attach()
233 return mDelegate.loadModel(model); in loadModel()
[all …]
DSoundTriggerMiddlewareService.java69 private final @NonNull ISoundTriggerMiddlewareInternal mDelegate; field in SoundTriggerMiddlewareService
78 mDelegate = Objects.requireNonNull(delegate); in SoundTriggerMiddlewareService()
85 return mDelegate.listModules(); in listModulesAsOriginator()
94 return mDelegate.listModules(); in listModulesAsMiddleman()
102 return new ModuleService(mDelegate.attach(handle, callback)); in attachAsOriginator()
112 return new ModuleService(mDelegate.attach(handle, callback)); in attachAsMiddleman()
118 if (mDelegate instanceof Dumpable) { in dump()
119 ((Dumpable) mDelegate).dump(fout); in dump()
136 private final ISoundTriggerModule mDelegate; field in SoundTriggerMiddlewareService.ModuleService
139 mDelegate = delegate; in ModuleService()
[all …]
DSoundTriggerHalConcurrentCaptureHandler.java66 @NonNull private final ISoundTriggerHal mDelegate; field in SoundTriggerHalConcurrentCaptureHandler
123 mDelegate = delegate; in SoundTriggerHalConcurrentCaptureHandler()
136 mDelegate.startRecognition(modelHandle, deviceHandle, ioHandle, config); in startRecognition()
151 mDelegate.stopRecognition(modelHandle); in stopRecognition()
185 mDelegate.stopRecognition(toStop); in abortAllActiveModels()
195 int handle = mDelegate.loadSoundModel(soundModel, new CallbackWrapper(callback)); in loadSoundModel()
203 int handle = mDelegate.loadPhraseSoundModel(soundModel, new CallbackWrapper(callback)); in loadPhraseSoundModel()
211 mDelegate.unloadSoundModel(modelHandle); in unloadSoundModel()
217 mDelegate.registerCallback(mGlobalCallback); in registerCallback()
223 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 …]
/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.cpp231 const sp<media::IAudioFlingerService> delegate) : mDelegate(delegate) {} in AudioFlingerClientAdapter()
235 return statusTFromBinderStatus(mDelegate->createTrack(input, &output)); in createTrack()
240 return statusTFromBinderStatus(mDelegate->createRecord(input, &output)); in createRecord()
247 RETURN_IF_ERROR(statusTFromBinderStatus(mDelegate->sampleRate(ioHandleAidl, &aidlRet))); in sampleRate()
258 RETURN_IF_ERROR(statusTFromBinderStatus(mDelegate->format(outputAidl, &aidlRet))); in format()
268 RETURN_IF_ERROR(statusTFromBinderStatus(mDelegate->frameCount(ioHandleAidl, &aidlRet))); in frameCount()
279 RETURN_IF_ERROR(statusTFromBinderStatus(mDelegate->latency(outputAidl, &aidlRet))); in latency()
287 return statusTFromBinderStatus(mDelegate->setMasterVolume(value)); in setMasterVolume()
291 return statusTFromBinderStatus(mDelegate->setMasterMute(muted)); in setMasterMute()
297 RETURN_IF_ERROR(statusTFromBinderStatus(mDelegate->masterVolume(&aidlRet))); in masterVolume()
[all …]
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/util/
DRemoteInputStreamAdapter.java28 private InputStream mDelegate; field in RemoteInputStreamAdapter
31 mDelegate = delegate; in RemoteInputStreamAdapter()
41 return mDelegate.read(); in read()
47 if (mDelegate.read(buffer, off, len) == -1) { in read()
55 return mDelegate.skip(n); in skip()
60 return mDelegate.available(); in available()
65 mDelegate.close(); in close()
70 mDelegate.mark(readlimit); in mark()
75 mDelegate.reset(); in reset()
80 return mDelegate.markSupported(); in markSupported()
/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()

1234