Searched refs:unit (Results 1 - 25 of 100) sorted by relevance

1234

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DWap230WspContentTypeTest.java225 WspTypeDecoder unit = new WspTypeDecoder(
227 assertTrue(unit.decodeContentType(0));
228 String mimeType = unit.getValueString();
229 int wellKnownValue = (int) unit.getValue32();
232 assertEquals(1, unit.getDecodedDataLength());
245 WspTypeDecoder unit = new WspTypeDecoder(data);
246 assertTrue(unit.decodeContentType(0));
247 String mimeType = unit.getValueString();
248 int wellKnownValue = (int) unit.getValue32();
251 assertEquals(4, unit
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DMediaPlayerMethodUnderTest.java17 package com.android.mediaframeworktest.unit;
22 * All MediaPlayer method unit test subclass must implement this interface.
H A DMediaRecorderMethodUnderTest.java17 package com.android.mediaframeworktest.unit;
22 * All MediaRecorder method unit test subclass must implement this interface.
H A DMediaPlayerStateErrors.java17 package com.android.mediaframeworktest.unit;
H A DMediaRecorderStateErrors.java17 package com.android.mediaframeworktest.unit;
H A DCameraUtilsUncheckedThrowTest.java17 package com.android.mediaframeworktest.unit;
H A DCameraOpenTest.java17 package com.android.mediaframeworktest.unit;
26 * -e class 'com.android.mediaframeworktest.unit.CameraOpenTest' \
H A DMediaPlayerGetCurrentPositionStateUnitTest.java17 package com.android.mediaframeworktest.unit;
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/
H A DIdlingPolicy.java35 private final TimeUnit unit; field in class:IdlingPolicy
46 * The unit for {@linkgetIdleTimeout}.
49 return unit;
79 this.unit = checkNotNull(builder.unit);
85 private TimeUnit unit = null; field in class:IdlingPolicy.Builder
96 this.unit = copy.unit;
105 public Builder withIdlingTimeoutUnit(TimeUnit unit) { argument
106 this.unit
[all...]
H A DIdlingPolicies.java61 * @param unit the unit of the timeout value.
63 public static void setMasterPolicyTimeout(long timeout, TimeUnit unit) { argument
65 checkNotNull(unit);
68 .withIdlingTimeoutUnit(unit)
77 * @param unit the unit of the timeout value.
79 public static void setIdlingResourceTimeout(long timeout, TimeUnit unit) { argument
81 checkNotNull(unit);
84 .withIdlingTimeoutUnit(unit)
[all...]
/frameworks/native/libs/ui/tests/
H A DAndroid.mk1 # Build the unit tests.
5 # Build the unit tests.
28 # Build the unit tests.
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerUnitTestRunner.java21 import com.android.connectivitymanagertest.unit.WifiClientTest;
22 import com.android.connectivitymanagertest.unit.WifiSoftAPTest;
27 * Instrumentation Test Runner for all unit tests
/frameworks/base/core/java/android/accounts/
H A DAccountManagerFuture.java104 * @param unit the time unit of the timeout argument. This must not be null.
113 V getResult(long timeout, TimeUnit unit) argument
/frameworks/native/cmds/installd/tests/
H A DAndroid.mk1 # Build the unit tests for installd
5 # Build the unit tests.
/frameworks/base/policy/
H A DAndroid.mk13 # additionally, build unit tests in a separate .apk
/frameworks/base/services/core/java/com/android/server/notification/
H A DRankingReconsideration.java64 public long getDelay(TimeUnit unit) { argument
65 return unit.convert(mDelay, TimeUnit.MILLISECONDS);
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
H A DAwaitableCompletionListener.java47 public void awaitOneCallback(long timeout, TimeUnit unit) throws InterruptedException, argument
49 if (mQueue.poll(timeout, unit) == null) {
H A DAwaitableErrorListener.java55 public void awaitOneCallback(long timeout, TimeUnit unit) throws InterruptedException, argument
57 if (mQueue.poll(timeout, unit) == null) {
/frameworks/av/media/libstagefright/rtsp/
H A DAH263Assembler.cpp156 LOG(VERBOSE) << "Access unit complete (" << mPackets.size() << " packets)";
162 const sp<ABuffer> &unit = *it; local
164 totalSize += unit->size();
172 const sp<ABuffer> &unit = *it; local
175 unit->data(), unit->size());
177 offset += unit->size();
197 msg->setBuffer("access-unit", accessUnit);
H A DAAVCAssembler.cpp162 sp<ABuffer> unit = new ABuffer(nalSize); local
163 memcpy(unit->data(), &data[2], nalSize);
165 CopyTimes(unit, buffer);
167 addSingleNALUnit(unit);
281 // We found all the fragments that make up the complete NAL unit.
287 sp<ABuffer> unit = new ABuffer(totalSize); local
288 CopyTimes(unit, *queue->begin());
290 unit->data()[0] = (nri << 5) | nalType;
302 memcpy(unit->data() + offset, buffer->data() + 2, buffer->size() - 2);
308 unit
[all...]
/frameworks/av/services/audioflinger/tests/
H A DAndroid.mk1 # Build the unit tests for audioflinger
4 # resampler unit test
/frameworks/native/libs/input/tests/
H A DAndroid.mk1 # Build the unit tests.
5 # Build the unit tests.
/frameworks/native/services/inputflinger/tests/
H A DAndroid.mk1 # Build the unit tests.
5 # Build the unit tests.
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
H A DEffectParameter.java35 public EffectParameter (int min, int max, SeekBar seekBar, TextView textView, String unit) { argument
40 mUnit = unit;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java319 int unit; field in class:ResourceHelper.UnitEntry
322 UnitEntry(String name, int type, int unit, float scale) { argument
325 this.unit = unit;
359 * @param requireUnit whether the value is expected to contain a unit.
402 // Might be a unit...
419 // no unit when required? Use dp and out an error.
425 "Dimension \"%1$s\" in attribute \"%2$s\" is missing unit!",
481 for (UnitEntry unit : sUnitNames) {
482 if (unit
491 applyUnit(UnitEntry unit, TypedValue outValue, float[] outScale) argument
[all...]

Completed in 590 milliseconds

1234