Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DOffloadControllerTest.java94 @Mock private OffloadHardwareInterface mHardware; field in OffloadControllerTest
121 when(mHardware.initOffloadConfig()).thenReturn(true); in setupFunctioningHardwareInterface()
122 when(mHardware.initOffloadControl(mControlCallbackCaptor.capture())) in setupFunctioningHardwareInterface()
124 when(mHardware.setUpstreamParameters(anyString(), any(), any(), any())).thenReturn(true); in setupFunctioningHardwareInterface()
125 when(mHardware.getForwardedStats(any())).thenReturn(new ForwardedStats()); in setupFunctioningHardwareInterface()
126 when(mHardware.setDataLimit(anyString(), anyLong())).thenReturn(true); in setupFunctioningHardwareInterface()
141 mHardware, mContentResolver, mNMService, new SharedLog("test")); in makeOffloadController()
150 when(mHardware.getDefaultTetherOffloadDisabled()).thenReturn(1); in testNoSettingsValueDefaultDisabledDoesNotStart()
159 final InOrder inOrder = inOrder(mHardware); in testNoSettingsValueDefaultDisabledDoesNotStart()
160 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/opt/gamesdk/src/swappy/
DCpuInfo.cpp110 mHardware = split(line, ':')[1]; in CpuInfo()
141 return mHardware; in getHardware()
DCpuInfo.h57 std::string mHardware; variable
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java610 private TvInputHardwareImpl mHardware = null; field in TvInputHardwareManager.Connection
625 if (mHardware != null) { in resetLocked()
631 mHardware.release(); in resetLocked()
633 mHardware = hardware; in resetLocked()
640 if (mHardware != null && mCallback != null) { in resetLocked()
662 return mHardware; in getHardwareLocked()
666 return mHardware; in getHardwareImplLocked()