Home
last modified time | relevance | path

Searched refs:unit (Results 1 – 25 of 87) 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/base/media/libstagefright/rtsp/
DAH263Assembler.cpp134 const sp<ABuffer> &unit = *it; in submitAccessUnit() local
136 totalSize += unit->size(); in submitAccessUnit()
144 const sp<ABuffer> &unit = *it; in submitAccessUnit() local
147 unit->data(), unit->size()); in submitAccessUnit()
149 offset += unit->size(); in submitAccessUnit()
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()
DAMPEG4AudioAssembler.cpp540 const sp<ABuffer> &unit = *it; in submitAccessUnit() local
542 totalSize += unit->size(); in submitAccessUnit()
550 const sp<ABuffer> &unit = *it; in submitAccessUnit() local
553 unit->data(), 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/tools/localize/
Dlocalize.cpp175 keep_this_trans_unit(const string& file, const TransUnit& unit, void* cookie) in keep_this_trans_unit() argument
179 if (contains_reject(*settings, file, unit)) { in keep_this_trans_unit()
183 if (unit.source.id == "") { in keep_this_trans_unit()
186 if (unit.altTarget.id == "" || unit.altSource.id == "") { in keep_this_trans_unit()
189 return unit.source.value->ContentsToString(XLIFF_NAMESPACES) in keep_this_trans_unit()
190 != unit.altSource.value->ContentsToString(XLIFF_NAMESPACES); in keep_this_trans_unit()
478 pseudolocalize_trans_unit(const string&file, TransUnit* unit, void* cookie) in pseudolocalize_trans_unit() argument
482 const StringResource& source = unit->source; in pseudolocalize_trans_unit()
483 StringResource* target = &unit->target; in pseudolocalize_trans_unit()
/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_rule8/
Dstderr.txt.expect1 error: type 'DifferentDefinition8' 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_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_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_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_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_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_rule3/
Dstderr.txt.expect1 error: type 'DifferentDefinition3' 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.java1328 private Bundle internalGetResult(Long timeout, TimeUnit unit)
1337 return get(timeout, unit);
1371 public Bundle getResult(long timeout, TimeUnit unit)
1373 return internalGetResult(timeout, unit);
1496 private T internalGetResult(Long timeout, TimeUnit unit)
1505 return get(timeout, unit);
1539 public T getResult(long timeout, TimeUnit unit)
1541 return internalGetResult(timeout, unit);

1234