/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
D | FakeDeviceStationaryHelper.java | 19 import com.android.server.DeviceIdleInternal; 25 private final CopyOnWriteArrayList<DeviceIdleInternal.StationaryListener> mListeners = 31 public void addListener(DeviceIdleInternal.StationaryListener listener) { in addListener() 39 public void removeListener(DeviceIdleInternal.StationaryListener listener) { in removeListener() 48 for (DeviceIdleInternal.StationaryListener listener : mListeners) { in setStationary()
|
/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | SystemDeviceStationaryHelper.java | 22 import com.android.server.DeviceIdleInternal; 32 private DeviceIdleInternal mDeviceIdle; 37 mDeviceIdle = Objects.requireNonNull(LocalServices.getService(DeviceIdleInternal.class)); in onSystemReady() 41 public void addListener(DeviceIdleInternal.StationaryListener listener) { in addListener() 53 public void removeListener(DeviceIdleInternal.StationaryListener listener) { in removeListener()
|
D | DeviceStationaryHelper.java | 19 import com.android.server.DeviceIdleInternal; 30 public abstract void addListener(DeviceIdleInternal.StationaryListener listener); in addListener() 35 public abstract void removeListener(DeviceIdleInternal.StationaryListener listener); in removeListener()
|
/frameworks/base/services/core/java/com/android/server/telecom/ |
D | InternalServiceRepository.java | 27 import com.android.server.DeviceIdleInternal; 47 private final DeviceIdleInternal mDeviceIdleController; 49 public InternalServiceRepository(DeviceIdleInternal deviceIdleController) { in InternalServiceRepository()
|
D | TelecomLoaderService.java | 42 import com.android.server.DeviceIdleInternal; 164 DeviceIdleInternal deviceIdleInternal = getLocalService(DeviceIdleInternal.class); in setupServiceRepository()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/deviceidle/ |
D | TvConstraintController.java | 24 import com.android.server.DeviceIdleInternal; 36 private final DeviceIdleInternal mDeviceIdleService; 44 mDeviceIdleService = LocalServices.getService(DeviceIdleInternal.class); in TvConstraintController()
|
D | BluetoothConstraint.java | 32 import com.android.server.DeviceIdleInternal; 45 private final DeviceIdleInternal mLocalService; 52 Context context, Handler handler, DeviceIdleInternal localService) { in BluetoothConstraint()
|
/frameworks/base/services/core/java/com/android/server/security/ |
D | KeyChainSystemService.java | 32 import com.android.server.DeviceIdleInternal; 105 final DeviceIdleInternal idleController = in startServiceInBackgroundAsUser() 106 LocalServices.getService(DeviceIdleInternal.class); in startServiceInBackgroundAsUser()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | DomainVerificationConnection.java | 28 import com.android.server.DeviceIdleInternal; 74 public DeviceIdleInternal getDeviceIdleInternal() { in getDeviceIdleInternal() 75 return mPm.mInjector.getLocalService(DeviceIdleInternal.class); in getDeviceIdleInternal()
|
D | VerifyingSession.java | 77 import com.android.server.DeviceIdleInternal; 515 DeviceIdleInternal idleController = in sendPackageVerificationRequest() 516 mPm.mInjector.getLocalService(DeviceIdleInternal.class); in sendPackageVerificationRequest()
|
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/proxy/ |
D | DomainVerificationProxy.java | 25 import com.android.server.DeviceIdleInternal; 114 DeviceIdleInternal getDeviceIdleInternal(); in getDeviceIdleInternal()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseAppStateTracker.java | 41 import com.android.server.DeviceIdleInternal; 284 DeviceIdleInternal mDeviceIdleInternal; 305 mDeviceIdleInternal = LocalServices.getService(DeviceIdleInternal.class); in onSystemReady() 341 DeviceIdleInternal getDeviceIdleInternal() { in getDeviceIdleInternal()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/deviceidle/ |
D | BluetoothConstraintTest.java | 42 import com.android.server.DeviceIdleInternal; 74 private DeviceIdleInternal mDeviceIdleService;
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/ |
D | DeviceIdleJobsController.java | 40 import com.android.server.DeviceIdleInternal; 72 private final DeviceIdleInternal mLocalDeviceIdleController; 135 LocalServices.getService(DeviceIdleInternal.class); in DeviceIdleJobsController()
|
D | FlexibilityController.java | 67 import com.android.server.DeviceIdleInternal; 1630 private DeviceIdleInternal mDeviceIdleInternal; 1706 mDeviceIdleInternal = LocalServices.getService(DeviceIdleInternal.class); in onSystemServicesReady()
|
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/ |
D | DeviceIdleInternal.java | 27 public interface DeviceIdleInternal { interface
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | StationaryThrottlingLocationProvider.java | 38 import com.android.server.DeviceIdleInternal; 56 implements DeviceIdleHelper.DeviceIdleListener, DeviceIdleInternal.StationaryListener {
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/ |
D | DomainVerificationProxyTest.kt | 31 import com.android.server.DeviceIdleInternal in <lambda>() 516 mockThrowOnUnmocked<DeviceIdleInternal> { in <lambda>()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | DeviceIdleController.java | 329 private DeviceIdleInternal mLocalService; 639 private final ArraySet<DeviceIdleInternal.StationaryListener> mStationaryListeners = 781 private void postStationaryStatus(DeviceIdleInternal.StationaryListener listener) { in postStationaryStatus() 800 void registerStationaryListener(DeviceIdleInternal.StationaryListener listener) { in registerStationaryListener() 820 private void unregisterStationaryListener(DeviceIdleInternal.StationaryListener listener) { in unregisterStationaryListener() 2091 final DeviceIdleInternal.StationaryListener newListener = in handleMessage() 2092 (DeviceIdleInternal.StationaryListener) msg.obj; in handleMessage() 2093 final DeviceIdleInternal.StationaryListener[] listeners; in handleMessage() 2100 new DeviceIdleInternal.StationaryListener[ in handleMessage() 2107 for (DeviceIdleInternal.StationaryListener listener : listeners) { in handleMessage() [all …]
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.md | 77 in the temp-allowlist (by calling `DeviceIdleInternal.addPowerSaveTempWhitelistApp()`)
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 150 import com.android.server.DeviceIdleInternal; 471 public DeviceIdleInternal getDeviceIdleInternal() { in getDeviceIdleInternal() 472 return LocalServices.getService(DeviceIdleInternal.class); in getDeviceIdleInternal() 881 final DeviceIdleInternal idleController = mDeps.getDeviceIdleInternal(); in sendEventToVpnManagerApp() 1140 DeviceIdleInternal idleController = mDeps.getDeviceIdleInternal(); in startAlwaysOnVpn()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 244 Handler handler, DeviceIdleInternal localService) { in getConstraintController() 299 private class StationaryListenerForTest implements DeviceIdleInternal.StationaryListener { 399 LocalServices.removeServiceForTest(DeviceIdleInternal.class); in cleanupDeviceIdleController()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/ |
D | FlexibilityControllerTest.java | 91 import com.android.server.DeviceIdleInternal; 139 private DeviceIdleInternal mDeviceIdleInternal; 174 .when(() -> LocalServices.getService(DeviceIdleInternal.class)); in setup()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 85 import com.android.server.DeviceIdleInternal; 174 doReturn(mock(DeviceIdleInternal.class)) in setUp() 175 .when(() -> LocalServices.getService(DeviceIdleInternal.class)); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 203 import com.android.server.DeviceIdleInternal; 376 addLocalServiceMock(DeviceIdleInternal.class); in registerLocalServices() 656 LocalServices.removeServiceForTest(DeviceIdleInternal.class); in unregisterLocalServices()
|