Home
last modified time | relevance | path

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

123

/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.cpp475 const sp<ABuffer> &unit = *it; in submitAccessUnit() local
477 totalSize += unit->size(); in submitAccessUnit()
485 const sp<ABuffer> &unit = *it; in submitAccessUnit() local
488 unit->data(), unit->size()); in submitAccessUnit()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java320 int unit; field in ResourceHelper.UnitEntry
323 UnitEntry(String name, int type, int unit, float scale) { in UnitEntry() argument
326 this.unit = unit; in UnitEntry()
462 for (UnitEntry unit : sUnitNames) {
463 if (unit.name.equals(str)) {
464 outValue.type = unit.type;
465 outValue.data = unit.unit << TypedValue.COMPLEX_UNIT_SHIFT;
466 outScale[0] = unit.scale;
/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;
DMediaRecorderStartStateUnitTest.java17 package com.android.mediaframeworktest.unit;
DMediaRecorderStopStateUnitTest.java17 package com.android.mediaframeworktest.unit;
DMediaRecorderSetAudioEncoderStateUnitTest.java17 package com.android.mediaframeworktest.unit;
DMediaRecorderSetAudioSourceStateUnitTest.java17 package com.android.mediaframeworktest.unit;
DMediaPlayerStopStateUnitTest.java17 package com.android.mediaframeworktest.unit;
DMediaRecorderSetOutputFormatStateUnitTest.java17 package com.android.mediaframeworktest.unit;
DMediaRecorderResetStateUnitTest.java17 package com.android.mediaframeworktest.unit;
DMediaRecorderSetOutputFileStateUnitTest.java17 package com.android.mediaframeworktest.unit;
DMediaPlayerGetCurrentPositionStateUnitTest.java17 package com.android.mediaframeworktest.unit;
DMediaPlayerGetVideoWidthStateUnitTest.java17 package com.android.mediaframeworktest.unit;
DMediaPlayerResetStateUnitTest.java17 package com.android.mediaframeworktest.unit;
DMediaRecorderPrepareStateUnitTest.java17 package com.android.mediaframeworktest.unit;
DMediaPlayerGetVideoHeightStateUnitTest.java17 package com.android.mediaframeworktest.unit;
/frameworks/base/core/java/android/accounts/
DAccountManagerFuture.java115 V getResult(long timeout, TimeUnit unit) in getResult() argument
DAccountManager.java1220 private Bundle internalGetResult(Long timeout, TimeUnit unit)
1229 return get(timeout, unit);
1263 public Bundle getResult(long timeout, TimeUnit unit)
1265 return internalGetResult(timeout, unit);
1388 private T internalGetResult(Long timeout, TimeUnit unit)
1397 return get(timeout, unit);
1431 public T getResult(long timeout, TimeUnit unit)
1433 return internalGetResult(timeout, unit);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerUnitTestRunner.java23 import com.android.connectivitymanagertest.unit.WifiSoftAPTest;

123