/system/tools/hidl/utils/include/hidl-util/ |
H A D | StringHelper.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 44 static std::string Uppercase(const std::string &in); 46 static std::string Lowercase(const std::string &in); 48 static std::string Capitalize(const std::string &in); 51 static std::string ToCamelCase(const std::string &in); 52 static std::string ToPascalCase(const std::string &in); 53 static std::string ToUpperSnakeCase(const std::string &in); 54 static std::string ToLowerSnakeCase(const std::string &in); 55 static std::string ToCase(Case c, const std::string &in); [all...] |
/system/update_engine/payload_generator/ |
H A D | zip_unittest.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 71 bool DecompressWithWriter(const brillo::Blob& in, brillo::Blob* out) { argument 76 ok = writer->Write(in.data(), in.size()) && ok; 87 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const = 0; 88 bool ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const = 0; 96 bool ZipCompress(const brillo::Blob& in, brillo::Blob* out) const { argument 97 return BzipCompress(in, out); 99 bool ZipDecompress(const brillo::Blob& in, brill argument 109 ZipCompress(const brillo::Blob& in, brillo::Blob* out) const argument 112 ZipDecompress(const brillo::Blob& in, brillo::Blob* out) const argument 163 brillo::Blob in; local [all...] |
H A D | bzip.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 24 // Compresses the input buffer |in| into |out| with bzip2. 25 bool BzipCompress(const brillo::Blob& in, brillo::Blob* out);
|
H A D | bzip.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 29 bool BzipCompress(const brillo::Blob& in, brillo::Blob* out) { argument 32 if (in.size() == 0) 37 size_t buf_size = 40 + in.size() * 35 / 100; 48 reinterpret_cast<char*>(const_cast<uint8_t*>(in.data())), 49 in.size(),
|
H A D | xz.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 28 // Compresses the input buffer |in| into |out| with xz. The compressed stream 30 bool XzCompress(const brillo::Blob& in, brillo::Blob* out);
|
/system/media/audio_utils/tests/ |
H A D | limiter_tests.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 32 float in = (float) ((double) i * 0.01); local 33 float out = limiter(in); 34 printf("%g,%g\n", in, out); 36 out = limiter(-in); 37 printf("%g,%g\n", -in, out);
|
/system/update_engine/ |
H A D | omaha_response_handler_action_unittest.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 57 bool DoTest(const OmahaResponse& in, 99 const OmahaResponse& in, 107 feeder_action.set_obj(in); 108 if (in.update_exists && in.version != kBadVersion) { 110 for (const auto& package : in.packages) 122 string current_url = in.packages.size() ? in 98 DoTest( const OmahaResponse& in, const string& test_deadline_file, InstallPlan* out) argument 152 OmahaResponse in; local 178 OmahaResponse in; local 200 OmahaResponse in; local 222 OmahaResponse in; local 230 OmahaResponse in; local 252 OmahaResponse in; local 273 OmahaResponse in; local 295 OmahaResponse in; local 316 OmahaResponse in; local 336 OmahaResponse in; local 357 OmahaResponse in; local 392 OmahaResponse in; local 427 OmahaResponse in; local [all...] |
/system/tools/aidl/tests/android/aidl/tests/ |
H A D | ITestService.aidl | 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 50 Map RepeatMap(in Map token); 52 SimpleParcelable RepeatSimpleParcelable(in SimpleParcelable input, 54 PersistableBundle RepeatPersistableBundle(in PersistableBundle input); 57 boolean[] ReverseBoolean(in boolean[] input, out boolean[] repeated); 58 byte[] ReverseByte (in byte[] input, out byte[] repeated); 59 char[] ReverseChar (in char[] input, out char[] repeated); 60 int[] ReverseInt (in int[] input, out int[] repeated); 61 long[] ReverseLong (in lon [all...] |
/system/bt/service/common/android/bluetooth/ |
H A D | IBluetoothLeScanner.aidl | 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 24 boolean RegisterScanner(in IBluetoothLeScannerCallback callback); 29 in ScanSettings settings, 30 in ScanFilter[] filters);
|
H A D | IBluetoothGattClient.aidl | 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 23 boolean RegisterClient(in IBluetoothGattClientCallback callback);
|
H A D | IBluetoothGattServer.aidl | 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 25 boolean RegisterServer(in IBluetoothGattServerCallback callback); 29 boolean AddService(int server_id, in BluetoothGattService service); 36 in byte[] value); 43 in byte[] value);
|
H A D | IBluetoothLeAdvertiserCallback.aidl | 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 23 void OnMultiAdvertiseCallback(int status, boolean is_start, in AdvertiseSettings settings);
|
H A D | IBluetoothLeScannerCallback.aidl | 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 23 void OnScanResult(in ScanResult scan_result);
|
/system/connectivity/wificond/aidl/android/net/wifi/ |
H A D | IApInterface.aidl | 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 45 boolean writeHostapdConfig(in byte[] ssid, boolean isHidden, int channel, 46 int encryptionType, in byte[] passphrase);
|
/system/media/audio_utils/include/audio_utils/ |
H A D | limiter.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 32 * \param in input in range [-sqrt(2), sqrt(2)]; out of range, inf, and NaN are not permitted 33 * \return the limited output in range no larger than [-1.0, 1.0]. 37 extern float limiter(float in);
|
/system/core/toolbox/upstream-netbsd/bin/dd/ |
H A D | position.c | 11 * Redistribution and use in source and binary forms, with or without 16 * 2. Redistributions in binary form must reproduce the above copyright 17 * notice, this list of conditions and the following disclaimer in the 72 if (!(in.flags & (ISPIPE|ISTAPE))) { 73 if (ddop_lseek(in, in.fd, 74 (off_t)in.offset * (off_t)in.dbsz, SEEK_CUR) == -1) { 75 err(EXIT_FAILURE, "%s", in.name); 87 for (bcnt = in [all...] |
H A D | dd.c | 11 * Redistribution and use in source and binary forms, with or without 16 * 2. Redistributions in binary form must reproduce the above copyright 17 * notice, this list of conditions and the following disclaimer in the 78 IO in, out; /* input/output state */ variable 157 if (in.name == NULL) { 158 in.name = "stdin"; 159 in.fd = STDIN_FILENO; 160 in.ops = &ddfops_stdfd; 162 in.ops = prog_ops; 163 in [all...] |
/system/bt/stack/smp/ |
H A D | aes.h | 14 of conditions and the following disclaimer in their documentation; 22 in respect of its properties, including, but not limited to, correctness 77 be entered as a length in bytes (valid inputs are hence 89 return_type aes_encrypt(const unsigned char in[N_BLOCK], 92 return_type aes_cbc_encrypt(const unsigned char* in, unsigned char* out, 99 return_type aes_decrypt(const unsigned char in[N_BLOCK], 102 return_type aes_cbc_decrypt(const unsigned char* in, unsigned char* out, 110 The encryption subroutines take a key in an array of bytes in 113 data, in[] wit [all...] |
/system/core/libsparse/ |
H A D | img2simg.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 48 int in; local 70 in = STDIN_FILENO; 72 in = open(argv[1], O_RDONLY | O_BINARY); 73 if (in < 0) { 89 len = lseek64(in, 0, SEEK_END); 90 lseek64(in, 0, SEEK_SET); 99 ret = sparse_file_read(s, in, false, false); 111 close(in); [all...] |
/system/core/trusty/gatekeeper/ |
H A D | trusty_gatekeeper_ipc.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 20 int trusty_gatekeeper_call(uint32_t cmd, void *in, uint32_t in_size, uint8_t *out,
|
/system/core/trusty/keymaster/ |
H A D | trusty_keymaster_ipc.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 23 int trusty_keymaster_call(uint32_t cmd, void* in, uint32_t in_size, uint8_t* out,
|
/system/media/camera/docs/ |
H A D | ACameraMetadata.mako | 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 20 % for outer_namespace in metadata.outer_namespaces: ## assumes single 'android' namespace 21 % for section in outer_namespace.sections: 24 % for inner_namespace in get_children_by_filtering_kind(section, kind_name, 'namespaces'): 27 % for entry in filter_visibility(inner_namespace.merged_entries, ('public','ndk_public')): 31 assert(False),"A synthetic key should not present in NDK!" 35 % for entry in filter_visibility( \ 48 * definitions in /system/media/camera/docs. Do not modify by hand or 69 % for sec in find_all_section [all...] |
H A D | CameraDeviceInfo.mako | 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 19 * definitions in /system/media/camera/docs. Do not modify by hand or 25 % for sec in find_all_sections(metadata): 26 % for entry in find_unique_entries(sec): 27 % if entry.kind == 'static' and entry.visibility in ("public", "java_public"):
|
H A D | CaptureResultTest.mako | 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 19 * definitions in /system/media/camera/docs. Do not modify by hand or 25 % for sec in find_all_sections(metadata): 26 % for entry in find_unique_entries(sec): 27 % if entry.kind == 'dynamic' and entry.visibility in ("public", "java_public"):
|
/system/chre/host/msm/daemon/idl/ |
H A D | chre_slpi.idl | 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 21 * Note that the interface name gets prefixed to the function names in the 24 * Refer to the implementations of these functions in the CHRE code that runs on 36 long deliver_message_from_host(in sequence<octet> message);
|