Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/WidgetProvider/src/com/android/cts/widgetprovider/
DSimpleAppWidgetHostService.java74 private Semaphore mWidgetUpdateSemaphore = new Semaphore(0); field in SimpleAppWidgetHostService
183 mWidgetUpdateSemaphore.drainPermits(); in updateWidgetViaWidgetId()
190 return mWidgetUpdateSemaphore.tryAcquire(20, TimeUnit.SECONDS); in waitForUpdate()
250 mWidgetUpdateSemaphore.release(); in updateAppWidget()