Home
last modified time | relevance | path

Searched refs:mDelegate (Results 1 – 25 of 65) 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/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 …]
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 …]
DRemoteActionBarCallbackAdapter.java30 private final ActionBarCallback mDelegate; field in RemoteActionBarCallbackAdapter
33 mDelegate = delegate; in RemoteActionBarCallbackAdapter()
44 return mDelegate.getMenuIds(); in getMenuIds()
49 return mDelegate.getSplitActionBarWhenNarrow(); in getSplitActionBarWhenNarrow()
54 return mDelegate.getNavigationMode(); in getNavigationMode()
59 return mDelegate.getSubTitle(); in getSubTitle()
64 return mDelegate.getHomeButtonStyle(); in getHomeButtonStyle()
69 return mDelegate.isOverflowPopupNeeded(); in isOverflowPopupNeeded()
/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/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 libcore.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 libcore.timezone.CountryTimeZones mDelegate; field in CountryTimeZones
153 mDelegate = delegate; in CountryTimeZones()
161 return mDelegate.isForCountryCode(countryIso); in matchesCountryCode()
[all …]
DTelephonyNetwork.java31 private final libcore.timezone.TelephonyNetwork mDelegate; field in TelephonyNetwork
34 mDelegate = Objects.requireNonNull(delegate); in TelephonyNetwork()
42 return mDelegate.getMcc(); in getMcc()
50 return mDelegate.getMnc(); in getMnc()
58 return mDelegate.getCountryIsoCode(); in getCountryIsoCode()
70 return mDelegate.equals(that.mDelegate); in equals()
75 return Objects.hash(mDelegate); in hashCode()
81 + "mDelegate=" + mDelegate in toString()
DTzDataSetVersion.java69 tzDataSetVersion.mDelegate); in isCompatibleWithThisDevice()
103 private final libcore.timezone.TzDataSetVersion mDelegate; field in TzDataSetVersion
106 mDelegate = Objects.requireNonNull(delegate); in TzDataSetVersion()
111 return mDelegate.getFormatMajorVersion(); in getFormatMajorVersion()
116 return mDelegate.getFormatMinorVersion(); in getFormatMinorVersion()
122 return mDelegate.getRulesVersion(); in getRulesVersion()
127 return mDelegate.getRevision(); in getRevision()
139 return mDelegate.equals(that.mDelegate); in equals()
144 return Objects.hash(mDelegate); in hashCode()
149 return mDelegate.toString(); in toString()
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareService.java66 private final ISoundTriggerMiddlewareInternal mDelegate; field in SoundTriggerMiddlewareService
73 mDelegate = Objects.requireNonNull(delegate); in SoundTriggerMiddlewareService()
76 mDelegate.setCaptureState(active); in SoundTriggerMiddlewareService()
86 return mDelegate.listModules(); in listModules()
93 return new ModuleService(mDelegate.attach(handle, callback)); in attach()
97 if (mDelegate instanceof Dumpable) { in dump()
98 ((Dumpable) mDelegate).dump(fout); in dump()
103 private final ISoundTriggerModule mDelegate; field in SoundTriggerMiddlewareService.ModuleService
106 mDelegate = delegate; in ModuleService()
111 return mDelegate.loadModel(model); in loadModel()
[all …]
DSoundTriggerMiddlewareLogging.java67 private final @NonNull ISoundTriggerMiddlewareInternal mDelegate; field in SoundTriggerMiddlewareLogging
70 mDelegate = delegate; in SoundTriggerMiddlewareLogging()
76 SoundTriggerModuleDescriptor[] result = mDelegate.listModules(); in listModules()
89 ISoundTriggerModule result = mDelegate.attach(handle, new CallbackLogging(callback)); in attach()
101 mDelegate.setCaptureState(active); in setCaptureState()
117 return mDelegate.toString(); in toString()
133 private final ISoundTriggerCallback mDelegate; field in SoundTriggerMiddlewareLogging.CallbackLogging
136 mDelegate = delegate; in CallbackLogging()
142 mDelegate.onRecognition(modelHandle, event); in onRecognition()
154 mDelegate.onPhraseRecognition(modelHandle, event); in onPhraseRecognition()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DNinePatchInputStream.java34 private final InputStream mDelegate; field in NinePatchInputStream
38 mDelegate = new FileInputStream(file); in NinePatchInputStream()
42 mDelegate = stream; in NinePatchInputStream()
48 return mFakeMarkSupport || mDelegate.markSupported(); in markSupported()
59 return mDelegate.read(); in read()
64 return mDelegate.read(b); in read()
69 return mDelegate.read(b, off, len); in read()
74 return mDelegate.skip(n); in skip()
79 return mDelegate.available(); in available()
84 mDelegate.close(); in close()
[all …]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayoutParserWrapper.java42 private final XmlPullParser mDelegate; field in LayoutParserWrapper
58 mDelegate = delegate; in LayoutParserWrapper()
108 mEventType = mDelegate.getEventType(); in peekNext()
109 mNext = mDelegate.next(); in peekNext()
111 int count = mDelegate.getAttributeCount(); in peekNext()
115 mAttributes.add(new Attribute(mDelegate.getAttributeNamespace(i), in peekNext()
116 mDelegate.getAttributeName(i), mDelegate.getAttributeValue(i))); in peekNext()
119 mDepth = mDelegate.getDepth(); in peekNext()
120 mText = mDelegate.getText(); in peekNext()
121 mName = mDelegate.getName(); in peekNext()
[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/native/services/surfaceflinger/tests/unittests/
DTimeStatsTest.cpp182 FakeStatsEventDelegate* mDelegate = new FakeStatsEventDelegate; member in android::__anon0d647eea0111::TimeStatsTest
184 std::make_unique<impl::TimeStats>(std::unique_ptr<FakeStatsEventDelegate>(mDelegate),
268 EXPECT_THAT(mDelegate->mAtomTags, in TEST_F()
274 EXPECT_CALL(*mDelegate, in TEST_F()
276 EXPECT_CALL(*mDelegate, in TEST_F()
916 EXPECT_THAT(mDelegate->mAtomTags, in TEST_F()
919 EXPECT_NE(nullptr, mDelegate->mCallback); in TEST_F()
920 EXPECT_EQ(mTimeStats.get(), mDelegate->mCookie); in TEST_F()
927 EXPECT_CALL(*mDelegate, in TEST_F()
928 statsEventSetAtomId(mDelegate->mEvent, in TEST_F()
[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/core/java/android/view/textclassifier/
DTextClassificationSession.java37 private final TextClassifier mDelegate; field in TextClassificationSession
47 mDelegate = Objects.requireNonNull(delegate); in TextClassificationSession()
52 mCleaner = Cleaner.create(this, new CleanerRunnable(mEventHelper, mDelegate)); in TextClassificationSession()
58 return mDelegate.suggestSelection(request); in suggestSelection()
62 if (mDelegate instanceof SystemTextClassifier) { in initializeRemoteSession()
63 ((SystemTextClassifier) mDelegate).initializeRemoteSession( in initializeRemoteSession()
71 return mDelegate.classifyText(request); in classifyText()
77 return mDelegate.generateLinks(request); in generateLinks()
83 return mDelegate.suggestConversationActions(request); in suggestConversationActions()
89 return mDelegate.detectLanguage(request); in detectLanguage()
[all …]
/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()

123