Home
last modified time | relevance | path

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

123

/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()
298 AVCT_TRACE_DEBUG("%s allocated: %d", __func__, p_lcb->allocated); in avct_lcb_dealloc()
304 if (p_ccb->allocated && p_ccb->p_lcb == p_lcb) { in avct_lcb_dealloc()
333 if (p_lcb->allocated && in avct_lcb_by_lcid()
363 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb) && (p_ccb->cc.pid == pid)) { in avct_lcb_has_pid()
[all …]
Davct_bcb_act.cc163 if (p_ccb->allocated) { in avct_bcb_open_ind()
224 if (p_ccb->allocated && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_open_fail()
246 if (p_ccb->allocated && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_close_ind()
279 p_bcb->allocated = 0; in avct_bcb_close_cfm()
281 if (p_ccb->allocated && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_close_cfm()
391 if (p_ccb->allocated && (p_ccb->p_bcb == p_bcb)) { in avct_bcb_cong_ind()
424 p_bcb->allocated, p_data->ul_msg.p_ccb->p_lcb->allocated); in avct_bcb_discard_msg()
425 p_bcb->allocated = p_data->ul_msg.p_ccb->p_lcb->allocated; in avct_bcb_discard_msg()
589 AVCT_TRACE_DEBUG("%s %d", __func__, p_bcb->allocated); in avct_bcb_dealloc()
593 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.cc234 if ((p_ccb->allocated & AVCT_ALOC_BCB) == 0) { in AVCT_CreateBrowse()
235 p_ccb->allocated |= AVCT_ALOC_BCB; in AVCT_CreateBrowse()
243 if ((p_ccb->p_lcb == NULL) || (p_ccb->p_lcb->allocated == 0)) { in AVCT_CreateBrowse()
247 index = p_ccb->p_lcb->allocated; in AVCT_CreateBrowse()
252 p_bcb->allocated = index; in AVCT_CreateBrowse()
407 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
76 uint8_t allocated; /* 0, not allocated. index+1, otherwise. */ member
91 uint8_t allocated; /* 0, not allocated. index+1, otherwise. */ member
108 uint8_t allocated; /* Whether LCB/BCB is allocated */ member
Davct_l2c_br.cc79 if (p_bcb->allocated == 0) { in avct_l2c_br_connect_ind_cback()
83 p_bcb->allocated = p_lcb->allocated; /* copy the index from lcb */ in avct_l2c_br_connect_ind_cback()
Davct_lcb_act.cc224 if (p_ccb->allocated) { in avct_lcb_open_ind()
267 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_open_fail()
290 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_close_ind()
320 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_close_cfm()
438 if (p_ccb->allocated && (p_ccb->p_lcb == p_lcb)) { in avct_lcb_cong_ind()
/system/core/mkbootfs/
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
/system/sepolicy/prebuilts/api/31.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/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.cpp182 size_t allocated; member
205 data->allocated = allocated_size; in add_pressure()
263 << data->allocated / ONE_MB << "MB"; in runMemStressTest()
266 << data->allocated / ONE_MB in runMemStressTest()
276 data->allocated = 0; in runMemStressTest()
/system/core/fs_mgr/libsnapshot/
Dtest_helpers.cpp272 off_t allocated = 0; in Init() local
274 int status = fallocate(big_file_->fd, 0, allocated, next_consume); in Init()
282 allocated += next_consume; in Init()
288 LOG(INFO) << allocated << " bytes allocated to " << big_file_->path; in Init()
/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.h418 allocated(false), in AvdtpScb()
467 allocated = false; in Reset()
491 bool allocated; // True if the SCB is allocated variable
525 allocated(false),
585 allocated = false; in ResetCcb()
619 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/core/fs_mgr/libsnapshot/android/snapshot/
Dsnapshot.proto88 // Sectors allocated for the COW device. Recording this value right after
94 // Metadata sectors allocated for the COW device. Recording this value right
174 // Total number of sectors allocated in the COW files before performing the
183 // Sectors allocated for metadata in all the snapshot devices.
/system/hardware/interfaces/suspend/1.0/
DISystemSuspend.hal23 * Acquires an IWakeLock instance. Any allocated IWakeLock must block the

123