Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp216 static void nativeSetAutoSuspend(JNIEnv* /* env */, jclass /* clazz */, jboolean enable) { in nativeSetAutoSuspend() function
258 {"nativeSetAutoSuspend", "(Z)V", (void*)nativeSetAutoSuspend},
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java952 public void nativeSetAutoSuspend(boolean enable) { in nativeSetAutoSuspend() method in PowerManagerService.NativeWrapper
953 PowerManagerService.nativeSetAutoSuspend(enable); in nativeSetAutoSuspend()
1156 private static native void nativeSetAutoSuspend(boolean enable);
1281 mNativeWrapper.nativeSetAutoSuspend(false);
3937 mNativeWrapper.nativeSetAutoSuspend(enable);
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java3263 verify(mNativeWrapperMock).nativeSetAutoSuspend(true); in testHalAutoSuspendMode_enabledByConfiguration()
3284 verify(mNativeWrapperMock, never()).nativeSetAutoSuspend(true); in testHalAutoSuspendMode_disabledByConfiguration()
/frameworks/base/services/
Dart-wear-profile21419 HSPLcom/android/server/power/PowerManagerService$NativeWrapper;->nativeSetAutoSuspend(Z)V