Searched defs:mod (Results 1 - 5 of 5) sorted by relevance
/system/gatekeeper/tests/ |
H A D | gatekeeper_device_test.cpp | 39 const hw_module_t *mod; local 40 ret = hw_get_module_by_class(GATEKEEPER_HARDWARE_MODULE_ID, NULL, &mod); 44 ret = gatekeeper_open(mod, dev);
|
/system/extras/tests/lib/testUtil/ |
H A D | testUtil.c | 200 * Pseudo randomly returns unsigned integer in the range [0, mod). 205 uint32_t testRandMod(uint32_t mod) argument 211 uint32_t val = (mod <= lrand48maxVal) ? (uint32_t) lrand48() : testRand(); 217 * least significant bits. For small mod values this can produce 218 * noticably non-random sequnces. For mod values of less than 2 221 if (mod <= 0x10000) { 224 // If mod less than a byte, can further combine down to 226 if (mod <= 0x100) { 231 return val % mod;
|
/system/extras/perfprofd/tests/ |
H A D | perfprofd_test.cc | 247 static std::string encodedModuleSamplesToString(const wireless_android_play_playlog::LoadModuleSamples &mod) argument 251 ss << "load_module_id: " << mod.load_module_id() << "\n"; 252 for (size_t k = 0; k < mod.address_samples_size(); k++) { 253 const auto &sample = mod.address_samples(k); 255 for (size_t l = 0; l < mod.address_samples(k).address_size(); 257 auto address = mod.address_samples(k).address(l);
|
/system/vold/ |
H A D | cryptfs.c | 109 const hw_module_t* mod; local 110 rc = hw_get_module_by_class(KEYSTORE_HARDWARE_MODULE_ID, NULL, &mod); 116 SLOGI("keymaster module name is %s", mod->name); 117 SLOGI("keymaster version is %d", mod->module_api_version); 121 if (mod->module_api_version == KEYMASTER_MODULE_API_VERSION_1_0) { 123 rc = keymaster1_open(mod, keymaster1_dev); 126 rc = keymaster0_open(mod, keymaster0_dev);
|
/system/security/keystore/ |
H A D | keystore.cpp | 115 const hw_module_t* mod; local 117 rc = hw_get_module_by_class(KEYSTORE_HARDWARE_MODULE_ID, NULL, &mod); 123 rc = mod->methods->open(mod, KEYSTORE_KEYMASTER, reinterpret_cast<struct hw_device_t**>(dev));
|
Completed in 101 milliseconds