Home
last modified time | relevance | path

Searched refs:IPowerManager (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/native/services/powermanager/
DIPowerManager.cpp30 class BpPowerManager : public BpInterface<IPowerManager>
34 : BpInterface<IPowerManager>(impl) in BpPowerManager()
42 data.writeInterfaceToken(IPowerManager::getInterfaceDescriptor()); in acquireWakeLock()
58 data.writeInterfaceToken(IPowerManager::getInterfaceDescriptor()); in acquireWakeLockWithUid()
72 data.writeInterfaceToken(IPowerManager::getInterfaceDescriptor()); in releaseWakeLock()
82 data.writeInterfaceToken(IPowerManager::getInterfaceDescriptor()); in updateWakeLockUids()
92 data.writeInterfaceToken(IPowerManager::getInterfaceDescriptor()); in powerHint()
102 data.writeInterfaceToken(IPowerManager::getInterfaceDescriptor()); in goToSleep()
112 data.writeInterfaceToken(IPowerManager::getInterfaceDescriptor()); in reboot()
122 data.writeInterfaceToken(IPowerManager::getInterfaceDescriptor()); in shutdown()
[all …]
DAndroid.bp4 srcs: ["IPowerManager.cpp"],
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerShellCommand.java20 import android.os.IPowerManager;
29 final IPowerManager mInterface;
31 PowerManagerShellCommand(IPowerManager service) { in PowerManagerShellCommand()
/frameworks/base/core/java/com/android/internal/app/
DShutdownActivity.java23 import android.os.IPowerManager;
52 IPowerManager pm = IPowerManager.Stub.asInterface( in onCreate()
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DPowerTest.java21 import android.os.IPowerManager;
31 IPowerManager mPowerManager;
45 mPowerManager = IPowerManager.Stub.asInterface(ServiceManager.getService("power")); in tests()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java21 import android.os.IPowerManager;
64 IPowerManager pm = IPowerManager.Stub.asInterface( in run()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
DShellUiAutomatorBridge.java30 import android.os.IPowerManager;
115 IPowerManager pm = in isScreenOn()
116 IPowerManager.Stub.asInterface(ServiceManager.getService(Context.POWER_SERVICE)); in isScreenOn()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java21 import android.os.IPowerManager;
31 public class BridgePowerManager implements IPowerManager {
/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/
DRecoverySystemServiceTest.java34 import android.os.IPowerManager;
59 private IPowerManager mIPowerManager;
70 mIPowerManager = mock(IPowerManager.class); in setup()
/frameworks/base/services/tests/servicestests/src/com/android/server/attention/
DAttentionManagerServiceTest.java33 import android.os.IPowerManager;
62 @Mock private IPowerManager mMockIPowerManager;
/frameworks/av/media/libmediaplayerservice/nuplayer/
DAWakeLock.h40 sp<IPowerManager> mPowerManager;
DAWakeLock.cpp55 mPowerManager = interface_cast<IPowerManager>(binder); in acquire()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DCachedDeviceStateServiceTest.java28 import android.os.IPowerManager;
54 @Mock private IPowerManager mPowerManager;
/frameworks/base/core/java/android/os/
DIPowerManager.aidl26 interface IPowerManager interface
DPowerManager.java775 final IPowerManager mService;
788 public PowerManager(Context context, IPowerManager service, Handler handler) { in PowerManager()
/frameworks/base/services/core/java/com/android/server/
DWatchdog.java28 import android.os.IPowerManager;
433 IPowerManager pms = (IPowerManager)ServiceManager.getService(Context.POWER_SERVICE); in rebootSystem()
/frameworks/native/include/powermanager/
DIPowerManager.h28 class IPowerManager : public IInterface
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyEventDispatcherTest.java36 import android.os.IPowerManager;
74 private IPowerManager mMockPowerManagerService;
83 mMockPowerManagerService = mock(IPowerManager.class); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DThermalManagerServiceTest.java33 import android.os.IPowerManager;
73 private IPowerManager mIPowerManagerMock;
/frameworks/base/config/
Dhiddenapi-greylist.txt227 Landroid/os/IPowerManager$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
228 Landroid/os/IPowerManager$Stub$Proxy;->isLightDeviceIdleMode()Z
229 Landroid/os/IPowerManager$Stub;->asInterface(Landroid/os/IBinder;)Landroid/os/IPowerManager;
230 Landroid/os/IPowerManager$Stub;->TRANSACTION_acquireWakeLock:I
231 Landroid/os/IPowerManager$Stub;->TRANSACTION_goToSleep:I
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java50 import android.os.IPowerManager;
207 IPowerManager powerManagerService = mock(IPowerManager.class); in setup()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java148 import android.os.IPowerManager;
563 IPowerManager service = IPowerManager.Stub.asInterface(b); in registerService()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/
DWifiAwareDataPathStateManagerTest.java73 import android.os.IPowerManager;
153 IPowerManager powerManagerService = mock(IPowerManager.class); in setUp()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/rtt/
DRttServiceImplTest.java65 import android.os.IPowerManager;
215 mMockPowerManager = new PowerManager(mockContext, mock(IPowerManager.class), in setUp()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java115 import android.os.IPowerManager;
365 IPowerManager powerManagerService = mock(IPowerManager.class); in setUp()

12