Searched refs:observers (Results 1 – 3 of 3) sorted by relevance
374 final IUidObserver[] observers = new IUidObserver.Stub[changesToObserve.length]; in testDispatchUids_dispatchNeededChanges() local375 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()
117 List<ContentObserver> observers = observerCaptor.getAllValues(); in setUp() local118 mStayAwakeObserver = observers.get(0); in setUp()119 mWifiIdleTimeObserver = observers.get(1); in setUp()120 mWifiSleepPolicyObserver = observers.get(2); in setUp()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...