/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; 166 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; 104 final DeviceIdleInternal idleController = in startServiceInBackgroundAsUser() 105 LocalServices.getService(DeviceIdleInternal.class); in startServiceInBackgroundAsUser()
|
/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/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 | 39 import com.android.server.DeviceIdleInternal; 71 private final DeviceIdleInternal mLocalDeviceIdleController; 133 LocalServices.getService(DeviceIdleInternal.class); in DeviceIdleJobsController()
|
/frameworks/base/apex/jobscheduler/framework/java/com/android/server/ |
D | DeviceIdleInternal.java | 26 public interface DeviceIdleInternal { interface
|
/frameworks/base/services/core/java/com/android/server/location/provider/ |
D | StationaryThrottlingLocationProvider.java | 35 import com.android.server.DeviceIdleInternal; 53 implements DeviceIdleHelper.DeviceIdleListener, DeviceIdleInternal.StationaryListener {
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | DeviceIdleController.java | 288 private DeviceIdleInternal mLocalService; 570 private final ArraySet<DeviceIdleInternal.StationaryListener> mStationaryListeners = 708 private void postStationaryStatus(DeviceIdleInternal.StationaryListener listener) { in postStationaryStatus() 726 void registerStationaryListener(DeviceIdleInternal.StationaryListener listener) { in registerStationaryListener() 746 private void unregisterStationaryListener(DeviceIdleInternal.StationaryListener listener) { in unregisterStationaryListener() 1787 final DeviceIdleInternal.StationaryListener newListener = in handleMessage() 1788 (DeviceIdleInternal.StationaryListener) msg.obj; in handleMessage() 1789 final DeviceIdleInternal.StationaryListener[] listeners; in handleMessage() 1796 new DeviceIdleInternal.StationaryListener[ in handleMessage() 1803 for (DeviceIdleInternal.StationaryListener listener : listeners) { in handleMessage() [all …]
|
/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/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 64 import com.android.server.DeviceIdleInternal; 137 doReturn(mock(DeviceIdleInternal.class)) in setUp() 138 .when(() -> LocalServices.getService(DeviceIdleInternal.class)); in setUp()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncManager.md | 77 in the temp-allowlist (by calling `DeviceIdleInternal.addPowerSaveTempWhitelistApp()`)
|
D | SyncManager.java | 109 import com.android.server.DeviceIdleInternal; 1646 DeviceIdleInternal dic = in scheduleSyncOperationH() 1647 LocalServices.getService(DeviceIdleInternal.class); in scheduleSyncOperationH()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 123 import com.android.server.DeviceIdleInternal; 306 public DeviceIdleInternal getDeviceIdleInternal() { in getDeviceIdleInternal() 307 return LocalServices.getService(DeviceIdleInternal.class); in getDeviceIdleInternal() 842 DeviceIdleInternal idleController = mDeps.getDeviceIdleInternal(); in startAlwaysOnVpn()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/ |
D | DeviceIdleControllerTest.java | 230 Handler handler, DeviceIdleInternal localService) { in getConstraintController() 280 private class StationaryListenerForTest implements DeviceIdleInternal.StationaryListener { 355 LocalServices.removeServiceForTest(DeviceIdleInternal.class); in tearDown()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
D | NetworkPolicyManagerServiceTest.java | 166 import com.android.server.DeviceIdleInternal; 324 addLocalServiceMock(DeviceIdleInternal.class); in registerLocalServices() 478 LocalServices.removeServiceForTest(DeviceIdleInternal.class); in unregisterLocalServices()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobSchedulerService.java | 92 import com.android.server.DeviceIdleInternal; 290 DeviceIdleInternal mLocalDeviceIdleController; 1626 LocalServices.getService(DeviceIdleInternal.class);
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
D | AlarmManagerServiceTest.java | 154 import com.android.server.DeviceIdleInternal; 209 private DeviceIdleInternal mDeviceIdleInternal; 385 () -> LocalServices.getService(DeviceIdleInternal.class)); in setUp()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
D | AlarmManagerService.java | 133 import com.android.server.DeviceIdleInternal; 212 DeviceIdleInternal mLocalDeviceIdleController; 1783 LocalServices.getService(DeviceIdleInternal.class); in onBootPhase()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 189 import com.android.server.DeviceIdleInternal; 435 DeviceIdleInternal deviceIdleInternal = mock(DeviceIdleInternal.class); in setUp() 444 LocalServices.removeServiceForTest(DeviceIdleInternal.class); in setUp() 445 LocalServices.addService(DeviceIdleInternal.class, deviceIdleInternal); in setUp()
|