Searched refs:file (Results 1 - 25 of 77) sorted by last modified time

1234

/system/security/keystore/
H A Dkeystore.cpp5 * you may not use this file except in compliance with the License.
54 * each file stores one key-value pair. Keys are encoded in file names, and
254 /* Here is the file format. There are two parts in blob.value, the secret and
509 // find salt at EOF if present, otherwise we have an old file
526 // if salt was missing, generate one and write a new master key file with the salt.
558 struct dirent* file; local
563 while ((file = readdir(dir)) != NULL) {
564 unlink(file->d_name);
572 struct dirent* file; local
989 struct dirent* file; local
[all...]
H A Dtest-keystore6 # you may not use this file except in compliance with the License.
39 declare -r file=$1
41 echo "$@" >> $file
/system/security/keystore-engine/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/system/security/softkeymaster/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/system/vold/
H A DLoop.cpp5 * you may not use this file except in compliance with the License.
235 int Loop::createImageFile(const char *file, unsigned int numSectors) { argument
238 if ((fd = creat(file, 0600)) < 0) {
H A DLoop.h5 * you may not use this file except in compliance with the License.
34 static int createImageFile(const char *file, unsigned int numSectors);
H A DProcess.cpp5 * you may not use this file except in compliance with the License.
104 // append the file name, after truncating to parent directory
129 FILE *file; local
133 file = fopen(buffer, "r");
134 if (!file)
137 while (fgets(buffer, sizeof(buffer), file)) {
145 fclose(file);
150 fclose(file);
201 SLOGE("Process %s (%d) has open file %s", name, pid, openfile);
/system/vold/tests/
H A DAndroid.mk27 $(foreach file,$(test_src_files), \
32 $(eval LOCAL_SRC_FILES := $(file)) \
33 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
/system/bluetooth/data/
H A Dauto_pairing.conf1 // Do NOT change this file format without updating the parsing logic in
4 // This file contains information to prevent auto pairing with Bluetooth devices.
23 // Note the reverse logic in this case compared to other's in this file
H A Dblacklist.conf1 // Do NOT change this file format without updating the parsing logic in
2 // the modules that use this file (listed below):
/system/core/adb/
H A Dadb_auth_client.c5 * you may not use this file except in compliance with the License.
49 static void read_keys(const char *file, struct listnode *list) argument
57 f = fopen(file, "r");
59 D("Can't open '%s'\n", file);
77 D("%s: Invalid base64 data ret=%d\n", file, ret);
83 D("%s: Invalid key len %d\n", file, key->key.len);
H A Dadb_auth_host.c5 * you may not use this file except in compliance with the License.
174 static int generate_key(const char *file) argument
183 D("generate_key '%s'\n", file);
196 f = fopen(file, "w");
198 D("Failed to open '%s'\n", file);
210 if (!write_public_keyfile(rsa, file)) {
226 static int read_key(const char *file, struct listnode *list) argument
231 D("read_key '%s'\n", file);
233 f = fopen(file, "r");
235 D("Failed to open '%s'\n", file);
384 char *file; local
[all...]
H A Dmutex_list.h3 * Do not use an include-guard. This file is included once to declare the locks
7 #error ADB_MUTEX not defined when including this file
H A Dsysdeps_win32.c23 HANDLE file; local
27 file = CreateFile( fn,
35 if (file == INVALID_HANDLE_VALUE)
38 file_size = GetFileSize( file, NULL );
49 if ( !ReadFile( file, data, file_size, &out_bytes, NULL ) ||
59 CloseHandle( file );
68 /***** common file descriptor handling *****/
176 D( "_fh_alloc: no more free file descriptors\n" );
208 /***** file-based descriptor handling *****/
298 /***** file
[all...]
/system/core/debuggerd/
H A Ddebuggerd.c6 ** you may not use this file except in compliance with the License.
58 write_string(const char* file, const char* string) argument
63 fd = open(file, O_RDWR);
279 * currently assume it does.) We write to the file descriptor to
497 " -b dump backtrace to console, otherwise dump full tombstone file\n"
/system/core/fastboot/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
H A Dutil_windows.c41 HANDLE file; local
45 file = CreateFile( fn,
53 if (file == INVALID_HANDLE_VALUE)
56 sz = GetFileSize( file, NULL );
57 CloseHandle( file );
76 HANDLE file; local
80 file = CreateFile( fn,
88 if (file == INVALID_HANDLE_VALUE)
91 sz = GetFileSize( file, NULL );
102 if ( !ReadFile( file, dat
[all...]
/system/core/fs_mgr/
H A Dfs_mgr.c5 * you may not use this file except in compliance with the License.
176 static char *getline(char *buf, int size, FILE *file) argument
188 c = getc(file);
219 c = getc(file);
245 ERROR("Cannot open file %s\n", fstab_path);
294 * error and quit. This can happen in the unlikely case the file changes
/system/core/include/ctest/
H A Dctest.h5 * you may not use this file except in compliance with the License.
64 void assertTrueWithSource(int value, const char* file, int line, char* message);
/system/core/include/cutils/
H A Dlog.h5 * you may not use this file except in compliance with the License.
23 // The output will be correct when the log file is shared between multiple
52 * at the top of your source file) to change that behavior.
417 * The stuff in the rest of this file should not be used directly.
459 #define android_logToFile(tag, file) (0)
/system/core/include/zipfile/
H A Dzipfile.h5 * you may not use this file except in compliance with the License.
33 void release_zipfile(zipfile_t file);
38 zipentry_t lookup_zipentry(zipfile_t file, const char* entryName);
50 // iterate through the entries in the zip file. pass a pointer to
52 zipentry_t iterate_zipfile(zipfile_t file, void** cookie);
/system/core/libcorkscrew/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.
/system/core/libctest/
H A Dctest.c5 * you may not use this file except in compliance with the License.
131 // TODO: Report file name.
150 void assertTrueWithSource(int value, const char* file, int line, char* message) { argument
154 fprintf(suite->out, "Assertion failed: [%s:%d] %s: %s\n", file, line,
/system/core/libcutils/
H A Dcpu_info.c6 ** you may not use this file except in compliance with the License.
31 FILE* file; local
37 file = fopen("proc/cpuinfo", "r");
38 if (! file)
41 while ((chp = fgets(serial_number, sizeof(serial_number), file)) != NULL)
79 fclose(file);
/system/core/libmincrypt/tools/
H A DAndroid.mk4 # you may not use this file except in compliance with the License.

Completed in 195 milliseconds

1234