Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 91) sorted by relevance

1234

/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWap230WspContentTypeTest.java225 WspTypeDecoder unit = new WspTypeDecoder( in testWellKnownShortIntegerMimeTypeValues() local
227 assertTrue(unit.decodeContentType(0)); in testWellKnownShortIntegerMimeTypeValues()
228 String mimeType = unit.getValueString(); in testWellKnownShortIntegerMimeTypeValues()
229 int wellKnownValue = (int) unit.getValue32(); in testWellKnownShortIntegerMimeTypeValues()
232 assertEquals(1, unit.getDecodedDataLength()); in testWellKnownShortIntegerMimeTypeValues()
245 WspTypeDecoder unit = new WspTypeDecoder(data); in testWellKnownLongIntegerMimeTypeValues() local
246 assertTrue(unit.decodeContentType(0)); in testWellKnownLongIntegerMimeTypeValues()
247 String mimeType = unit.getValueString(); in testWellKnownLongIntegerMimeTypeValues()
248 int wellKnownValue = (int) unit.getValue32(); in testWellKnownLongIntegerMimeTypeValues()
251 assertEquals(4, unit.getDecodedDataLength()); in testWellKnownLongIntegerMimeTypeValues()
[all …]
/frameworks/av/media/libstagefright/rtsp/
DAAVCAssembler.cpp155 sp<ABuffer> unit = new ABuffer(nalSize); in addSingleTimeAggregationPacket() local
156 memcpy(unit->data(), &data[2], nalSize); in addSingleTimeAggregationPacket()
158 CopyTimes(unit, buffer); in addSingleTimeAggregationPacket()
160 addSingleNALUnit(unit); in addSingleTimeAggregationPacket()
280 sp<ABuffer> unit = new ABuffer(totalSize); in addFragmentedNALUnit() local
281 CopyTimes(unit, *queue->begin()); in addFragmentedNALUnit()
283 unit->data()[0] = (nri << 5) | nalType; in addFragmentedNALUnit()
295 memcpy(unit->data() + offset, buffer->data() + 2, buffer->size() - 2); in addFragmentedNALUnit()
301 unit->setRange(0, totalSize); in addFragmentedNALUnit()
303 addSingleNALUnit(unit); in addFragmentedNALUnit()
DAH263Assembler.cpp136 const sp<ABuffer> &unit = *it; in submitAccessUnit() local
138 totalSize += unit->size(); in submitAccessUnit()
146 const sp<ABuffer> &unit = *it; in submitAccessUnit() local
149 unit->data(), unit->size()); in submitAccessUnit()
151 offset += unit->size(); in submitAccessUnit()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java315 int unit; field in ResourceHelper.UnitEntry
318 UnitEntry(String name, int type, int unit, float scale) { in UnitEntry() argument
321 this.unit = unit; in UnitEntry()
477 for (UnitEntry unit : sUnitNames) {
478 if (unit.name.equals(str)) {
479 applyUnit(unit, outValue, outScale);
487 private static void applyUnit(UnitEntry unit, TypedValue outValue, float[] outScale) {
488 outValue.type = unit.type;
489 outValue.data = unit.unit << TypedValue.COMPLEX_UNIT_SHIFT;
490 outScale[0] = unit.scale;
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerUnitTestRunner.java23 import com.android.connectivitymanagertest.unit.WifiClientTest;
24 import com.android.connectivitymanagertest.unit.WifiSoftAPTest;
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/
DAwaitableCompletionListener.java47 public void awaitOneCallback(long timeout, TimeUnit unit) throws InterruptedException, in awaitOneCallback() argument
49 if (mQueue.poll(timeout, unit) == null) { in awaitOneCallback()
DAwaitableErrorListener.java55 public void awaitOneCallback(long timeout, TimeUnit unit) throws InterruptedException, in awaitOneCallback() argument
57 if (mQueue.poll(timeout, unit) == null) { in awaitOneCallback()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaRecorderMethodUnderTest.java17 package com.android.mediaframeworktest.unit;
DMediaPlayerMethodUnderTest.java17 package com.android.mediaframeworktest.unit;
DMediaRecorderStateErrors.java17 package com.android.mediaframeworktest.unit;
DMediaPlayerStateErrors.java17 package com.android.mediaframeworktest.unit;
DMediaPlayerStopStateUnitTest.java17 package com.android.mediaframeworktest.unit;
DMediaRecorderSetOutputFormatStateUnitTest.java17 package com.android.mediaframeworktest.unit;
/frameworks/compile/slang/tests/F_one_definition_rule4/
Dstderr.txt.expect1 error: type 'DifferentDefinition4' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/compile/slang/tests/F_one_definition_rule2/
Dstderr.txt.expect1 error: type 'DifferentDefinition2' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/compile/slang/tests/F_one_definition_rule5/
Dstderr.txt.expect1 error: type 'DifferentDefinition5' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/compile/slang/tests/F_one_definition_rule1/
Dstderr.txt.expect1 error: type 'DifferentDefinition1' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/compile/slang/tests/F_one_definition_rule7/
Dstderr.txt.expect1 error: type 'DifferentDefinition7' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/compile/slang/tests/F_one_definition_rule3/
Dstderr.txt.expect1 error: type 'DifferentDefinition3' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/compile/slang/tests/F_one_definition_rule6/
Dstderr.txt.expect1 error: type 'DifferentDefinition6' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/compile/slang/tests/F_one_definition_rule8/
Dstderr.txt.expect1 error: type 'DifferentDefinition8' in different translation unit (def2.rs v.s. def1.rs) has incompa…
/frameworks/base/core/java/android/accounts/
DAccountManagerFuture.java115 V getResult(long timeout, TimeUnit unit) in getResult() argument
DAccountManager.java1377 private Bundle internalGetResult(Long timeout, TimeUnit unit)
1386 return get(timeout, unit);
1420 public Bundle getResult(long timeout, TimeUnit unit)
1422 return internalGetResult(timeout, unit);
1545 private T internalGetResult(Long timeout, TimeUnit unit)
1554 return get(timeout, unit);
1588 public T getResult(long timeout, TimeUnit unit)
1590 return internalGetResult(timeout, unit);
/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java219 public void setTextSize(int unit, float size) { in setTextSize() argument
220 mPrevText.setTextSize(unit, size); in setTextSize()
221 mCurrText.setTextSize(unit, size); in setTextSize()
222 mNextText.setTextSize(unit, size); in setTextSize()
/frameworks/base/core/java/android/util/
DTypedValue.java320 public static float applyDimension(int unit, float value, in applyDimension() argument
323 switch (unit) { in applyDimension()

1234