Home
last modified time | relevance | path

Searched refs:mHost (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/base/core/java/android/app/
DFragmentController.java48 private final FragmentHostCallback<?> mHost; field in FragmentController
58 mHost = callbacks; in FragmentController()
65 return mHost.getFragmentManagerImpl(); in getFragmentManager()
72 return mHost.getLoaderManagerImpl(); in getLoaderManager()
80 return mHost.mFragmentManager.findFragmentByWho(who); in findFragmentByWho()
88 mHost.mFragmentManager.attachController( in attachHost()
89 mHost, mHost /*container*/, parent); in attachHost()
104 return mHost.mFragmentManager.onCreateView(parent, name, context, attrs); in onCreateView()
111 mHost.mFragmentManager.noteStateNotSaved(); in noteStateNotSaved()
118 return mHost.mFragmentManager.saveAllState(); in saveAllState()
[all …]
DFragment.java339 FragmentHostCallback mHost; field in Fragment
756 return mHost == null ? null : mHost.getContext(); in getContext()
763 return mHost == null ? null : mHost.getActivity(); in getActivity()
772 return mHost == null ? null : mHost.onGetHost(); in getHost()
779 if (mHost == null) { in getResources()
782 return mHost.getContext().getResources(); in getResources()
864 return mHost != null && mAdded; in isAdded()
1023 if (mFragmentManager != null && mFragmentManager.mHost != null) { in setUserVisibleHint()
1024 context = mFragmentManager.mHost.getContext(); in setUserVisibleHint()
1065 if (mHost == null) {
[all …]
DLoaderManager.java233 private FragmentHostCallback mHost; field in LoaderManagerImpl
373 if (mHost != null) { in destroy()
374 lastBecause = mHost.mFragmentManager.mNoTransactionsBecause; in destroy()
375 mHost.mFragmentManager.mNoTransactionsBecause = "onLoaderReset"; in destroy()
380 if (mHost != null) { in destroy()
381 mHost.mFragmentManager.mNoTransactionsBecause = lastBecause; in destroy()
482 if (mHost != null && !hasRunningLoaders()) { in onLoadComplete()
483 mHost.mFragmentManager.startPendingDeferredFragments(); in onLoadComplete()
490 if (mHost != null) { in callOnLoadFinished()
491 lastBecause = mHost.mFragmentManager.mNoTransactionsBecause; in callOnLoadFinished()
[all …]
/frameworks/base/core/java/android/net/
DProxyInfo.java43 private final String mHost; field in ProxyInfo
107 mHost = host; in ProxyInfo()
119 mHost = LOCAL_HOST; in ProxyInfo()
134 mHost = LOCAL_HOST; in ProxyInfo()
146 mHost = LOCAL_HOST; in ProxyInfo()
165 mHost = host; in ProxyInfo()
177 mHost = source.getHost(); in ProxyInfo()
183 mHost = null; in ProxyInfo()
197 inetSocketAddress = new InetSocketAddress(mHost, mPort); in getSocketAddress()
215 return mHost; in getHost()
[all …]
DWebAddress.java54 private String mHost; field in WebAddress
84 mHost = ""; in WebAddress()
97 if (t != null) mHost = t; in WebAddress()
149 return mScheme + "://" + authInfo + mHost + port + mPath; in toString()
166 mHost = host; in setHost()
172 return mHost; in getHost()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/
DSuggestionControllerMixinCompatTest.java51 private SuggestionControllerMixinCompat.SuggestionControllerHost mHost; field in SuggestionControllerMixinCompatTest
76 mMixin = new SuggestionControllerMixinCompat(mContext, mHost, mLifecycle, mComponentName); in goThroughLifecycle_onStartStop_shouldStartStopController()
88 when(mHost.getLoaderManager()).thenReturn(loaderManager); in onServiceConnected_shouldGetSuggestion()
90 mMixin = new SuggestionControllerMixinCompat(mContext, mHost, mLifecycle, mComponentName); in onServiceConnected_shouldGetSuggestion()
99 when(mHost.getLoaderManager()).thenReturn(null); in onServiceConnected_hostNotAttached_shouldDoNothing()
101 mMixin = new SuggestionControllerMixinCompat(mContext, mHost, mLifecycle, mComponentName); in onServiceConnected_hostNotAttached_shouldDoNothing()
104 verify(mHost).getLoaderManager(); in onServiceConnected_hostNotAttached_shouldDoNothing()
109 when(mHost.getLoaderManager()).thenReturn(null); in onServiceDisconnected_hostNotAttached_shouldDoNothing()
111 mMixin = new SuggestionControllerMixinCompat(mContext, mHost, mLifecycle, mComponentName); in onServiceDisconnected_hostNotAttached_shouldDoNothing()
114 verify(mHost).getLoaderManager(); in onServiceDisconnected_hostNotAttached_shouldDoNothing()
[all …]
DSuggestionControllerMixinTest.java51 private SuggestionControllerMixin.SuggestionControllerHost mHost; field in SuggestionControllerMixinTest
76 mMixin = new SuggestionControllerMixin(mContext, mHost, mLifecycle, mComponentName); in goThroughLifecycle_onStartStop_shouldStartStopController()
88 when(mHost.getLoaderManager()).thenReturn(loaderManager); in onServiceConnected_shouldGetSuggestion()
90 mMixin = new SuggestionControllerMixin(mContext, mHost, mLifecycle, mComponentName); in onServiceConnected_shouldGetSuggestion()
99 when(mHost.getLoaderManager()).thenReturn(null); in onServiceConnected_hostNotAttached_shouldDoNothing()
101 mMixin = new SuggestionControllerMixin(mContext, mHost, mLifecycle, mComponentName); in onServiceConnected_hostNotAttached_shouldDoNothing()
104 verify(mHost).getLoaderManager(); in onServiceConnected_hostNotAttached_shouldDoNothing()
109 when(mHost.getLoaderManager()).thenReturn(null); in onServiceDisconnected_hostNotAttached_shouldDoNothing()
111 mMixin = new SuggestionControllerMixin(mContext, mHost, mLifecycle, mComponentName); in onServiceDisconnected_hostNotAttached_shouldDoNothing()
114 verify(mHost).getLoaderManager(); in onServiceDisconnected_hostNotAttached_shouldDoNothing()
[all …]
/frameworks/base/core/java/android/view/
DInputMonitor.java45 private final IInputMonitorHost mHost; field in InputMonitor
58 mHost.pilferPointers(); in pilferPointers()
74 mHost.dispose(); in dispose()
98 this.mHost = host; in InputMonitor()
100 NonNull.class, null, mHost); in InputMonitor()
112 return mHost; in getHost()
123 "host = " + mHost + in toString()
134 dest.writeStrongInterface(mHost); in writeToParcel()
154 this.mHost = host; in InputMonitor()
156 NonNull.class, null, mHost); in InputMonitor()
DInputFilter.java114 private IInputFilterHost mHost; field in InputFilter
165 if (mHost == null) { in sendInputEvent()
173 mHost.sendInputEvent(event, policyFlags); in sendInputEvent()
225 mHost = (IInputFilterHost) msg.obj; in handleMessage()
239 mHost = null; in handleMessage()
DInsetsController.java485 private final Host mHost; field in InsetsController
539 mHost = host; in InsetsController()
575 mHost.dispatchWindowInsetsAnimationProgress(insets, mUnmodifiableTmpRunningAnims); in InsetsController()
594 mHost.notifyInsetsChanged(); in onFrameChanged()
630 mHost.notifyInsetsChanged(); in onStateChanged()
970 animationType, mHost.getHandler()) in controlAnimationUnchecked()
1116 mHost.applySurfaceParams(params); in applySurfaceParams()
1144 mHost.notifyInsetsChanged(); in cancelAnimation()
1175 mHost.notifyInsetsChanged(); in notifyVisibilityChanged()
1184 mHost.updateCompatSysUiVisibility(type, visible, hasControl); in updateCompatSysUiVisibility()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeUi.java45 private final DozeHost mHost; field in DozeUi
74 mHost = host; in DozeUi()
90 && !mHost.isPowerSaveActive(); in updateAnimateScreenOff()
92 mHost.setAnimateScreenOff(controlScreenOff); in updateAnimateScreenOff()
97 mHost.pulseWhileDozing( in pulseWhileDozing()
128 mHost.dozeTimeTick(); in transitionTo()
130 mHandler.postDelayed(mWakeLock.wrap(mHost::dozeTimeTick), 500); in transitionTo()
146 mHost.startDozing(); in transitionTo()
149 mHost.stopDozing(); in transitionTo()
162 mHost.setAnimateWakeup(true); in updateAnimateWakeup()
[all …]
DDozeBrightnessHostForwarder.java24 private final DozeHost mHost; field in DozeBrightnessHostForwarder
28 mHost = host; in DozeBrightnessHostForwarder()
34 mHost.setDozeScreenBrightness(brightness); in setDozeScreenBrightness()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeUiTest.java67 private DozeHost mHost; field in DozeUiTest
84 mDozeUi = new DozeUi(mContext, mAlarmManager, mMachine, mWakeLock, mHost, mHandler, in setUp()
110 reset(mHost); in propagatesAnimateScreenOff_noAlwaysOn()
115 verify(mHost).setAnimateScreenOff(eq(false)); in propagatesAnimateScreenOff_noAlwaysOn()
120 reset(mHost); in propagatesAnimateScreenOff_alwaysOn()
126 verify(mHost).setAnimateScreenOff(eq(true)); in propagatesAnimateScreenOff_alwaysOn()
130 verify(mHost).setAnimateScreenOff(eq(false)); in propagatesAnimateScreenOff_alwaysOn()
137 reset(mHost); in neverAnimateScreenOff_whenNotSupported()
139 mDozeUi = new DozeUi(mContext, mAlarmManager, mMachine, mWakeLock, mHost, mHandler, in neverAnimateScreenOff_whenNotSupported()
145 verify(mHost, never()).setAnimateScreenOff(eq(false)); in neverAnimateScreenOff_whenNotSupported()
[all …]
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
DAppWidgetHostActivity.java58 mHost = new AppWidgetHost(this, HOST_ID) { in onCreate()
70 mHost.deleteHost(); in onCreate()
85 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mHost.allocateAppWidgetId()); in discoverAppWidget()
115 mHost.deleteAppWidgetId(appWidgetId); in handleAppWidgetPickResult()
130 mHost.deleteAppWidgetId(appWidgetId); in handleAppWidgetConfigureResult()
136 AppWidgetHostView view = mHost.createView(this, appWidgetId, appWidget); in addAppWidgetView()
159 mHost.startListening(); in onStart()
164 mHost.stopListening(); in onStop()
179 mHost.deleteAppWidgetId(view.appWidgetId); in onContextItemSelected()
199 AppWidgetHost mHost; field in AppWidgetHostActivity
/frameworks/base/services/core/java/com/android/server/wm/
DDimmer.java54 return mHost.getSyncTransaction(); in getPendingTransaction()
59 mHost.commitPendingTransaction(); in commitPendingTransaction()
72 return mHost.makeAnimationLeash(); in makeAnimationLeash()
77 return mHost.getSurfaceControl(); in getAnimationLeashParent()
87 return mHost.getSurfaceControl(); in getParentSurfaceControl()
97 return mHost.getSurfaceWidth(); in getSurfaceWidth()
103 return mHost.getSurfaceHeight(); in getSurfaceHeight()
143 }, mHost.mWmService); in DimState()
151 private WindowContainer mHost; field in Dimmer
169 mHost = host; in Dimmer()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDimmerTests.java110 private MockSurfaceBuildingContainer mHost; field in DimmerTests
125 mHost = new MockSurfaceBuildingContainer(mWm); in setUp()
128 mDimmer = new Dimmer(mHost, mSurfaceAnimatorStarter); in setUp()
184 mHost.addChild(child, 0); in testDimAboveWithChildCreatesSurfaceAboveChild()
199 mHost.addChild(child, 0); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild()
214 mHost.addChild(child, 0); in testDimBelowWithChildSurfaceDestroyedWhenReset()
225 verify(mHost.getPendingTransaction()).remove(dimLayer); in testDimBelowWithChildSurfaceDestroyedWhenReset()
231 mHost.addChild(child, 0); in testDimBelowWithChildSurfaceNotDestroyedWhenPersisted()
248 mHost.addChild(child, 0); in testDimUpdateWhileDimming()
269 mHost.addChild(child, 0); in testRemoveDimImmediately()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java62 private final QSTileHost mHost; field in AutoTileManager
82 mHost = host; in AutoTileManager()
83 mCurrentUser = mHost.getUserContext().getUser(); in AutoTileManager()
205 mHost.addTile(WORK);
220 mHost.addTile(SAVER);
232 mHost.addTile(HOTSPOT);
259 mHost.addTile(NIGHT);
281 mHost.addTile(CAST);
321 mHost.addTile(CustomTile.getComponentFromSpec(mSpec), /* end */ true); in handleValueChanged()
323 mHost.addTile(mSpec); in handleValueChanged()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionControllerMixin.java62 private final SuggestionControllerHost mHost; field in SuggestionControllerMixin
69 mHost = host; in SuggestionControllerMixin()
95 final LoaderManager loaderManager = mHost.getLoaderManager(); in onServiceConnected()
107 final LoaderManager loaderManager = mHost.getLoaderManager(); in onServiceDisconnected()
125 mHost.onSuggestionReady(data); in onLoadFinished()
DSuggestionControllerMixinCompat.java61 private final SuggestionControllerHost mHost; field in SuggestionControllerMixinCompat
68 mHost = host; in SuggestionControllerMixinCompat()
94 final LoaderManager loaderManager = mHost.getLoaderManager(); in onServiceConnected()
106 final LoaderManager loaderManager = mHost.getLoaderManager(); in onServiceDisconnected()
124 mHost.onSuggestionReady(data); in onLoadFinished()
/frameworks/base/core/java/android/window/
DTaskOrganizerTaskEmbedder.java151 log("notifyBoundsChanged: screenBounds=" + mHost.getScreenBounds()); in notifyBoundsChanged()
160 Rect screenBounds = mHost.getScreenBounds(); in notifyBoundsChanged()
237 mHost.post(() -> mHost.onTaskBackgroundColorChanged(TaskOrganizerTaskEmbedder.this, in onTaskAppeared()
248 mHost.post(() -> mHost.onTaskBackgroundColorChanged(TaskOrganizerTaskEmbedder.this, in onTaskInfoChanged()
DVirtualDisplayTaskEmbedder.java108 DISPLAY_NAME + "@" + System.identityHashCode(this), mHost.getWidth(), in onInitialize()
109 mHost.getHeight(), mDisplayDensityDpi, null, virtualDisplayFlags); in onInitialize()
121 mHost.getWindow(), mSurfaceControl, displayId); in onInitialize()
288 if (!isInitialized() || mHost.getWindow() == null) { in updateLocationAndTapExcludeRegion()
291 reportLocation(mHost.getScreenToTaskMatrix(), mHost.getPositionInWindow()); in updateLocationAndTapExcludeRegion()
312 session.updateDisplayContentLocation(mHost.getWindow(), positionInWindow.x, in reportLocation()
368 mHost.post(()-> mHost.onTaskBackgroundColorChanged(VirtualDisplayTaskEmbedder.this, in onTaskDescriptionChanged()
DTaskEmbedder.java128 protected TaskEmbedder.Host mHost; field in TaskEmbedder
146 mHost = host; in TaskEmbedder()
296 if (!isInitialized() || mHost.getWindow() == null) { in updateLocationAndTapExcludeRegion()
299 applyTapExcludeRegion(mHost.getWindow(), mHost.getTapExcludeRegion()); in updateLocationAndTapExcludeRegion()
324 if (!isInitialized() || mHost.getWindow() == null) { in clearTapExcludeRegion()
327 applyTapExcludeRegion(mHost.getWindow(), null); in clearTapExcludeRegion()
/frameworks/native/services/inputflinger/host/
DInputFlinger.cpp41 mHost = new InputHost(); in InputFlinger()
42 mHost->registerInputDriver(new InputDriver(INPUT_INSTANCE_EVDEV)); in InputFlinger()
66 mHost->dump(result); in dumpInternal()
/frameworks/base/core/java/android/net/nsd/
DNsdServiceInfo.java48 private InetAddress mHost; field in NsdServiceInfo
83 return mHost; in getHost()
88 mHost = s; in setHost()
315 .append(", host: ").append(mHost) in toString()
334 if (mHost != null) { in writeToParcel()
336 dest.writeByteArray(mHost.getAddress()); in writeToParcel()
367 info.mHost = InetAddress.getByAddress(in.createByteArray());
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServices.java63 private final QSTileHost mHost; field in TileServices
69 mHost = host; in TileServices()
70 mContext = mHost.getContext(); in TileServices()
87 return mHost; in getHost()
119 mMainHandler.post(() -> mHost.getIconController() in freeService()
234 mHost.forceCollapsePanels(); in onShowDialog()
254 mHost.forceCollapsePanels(); in onStartActivity()
277 StatusBarIconController iconController = mHost.getIconController(); in updateStatusIcon()

123