Searched defs:check (Results 1 - 11 of 11) sorted by path
/system/core/fastboot/ |
H A D | usb_linux.cpp | 126 static int check(void *_desc, int len, unsigned type, int size) function 153 if (check(ptr, len, USB_DT_DEVICE, USB_DT_DEVICE_SIZE)) 159 if (check(ptr, len, USB_DT_CONFIG, USB_DT_CONFIG_SIZE)) 208 if (check(hdr, len, USB_DT_INTERFACE, USB_DT_INTERFACE_SIZE) == 0) 230 if (check(hdr, len, USB_DT_ENDPOINT, USB_DT_ENDPOINT_SIZE) == 0) 253 if (check((struct usb_descriptor_hdr *)ptr, len,
|
/system/core/libbacktrace/ |
H A D | backtrace_test.cpp | 260 bool check = (cur_proc == nullptr); local 262 if (check) { 271 if (!check && bt_ign2->GetFrame(i)->func_name == cur_proc) { 272 check = true;
|
/system/core/logd/tests/ |
H A D | logd_test.cpp | 93 bool check = ret <= len; local 95 if (check) { 357 // check if we can read any logs from logd 386 // check if we can read any logs from kernel logger 437 // thresholds are tuned on a per-target basis. Here we check if the values 442 // being the worst) and check to make sure the logger can deal with it 456 " false OK for prune by worst UID check\n"); 1230 // cool down, and check unspammy rate still works
|
/system/extras/libfec/ |
H A D | fec_open.cpp | 47 check(offset); 48 check(get_appr_size); 49 check(get_real_size); 92 check(f); 93 check(offset); 102 check(f); 103 check(f->ecc.rsn > 0 && f->ecc.rsn < FEC_RSM); 104 check(f->size > sizeof(fec_header)); 201 check(f); 202 check(offse 203 check(offset < UINT64_MAX - FEC_BLOCKSIZE); function [all...] |
H A D | fec_private.h | 49 #define VERITY_MIN_TABLE_SIZE (VERITY_TABLE_ARGS * 2) /* for a sanity check */ 167 #define check(p) \ macro
|
/system/keymaster/include/keymaster/ |
H A D | keymaster_tags.h | 40 * particular tag. This enables template functions to be written that check that the correct 66 static void check() {} function in struct:keymaster::StaticAssert 105 StaticAssert<(tag & tag_type) == tag_type>::check(); 106 StaticAssert<(tag_type != KM_ENUM) && (tag_type != KM_ENUM_REP)>::check(); 121 StaticAssert<(tag & tag_type) == tag_type>::check(); 122 StaticAssert<(tag_type == KM_ENUM) || (tag_type == KM_ENUM_REP)>::check();
|
/system/libfmq/ |
H A D | FmqInternal.cpp | 24 void check(bool exp) { function in namespace:android::hardware::details
|
/system/media/radio/src/ |
H A D | radio_metadata.c | 141 bool check) 148 if (check) { 314 /* sanity check on entry count versus buffer size */ 324 /* sanity check on each entry */ 338 /* do not request check because next entry can be the free slot */ 138 get_entry_at_index( const radio_metadata_buffer_t *metadata, const unsigned index, bool check) argument
|
/system/nfc/src/nfa/ee/ |
H A D | nfa_ee_act.c | 1076 ** Description check if any ee_status still has NFA_EE_STATUS_PENDING bit 1101 ** Description check if any ee_status still has NFA_EE_STATUS_RESTORING bit 1179 * check if the number of NFCEE expected is more than what's currently 1317 * i.e. check only first supported NFCEE interface is HCI access */ 2164 ** nfa_ee_cb.ee_cfg_sts is used to check is any status is 2267 bool check = true; local 2294 check = false; 2307 for (xx = 0; (xx < nfa_ee_cb.cur_ee) && check; xx++, p_cb++) {
|
/system/sepolicy/tools/ |
H A D | check_seapp.c | 322 static bool match_regex(key_map *assert, const key_map *check) { argument 324 char *tomatch = check->data; 389 * No policy file present means we cannot check 407 * No policy file present means we cannot check 442 * The key map to check 518 * a rule map to check 520 * a rule map to check 647 * The rule map to check for validity. 667 // mark that nrule->name is for a null check 685 * the nrule was marked in a null check an [all...] |
H A D | sepolicy-check.c | 43 int check(int op, uint16_t arg1, uint16_t arg2) { function 86 match &= check(s_op, source_type, cur->key.source_type); 87 match &= check(t_op, target_type, cur->key.target_type); 88 match &= check(c_op, target_class, cur->key.target_class);
|
Completed in 226 milliseconds