Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 113) sorted by relevance

12345

/system/extras/libfec/
Dfec_open.cpp47 check(offset); in find_offset()
48 check(get_appr_size); in find_offset()
49 check(get_real_size); in find_offset()
92 check(f); in find_verity_offset()
93 check(offset); in find_verity_offset()
102 check(f); in parse_ecc_header()
103 check(f->ecc.rsn > 0 && f->ecc.rsn < FEC_RSM); in parse_ecc_header()
104 check(f->size > sizeof(fec_header)); in parse_ecc_header()
201 check(f); in parse_ecc()
202 check(offset % FEC_BLOCKSIZE == 0); in parse_ecc()
[all …]
Dfec_verity.cpp41 check(dst); in parse_hex()
42 check(src); in parse_hex()
43 check(2 * size == strlen(src)); in parse_hex()
49 check(l >= 0); in parse_hex()
50 check(h >= 0); in parse_hex()
66 check(src); in parse_uint64()
67 check(dst); in parse_uint64()
126 check(f); in verity_hash()
127 check(f->verity.salt); in verity_hash()
130 check(block); in verity_hash()
[all …]
Dfec_read.cpp110 check(offset % FEC_BLOCKSIZE == 0); in __ecc_read()
122 check(!use_erasures || f->verity.hash); in __ecc_read()
156 check(data_index >= 0); in __ecc_read()
192 check(rc <= (use_erasures ? e->roots : e->roots / 2)); in __ecc_read()
211 check(f); in ecc_init()
237 check(f); in ecc_read()
238 check(dest); in ecc_read()
239 check(offset < f->data_size); in ecc_read()
240 check(offset + count <= f->data_size); in ecc_read()
241 check(errors); in ecc_read()
[all …]
Dfec_process.cpp46 check(f); in process()
47 check(buf) in process()
48 check(func); in process()
85 check(left > 0); in process()
114 check(left == 0); in process()
/system/media/audio_utils/tests/
Dformat_tests.cpp47 uint8_t check[size]; in fillRamp() local
49 check, AUDIO_FORMAT_PCM_8_BIT, in fillRamp()
51 EXPECT_EQ(0, memcmp(check, bytes, size)); in fillRamp()
80 uint32_t check[SAMPLES]; in TEST_P() local
91 check, dst_encoding, in TEST_P()
98 EXPECT_EQ(0, memcmp(check, data, SAMPLES * audio_bytes_per_sample(dst_encoding))); in TEST_P()
Dstring_tests.cpp35 void check(char (&s)[size], int start, size_t actual) { in check() function
70 check(dst, DST_START, sizeof(dst)); in TEST()
75 check(dst, OVER_START, sizeof(dst)); in TEST()
82 check(dst, UNDER_START, sizeof(under)); in TEST()
/system/tools/hidl/test/version_test/
DAndroid.bp6 cmd: "$(location hidl-gen) -L check " +
16 "($(location hidl-gen) -L check " +
20 "($(location hidl-gen) -L check " +
24 "($(location hidl-gen) -L check " +
28 "($(location hidl-gen) -L check " +
32 "($(location hidl-gen) -L check " +
/system/core/libnetutils/
Dpacket.c108 ip.check = 0; in send_packet()
111 ip.check = finish_sum(checksum(&ip, sizeof(ip), 0)); in send_packet()
116 udp.check = 0; in send_packet()
131 udp.check = finish_sum(udpsum); in send_packet()
212 ALOGW("IP header checksum failure (0x%x)", packet.ip.check); in receive_packet()
243 temp = packet.udp.check; in receive_packet()
244 packet.udp.check = 0; in receive_packet()
246 packet.udp.check = temp; in receive_packet()
/system/update_engine/scripts/
Dpaycheck.py126 opts.check = (opts.check or opts.report or opts.assert_type or
146 opts.check = True
158 if opts.check and not opts.meta_sig:
181 if options.check:
/system/sepolicy/tools/
DAndroid.mk40 LOCAL_MODULE := sepolicy-check
43 LOCAL_SRC_FILES := sepolicy-check.c
Dsepolicy-check.c43 int check(int op, uint16_t arg1, uint16_t arg2) { in check() function
86 match &= check(s_op, source_type, cur->key.source_type); in expand_and_check()
87 match &= check(t_op, target_type, cur->key.target_type); in expand_and_check()
88 match &= check(c_op, target_class, cur->key.target_class); in expand_and_check()
DREADME19 argument in order to check the validity of the security contexts
63 sepolicy-check
68 …sepolicy-check -s <domain> -t <type> -c <class> -p <permission> -P out/target/product/<board>/root…
/system/tools/hidl/test/hash_test/
DAndroid.bp6 cmd: "$(location hidl-gen) -L check " +
11 "!($(location hidl-gen) -L check " +
/system/core/fastboot/
Dusb_linux.cpp126 static int check(void *_desc, int len, unsigned type, int size) in check() function
153 if (check(ptr, len, USB_DT_DEVICE, USB_DT_DEVICE_SIZE)) in filter_usb_device()
159 if (check(ptr, len, USB_DT_CONFIG, USB_DT_CONFIG_SIZE)) in filter_usb_device()
208 if (check(hdr, len, USB_DT_INTERFACE, USB_DT_INTERFACE_SIZE) == 0) in filter_usb_device()
230 if (check(hdr, len, USB_DT_ENDPOINT, USB_DT_ENDPOINT_SIZE) == 0) in filter_usb_device()
253 if (check((struct usb_descriptor_hdr *)ptr, len, in filter_usb_device()
/system/keymaster/include/keymaster/
Dkeymaster_tags.h66 static void check() {}
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/
DFmqInternal.cpp24 void check(bool exp) { in check() function
/system/media/camera/docs/
Dmetadata-validate20 $thisdir/metadata-check-dependencies || exit 1
/system/tools/hidl/test/error_test/
Dhidl_error_test.sh13 output=$($HIDL_GEN_PATH -L check -r test:$HIDL_ERROR_TEST_DIR test.$package@1.0 2>&1)
/system/sepolicy/prebuilts/api/28.0/private/
Dpolicy_capabilities4 # Enable open permission check.
Dkeystore.te18 # Allow to check whether security logging is enabled.
/system/sepolicy/private/
Dpolicy_capabilities4 # Enable open permission check.
Dkeystore.te18 # Allow to check whether security logging is enabled.
/system/sepolicy/prebuilts/api/27.0/private/
Dpolicy_capabilities4 # Enable open permission check.
/system/sepolicy/prebuilts/api/26.0/private/
Dpolicy_capabilities4 # Enable open permission check.
/system/core/storaged/
DREADME.properties2 ro.storaged.event.perf_check # check for time spent in event loop, in microseconds

12345