Home
last modified time | relevance | path

Searched refs:allocated (Results 1 – 25 of 46) sorted by relevance

12

/system/libhidl/transport/allocator/1.0/default/
DAshmemAllocator.cpp71 uint64_t allocated; in batchAllocate() local
72 for (allocated = 0; allocated < count; allocated++) { in batchAllocate()
73 batch[allocated] = allocateOne(size); in batchAllocate()
75 if (batch[allocated].handle() == nullptr) { in batchAllocate()
76 LOG(WARNING) << "batchAllocate(" << size << ", " << count << ") fails @ #" << allocated; in batchAllocate()
84 if (allocated < count) { in batchAllocate()
90 for (uint64_t i = 0; i < allocated; i++) { in batchAllocate()
/system/bt/stack/avct/
Davct_lcb.cc169 AVCT_TRACE_EVENT("LCB lcb=%d event=%s state=%s", p_lcb->allocated, in avct_lcb_event()
204 AVCT_TRACE_EVENT("BCB lcb=%d event=%s state=%s", p_bcb->allocated, in avct_bcb_event()
240 if (p_lcb->allocated && p_lcb->peer_addr == bd_addr) { in avct_lcb_by_bd()
269 if (!p_lcb->allocated) { in avct_lcb_alloc()
270 p_lcb->allocated = (uint8_t)(i + 1); in avct_lcb_alloc()
272 AVCT_TRACE_DEBUG("avct_lcb_alloc %d", p_lcb->allocated); in avct_lcb_alloc()
297 AVCT_TRACE_DEBUG("%s allocated: %d", __func__, p_lcb->allocated); in avct_lcb_dealloc()
303 if (p_ccb->allocated && p_ccb->p_lcb == p_lcb) { in avct_lcb_dealloc()
332 if (p_lcb->allocated && in avct_lcb_by_lcid()
362 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb) && (p_ccb->cc.pid == pid)) { in avct_lcb_has_pid()
[all …]
Davct_bcb_act.cc166 if (p_ccb->allocated) { in avct_bcb_open_ind()
227 if (p_ccb->allocated && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_open_fail()
249 if (p_ccb->allocated && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_close_ind()
282 p_bcb->allocated = 0; in avct_bcb_close_cfm()
284 if (p_ccb->allocated && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_close_cfm()
394 if (p_ccb->allocated && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_cong_ind()
427 p_bcb->allocated, p_data->ul_msg.p_ccb->p_lcb->allocated); in avct_bcb_discard_msg()
428 p_bcb->allocated = p_data->ul_msg.p_ccb->p_lcb->allocated; in avct_bcb_discard_msg()
592 AVCT_TRACE_DEBUG("%s %d", __func__, p_bcb->allocated); in avct_bcb_dealloc()
596 if ((p_ccb->allocated) && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_dealloc()
[all …]
Davct_ccb.cc47 if (!p_ccb->allocated) { in avct_ccb_alloc()
48 p_ccb->allocated = AVCT_ALOC_LCB; in avct_ccb_alloc()
128 if (!p_ccb->allocated) { in avct_ccb_by_idx()
Davct_api.cc257 if ((p_ccb->allocated & AVCT_ALOC_BCB) == 0) { in AVCT_CreateBrowse()
258 p_ccb->allocated |= AVCT_ALOC_BCB; in AVCT_CreateBrowse()
266 if ((p_ccb->p_lcb == NULL) || (p_ccb->p_lcb->allocated == 0)) { in AVCT_CreateBrowse()
270 index = p_ccb->p_lcb->allocated; in AVCT_CreateBrowse()
275 p_bcb->allocated = index; in AVCT_CreateBrowse()
430 if (p_ccb->p_bcb == NULL && (p_ccb->allocated & AVCT_ALOC_BCB) == 0) { in AVCT_MsgReq()
Davct_int.h66 uint8_t allocated; /* 0, not allocated. index+1, otherwise. */ member
77 uint8_t allocated; /* 0, not allocated. index+1, otherwise. */ member
93 uint8_t allocated; /* 0, not allocated. index+1, otherwise. */ member
111 uint8_t allocated; /* Whether LCB/BCB is allocated */ member
Davct_l2c_br.cc136 if (p_bcb->allocated == 0) { in avct_l2c_br_connect_ind_cback()
140 p_bcb->allocated = p_lcb->allocated; /* copy the index from lcb */ in avct_l2c_br_connect_ind_cback()
Davct_lcb_act.cc222 if (p_ccb->allocated) { in avct_lcb_open_ind()
265 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_open_fail()
288 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_close_ind()
318 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_close_cfm()
439 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_cong_ind()
/system/core/cpio/
Dmkbootfs.c289 int allocated = 8; in read_canned_config() local
293 (struct fs_config_entry*)malloc(allocated * sizeof(struct fs_config_entry)); in read_canned_config()
301 if (used >= allocated) { in read_canned_config()
302 allocated *= 2; in read_canned_config()
304 canned_config, allocated * sizeof(struct fs_config_entry)); in read_canned_config()
321 if (used >= allocated) { in read_canned_config()
322 ++allocated; in read_canned_config()
324 canned_config, allocated * sizeof(struct fs_config_entry)); in read_canned_config()
/system/sepolicy/prebuilts/api/30.0/public/
Dhal_sensors.te6 # Allow sensor hals to access ashmem memory allocated by apps
9 # Allow sensor hals to access ashmem memory allocated by android.hidl.allocator
/system/sepolicy/public/
Dhal_sensors.te6 # Allow sensor hals to access ashmem memory allocated by apps
9 # Allow sensor hals to access ashmem memory allocated by android.hidl.allocator
Dhal_drm.te30 # Allow access to fds allocated by mediaserver
/system/sepolicy/prebuilts/api/29.0/public/
Dhal_sensors.te6 # Allow sensor hals to access ashmem memory allocated by apps
9 # Allow sensor hals to access ashmem memory allocated by android.hidl.allocator
Dhal_drm.te27 # Allow access to fds allocated by mediaserver
/system/sepolicy/prebuilts/api/28.0/public/
Dhal_sensors.te7 # Allow sensor hals to access ashmem memory allocated by apps
10 # Allow sensor hals to access ashmem memory allocated by android.hidl.allocator
/system/sepolicy/prebuilts/api/27.0/public/
Dhal_sensors.te7 # Allow sensor hals to access ashmem memory allocated by apps
10 # Allow sensor hals to access ashmem memory allocated by android.hidl.allocator
/system/sepolicy/prebuilts/api/26.0/public/
Dhal_sensors.te7 # Allow sensor hals to access ashmem memory allocated by apps
10 # Allow sensor hals to access ashmem memory allocated by android.hidl.allocator
/system/memory/lmkd/tests/
Dlmkd_test.cpp181 size_t allocated; member
204 data->allocated = allocated_size; in add_pressure()
262 << data->allocated / ONE_MB << "MB"; in runMemStressTest()
265 << data->allocated / ONE_MB in runMemStressTest()
275 data->allocated = 0; in runMemStressTest()
/system/core/fs_mgr/libsnapshot/
Dtest_helpers.cpp197 off_t allocated = 0; in Init() local
199 int status = fallocate(big_file_->fd, 0, allocated, next_consume); in Init()
207 allocated += next_consume; in Init()
213 LOG(INFO) << allocated << " bytes allocated to " << big_file_->path; in Init()
/system/core/fs_mgr/libsnapshot/android/snapshot/
Dsnapshot.proto76 // Sectors allocated for the COW device. Recording this value right after
82 // Metadata sectors allocated for the COW device. Recording this value right
122 // Total number of sectors allocated in the COW files before performing the
131 // Sectors allocated for metadata in all the snapshot devices.
/system/bt/stack/avdt/
Davdt_ccb.cc416 if (p_ccb->allocated && p_ccb->peer_addr == bd_addr) { in avdt_ccb_by_bd()
444 if (!p_ccb->allocated) { in avdt_ccb_alloc()
465 if (p_ccb->allocated) { in avdt_ccb_alloc_by_channel_index()
484 allocated = true; in Allocate()
Davdt_int.h424 allocated(false), in AvdtpScb()
473 allocated = false; in Reset()
497 bool allocated; // True if the SCB is allocated variable
530 allocated(false),
590 allocated = false; in ResetCcb()
624 bool allocated; // Whether ccb is allocated variable
/system/extras/memory_replay/traces/
DREADME21 free - Free memory allocated using one of the above actions.
59 Find a previously allocated pointer <ptr> and call free(<ptr>).
/system/sepolicy/vendor/
Dhal_sensors_default.te12 # Allow sensor hals to access and use gralloc memory allocated by
/system/hardware/interfaces/suspend/1.0/
DISystemSuspend.hal23 * Acquires an IWakeLock instance. Any allocated IWakeLock must block the

12