Home
last modified time | relevance | path

Searched refs:bid (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/codec2/hal/client/
DGraphicsTracker.cpp35 c2_status_t retrieveAHardwareBufferId(const C2ConstGraphicBlock &blk, uint64_t *bid) { in retrieveAHardwareBufferId() argument
45 int ret = AHardwareBuffer_getId(pBuf, bid); in retrieveAHardwareBufferId()
461 uint64_t bid = it->second->mId; in clearCacheIfNecessaryLocked() local
462 if (mDequeued.count(bid) == 0 || mDeallocating.count(bid) > 0) { in clearCacheIfNecessaryLocked()
601 uint64_t bid = (*pBuffer)->mId; in commitAllocate() local
602 auto mapRet = mDequeued.emplace(bid, *pBuffer); in commitAllocate()
766 c2_status_t GraphicsTracker::requestDeallocate(uint64_t bid, const sp<Fence> &fence, in requestDeallocate() argument
771 if (mDeallocating.find(bid) != mDeallocating.end()) { in requestDeallocate()
775 auto it = mDequeued.find(bid); in requestDeallocate()
789 mDeallocating.emplace(bid); in requestDeallocate()
[all …]
/frameworks/base/services/core/java/com/android/server/location/countrydetector/
DLocationBasedCountryDetector.java99 final long bid = Binder.clearCallingIdentity(); in registerListener() local
103 Binder.restoreCallingIdentity(bid); in registerListener()
111 final long bid = Binder.clearCallingIdentity(); in unregisterListener() local
115 Binder.restoreCallingIdentity(bid); in unregisterListener()
123 final long bid = Binder.clearCallingIdentity(); in getLastKnownLocation() local
139 Binder.restoreCallingIdentity(bid); in getLastKnownLocation()
/frameworks/av/media/module/bufferpool/1.0/vts/
Dsingle.cpp121 BufferId bid[kNumRecycleTest]; in TEST_F() local
127 bid[i] = buffer->mId; in TEST_F()
130 ASSERT_TRUE(bid[i - 1] == bid[i]); in TEST_F()
/frameworks/av/media/module/bufferpool/2.0/tests/
Dsingle.cpp125 BufferId bid[kNumRecycleTest]; in TEST_F() local
131 bid[i] = buffer->mId; in TEST_F()
138 ASSERT_TRUE(bid[i - 1] == bid[i]); in TEST_F()
DBufferpoolUnitTest.cpp278 std::vector<BufferId> bid{}; in TEST_F() local
286 bid.push_back(buffer->mId); in TEST_F()
293 std::unordered_set<BufferId> set(bid.begin(), bid.end()); in TEST_F()
/frameworks/av/media/codec2/tests/aidl/
DGraphicsTracker_test.cpp211 uint64_t bid; in queueBuffer() local
213 if (AHardwareBuffer_getId(frame->buffer_, &bid) != in queueBuffer()
222 mTracker->deallocate(bid, frame->fence_); in queueBuffer()
230 mTracker->deallocate(bid, Fence::NO_FENCE); in queueBuffer()
243 mTracker->deallocate(bid, Fence::NO_FENCE); in queueBuffer()
330 uint64_t bid; in TEST_F() local
339 ASSERT_EQ(OK, AHardwareBuffer_getId(buf, &bid)); in TEST_F()
340 ALOGD("alloced : bufferId: %llu", (unsigned long long)bid); in TEST_F()
370 uint64_t bid; in TEST_F() local
379 ASSERT_EQ(OK, AHardwareBuffer_getId(buf, &bid)); in TEST_F()
[all …]
/frameworks/av/media/codec2/hal/client/include/codec2/aidl/
DGraphicsTracker.h294 c2_status_t requestDeallocate(uint64_t bid, const sp<Fence> &fence,
298 c2_status_t requestRender(uint64_t bid, std::shared_ptr<BufferCache> *cache,
309 int slotId, uint64_t bid,
/frameworks/base/telephony/java/android/telephony/
DCellIdentityCdma.java100 public CellIdentityCdma(int nid, int sid, int bid, int lon, int lat, in CellIdentityCdma() argument
105 mBasestationId = inRangeOrUnavailable(bid, 0, BASESTATION_ID_MAX); in CellIdentityCdma()
/frameworks/av/media/module/bufferpool/2.0/
DBufferPoolClient.cpp717 BufferId bid = it->second->id(); in invalidateRange() local
719 if (from <= bid && bid < to) { in invalidateRange()
725 if (from <= bid || bid < to) { in invalidateRange()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5056 final long bid = Binder.clearCallingIdentity();
5080 Binder.restoreCallingIdentity(bid);