/packages/apps/TV/tests/input/ |
H A D | unit.sh | 17 # text fixture setup for unit tests 20 echo "text fixture setup for unit tests" 23 -e testSetupMode unit \
|
/packages/apps/Contacts/src/com/android/contacts/util/concurrent/ |
H A D | FuturesUtil.java | 26 TimeUnit unit, Handler handler) { 27 return withTimeout(future, time, unit, ContactsExecutors.newHandlerExecutor(handler)); 39 TimeUnit unit, ScheduledExecutorService executor) { 47 }, time, unit); 25 withTimeout(final ListenableFuture<V> future, long time, TimeUnit unit, Handler handler) argument 38 withTimeout(final ListenableFuture<V> future, long time, TimeUnit unit, ScheduledExecutorService executor) argument
|
H A D | ContactsExecutors.java | 111 public ScheduledFuture<?> schedule(final Runnable command, long delay, TimeUnit unit) { argument 113 .fromRunnable(mHandler, delay, unit, command); 114 mHandler.postDelayed(future, unit.toMillis(delay)); 120 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { argument 121 final HandlerFuture<V> future = new HandlerFuture<>(mHandler, delay, unit, callable); 122 mHandler.postDelayed(future, unit.toMillis(delay)); 129 long period, TimeUnit unit) { 136 long delay, TimeUnit unit) { 160 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { argument 192 public long getDelay(TimeUnit unit) { argument 128 scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) argument 135 scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) argument 231 fromRunnable(Handler handler, long delay, TimeUnit unit, final Runnable command) argument [all...] |
/packages/apps/Settings/tests/unit/src/com/android/settings/tests/ |
H A D | Manufacturer.java | 21 import com.android.settings.tests.unit.R;
|
H A D | Operator.java | 21 import com.android.settings.tests.unit.R;
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
H A D | FakeClock.java | 68 * Increment the current time by one unit of time. 70 * @param unit The time unit to increment by. 72 public void increment(TimeUnit unit) { argument 73 increment(unit, 1); 77 * Increment the current time by {@code amount} unit of time. 79 * @param unit The time unit to increment by. 82 public void increment(TimeUnit unit, long amount) { argument 83 mCurrentTimeMillis += unit [all...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
H A D | TestScheduledExecutorService.java | 71 public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { argument 98 TimeUnit unit) throws InterruptedException { 109 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument 120 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { argument 121 TestFuture future = new TestFuture(command, delay, unit); 127 public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) { argument 133 TimeUnit unit) { 139 long delay, TimeUnit unit) { 186 final TimeUnit unit; field in class:TestScheduledExecutorService.TestFuture 188 public TestFuture(Runnable runnable, long delay, TimeUnit unit) { argument 97 invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) argument 132 scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) argument 138 scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) argument 195 getDelay(TimeUnit unit) argument 225 get(long timeout, TimeUnit unit) argument [all...] |
H A D | TestPredicate.java | 66 public @Nullable T waitForCall(int timeout, TimeUnit unit) argument 68 return mFuture.get(timeout, unit);
|
/packages/apps/Camera2/src/com/android/camera/async/ |
H A D | ForwardingBufferQueue.java | 43 public T getNext(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, argument 45 return mDelegate.getNext(timeout, unit);
|
H A D | BufferQueue.java | 45 * @param unit The unit associated with the timeout. 54 public T getNext(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, argument
|
H A D | CountableBufferQueue.java | 89 public T getNext(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, argument 91 T result = mBufferQueue.getNext(timeout, unit);
|
H A D | ConcurrentBufferQueue.java | 174 public T getNext(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, argument 176 Entry<T> nextEntry = mQueue.poll(timeout, unit);
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
H A D | ProcessorBase.java | 72 public final Object get(long timeout, TimeUnit unit) { argument
|
/packages/apps/Test/connectivity/PMC/ |
H A D | Android.mk | 20 # additionally, build unit tests in a separate .apk
|
/packages/apps/Dialer/java/com/android/incallui/autoresizetext/ |
H A D | AutoResizeTextView.java | 142 * <p>Note that the final size unit will be truncated to the nearest integer value of the 143 * specified unit. 146 public final void setTextSize(int unit, float size) { argument 147 float maxTextSize = TypedValue.applyDimension(unit, size, displayMetrics); 164 * <p>Note that the final size unit will be truncated to the nearest integer value of the 165 * specified unit. 167 public final void setMinTextSize(int unit, float size) { argument 168 float minTextSize = TypedValue.applyDimension(unit, size, displayMetrics); 177 * Sets the unit to use as step units when computing the resized font size. This view's text 178 * contents will always be rendered as a whole integer value in the unit specifie 186 setResizeStepUnit(int unit) argument [all...] |
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/ |
H A D | ImageStream.java | 63 * @param unit The unit associated with the timeout. 73 public ImageProxy getNext(long timeout, TimeUnit unit) throws InterruptedException, argument
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
H A D | WebViewLayoutTestActivity.java | 78 public void waitForFinish(long timeout, TimeUnit unit) throws InterruptedException, argument 81 long deadline = System.currentTimeMillis() + unit.toMillis(timeout);
|
/packages/apps/DocumentsUI/tests/ |
H A D | Android.mk | 7 $(call all-java-files-under, unit) \
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
H A D | SmsReleaseStorage.java | 39 // Time duration unit types 49 public Duration(final int count, final int unit) { argument 51 mUnit = unit; 105 "SmsAutoDelete: invalid duration unit " + duration.mUnit);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | DictionaryFacilitator.java | 144 void waitForLoadingMainDictionaries(final long timeout, final TimeUnit unit) argument 148 void waitForLoadingDictionariesForTesting(final long timeout, final TimeUnit unit) argument
|
/packages/providers/CallLogProvider/ |
H A D | Android.mk | 9 # The Jacoco tool analyzes code coverage when running unit tests on the
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/ |
H A D | DynamicRingBuffer.java | 136 public ImageProxy getNext(long timeout, TimeUnit unit) throws InterruptedException, argument 138 return mQueue.getNext(timeout, unit);
|
/packages/apps/KeyChain/ |
H A D | Android.mk | 29 # additionally, build unit tests in a separate .apk
|
/packages/providers/ContactsProvider/ |
H A D | Android.mk | 15 # The Jacoco tool analyzes code coverage when running unit tests on the
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
H A D | CalculatorFormula.java | 144 private void setTextSizeInternal(int unit, float size, boolean notifyListener) { argument 146 super.setTextSize(unit, size); 153 public void setTextSize(int unit, float size) { argument 154 setTextSizeInternal(unit, size, true);
|