Home
last modified time | relevance | path

Searched refs:mImpl (Results 1 – 25 of 103) sorted by relevance

12345

/frameworks/base/libs/hwui/
DDisplayList.h40 : mImpl(std::move(impl)) {} in SkiaDisplayListWrapper()
43 SkiaDisplayListWrapper(SkiaDisplayListWrapper&& other) : mImpl(std::move(other.mImpl)) {} in SkiaDisplayListWrapper()
45 mImpl = std::move(other.mImpl);
54 mImpl->updateChildren(std::move(updateFn)); in updateChildren()
58 return mImpl.get() != nullptr;
64 return mImpl.get() != nullptr; in isValid()
72 return mImpl && !(mImpl->isEmpty()); in hasContent()
76 return mImpl && mImpl->hasHolePunches(); in hasHolePunches()
80 return mImpl && mImpl->containsProjectionReceiver(); in containsProjectionReceiver()
84 return mImpl.get(); in asSkiaDl()
[all …]
/frameworks/libs/net/common/device/android/net/
DNetworkFactory.java56 final NetworkFactoryShim mImpl; field in NetworkFactory
66 mImpl = new NetworkFactoryImpl(this, looper, context, filter); in NetworkFactory()
68 mImpl = new NetworkFactoryLegacyImpl(this, looper, context, filter); in NetworkFactory()
80 return mImpl.obtainMessage(what, arg1, arg2, obj); in obtainMessage()
85 return mImpl.getLooper(); in getLooper()
93 mImpl.register(LOG_TAG); in register()
102 mImpl.registerIgnoringScore(LOG_TAG); in registerIgnoringScore()
107 mImpl.terminate(); in terminate()
111 mImpl.reevaluateAllRequests(); in reevaluateAllRequests()
147 mImpl.releaseRequestAsUnfulfillableByAnyFactory(r); in releaseRequestAsUnfulfillableByAnyFactory()
[all …]
/frameworks/base/libs/incident/tests/
DIncidentReportRequest_test.cpp29 mImpl = AIncidentReportArgs_init(); in IncidentReportRequest()
33 mImpl = AIncidentReportArgs_clone(that.mImpl); in IncidentReportRequest()
37 AIncidentReportArgs_delete(mImpl); in ~IncidentReportRequest()
41 return mImpl; in getImpl()
45 AIncidentReportArgs_setAll(mImpl, all); in setAll()
49 AIncidentReportArgs_setPrivacyPolicy(mImpl, privacyPolicy); in setPrivacyPolicy()
53 AIncidentReportArgs_addSection(mImpl, section); in addSection()
57 AIncidentReportArgs_setReceiverPackage(mImpl, pkg.c_str()); in setReceiverPackage()
61 AIncidentReportArgs_setReceiverClass(mImpl, cls.c_str()); in setReceiverClass()
65 AIncidentReportArgs_addHeader(mImpl, headerProto.data(), headerProto.size()); in addHeader()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DTaskStackListenerImplTest.java61 private TaskStackListenerImpl mImpl; field in TaskStackListenerImplTest
66 mImpl = new TaskStackListenerImpl(mActivityTaskManager); in setUp()
67 mImpl.setHandler(new ProxyToListenerImplHandler(mImpl)); in setUp()
68 mImpl.addListener(mCallback); in setUp()
69 mImpl.addListener(mOtherCallback); in setUp()
89 mImpl.onRecentTaskListUpdated(); in testOnRecentTaskListUpdated()
96 mImpl.onRecentTaskListFrozenChanged(true); in testOnRecentTaskListFrozenChanged()
103 mImpl.onTaskStackChanged(); in testOnTaskStackChanged()
112 mImpl.onTaskProfileLocked(1, 2); in testOnTaskProfileLocked()
119 mImpl.onTaskDisplayChanged(1, 2); in testOnTaskDisplayChanged()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecents.java35 private final RecentsImplementation mImpl; field in Recents
40 mImpl = impl; in Recents()
47 mImpl.onStart(mContext); in start()
52 mImpl.onBootCompleted(); in onBootCompleted()
57 mImpl.onConfigurationChanged(newConfig); in onConfigurationChanged()
63 mImpl.onAppTransitionFinished(); in appTransitionFinished()
75 mImpl.showRecentApps(triggeredFromAltTab); in showRecentApps()
86 mImpl.hideRecentApps(triggeredFromAltTab, triggeredFromHomeKey); in hideRecentApps()
97 mImpl.toggleRecentApps(); in toggleRecentApps()
108 mImpl.preloadRecentApps(); in preloadRecentApps()
[all …]
/frameworks/av/media/codec2/vndk/
DC2Fence.cpp42 if (mImpl) { in wait()
43 return mImpl->wait(timeoutNs); in wait()
50 if (mImpl) { in valid()
51 return mImpl->valid(); in valid()
58 if (mImpl) { in ready()
59 return mImpl->ready(); in ready()
66 if (mImpl) { in fd()
67 return mImpl->fd(); in fd()
74 if (mImpl) { in isHW()
75 return mImpl->isHW(); in isHW()
[all …]
DC2Buffer.cpp203 return mImpl->handle(); in handle()
207 return mImpl->getAllocatorId(); in getAllocatorId()
212 : _C2LinearRangeAspect(impl.get(), range.offset(), range.size()), mImpl(impl) { in C2Block1D()
228 mImpl(impl), in C2ReadView()
232 : _C2LinearCapacityAspect(0u), mImpl(std::make_shared<Impl>(error)), mOffset(0u) { in C2ReadView()
237 return mImpl->error() ? nullptr : mImpl->data() + mOffset; in data()
241 return mImpl->error(); in error()
246 return C2ReadView(mImpl, mOffset + subRange.offset(), subRange.size()); in subView()
260 …: _C2EditableLinearRangeAspect(std::make_unique<C2LinearCapacity>(impl->size()).get()), mImpl(impl… in C2WriteView()
263 : _C2EditableLinearRangeAspect(nullptr), mImpl(std::make_shared<Impl>(error)) {} in C2WriteView()
[all …]
/frameworks/av/media/ndk/
DNdkMediaMuxer.cpp37 sp<MediaMuxerBase> mImpl; member
49 mData->mImpl = new (std::nothrow) MediaMuxer(fd, (android::MediaMuxer::OutputFormat)format); in AMediaMuxer_new()
50 if (mData->mImpl == nullptr) { in AMediaMuxer_new()
66 return translate_error(muxer->mImpl->setLocation(latitude * 10000, longtitude * 10000)); in AMediaMuxer_setLocation()
71 return translate_error(muxer->mImpl->setOrientationHint(degrees)); in AMediaMuxer_setOrientationHint()
78 ssize_t ret = muxer->mImpl->addTrack(msg); in AMediaMuxer_addTrack()
84 return translate_error(muxer->mImpl->start()); in AMediaMuxer_start()
89 return translate_error(muxer->mImpl->stop()); in AMediaMuxer_stop()
97 muxer->mImpl->writeSampleData(buf, trackIdx, info->presentationTimeUs, info->flags)); in AMediaMuxer_writeSampleData()
107 mData->mImpl = MediaAppender::create(fd, (android::MediaAppender::AppendMode)mode); in AMediaMuxer_append()
[all …]
DNdkMediaExtractor.cpp45 sp<NuMediaExtractor> mImpl; member
67 mData->mImpl = new NuMediaExtractor( in AMediaExtractor_new()
85 return translate_error(mData->mImpl->setDataSource(fd, offset, length)); in AMediaExtractor_setDataSourceFd()
110 err = mData->mImpl->setDataSource(httpService, uri, numheaders > 0 ? &headers : NULL); in AMediaExtractor_setDataSourceWithHeaders()
121 return translate_error(mData->mImpl->setDataSource(new NdkDataSource(src))); in AMediaExtractor_setDataSourceCustom()
127 mData->mImpl->getFileFormat(&format); in AMediaExtractor_getFileFormat()
133 return mData->mImpl->countTracks(); in AMediaExtractor_getTrackCount()
139 mData->mImpl->getTrackFormat(idx, &format); in AMediaExtractor_getTrackFormat()
146 return translate_error(mData->mImpl->selectTrack(idx)); in AMediaExtractor_selectTrack()
152 return translate_error(mData->mImpl->unselectTrack(idx)); in AMediaExtractor_unselectTrack()
[all …]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetService.java31 private final AppWidgetServiceImpl mImpl; field in AppWidgetService
35 mImpl = new AppWidgetServiceImpl(context); in AppWidgetService()
40 mImpl.onStart(); in onStart()
41 publishBinderService(Context.APPWIDGET_SERVICE, mImpl); in onStart()
42 AppWidgetBackupBridge.register(mImpl); in onStart()
48 mImpl.setSafeMode(isSafeMode()); in onBootPhase()
49 mImpl.systemServicesReady(); in onBootPhase()
55 mImpl.onUserStopped(user.getUserIdentifier()); in onUserStopping()
60 mImpl.reloadWidgetsMaskedStateForGroup(to.getUserIdentifier()); in onUserSwitching()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java241 VoiceInteractionManagerService.this.mServiceStub.mImpl; in hasActiveSession()
263 VoiceInteractionManagerService.this.mServiceStub.mImpl; in getHotwordDetectionServiceIdentity()
281 volatile VoiceInteractionManagerServiceImpl mImpl; field in VoiceInteractionManagerService.VoiceInteractionManagerServiceStub
305 mImpl != null && mImpl.mHotwordDetectionConnection != null; in createSoundTriggerSessionAsOriginator()
348 if (mImpl == null) return; in startLocalVoiceInteraction()
352 mImpl.showSessionLocked(options, in startLocalVoiceInteraction()
362 mImpl.mActiveSession.mSession, in startLocalVoiceInteraction()
363 mImpl.mActiveSession.mInteractor); in startLocalVoiceInteraction()
373 if (mImpl == null) return; in stopLocalVoiceInteraction()
377 mImpl.finishLocked(callingActivity, true); in stopLocalVoiceInteraction()
[all …]
/frameworks/base/services/incremental/
DBinderIncrementalService.cpp62 : mImpl(RealServiceManager(sm, env), getIncrementalDir()) {} in BinderIncrementalService()
100 mImpl.onDump(fd); in dump()
105 mImpl.onSystemReady(); in onSystemReady()
114 *_aidl_return = mImpl.openStorage(path); in openStorage()
122 mImpl.createStorage(path, const_cast<content::pm::DataLoaderParamsParcel&&>(params), in createStorage()
133 mImpl.createLinkedStorage(path, otherStorageId, in createLinkedStorage()
147 mImpl.startLoading(storageId, const_cast<content::pm::DataLoaderParamsParcel&&>(params), in startLoading()
154 mImpl.onInstallationComplete(storageId); in onInstallationComplete()
162 *_aidl_return = mImpl.bind(storageId, sourcePath, targetFullPath, in makeBindMount()
170 *_aidl_return = mImpl.unbind(storageId, targetFullPath); in deleteBindMount()
[all …]
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java54 private WebViewUpdateServiceImpl mImpl; field in WebViewUpdateService
63 mImpl = new WebViewUpdateServiceImpl(context, SystemImpl.getInstance()); in WebViewUpdateService()
81 mImpl.packageStateChanged(packageNameFromIntent(intent), in onStart()
88 mImpl.packageStateChanged(packageNameFromIntent(intent), in onStart()
93 mImpl.packageStateChanged(packageNameFromIntent(intent), in onStart()
98 mImpl.handleNewUser(userId); in onStart()
101 mImpl.handleUserRemoved(userId); in onStart()
112 for (WebViewProviderInfo provider : mImpl.getWebViewPackages()) { in onStart()
129 mImpl.prepareWebViewInSystemServer(); in prepareWebViewInSystemServer()
176 WebViewUpdateService.this.mImpl.notifyRelroCreationCompleted(); in notifyRelroCreationCompleted()
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DMultiClientInputMethodServiceDelegate.java60 private final MultiClientInputMethodServiceDelegateImpl mImpl; field in MultiClientInputMethodServiceDelegate
262 mImpl = new MultiClientInputMethodServiceDelegateImpl(context, serviceCallback); in MultiClientInputMethodServiceDelegate()
283 mImpl.onDestroy(); in onDestroy()
295 return mImpl.onBind(intent); in onBind()
307 return mImpl.onUnbind(intent); in onUnbind()
320 return mImpl.createInputMethodWindowToken(displayId); in createInputMethodWindowToken()
337 mImpl.acceptClient(clientId, clientCallback, dispatcherState, looper); in acceptClient()
353 mImpl.reportImeWindowTarget(clientId, targetWindowHandle, imeWindowToken); in reportImeWindowTarget()
365 return mImpl.isUidAllowedOnDisplay(displayId, uid); in isUidAllowedOnDisplay()
376 mImpl.setActive(clientId, active); in setActive()
/frameworks/av/media/bufferpool/2.0/
DAccessor.cpp151 : mImpl(new Impl(allocator)) {} in Accessor()
157 return (bool)mImpl && mImpl->isValid(); in isValid()
161 if (mImpl) { in flush()
162 mImpl->flush(); in flush()
172 if (mImpl) { in allocate()
173 return mImpl->allocate(connectionId, params, bufferId, handle); in allocate()
181 if (mImpl) { in fetch()
182 return mImpl->fetch(connectionId, transactionId, bufferId, handle); in fetch()
193 if (mImpl) { in connect()
194 ResultStatus status = mImpl->connect( in connect()
[all …]
/frameworks/compile/libbcc/lib/
DBCCContext.cpp44 BCCContext::BCCContext() : mImpl(new BCCContextImpl(*this)) { } in BCCContext()
47 delete mImpl; in ~BCCContext()
56 { mImpl->mOwnSources.insert(&pSource); } in addSource()
59 { mImpl->mOwnSources.erase(&pSource); } in removeSource()
62 { return mImpl->mLLVMContext; } in getLLVMContext()
65 { return mImpl->mLLVMContext; } in getLLVMContext()
/frameworks/ex/framesequence/jni/
DRegistry.cpp25 mImpl = entry; in Registry()
40 if (registry->mImpl.acceptsBuffer()) { in Find()
41 return &(registry->mImpl); in Find()
50 if (headerSize >= registry->mImpl.requiredHeaderBytes in Find()
51 && registry->mImpl.checkHeader(header, headerSize)) { in Find()
52 return &(registry->mImpl); in Find()
/frameworks/base/core/java/android/util/
DCloseGuard.java112 private final dalvik.system.CloseGuard mImpl; field in CloseGuard
119 mImpl = dalvik.system.CloseGuard.get(); in CloseGuard()
130 mImpl.open(closeMethodName); in open()
135 mImpl.close(); in close()
143 mImpl.warnIfOpen(); in warnIfOpen()
/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp81 if (mImpl != NULL || path == NULL) { in setDataSource()
92 mImpl = MediaExtractorFactory::Create(dataSource); in setDataSource()
94 if (mImpl == NULL) { in setDataSource()
101 err = mImpl->setMediaCas(mCasToken); in setDataSource()
123 if (mImpl != NULL) { in setDataSource()
134 mImpl = MediaExtractorFactory::Create(fileSource); in setDataSource()
136 if (mImpl == NULL) { in setDataSource()
142 err = mImpl->setMediaCas(mCasToken); in setDataSource()
160 if (mImpl != NULL) { in setDataSource()
169 mImpl = MediaExtractorFactory::Create(source); in setDataSource()
[all …]
/frameworks/av/media/bufferpool/1.0/
DAccessor.cpp135 : mImpl(new Impl(allocator)) {} in Accessor()
141 return (bool)mImpl; in isValid()
148 if (mImpl) { in allocate()
149 return mImpl->allocate(connectionId, params, bufferId, handle); in allocate()
157 if (mImpl) { in fetch()
158 return mImpl->fetch(connectionId, transactionId, bufferId, handle); in fetch()
166 if (mImpl) { in connect()
167 ResultStatus status = mImpl->connect(this, connection, pConnectionId, fmqDescPtr); in connect()
178 if (mImpl) { in close()
179 ResultStatus status = mImpl->close(connectionId); in close()
[all …]
/frameworks/base/core/java/android/view/
DAccessibilityIterators.java79 protected BreakIterator mImpl; field in AccessibilityIterators.CharacterTextSegmentIterator
97 mImpl.setText(text); in initialize()
113 while (!mImpl.isBoundary(start)) { in following()
114 start = mImpl.following(start); in following()
119 final int end = mImpl.following(start); in following()
139 while (!mImpl.isBoundary(end)) { in preceding()
140 end = mImpl.preceding(end); in preceding()
145 final int start = mImpl.preceding(end); in preceding()
165 mImpl = BreakIterator.getCharacterInstance(locale); in onLocaleChanged()
185 mImpl = BreakIterator.getWordInstance(locale); in onLocaleChanged()
[all …]
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetService.java26 final EthernetServiceImpl mImpl; field in EthernetService
30 mImpl = new EthernetServiceImpl(context); in EthernetService()
36 publishBinderService(Context.ETHERNET_SERVICE, mImpl); in onStart()
42 mImpl.start(); in onBootPhase()
/frameworks/base/tools/aapt/
Dpseudolocalize.h47 ~Pseudolocalizer() { if (mImpl) delete mImpl; } in ~Pseudolocalizer() local
49 String16 start() { return mImpl->start(); } in start()
50 String16 end() { return mImpl->end(); } in end()
53 PseudoMethodImpl *mImpl;
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DBiometricServiceTest.java175 invokeAuthenticateAndStart(mBiometricService.mImpl, mReceiver1, in testClientBinderDied_whenPaused()
202 invokeAuthenticateAndStart(mBiometricService.mImpl, mReceiver1, in testClientBinderDied_whenAuthenticating()
241 invokeAuthenticate(mBiometricService.mImpl, mReceiver1, false /* requireConfirmation */, in testAuthenticate_credentialAllowedButNotSetup_returnsNoDeviceCredential()
260 invokeAuthenticate(mBiometricService.mImpl, mReceiver1, false /* requireConfirmation */, in testAuthenticate_credentialAllowedAndSetup_callsSystemUI()
286 invokeAuthenticate(mBiometricService.mImpl, mReceiver1, false /* requireConfirmation */, in testAuthenticate_withoutHardware_returnsErrorHardwareNotPresent()
301 mBiometricService.mImpl.registerAuthenticator(0 /* id */, in testAuthenticate_withoutEnrolled_returnsErrorNoBiometrics()
305 invokeAuthenticate(mBiometricService.mImpl, mReceiver1, false /* requireConfirmation */, in testAuthenticate_withoutEnrolled_returnsErrorNoBiometrics()
318 invokeAuthenticate(mBiometricService.mImpl, mReceiver1, false /* requireConfirmation */, in testAuthenticate_notStrongEnough_returnsHardwareNotPresent()
344 invokeAuthenticateAndStart(mBiometricService.mImpl, mReceiver1, in testAuthenticate_picksStrongIfAvailable()
373 mBiometricService.mImpl.registerAuthenticator(0 /* id */, in testAuthenticate_whenHalIsDead_returnsErrorHardwareUnavailable()
[all …]
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp655 mImpl.initialize(impl, minSize, allocate); in initialize()
659 mImpl.getArray(array); in getArray()
664 status_t err = mImpl.grabBuffer(index, &c2Buffer); in requestNewBuffer()
678 return mImpl.returnBuffer(buffer, c2buffer, release); in releaseBuffer()
683 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
687 mImpl.flush(); in flush()
691 return mImpl.numActiveSlots(); in numActiveSlots()
702 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer()
711 return mImpl.releaseSlot(buffer, c2buffer, release); in releaseBuffer()
716 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
[all …]

12345