Home
last modified time | relevance | path

Searched refs:mImpl (Results 1 – 25 of 111) 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()
57 void visit(std::function<void(const RenderNode&)> func) const { mImpl->visit(std::move(func)); } in visit()
60 return mImpl.get() != nullptr;
66 return mImpl.get() != nullptr; in isValid()
74 return mImpl && !(mImpl->isEmpty()); in hasContent()
78 return mImpl && mImpl->hasHolePunches(); in hasHolePunches()
82 return mImpl && mImpl->containsProjectionReceiver(); in containsProjectionReceiver()
[all …]
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
DDumpableContainerImplTest.java36 private final DumpableContainerImpl mImpl = new DumpableContainerImpl(); field in DumpableContainerImplTest
42 mImpl.addDumpable(null); in testAddDumpable_null()
60 mImpl.addDumpable(namelessDumpable); in testAddDumpable_dumpableWithoutName()
65 mImpl.listDumpables("...", mWriter); in testListDumpables_empty()
74 mImpl.addDumpable(dumpable1); in testListDumpables_one()
75 mImpl.listDumpables("...", mWriter); in testListDumpables_one()
85 boolean added1 = mImpl.addDumpable(dumpable1); in testListDumpables_twoDistinctNames()
88 boolean added2 = mImpl.addDumpable(dumpable2); in testListDumpables_twoDistinctNames()
91 mImpl.listDumpables("...", mWriter); in testListDumpables_twoDistinctNames()
101 boolean added1 = mImpl.addDumpable(dumpable1); in testListDumpables_twoSameName()
[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/av/media/codec2/sfplugin/
DC2AidlNode.cpp36 : mImpl(new C2NodeImpl(comp, true)) {} in C2AidlNode()
40 return toAidlStatus(mImpl->freeNode()); in freeNode()
45 mImpl->getConsumerUsageBits(&usage); in getConsumerUsage()
51 mImpl->getInputBufferParams(_aidl_return); in getInputBufferParams()
56 mImpl->setConsumerUsageBits(static_cast<uint64_t>(usage)); in setConsumerUsage()
61 mImpl->setAdjustTimestampGapUs(gapUs); in setAdjustTimestampGapUs()
67 return toAidlStatus(mImpl->setAidlInputSurface(bufferSource)); in setInputSurface()
83 return toAidlStatus(mImpl->submitBuffer( in submitBuffer()
94 return toAidlStatus(mImpl->onDataspaceChanged( in onDataSpaceChanged()
102 return mImpl->getAidlSource(); in getSource()
[all …]
DC2OMXNode.cpp48 : mImpl(new C2NodeImpl(comp, false)) {} in C2OMXNode()
51 return mImpl->freeNode(); in freeNode()
58 mImpl->onFirstInputFrame(); in sendCommand()
69 mImpl->getConsumerUsageBits(&val); in getParameter()
79 mImpl->getConsumerUsageBits(&val); in getParameter()
93 mImpl->getInputBufferParams(&bufferParams); in getParameter()
120 mImpl->setAdjustTimestampGapUs(gapUs); in setParameter()
128 mImpl->setConsumerUsageBits(static_cast<uint64_t>(usage)); in setParameter()
136 mImpl->setConsumerUsageBits(usagell); in setParameter()
192 return mImpl->setInputSurface(bufferSource); in setInputSurface()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DTaskStackListenerImplTest.java63 private TaskStackListenerImpl mImpl; field in TaskStackListenerImplTest
68 mImpl = new TaskStackListenerImpl(mActivityTaskManager); in setUp()
69 mImpl.setHandler(new ProxyToListenerImplHandler(mImpl)); in setUp()
70 mImpl.addListener(mCallback); in setUp()
71 mImpl.addListener(mOtherCallback); in setUp()
91 mImpl.onRecentTaskListUpdated(); in testOnRecentTaskListUpdated()
98 mImpl.onRecentTaskListFrozenChanged(true); in testOnRecentTaskListFrozenChanged()
105 mImpl.onTaskStackChanged(); in testOnTaskStackChanged()
115 mImpl.onTaskProfileLocked(info, 0); in testOnTaskProfileLocked()
122 mImpl.onTaskDisplayChanged(1, 2); in testOnTaskDisplayChanged()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecents.java39 private final RecentsImplementation mImpl; field in Recents
44 mImpl = impl; in Recents()
51 mImpl.onStart(mContext); in start()
56 mImpl.onBootCompleted(); in onBootCompleted()
61 mImpl.onConfigurationChanged(newConfig); in onConfigChanged()
67 mImpl.onAppTransitionFinished(); in appTransitionFinished()
79 mImpl.showRecentApps(triggeredFromAltTab); in showRecentApps()
90 mImpl.hideRecentApps(triggeredFromAltTab, triggeredFromHomeKey); in hideRecentApps()
101 mImpl.toggleRecentApps(); in toggleRecentApps()
112 mImpl.preloadRecentApps(); in preloadRecentApps()
[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/av/media/ndk/
DNdkMediaMuxer.cpp37 sp<MediaMuxerBase> mImpl; member
49 mData->mImpl = MediaMuxer::create(fd, (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()
134 return mData->mImpl->countTracks(); in AMediaExtractor_getTrackCount()
140 mData->mImpl->getTrackFormat(idx, &format); in AMediaExtractor_getTrackFormat()
147 return translate_error(mData->mImpl->selectTrack(idx)); in AMediaExtractor_selectTrack()
153 return translate_error(mData->mImpl->unselectTrack(idx)); in AMediaExtractor_unselectTrack()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DShellInitTest.java45 private ShellInit mImpl; field in ShellInitTest
50 mImpl = new ShellInit(mMainExecutor); in setUp()
56 mImpl.addInitCallback(() -> { in testAddInitCallbacks_expectCalledInOrder()
59 mImpl.addInitCallback(() -> { in testAddInitCallbacks_expectCalledInOrder()
62 mImpl.addInitCallback(() -> { in testAddInitCallbacks_expectCalledInOrder()
65 mImpl.init(); in testAddInitCallbacks_expectCalledInOrder()
73 mImpl.init(); in testNoInitCallbacksAfterInit_expectException()
75 mImpl.addInitCallback(() -> {}, new Object()); in testNoInitCallbacksAfterInit_expectException()
85 mImpl.addInitCallback(() -> { in testDoubleInit_expectNoOp()
88 mImpl.init(); in testDoubleInit_expectNoOp()
[all …]
/frameworks/base/core/java/android/util/
DCloseGuard.java115 private final dalvik.system.CloseGuard mImpl; field in CloseGuard
132 mImpl = getImpl(); in CloseGuard()
152 if (mImpl != null) { in open()
153 mImpl.open(closeMethodName); in open()
159 if (mImpl != null) { in close()
160 mImpl.close(); in close()
169 if (mImpl != null) { in warnIfOpen()
170 mImpl.warnIfOpen(); in warnIfOpen()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java291 VoiceInteractionManagerService.this.mServiceStub.mImpl; in hasActiveSession()
308 VoiceInteractionManagerService.this.mServiceStub.mImpl; in getVoiceInteractorPackageName()
332 VoiceInteractionManagerService.this.mServiceStub.mImpl; in getHotwordDetectionServiceIdentity()
362 VoiceInteractionManagerServiceImpl impl = mServiceStub.mImpl; in startListeningFromWearable()
399 volatile VoiceInteractionManagerServiceImpl mImpl; field in VoiceInteractionManagerService.VoiceInteractionManagerServiceStub
463 mImpl != null && mImpl.mHotwordDetectionConnection != null; in createSoundTriggerSessionAsOriginator()
493 if (mImpl == null) return; in startLocalVoiceInteraction()
502 mImpl.showSessionLocked(options, in startLocalVoiceInteraction()
512 if (mImpl != null) { in startLocalVoiceInteraction()
513 mImpl.grantImplicitAccessLocked(callingUid, in startLocalVoiceInteraction()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBroadcastQueueModernImplTest.java110 BroadcastQueueModernImpl mImpl; field in BroadcastQueueModernImplTest
122 mImpl = new BroadcastQueueModernImpl(mAms, mHandlerThread.getThreadHandler(), in setUp()
124 mAms.setBroadcastQueueForTest(mImpl); in setUp()
151 mImpl.waitForIdle(LOG_WRITER_INFO); in waitForIdle()
214 return new BroadcastRecord(mImpl, intent, mProcess, PACKAGE_RED, null, 21, TEST_UID, false, in makeBroadcastRecord()
314 BroadcastProcessQueue red = mImpl.getOrCreateProcessQueue(PACKAGE_RED, TEST_UID); in testProcessQueue_Complex()
315 BroadcastProcessQueue green = mImpl.getOrCreateProcessQueue(PACKAGE_GREEN, TEST_UID); in testProcessQueue_Complex()
316 BroadcastProcessQueue blue = mImpl.getOrCreateProcessQueue(PACKAGE_BLUE, TEST_UID); in testProcessQueue_Complex()
323 mImpl.removeProcessQueue(PACKAGE_GREEN, TEST_UID); in testProcessQueue_Complex()
324 assertEquals(red, mImpl.getProcessQueue(PACKAGE_RED, TEST_UID)); in testProcessQueue_Complex()
[all …]
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java66 private WebViewUpdateServiceInterface mImpl; field in WebViewUpdateService
76 mImpl = new WebViewUpdateServiceImpl2(context, SystemImpl.getInstance()); in WebViewUpdateService()
78 mImpl = new WebViewUpdateServiceImpl(context, SystemImpl.getInstance()); in WebViewUpdateService()
97 mImpl.packageStateChanged(packageNameFromIntent(intent), in onStart()
104 mImpl.packageStateChanged(packageNameFromIntent(intent), in onStart()
109 mImpl.packageStateChanged(packageNameFromIntent(intent), in onStart()
114 mImpl.handleNewUser(userId); in onStart()
117 mImpl.handleUserRemoved(userId); in onStart()
128 for (WebViewProviderInfo provider : mImpl.getWebViewPackages()) { in onStart()
146 mImpl.prepareWebViewInSystemServer(); in prepareWebViewInSystemServer()
[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/opt/car/services/updatableServices/tests/src/com/android/server/wm/
DCarDisplayCompatScaleProviderUpdatableTest.java96 private CarDisplayCompatScaleProviderUpdatableImpl mImpl; field in CarDisplayCompatScaleProviderUpdatableTest
135 mImpl = new CarDisplayCompatScaleProviderUpdatableImpl(mContext, mInterface, mConfig); in setUp()
152 assertThat(mImpl.requiresDisplayCompat("package1", CURRENT_USER)).isFalse(); in noApplicationInfo_returnsFalse()
164 assertThat(mImpl.requiresDisplayCompat("package1", CURRENT_USER)).isFalse(); in hasMedataDataDisplayCompat_requiredFalse_returnsFalse()
183 assertThat(mImpl.requiresDisplayCompat("package1", CURRENT_USER)).isTrue(); in hasMedataData_notDisplayCompat_returnsTrue()
201 assertThat(mImpl.requiresDisplayCompat("package1", CURRENT_USER)).isTrue(); in hasMedataDataDisplayCompat_requiredTrue_returnsTrue()
214 assertThat(mImpl.requiresDisplayCompat("package1", CURRENT_USER)).isFalse(); in hasFeatureAutomotive_requiredTrue_returnsFalse()
226 assertThat(mImpl.requiresDisplayCompat("package1", CURRENT_USER)).isFalse(); in hasFeatureAutomotive_requiredFalse_returnsFalse()
235 assertThat(mImpl.requiresDisplayCompat("package1", CURRENT_USER)).isFalse(); in hasNoActivities_returnsFalse()
248 assertThat(mImpl.requiresDisplayCompat("package1", CURRENT_USER)).isFalse(); in hasDistractionOptimizedActivity_returnsFalse()
[all …]
/frameworks/av/drm/libmediadrm/
DDrmMetricsLogger.cpp40 : mImpl(sp<DrmHal>::make()), mUuid(), mObjNonce(), mFrontend(frontend) {} in DrmMetricsLogger()
119 DrmStatus status = mImpl->initCheck(); in initCheck()
130 DrmStatus status = mImpl->isCryptoSchemeSupported(uuid, mimeType, securityLevel, result); in isCryptoSchemeSupported()
150 DrmStatus status = mImpl->createPlugin(uuid, appPackageName); in createPlugin()
164 DrmStatus status = mImpl->destroyPlugin(); in destroyPlugin()
177 DrmStatus status = mImpl->openSession(securityLevel, sessionId); in openSession()
200 DrmStatus status = mImpl->closeSession(sessionId); in closeSession()
218 mImpl->getKeyRequest(sessionId, initData, mimeType, keyType, optionalParameters, in getKeyRequest()
229 DrmStatus status = mImpl->provideKeyResponse(sessionId, response, keySetId); in provideKeyResponse()
237 DrmStatus status = mImpl->removeKeys(keySetId); in removeKeys()
[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/av/media/module/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/av/media/module/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/av/media/libstagefright/
DNuMediaExtractor.cpp78 mImpl = MediaExtractorFactory::Create(dataSource); in initMediaExtractor()
79 if (mImpl == NULL) { in initMediaExtractor()
87 err = mImpl->setMediaCas(mCasToken); in initMediaExtractor()
95 mName = mImpl->name(); in initMediaExtractor()
112 if (mImpl != NULL || path == NULL) { in setDataSource()
134 if (mImpl != NULL) { in setDataSource()
152 if (mImpl != NULL) { in setDataSource()
167 return mImpl == nullptr ? nullptr : mName.c_str(); in getName()
192 if (mImpl != NULL) { in setMediaCas()
193 status_t err = mImpl->setMediaCas(casToken); in setMediaCas()
[all …]
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp235 return mImpl->handle(); in handle()
239 return mImpl->getAllocatorId(); in getAllocatorId()
244 : _C2LinearRangeAspect(impl.get(), range.offset(), range.size()), mImpl(impl) { in C2Block1D()
260 mImpl(impl), in C2ReadView()
264 : _C2LinearCapacityAspect(0u), mImpl(std::make_shared<Impl>(error)), mOffset(0u) { in C2ReadView()
269 return mImpl->error() ? nullptr : mImpl->data() + mOffset; in data()
273 return mImpl->error(); in error()
278 return C2ReadView(mImpl, mOffset + subRange.offset(), subRange.size()); in subView()
292 …: _C2EditableLinearRangeAspect(std::make_unique<C2LinearCapacity>(impl->size()).get()), mImpl(impl… in C2WriteView()
295 : _C2EditableLinearRangeAspect(nullptr), mImpl(std::make_shared<Impl>(error)) {} in C2WriteView()
[all …]
/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;

12345