Home
last modified time | relevance | path

Searched refs:observers (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java374 final IUidObserver[] observers = new IUidObserver.Stub[changesToObserve.length]; in testDispatchUids_dispatchNeededChanges() local
375 for (int i = 0; i < observers.length; ++i) { in testDispatchUids_dispatchNeededChanges()
376 observers[i] = Mockito.mock(IUidObserver.Stub.class); in testDispatchUids_dispatchNeededChanges()
377 when(observers[i].asBinder()).thenReturn((IBinder) observers[i]); in testDispatchUids_dispatchNeededChanges()
378 mAms.registerUidObserver(observers[i], changesToObserve[i] /* which */, in testDispatchUids_dispatchNeededChanges()
385 Mockito.reset(observers[i]); in testDispatchUids_dispatchNeededChanges()
411 for (int i = 0; i < observers.length; ++i) { in testDispatchUids_dispatchNeededChanges()
413 final IUidObserver observerToTest = observers[i]; in testDispatchUids_dispatchNeededChanges()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiControllerTest.java117 List<ContentObserver> observers = observerCaptor.getAllValues(); in setUp() local
118 mStayAwakeObserver = observers.get(0); in setUp()
119 mWifiIdleTimeObserver = observers.get(1); in setUp()
120 mWifiSleepPolicyObserver = observers.get(2); in setUp()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...