/system/security/keystore/ |
H A D | IKeystoreService.cpp | 6 ** you may not use this file except in compliance with the License. 11 ** Unless required by applicable law or agreed to in writing, software 59 const Parcel& in = *inn; local 60 resultCode = ErrorCode(in.readInt32()); 61 token = in.readStrongBinder(); 62 handle = static_cast<uint64_t>(in.readInt64()); 63 inputConsumed = in.readInt32(); 64 data = readKeymasterBlob(in); 65 outParams = readParamSetFromParcel(in); 84 const Parcel& in local 99 readByteArray(const Parcel& in, const uint8_t** data, size_t* length) argument 956 auto in = readBlobAsByteArray(data); local 1072 auto in = readBlobAsByteArray(data); local 1083 auto in = readBlobAsByteArray(data); local 1094 auto in = readBlobAsByteArray(data); local [all...] |
/system/core/fastboot/ |
H A D | Android.mk | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software 76 # and do not use code in external/f2fs-tools.
|
/system/keymaster/ |
H A D | keymaster0_engine.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 245 int Keymaster0Engine::rsa_private_transform(RSA* rsa, uint8_t* out, const uint8_t* in, size_t len) { argument 246 ALOGV("rsa_private_transform(%p, %p, %p, %u)", rsa, out, in, (unsigned)len); 249 return instance_->RsaPrivateTransform(rsa, out, in, len); 299 int Keymaster0Engine::RsaPrivateTransform(RSA* rsa, uint8_t* out, const uint8_t* in, argument 310 if (!Keymaster0Sign(&sign_params, *key_blob, in, len, &signature, &signature_length)) { 311 if (data_too_large_for_public_modulus(in, len, rsa)) {
|
/system/core/libutils/ |
H A D | String8.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 32 * functions and constants in android namespace. 81 static char* allocFromUTF8(const char* in, size_t len) argument 91 memcpy(str, in, len); 101 static char* allocFromUTF16(const char16_t* in, size_t len) argument 106 const ssize_t resultStrLen = utf16_to_utf8_length(in, len) + 1; 118 utf16_to_utf8(in, len, resultStr, resultStrLen); 122 static char* allocFromUTF32(const char32_t* in, size_t len) argument 128 const ssize_t resultStrLen = utf32_to_utf8_length(in, le [all...] |
/system/timezone/distro/core/src/main/com/android/timezone/distro/ |
H A D | FileUtils.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 134 // The isSymlink() check is important so that we don't delete files in other 170 try (FileInputStream in = new FileInputStream(file)) { 172 int bytesRead = in.read(max, 0, maxBytes);
|
/system/bt/embdrv/sbc/decoder/srce/ |
H A D | readsamplesjoint.inc | 8 * you may not use this file except in compliance with the License. 13 * Unless required by applicable law or agreed to in writing, software
|
/system/core/base/include/android-base/ |
H A D | endian.h | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 31 /* glibc keeps htons and htonl in <netinet/in.h>. */ 32 #include <netinet/in.h>
|
/system/core/libnetutils/ |
H A D | dhcpmsg.c | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 20 #include <netinet/in.h>
|
/system/extras/ext4_utils/ |
H A D | mkuserimg.sh | 3 # To call this script, make sure make_ext4fs is somewhere in PATH 109 case $EXT_VARIANT in
|
H A D | mkuserimg_mke2fs.sh | 3 # To call this script, make sure mke2fs is somewhere in PATH 135 case $EXT_VARIANT in 157 # truncate output file since mke2fs will keep verity section in existing file
|
/system/extras/ioshark/ |
H A D | collect-straces.sh | 4 # you may not use this file except in compliance with the License. 8 # # Unless required by applicable law or agreed to in writing, software 35 for i in trace.* 47 # replace seconds since epoch with SECONDS SINCE BOOT in the
|
/system/media/brillo/audio/audioservice/ |
H A D | Android.mk | 4 # you may not use this file except in compliance with the License. 9 # Unless required by applicable law or agreed to in writing, software
|
/system/netd/server/ |
H A D | IdletimerController.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 87 * the responsibility of code in Java land to ensure that the interface name 108 #include <netinet/in.h>
|
/system/bt/embdrv/sbc/decoder/include/ |
H A D | oi_codec_sbc_private.h | 8 * you may not use this file except in compliance with the License. 13 * Unless required by applicable law or agreed to in writing, software 183 int32_t const* RESTRICT in); 187 INLINE void dct3_4(int32_t* RESTRICT out, int32_t const* RESTRICT in); 192 INLINE void dct3_8(int32_t* RESTRICT out, int32_t const* RESTRICT in);
|
/system/extras/tests/workloads/ |
H A D | systemapps.sh | 1 # Script to start a set of apps in order and then in each iteration 15 # Example 2: just start chrome, feedly, and the home screen in a loop 36 case "$1" in 156 for app in $appList 256 for app in $appList
|
/system/extras/ANRdaemon/ |
H A D | ANRdaemon.cpp | 5 * Redistribution and use in source and binary forms, with or without 10 * * Redistributions in binary form must reproduce the above copyright 12 * in the documentation and/or other materials provided with the 63 static const int check_period = 1; // in sec 64 static const int tracing_check_period = 500000; // in micro sec 143 * If failed in getting status, new_cpu won't be updated and 146 ALOGE("Error in getting cpu status. Skipping this check."); 159 * Calculate cpu usage in the past interval. 209 snprintf(err_msg, sizeof(err_msg), "Error %d in writing to %s.", errno, path); 251 * Dump the log in 288 uint8_t *in, *out; local [all...] |
/system/libhidl/transport/ |
H A D | ServiceManagement.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 75 bool endsWith(const std::string &in, const std::string &suffix) { argument 76 return in.size() >= suffix.size() && 77 in.substr(in.size() - suffix.size()) == suffix; 80 bool startsWith(const std::string &in, const std::string &prefix) { argument 81 return in.size() >= prefix.size() && 82 in.substr(0, prefix.size()) == prefix; 238 // and checking the key in inf [all...] |
/system/bt/stack/smp/ |
H A D | aes.cc | 14 of conditions and the following disclaimer in their documentation; 22 in respect of its properties, including, but not limited to, correctness 75 /* functions for finite field multiplication in the AES Galois field */ 287 /* The forward and inverse affine transformations used in the S-box */ 538 be entered as a length in bytes (valid inputs are hence 548 case 128: /* length in bits (128 = 8*16) */ 552 case 192: /* length in bits (192 = 8*24) */ 556 /* case 256: length in bits (256 = 8*32) */ 601 return_type aes_encrypt(const unsigned char in[N_BLOCK], argument 605 copy_and_key(s1, in, ct 629 aes_cbc_encrypt(const unsigned char* in, unsigned char* out, int n_block, unsigned char iv[N_BLOCK], const aes_context ctx[1]) argument 648 aes_decrypt(const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const aes_context ctx[1]) argument 676 aes_cbc_decrypt(const unsigned char* in, unsigned char* out, int n_block, unsigned char iv[N_BLOCK], const aes_context ctx[1]) argument 717 aes_encrypt_128(const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const unsigned char key[N_BLOCK], unsigned char o_key[N_BLOCK]) argument 771 aes_decrypt_128(const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const unsigned char key[N_BLOCK], unsigned char o_key[N_BLOCK]) argument 837 aes_encrypt_256(const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const unsigned char key[2 * N_BLOCK], unsigned char o_key[2 * N_BLOCK]) argument 915 aes_decrypt_256(const unsigned char in[N_BLOCK], unsigned char out[N_BLOCK], const unsigned char key[2 * N_BLOCK], unsigned char o_key[2 * N_BLOCK]) argument [all...] |
/system/sepolicy/ |
H A D | Android.mk | 9 # thus designed not to work with any shipping vendor policy. This is similar in 13 # not just on every increase in PLATFORM_SDK_VERSION. The minor version should 47 $(warning BOARD_SEPOLICY_UNION is no longer required - all files found in BOARD_SEPOLICY_DIRS are implicitly unioned; please remove from your BoardConfig.mk or other .mk file.) 58 # additional policy. types and attributes are versioned and included in 68 # exposed in the public policy of previous versions to the concrete types used 69 # in this policy to ensure that policy targeting attributes from public 75 # - mapping file to CIL (should already be in CIL form) 109 # public platform policy in tree 120 # Compute policy files to be used in policy build. 122 # $(2): directories in whic [all...] |
/system/security/keystore-engine/ |
H A D | android_engine.cpp | 3 * Redistribution and use in source and binary forms, with or without 8 * 2. Redistributions in binary form must reproduce the above copyright 9 * notice, this list of conditions and the following disclaimer in the 145 /* rsa_private_transform takes a big-endian integer from |in|, calculates the 147 * big-endian integer to |out|. Both |in| and |out| are |len| bytes long. It 149 int rsa_private_transform(RSA *rsa, uint8_t *out, const uint8_t *in, size_t len) { argument 150 ALOGV("rsa_private_transform(%p, %p, %p, %u)", rsa, out, in, (unsigned) len); 162 int32_t ret = g_keystore_backend->sign(key_id, in, len, &reply, &reply_len); 380 * named |key_id| in Keystore and the private operations are forwarded onto
|
/system/bt/hci/src/ |
H A D | btsnoop_net.cc | 6 * you may not use this file except in compliance with the License. 11 * Unless required by applicable law or agreed to in writing, software 23 #include <netinet/in.h>
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
H A D | test_channel_transport.cc | 5 // you may not use this file except in compliance with the License. 10 // Unless required by applicable law or agreed to in writing, software 26 #include <netinet/in.h>
|
/system/chre/build/app_support/qcom_nanohub/ |
H A D | app_support.cc | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 100 #error NANOAPP_ID and NANOAPP_VERSION must be defined in the build environment
|
/system/core/adb/sysdeps/posix/ |
H A D | network.cpp | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 20 #include <netinet/in.h>
|
/system/core/include/cutils/ |
H A D | trace.h | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 36 * following ATRACE_TAG_* macros. The trace tag is used to filter tracing in 39 * Defining ATRACE_TAG to be ATRACE_TAG_ALWAYS will result in the tracing always 43 * in the tracing always being disabled. 49 * Keep these in sync with frameworks/base/core/java/android/os/Trace.java. 85 #error ATRACE_TAG must be defined to be one of the tags defined in cutils/trace.h
|