Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecents.java36 private RecentsImplementation mImpl; field in Recents
42 mImpl = createRecentsImplementationFromConfig(); in start()
43 mImpl.onStart(mContext, this); in start()
48 mImpl.onBootCompleted(); in onBootCompleted()
53 mImpl.onConfigurationChanged(newConfig); in onConfigurationChanged()
59 mImpl.onAppTransitionFinished(); in appTransitionFinished()
64 mImpl.growRecents(); in growRecents()
75 mImpl.showRecentApps(triggeredFromAltTab); in showRecentApps()
86 mImpl.hideRecentApps(triggeredFromAltTab, triggeredFromHomeKey); in hideRecentApps()
97 mImpl.toggleRecentApps(); in toggleRecentApps()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTests.java49 private OverlayManagerServiceImpl mImpl; field in OverlayManagerServiceImplTests
70 mImpl = new OverlayManagerServiceImpl(pmh, in setUp()
82 final OverlayInfo oi = mImpl.getOverlayInfo(OVERLAY, USER); in testGetOverlayInfo()
96 final List<OverlayInfo> ois = mImpl.getOverlayInfosForTarget(TARGET, USER); in testGetOverlayInfosForTarget()
98 assertTrue(ois.contains(mImpl.getOverlayInfo(OVERLAY, USER))); in testGetOverlayInfosForTarget()
99 assertTrue(ois.contains(mImpl.getOverlayInfo(OVERLAY2, USER))); in testGetOverlayInfosForTarget()
101 final List<OverlayInfo> ois2 = mImpl.getOverlayInfosForTarget(TARGET, USER2); in testGetOverlayInfosForTarget()
103 assertTrue(ois2.contains(mImpl.getOverlayInfo(OVERLAY3, USER2))); in testGetOverlayInfosForTarget()
105 final List<OverlayInfo> ois3 = mImpl.getOverlayInfosForTarget(TARGET, USER3); in testGetOverlayInfosForTarget()
109 final List<OverlayInfo> ois4 = mImpl.getOverlayInfosForTarget("no.such.overlay", USER); in testGetOverlayInfosForTarget()
[all …]
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateService.java52 private WebViewUpdateServiceImpl mImpl; field in WebViewUpdateService
61 mImpl = new WebViewUpdateServiceImpl(context, SystemImpl.getInstance()); in WebViewUpdateService()
79 mImpl.packageStateChanged(packageNameFromIntent(intent), in onStart()
86 mImpl.packageStateChanged(packageNameFromIntent(intent), in onStart()
91 mImpl.packageStateChanged(packageNameFromIntent(intent), in onStart()
96 mImpl.handleNewUser(userId); in onStart()
99 mImpl.handleUserRemoved(userId); in onStart()
110 for (WebViewProviderInfo provider : mImpl.getWebViewPackages()) { in onStart()
127 mImpl.prepareWebViewInSystemServer(); in prepareWebViewInSystemServer()
174 WebViewUpdateService.this.mImpl.notifyRelroCreationCompleted(); in notifyRelroCreationCompleted()
[all …]
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetService.java29 private final AppWidgetServiceImpl mImpl; field in AppWidgetService
33 mImpl = new AppWidgetServiceImpl(context); in AppWidgetService()
38 mImpl.onStart(); in onStart()
39 publishBinderService(Context.APPWIDGET_SERVICE, mImpl); in onStart()
40 AppWidgetBackupBridge.register(mImpl); in onStart()
46 mImpl.setSafeMode(isSafeMode()); in onBootPhase()
52 mImpl.onUserStopped(userHandle); in onStopUser()
57 mImpl.reloadWidgetsMaskedStateForGroup(userHandle); in onSwitchUser()
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp199 return mImpl->handle(); in handle()
203 return mImpl->getAllocatorId(); in getAllocatorId()
208 : _C2LinearRangeAspect(impl.get(), range.offset(), range.size()), mImpl(impl) { in C2Block1D()
224 mImpl(impl), in C2ReadView()
228 : _C2LinearCapacityAspect(0u), mImpl(std::make_shared<Impl>(error)), mOffset(0u) { in C2ReadView()
233 return mImpl->error() ? nullptr : mImpl->data() + mOffset; in data()
237 return mImpl->error(); in error()
242 return C2ReadView(mImpl, mOffset + subRange.offset(), subRange.size()); in subView()
256 …: _C2EditableLinearRangeAspect(std::make_unique<C2LinearCapacity>(impl->size()).get()), mImpl(impl… in C2WriteView()
259 : _C2EditableLinearRangeAspect(nullptr), mImpl(std::make_shared<Impl>(error)) {} in C2WriteView()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionManagerService.java205 VoiceInteractionManagerServiceImpl mImpl; field in VoiceInteractionManagerService.VoiceInteractionManagerServiceStub
219 if (mImpl == null) return; in startLocalVoiceInteraction()
223 mImpl.showSessionLocked(options, in startLocalVoiceInteraction()
233 mImpl.mActiveSession.mSession, in startLocalVoiceInteraction()
234 mImpl.mActiveSession.mInteractor); in startLocalVoiceInteraction()
244 if (mImpl == null) return; in stopLocalVoiceInteraction()
248 mImpl.finishLocked(callingActivity, true); in stopLocalVoiceInteraction()
255 if (mImpl == null) return false; in supportsLocalVoiceInteraction()
257 return mImpl.supportsLocalVoiceInteraction(); in supportsLocalVoiceInteraction()
483 if (force || mImpl == null || mImpl.mUser != mCurUser in switchImplementationIfNeededNoTracingLocked()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiService.java28 final WifiServiceImpl mImpl; field in WifiService
32 mImpl = new WifiServiceImpl(context, new WifiInjector(context), new WifiAsyncChannel(TAG)); in WifiService()
38 publishBinderService(Context.WIFI_SERVICE, mImpl); in onStart()
44 mImpl.checkAndStartWifi(); in onBootPhase()
46 mImpl.handleBootCompleted(); in onBootPhase()
52 mImpl.handleUserSwitch(userId); in onSwitchUser()
57 mImpl.handleUserUnlock(userId); in onUnlockUser()
62 mImpl.handleUserStop(userId); in onStopUser()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsImplProxy.java43 private RecentsImpl mImpl; field in RecentsImplProxy
46 mImpl = recentsImpl; in RecentsImplProxy()
121 mImpl.preloadRecents();
124 mImpl.cancelPreloadingRecents();
128 mImpl.showRecents(args.argi1 != 0, args.argi2 != 0, args.argi3 != 0,
132 mImpl.hideRecents(msg.arg1 != 0, msg.arg2 != 0);
136 mImpl.toggleRecents(args.argi1);
139 mImpl.onConfigurationChanged();
143 mImpl.splitPrimaryTask(args.argi1, args.argi2 = 0,
147 mImpl.onDraggingInRecents((Float) msg.obj);
[all …]
/frameworks/av/media/bufferpool/2.0/
DAccessor.cpp147 : mImpl(new Impl(allocator)) {} in Accessor()
153 return (bool)mImpl && mImpl->isValid(); in isValid()
157 if (mImpl) { in flush()
158 mImpl->flush(); in flush()
168 if (mImpl) { in allocate()
169 return mImpl->allocate(connectionId, params, bufferId, handle); in allocate()
177 if (mImpl) { in fetch()
178 return mImpl->fetch(connectionId, transactionId, bufferId, handle); in fetch()
189 if (mImpl) { in connect()
190 ResultStatus status = mImpl->connect( in connect()
[all …]
/frameworks/av/media/ndk/
DNdkMediaMuxer.cpp40 sp<MediaMuxer> mImpl; member
50 mData->mImpl = new MediaMuxer(fd, (android::MediaMuxer::OutputFormat)format); in AMediaMuxer_new()
63 return translate_error(muxer->mImpl->setLocation(latitude * 10000, longtitude * 10000)); in AMediaMuxer_setLocation()
68 return translate_error(muxer->mImpl->setOrientationHint(degrees)); in AMediaMuxer_setOrientationHint()
75 ssize_t ret = muxer->mImpl->addTrack(msg); in AMediaMuxer_addTrack()
81 return translate_error(muxer->mImpl->start()); in AMediaMuxer_start()
86 return translate_error(muxer->mImpl->stop()); in AMediaMuxer_stop()
94 muxer->mImpl->writeSampleData(buf, trackIdx, info->presentationTimeUs, info->flags)); in AMediaMuxer_writeSampleData()
DNdkMediaExtractor.cpp44 sp<NuMediaExtractor> mImpl; member
66 mData->mImpl = new NuMediaExtractor(); in AMediaExtractor_new()
81 return translate_error(mData->mImpl->setDataSource(fd, offset, length)); in AMediaExtractor_setDataSourceFd()
106 err = mData->mImpl->setDataSource(httpService, uri, numheaders > 0 ? &headers : NULL); in AMediaExtractor_setDataSourceWithHeaders()
117 return translate_error(mData->mImpl->setDataSource(new NdkDataSource(src))); in AMediaExtractor_setDataSourceCustom()
123 mData->mImpl->getFileFormat(&format); in AMediaExtractor_getFileFormat()
129 return mData->mImpl->countTracks(); in AMediaExtractor_getTrackCount()
135 mData->mImpl->getTrackFormat(idx, &format); in AMediaExtractor_getTrackFormat()
142 return translate_error(mData->mImpl->selectTrack(idx)); in AMediaExtractor_selectTrack()
148 return translate_error(mData->mImpl->unselectTrack(idx)); in AMediaExtractor_unselectTrack()
[all …]
/frameworks/base/core/java/android/inputmethodservice/
DMultiClientInputMethodServiceDelegate.java60 private final MultiClientInputMethodServiceDelegateImpl mImpl; field in MultiClientInputMethodServiceDelegate
272 mImpl = new MultiClientInputMethodServiceDelegateImpl(context, serviceCallback); in MultiClientInputMethodServiceDelegate()
293 mImpl.onDestroy(); in onDestroy()
305 return mImpl.onBind(intent); in onBind()
317 return mImpl.onUnbind(intent); in onUnbind()
330 return mImpl.createInputMethodWindowToken(displayId); in createInputMethodWindowToken()
347 mImpl.acceptClient(clientId, clientCallback, dispatcherState, looper); in acceptClient()
363 mImpl.reportImeWindowTarget(clientId, targetWindowHandle, imeWindowToken); in reportImeWindowTarget()
375 return mImpl.isUidAllowedOnDisplay(displayId, uid); in isUidAllowedOnDisplay()
386 mImpl.setActive(clientId, active); in setActive()
/frameworks/base/core/java/android/view/
DAccessibilityIterators.java78 protected BreakIterator mImpl; field in AccessibilityIterators.CharacterTextSegmentIterator
96 mImpl.setText(text); in initialize()
112 while (!mImpl.isBoundary(start)) { in following()
113 start = mImpl.following(start); in following()
118 final int end = mImpl.following(start); in following()
138 while (!mImpl.isBoundary(end)) { in preceding()
139 end = mImpl.preceding(end); in preceding()
144 final int start = mImpl.preceding(end); in preceding()
164 mImpl = BreakIterator.getCharacterInstance(locale); in onLocaleChanged()
184 mImpl = BreakIterator.getWordInstance(locale); in onLocaleChanged()
[all …]
/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/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/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/av/media/libstagefright/
DNuMediaExtractor.cpp80 if (mImpl != NULL || path == NULL) { in setDataSource()
91 mImpl = MediaExtractorFactory::Create(dataSource); in setDataSource()
93 if (mImpl == NULL) { in setDataSource()
98 mImpl->setMediaCas(mCasToken); in setDataSource()
116 if (mImpl != NULL) { in setDataSource()
127 mImpl = MediaExtractorFactory::Create(fileSource); in setDataSource()
129 if (mImpl == NULL) { in setDataSource()
134 mImpl->setMediaCas(mCasToken); in setDataSource()
148 if (mImpl != NULL) { in setDataSource()
157 mImpl = MediaExtractorFactory::Create(source); in setDataSource()
[all …]
/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/codec2/sfplugin/
DCCodecBuffers.cpp453 mImpl.initialize(impl, minSize, allocate); in initialize()
457 mImpl.getArray(array); in getArray()
462 status_t err = mImpl.grabBuffer(index, &c2Buffer); in requestNewBuffer()
476 return mImpl.returnBuffer(buffer, c2buffer, release); in releaseBuffer()
481 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
485 mImpl.flush(); in flush()
489 return mImpl.numClientBuffers(); in numClientBuffers()
503 *index = mImpl.assignSlot(newBuffer); in requestNewBuffer()
512 return mImpl.releaseSlot(buffer, c2buffer, release); in releaseBuffer()
517 return mImpl.expireComponentBuffer(c2buffer); in expireComponentBuffer()
[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/core/java/com/android/server/om/
DOverlayManagerService.java229 private final OverlayManagerServiceImpl mImpl; field in OverlayManagerService
244 mImpl = new OverlayManagerServiceImpl(mPackageManager, im, mSettings, in OverlayManagerService()
289 final List<String> targets = mImpl.updateOverlaysForUser(users.get(i).id); in initIfNeeded()
303 final List<String> targets = mImpl.updateOverlaysForUser(newUserId); in onSwitchUser()
387 mImpl.onOverlayPackageAdded(packageName, userId); in onPackageAdded()
389 mImpl.onTargetPackageAdded(packageName, userId); in onPackageAdded()
410 mImpl.onOverlayPackageChanged(packageName, userId); in onPackageChanged()
412 mImpl.onTargetPackageChanged(packageName, userId); in onPackageChanged()
429 final OverlayInfo oi = mImpl.getOverlayInfo(packageName, userId); in onPackageReplacing()
431 mImpl.onOverlayPackageReplacing(packageName, userId); in onPackageReplacing()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pService.java33 final WifiP2pServiceImpl mImpl; field in WifiP2pService
37 mImpl = new WifiP2pServiceImpl(context, WifiInjector.getInstance()); in WifiP2pService()
43 publishBinderService(Context.WIFI_P2P_SERVICE, mImpl); in onStart()
49 mImpl.connectivityServiceReady(); in onBootPhase()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/rtt/
DRttService.java36 private RttServiceImpl mImpl; field in RttService
41 mImpl = new RttServiceImpl(context); in RttService()
47 publishBinderService(Context.WIFI_RTT_RANGING_SERVICE, mImpl); in onStart()
69 RttNative rttNative = new RttNative(mImpl, halDeviceManager); in onBootPhase()
70 mImpl.start(handlerThread.getLooper(), wifiInjector.getClock(), awareBinder, rttNative, in onBootPhase()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/
DWifiAwareService.java33 final WifiAwareServiceImpl mImpl; field in WifiAwareService
37 mImpl = new WifiAwareServiceImpl(context); in WifiAwareService()
43 publishBinderService(Context.WIFI_AWARE_SERVICE, mImpl); in onStart()
70 mImpl.start(awareHandlerThread, wifiAwareStateManager, wifiAwareShellCommand, in onBootPhase()
76 mImpl.startLate(); in onBootPhase()

1234