Home
last modified time | relevance | path

Searched refs:blocklist (Results 1 – 25 of 43) sorted by relevance

12

/external/adhd/cras/src/tests/
Ddevice_blocklist_unittest.cc33 struct cras_device_blocklist* blocklist; in TEST() local
37 blocklist = cras_device_blocklist_create(CONFIG_PATH); in TEST()
38 ASSERT_NE(static_cast<cras_device_blocklist*>(NULL), blocklist); in TEST()
39 EXPECT_EQ(0, cras_device_blocklist_check(blocklist, 0x0d8c, 0x0008, 0, 0)); in TEST()
41 cras_device_blocklist_destroy(blocklist); in TEST()
48 struct cras_device_blocklist* blocklist; in TEST() local
52 blocklist = cras_device_blocklist_create(CONFIG_PATH); in TEST()
53 ASSERT_NE(static_cast<cras_device_blocklist*>(NULL), blocklist); in TEST()
55 EXPECT_EQ(0, cras_device_blocklist_check(blocklist, 0x0d8d, 0x0008, 0x12, 0)); in TEST()
56 EXPECT_EQ(0, cras_device_blocklist_check(blocklist, 0x0d8c, 0x0009, 0x12, 0)); in TEST()
[all …]
Dsystem_state_unittest.cc471 struct cras_device_blocklist* blocklist) { in cras_alsa_card_create() argument
490 void cras_device_blocklist_destroy(struct cras_device_blocklist* blocklist) {} in cras_device_blocklist_destroy() argument
/external/adhd/cras/src/server/config/
Dcras_device_blocklist.c21 struct cras_device_blocklist *blocklist; in cras_device_blocklist_create() local
24 blocklist = calloc(1, sizeof(*blocklist)); in cras_device_blocklist_create()
25 if (!blocklist) in cras_device_blocklist_create()
31 blocklist->ini = iniparser_load_wrapper(ini_name); in cras_device_blocklist_create()
33 return blocklist; in cras_device_blocklist_create()
36 void cras_device_blocklist_destroy(struct cras_device_blocklist *blocklist) in cras_device_blocklist_destroy() argument
38 if (blocklist && blocklist->ini) in cras_device_blocklist_destroy()
39 iniparser_freedict(blocklist->ini); in cras_device_blocklist_destroy()
40 free(blocklist); in cras_device_blocklist_destroy()
43 int cras_device_blocklist_check(struct cras_device_blocklist *blocklist, in cras_device_blocklist_check() argument
[all …]
Dcras_device_blocklist.h33 void cras_device_blocklist_destroy(struct cras_device_blocklist *blocklist);
44 int cras_device_blocklist_check(struct cras_device_blocklist *blocklist,
/external/rust/crates/grpcio-sys/patches/
DAndroid.bp.patch104 + "--blocklist-type=(__)?pthread.*",
105 + "--blocklist-function=\\bgpr_mu_.*",
106 + "--blocklist-function=\\bgpr_cv_.*",
107 + "--blocklist-function=\\bgpr_once_.*",
108 + "--blocklist-type=gpr_mu",
109 + "--blocklist-type=gpr_cv",
110 + "--blocklist-type=gpr_once",
/external/rust/crates/grpcio-sys/
DAndroid.bp98 "--blocklist-type=(__)?pthread.*",
99 "--blocklist-function=\\bgpr_mu_.*",
100 "--blocklist-function=\\bgpr_cv_.*",
101 "--blocklist-function=\\bgpr_once_.*",
102 "--blocklist-type=gpr_mu",
103 "--blocklist-type=gpr_cv",
104 "--blocklist-type=gpr_once",
/external/autotest/tko/
Dstatus_lib_unittest.py18 blocklist = ('\r\x00', 'FOOBAR', 'BLAh')
20 raw_line = raw_line_temp % blocklist
21 cleaned = status_lib.clean_raw_line(raw_line, blocklist)
23 cleaned, raw_line_temp % (('',) * len(blocklist)))
Dstatus_lib.py24 def clean_raw_line(raw_line, blocklist=DEFAULT_BLOCKLIST): argument
26 return re.sub('|'.join(blocklist), '', raw_line)
/external/conscrypt/common/src/main/java/org/conscrypt/
DTrustManagerImpl.java138 private final CertBlocklist blocklist; field in TrustManagerImpl
165 CertBlocklist blocklist) { in TrustManagerImpl() argument
166 this(keyStore, manager, certStore, blocklist, null, null, null); in TrustManagerImpl()
173 … ConscryptCertStore certStore, CertBlocklist blocklist, CTLogStore ctLogStore, in TrustManagerImpl() argument
206 if (blocklist == null) { in TrustManagerImpl()
207 blocklist = Platform.newDefaultBlocklist(); in TrustManagerImpl()
226 this.blocklist = blocklist; in TrustManagerImpl()
721 if (blocklist != null && blocklist.isPublicKeyBlockListed(cert.getPublicKey())) { in checkBlocklist()
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/
DTrustManagerImpl.java140 private final CertBlocklist blocklist; field in TrustManagerImpl
170 CertBlocklist blocklist) { in TrustManagerImpl() argument
171 this(keyStore, manager, certStore, blocklist, null, null, null); in TrustManagerImpl()
178 CertBlocklist blocklist, CTLogStore ctLogStore, CTVerifier ctVerifier, in TrustManagerImpl() argument
211 if (blocklist == null) { in TrustManagerImpl()
212 blocklist = Platform.newDefaultBlocklist(); in TrustManagerImpl()
231 this.blocklist = blocklist; in TrustManagerImpl()
735 if (blocklist != null && blocklist.isPublicKeyBlockListed(cert.getPublicKey())) { in checkBlocklist()
/external/adhd/cras/src/server/
Dcras_alsa_card.c152 struct cras_device_blocklist *blocklist, in should_ignore_dev() argument
157 blocklist, info->usb_vendor_id, info->usb_product_id, in should_ignore_dev()
198 struct cras_device_blocklist *blocklist, in add_controls_and_iodevs_by_matching() argument
261 !should_ignore_dev(info, blocklist, dev_idx)) { in add_controls_and_iodevs_by_matching()
452 struct cras_device_blocklist *blocklist, const char *ucm_suffix) in cras_alsa_card_create() argument
556 info, blocklist, alsa_card, card_name, handle); in cras_alsa_card_create()
Dcras_alsa_card.h35 struct cras_device_blocklist *blocklist, const char *ucm_suffix);
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DIcu4jTransform.java1046 List<BodyDeclarationLocator> blocklist = in createHideOriginalDeprecatedClassesRule() local
1049 new TagMatchingDeclarations(blocklist, "@hide original deprecated declaration")); in createHideOriginalDeprecatedClassesRule()
1077 List<BodyDeclarationLocator> blocklist = in createHideBlocklistedDeclarationsRule() local
1080 new TagMatchingDeclarations(blocklist, "@hide unsupported on Android")); in createHideBlocklistedDeclarationsRule()
/external/conscrypt/platform/src/test/java/org/conscrypt/
DCertBlocklistTest.java41 CertBlocklist blocklist = CertBlocklistImpl.getDefault(); in testBlocklistedPublicKey() local
42 assertTrue(blocklist.isPublicKeyBlockListed(blocklistedCa.getPublicKey())); in testBlocklistedPublicKey()
/external/guava/android/guava-tests/test/com/google/common/util/concurrent/
DAggregateFutureStateFallbackAtomicHelperTest.java113 private static ClassLoader getClassLoader(final Set<String> blocklist) { in getClassLoader() argument
120 if (blocklist.contains(name)) { in getClassLoader()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DAggregateFutureStateFallbackAtomicHelperTest.java113 private static ClassLoader getClassLoader(final Set<String> blocklist) { in getClassLoader() argument
120 if (blocklist.contains(name)) { in getClassLoader()
/external/conscrypt/repackaged/platform/src/test/java/com/android/org/conscrypt/
DCertBlocklistTest.java45 CertBlocklist blocklist = CertBlocklistImpl.getDefault(); in testBlocklistedPublicKey() local
46 assertTrue(blocklist.isPublicKeyBlockListed(blocklistedCa.getPublicKey())); in testBlocklistedPublicKey()
/external/llvm-project/clang/docs/
DSanitizerCoverage.rst321 and ``-fsanitize-coverage-blocklist=blocklist.txt``,
322 you can specify such a subset through the combination of a allowlist and a blocklist.
329 The allowlist and blocklist format is similar to that of the sanitizer blocklist format.
331 The default blocklist will match no source file and no function.
334 instrumentation and allow all function names, while the blocklist will opt out some specific
348 And an example blocklist:
435 -blocklist=<string> - Blocklist file (sanitizer blocklist format).
/external/toybox/toys/pending/
Dmke2fs.c252 static uint32_t file_blocks_used(uint64_t size, uint32_t *blocklist) in file_blocks_used() argument
259 if (blocklist) { in file_blocks_used()
263 for (i=0; i<13 && i<dblocks; i++) blocklist[i] = i; in file_blocks_used()
265 if (dblocks > 13+idx) blocklist[13] = 13+idx; in file_blocks_used()
268 if (dblocks > idx) blocklist[14] = idx; in file_blocks_used()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jce/provider/
DPKIXCertPathValidatorSpi.java62 private final static CertBlocklist blocklist = new CertBlocklist(); field in PKIXCertPathValidatorSpi.NoPreloadHolder
126 if (NoPreloadHolder.blocklist.isSerialNumberBlockListed(serial)) { in engineValidate()
332 if (NoPreloadHolder.blocklist.isPublicKeyBlockListed(workingPublicKey)) { in engineValidate()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DPKIXCertPathValidatorSpi.java60 private final static CertBlocklist blocklist = new CertBlocklist(); field in PKIXCertPathValidatorSpi.NoPreloadHolder
124 if (NoPreloadHolder.blocklist.isSerialNumberBlockListed(serial)) { in engineValidate()
330 if (NoPreloadHolder.blocklist.isPublicKeyBlockListed(workingPublicKey)) { in engineValidate()
/external/flac/src/libFLAC/
DAndroid.bp69 blocklist: "libFLAC_blocklist.txt",
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/jce/provider/
DPKIXCertPathValidatorSpi.java62 private final static CertBlocklist blocklist = new CertBlocklist(); field in PKIXCertPathValidatorSpi.NoPreloadHolder
126 if (NoPreloadHolder.blocklist.isSerialNumberBlockListed(serial)) { in engineValidate()
332 if (NoPreloadHolder.blocklist.isPublicKeyBlockListed(workingPublicKey)) { in engineValidate()
/external/libaom/
DAndroid.bp.in110 blocklist: "libaom_blocklist.txt",
/external/libvpx/
DAndroid.bp.in59 blocklist: "libvpx_blocklist.txt",

12