Home
last modified time | relevance | path

Searched refs:mHardware (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DOffloadControllerTest.java108 @Mock private OffloadHardwareInterface mHardware; field in OffloadControllerTest
145 when(mHardware.initOffloadConfig()).thenReturn(true); in setupFunctioningHardwareInterface()
146 when(mHardware.initOffloadControl(mControlCallbackCaptor.capture())) in setupFunctioningHardwareInterface()
148 when(mHardware.setUpstreamParameters(anyString(), any(), any(), any())).thenReturn(true); in setupFunctioningHardwareInterface()
149 when(mHardware.getForwardedStats(any())).thenReturn(new ForwardedStats()); in setupFunctioningHardwareInterface()
150 when(mHardware.setDataLimit(anyString(), anyLong())).thenReturn(true); in setupFunctioningHardwareInterface()
167 mHardware, mContentResolver, mStatsManager, new SharedLog("test"), mDeps); in makeOffloadController()
183 when(mHardware.getDefaultTetherOffloadDisabled()).thenReturn(1); in testNoSettingsValueDefaultDisabledDoesNotStart()
190 final InOrder inOrder = inOrder(mHardware); in testNoSettingsValueDefaultDisabledDoesNotStart()
191 inOrder.verify(mHardware, times(1)).getDefaultTetherOffloadDisabled(); in testNoSettingsValueDefaultDisabledDoesNotStart()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/
DCameraClient.cpp48 mHardware = NULL; in CameraClient()
77 mHardware = new CameraHardwareInterface(camera_device_name); in initialize()
78 res = mHardware->initialize(manager); in initialize()
82 mHardware.clear(); in initialize()
86 mHardware->setCallbacks(notifyCallback, in initialize()
136 sp<CameraHardwareInterface> hardware = mHardware; in dumpClient()
156 if (mHardware == 0) { in checkPidAndHardware()
189 if (mHardware->recordingEnabled()) { in unlock()
253 if (mHardware == 0) return res; in disconnect()
260 mHardware->stopPreview(); in disconnect()
[all …]
DCameraClient.h139 sp<CameraHardwareInterface> mHardware; // cleared after disconnect() variable
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java614 private TvInputHardwareImpl mHardware = null; field in TvInputHardwareManager.Connection
629 if (mHardware != null) { in resetLocked()
635 mHardware.release(); in resetLocked()
637 mHardware = hardware; in resetLocked()
644 if (mHardware != null && mCallback != null) { in resetLocked()
666 return mHardware; in getHardwareLocked()
670 return mHardware; in getHardwareImplLocked()