/hardware/interfaces/health/2.1/ |
D | types.hal | 27 * Battery capacity level. This enum provides additional information along side 28 * with the battery capacity. 30 * battery capacity. 34 * Battery capacity level is unsupported. 35 * Battery capacity level must be set to this value if and only if the 40 * Battery capacity level is unknown. 41 * Battery capacity level must be set to this value if and only if battery 42 * is not present or the battery capacity level is unknown/uninitialized. 85 * Battery capacity level. See BatteryCapacityLevel for more details. 99 * Estimated battery full charge design capacity (in microamp hours, uAh).
|
/hardware/google/av/codec2/include/ |
D | C2Buffer.h | 343 inline constexpr uint32_t capacity() const { return mCapacity; } in capacity() function 356 inline explicit _C2LinearCapacityAspect(size_t capacity) = delete; 359 inline explicit constexpr _C2LinearCapacityAspect(uint32_t capacity) in _C2LinearCapacityAspect() argument 360 : mCapacity(capacity) { } in _C2LinearCapacityAspect() 363 : mCapacity(parent == nullptr ? 0 : parent->capacity()) { } in _C2LinearCapacityAspect() 391 mOffset(c2_min(offset, capacity())), in _C2LinearRangeAspect() 392 mSize(c2_min(size, capacity() - mOffset)) { in _C2LinearRangeAspect() 398 : _C2LinearCapacityAspect(other.capacity()), in _C2LinearRangeAspect() 407 mSize(capacity()) { in _C2LinearRangeAspect() 413 mOffset(c2_min(offset, capacity())), in _C2LinearRangeAspect() [all …]
|
D | C2Config.h | 1007 uint32_t capacity; ///< buffer capacity to be allocated if 1D member 1015 C2FIELD(capacity, "capacity") 2018 : usage(usage_), capacity(capacity_), heapMask(0), allocFlags(0), minAlignment(0) { } in C2StoreIonUsageStruct() 2021 uint32_t capacity; ///< capacity member 2028 C2FIELD(capacity, "capacity")
|
/hardware/google/av/codec2/vndk/ |
D | C2AllocatorIon.cpp | 165 …Impl(int ionFd, size_t capacity, int bufferFd, ion_user_handle_t buffer, C2Allocator::id_t id, int… in Impl() argument 167 mHandle(bufferFd, capacity), in Impl() 194 static Impl *Import(int ionFd, size_t capacity, int bufferFd, C2Allocator::id_t id) { in Import() argument 197 return new Impl(ionFd, capacity, bufferFd, buffer, id, ret); in Import() 469 C2MemoryUsage usage, size_t capacity, size_t *align, unsigned *heapMask, unsigned *flags) { in mapUsage() argument 473 capacity = (capacity + mBlockSize - 1) & ~(mBlockSize - 1); in mapUsage() 474 MapperKey key = std::make_pair(usage.expected, capacity); in mapUsage() 478 res = mUsageMapper(usage, capacity, align, heapMask, flags); in mapUsage() 505 uint32_t capacity, C2MemoryUsage usage, std::shared_ptr<C2LinearAllocation> *allocation) { in newLinearAllocation() argument 518 c2_status_t ret = mapUsage(usage, capacity, &align, &heapMask, &flags); in newLinearAllocation() [all …]
|
D | C2Buffer.cpp | 331 uint32_t capacity, in fetchLinearBlock() argument 337 c2_status_t err = mAllocator->newLinearAllocation(capacity, usage, &alloc); in fetchLinearBlock() 459 void getLinearParams(uint32_t capacity, C2MemoryUsage usage, 510 AllocParams(C2MemoryUsage usage, uint32_t capacity) in AllocParams() argument 511 : data{ALLOC_LINEAR, usage, {[0] = capacity}} {} in AllocParams() 618 uint32_t capacity, C2MemoryUsage usage, std::vector<uint8_t> *params) { in getLinearParams() argument 619 AllocParams c2Params(usage, capacity); in getLinearParams() 664 uint32_t capacity, C2MemoryUsage usage, in fetchLinearBlock() argument 671 mAllocator->getLinearParams(capacity, usage, ¶ms); in fetchLinearBlock() 684 *block = _C2BlockFactory::CreateLinearBlock(alloc, poolData, 0, capacity); in fetchLinearBlock() [all …]
|
D | C2Store.cpp | 144 C2FieldSupportedValuesQuery::Possible(C2ParamField::Make(usageInfo, usageInfo.capacity)), in UseComponentStoreForIonAllocator() 165 mapper = [store](C2MemoryUsage usage, size_t capacity, in UseComponentStoreForIonAllocator() 167 if (capacity > UINT32_MAX) { in UseComponentStoreForIonAllocator() 170 C2StoreIonUsageInfo usageInfo = { usage.expected, capacity }; in UseComponentStoreForIonAllocator() 616 C2F(mIonUsageInfo, capacity).inRange(0, UINT32_MAX, 1024), in Interface()
|
/hardware/google/av/media/sfplugin/ |
D | CCodecBufferChannel.cpp | 309 sp<ABuffer> newBuffer(size_t capacity) { in newBuffer() argument 313 [capacity](const std::vector<uint8_t> &vec) { in newBuffer() 314 return vec.capacity() >= capacity; in newBuffer() 321 if (mUsedSize + capacity > mPoolCapacity) { in newBuffer() 323 mUsedSize -= mPool.back().capacity(); in newBuffer() 326 if (mUsedSize + capacity > mPoolCapacity) { in newBuffer() 328 mUsedSize, capacity, mPoolCapacity); in newBuffer() 332 std::vector<uint8_t> vec(capacity); in newBuffer() 333 mUsedSize += vec.capacity(); in newBuffer() 352 : ABuffer(vec.data(), vec.capacity()), in VectorBuffer() [all …]
|
D | Codec2Buffer.cpp | 57 if (buffer->data().linearBlocks()[0].size() > capacity()) { in canCopyLinear() 76 if (view.capacity() > capacity()) { in copyLinear() 78 view.capacity(), capacity()); in copyLinear() 81 memcpy(base(), view.data(), view.capacity()); in copyLinear() 82 setRange(0, view.capacity()); in copyLinear() 192 const_cast<uint8_t *>(readView.data()), readView.capacity())), in ConstLinearBlockBuffer() 454 if (backBuffer->capacity() < mBackBufferSize) { in setBackBuffer() 724 if (converter.backBufferSize() > capacity()) { in canCopy() 726 converter.backBufferSize(), capacity()); in canCopy() 746 sp<ABuffer> aBuffer = new ABuffer(base(), capacity()); in copy()
|
D | SkipCutBuffer.cpp | 120 size_t copied = read(dst, buffer->capacity()); in submitInternal()
|
/hardware/libhardware/modules/sensors/ |
D | SensorEventQueue.cpp | 26 SensorEventQueue::SensorEventQueue(int capacity) { in SensorEventQueue() argument 27 mCapacity = capacity; in SensorEventQueue()
|
D | SensorEventQueue.h | 41 explicit SensorEventQueue(int capacity);
|
/hardware/google/av/media/codecs/aac/ |
D | C2SoftAacEnc.cpp | 348 size_t capacity = 0u; in process() local 352 capacity = view.capacity(); in process() 355 size_t numFrames = (capacity + mInputSize + (eos ? mNumBytesPerInputFrame - 1 : 0)) in process() 358 capacity, mInputSize, numFrames, mNumBytesPerInputFrame); in process() 371 inargs.numInSamples = capacity / sizeof(int16_t); in process() 375 INT inBufferSize[] = { (INT)capacity }; in process() 471 int consumed = (capacity / sizeof(int16_t)) - inargs.numInSamples in process()
|
/hardware/google/av/codec2/vndk/include/ |
D | C2BufferPriv.h | 40 uint32_t capacity, 90 uint32_t capacity,
|
D | C2AllocatorIon.h | 47 uint32_t capacity, C2MemoryUsage usage,
|
/hardware/google/av/codec2/tests/vndk/ |
D | C2BufferTest.cpp | 199 static_assert(TestCapacity(0u).capacity() == 0u, ""); in StaticLinearRangeAndCapacityTest() 201 static_assert(TestCapacity(&cap).capacity() == 123u, ""); in StaticLinearRangeAndCapacityTest() 202 static_assert(TestCapacity(nullptr).capacity() == 0u, ""); in StaticLinearRangeAndCapacityTest() 205 static_assert(TestRange(&cap).capacity() == 123u, ""); in StaticLinearRangeAndCapacityTest() 212 static_assert(range.capacity() == 123u, ""); in StaticLinearRangeAndCapacityTest() 217 static_assert(TestRange(&cap, 20u, 30u).capacity() == 123u, ""); in StaticLinearRangeAndCapacityTest() 222 static_assert(TestRange(&cap, 200u, 30u).capacity() == 123u, ""); in StaticLinearRangeAndCapacityTest() 244 void allocateLinear(size_t capacity) { in allocateLinear() argument 246 capacity, in allocateLinear() 382 ASSERT_EQ(kCapacity, writeView.capacity()); in TEST_F() [all …]
|
/hardware/interfaces/health/1.0/ |
D | types.hal | 78 * remaining capacity). 110 * batteryCapacityPath - file path to read remaining battery capacity. 190 /** Remaining battery capacity in percent */ 214 /** Instantaneous battery capacity in uA-h */
|
/hardware/interfaces/health/2.0/ |
D | IHealth.hal | 66 * Get battery capacity in microampere-hours(µAh). 72 * @return value battery capacity, or 0 if not successful. 109 * Get remaining battery capacity percentage of total capacity 116 * @return value remaining battery capacity, or 0 if not successful.
|
/hardware/interfaces/radio/1.2/ |
D | IRadioIndication.hal | 42 * Indicates current link capacity estimate.
|
D | types.hal | 120 * When this bit is set, modem must send the link capacity update through 128 * recommended that this be reported whenever link capacity or signal strength is reported. 367 * Estimated downlink capacity in kbps. This bandwidth estimate shall be the estimated 374 * Estimated uplink capacity in kbps. This bandwidth estimate shall be the estimated
|
/hardware/google/av/media/codecs/flac/ |
D | C2SoftFlacEnc.cpp | 195 inSize = rView.capacity(); in process() 326 if (bytes + mEncoderReturnedNbBytes > mOutputBlock->capacity()) { in onEncodedFlacAvailable()
|
/hardware/interfaces/contexthub/1.0/ |
D | types.hal | 174 uint32_t totalBytes; // Total capacity in bytes 175 uint32_t freeBytes; // Free capacity in bytes
|
/hardware/interfaces/drm/1.2/ |
D | types.hal | 70 * capacity of available crypto resources such that a retry of
|
/hardware/google/av/media/codecs/avc/ |
D | C2SoftAvcEnc.h | 232 uint32_t capacity,
|
/hardware/google/pixel/pixelstats/ |
D | pixelatoms.proto | 124 /* A message containing an alternate proprietary full battery capacity estimate. */
|
/hardware/google/av/media/sfplugin/tests/ |
D | MediaCodec_sanity_test.cpp | 231 ASSERT_GE(buf->capacity(), frame.size); in TEST_F() 313 ASSERT_GE(buf->capacity(), frame.size); in TEST_P()
|