/system/media/camera/docs/ |
H A D | CameraCharacteristicsKeys.mako | 6 ## you may not use this file except in compliance with the License. 17 <%include file="CameraMetadataKeys.mako" args="java_class='CameraCharacteristics', xml_kind='static'" />
|
H A D | CaptureRequestKeys.mako | 6 ## you may not use this file except in compliance with the License. 17 <%include file="CameraMetadataKeys.mako" args="java_class='CaptureRequest', xml_kind='controls'" />
|
H A D | CaptureResultKeys.mako | 6 ## you may not use this file except in compliance with the License. 17 <%include file="CameraMetadataKeys.mako" args="java_class='CaptureResult', xml_kind='dynamic'" />
|
H A D | metadata-parser-sanity-check | 7 # you may not use this file except in compliance with the License. 34 local file="$1" 36 results="$(python "$file" 2>&1)" 41 echo "FAILED: Unit tests $file" 43 echo "SUCCESS: Unit tests $file"
|
/system/extras/tests/sdcard/ |
H A D | profile_sdcard.sh | 5 # you may not use this file except in compliance with the License. 32 local file="/tmp/sdcard-scalability.txt" 33 rm -f ${file} 34 echo "# Scalability tests" | tee -a ${file} 35 echo "# Kernel: $(print_kernel)" | tee -a ${file} 36 echo "# Sched features: $(print_sched_features)" | tee -a ${file} 37 echo "# StopWatch scalability total/cumulative duration 0.0 Samples: 1" | tee -a ${file} 38 echo "# Process Time" | tee -a ${file} 42 echo "$p $t" | tee -a ${file}
|
/system/extras/perfprofd/quipper/base/ |
H A D | logging.cc | 60 LogMessage::LogMessage(const char* file, int line, LogSeverity severity) argument 61 : severity_(severity), file_(file), line_(line) { 62 Init(file, line); 65 LogMessage::LogMessage(const char* file, int line, std::string* result) argument 66 : severity_(LOG_FATAL), file_(file), line_(line) { 67 Init(file, line); 72 LogMessage::LogMessage(const char* file, int line, LogSeverity severity, argument 74 : severity_(severity), file_(file), line_(line) { 75 Init(file, line); 107 void LogMessage::Init(const char* /* file */, in [all...] |
/system/core/libnativebridge/tests/ |
H A D | Android.mk | 30 $(foreach file,$(test_src_files), \ 35 $(eval LOCAL_SRC_FILES := $(file)) \ 36 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \ 40 $(foreach file,$(test_src_files), \ 45 $(eval LOCAL_SRC_FILES := $(file)) \ 46 $(eval LOCAL_MODULE := $(notdir $(file:%.cpp=%))) \
|
/system/extras/tests/cpueater/ |
H A D | daemonize.c | 5 * you may not use this file except in compliance with the License. 36 char *file = 0; local 53 file = *argv; 55 file = *++argv; 71 if (file) { 72 if(open(file, O_WRONLY|mode|O_CREAT, 0666) < 0) { 73 perror(file);
|
/system/core/toolbox/ |
H A D | uptime.c | 53 FILE* file = fopen("/proc/uptime", "r"); local 54 if (!file) { 59 if (fscanf(file, "%*f %f", &idle_time) != 1) { 61 fclose(file); 64 fclose(file);
|
H A D | top.c | 226 FILE *file; local 239 file = fopen("/proc/stat", "r"); 240 if (!file) die("Could not open /proc/stat.\n"); 241 fscanf(file, "cpu %lu %lu %lu %lu %lu %lu %lu", &new_cpu.utime, &new_cpu.ntime, &new_cpu.stime, 243 fclose(file); 324 FILE *file; local 327 file = fopen(filename, "r"); 328 if (!file) return 1; 329 fgets(buf, MAX_LINE, file); 330 fclose(file); 373 FILE *file; local 400 FILE *file; local [all...] |
/system/vold/ |
H A D | Loop.h | 5 * you may not use this file except in compliance with the License. 34 static int createImageFile(const char *file, unsigned int numSectors); 35 static int resizeImageFile(const char *file, unsigned int numSectors);
|
/system/bt/embdrv/sbc/decoder/include/ |
H A D | oi_assert.h | 7 * you may not use this file except in compliance with the License. 21 /** @file 22 This file provides macros and functions for compile-time and run-time assertions. 47 void OI_AssertFail(char* file, int line, char* reason);
|
/system/core/adb/ |
H A D | mutex_list.h | 3 * 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 D | adb_auth_client.cpp | 5 * you may not use this file except in compliance with the License. 54 static void read_keys(const char *file, struct listnode *list) argument 61 f = fopen(file, "re"); 63 D("Can't open '%s'\n", file); 82 D("%s: Invalid base64 data ret=%d\n", file, ret); 88 D("%s: Invalid key len %d\n", file, key->key.len);
|
H A D | adb_auth_host.cpp | 5 * you may not use this file except in compliance with the License. 220 static int generate_key(const char *file) argument 229 D("generate_key '%s'\n", file); 242 f = fopen(file, "w"); 244 D("Failed to open '%s'\n", file); 256 if (!write_public_keyfile(rsa, file)) { 272 static int read_key(const char *file, struct listnode *list) argument 274 D("read_key '%s'\n", file); 276 FILE* fp = fopen(file, "r"); 278 D("Failed to open '%s': %s\n", file, strerro [all...] |
/system/core/base/ |
H A D | file_test.cpp | 5 * you may not use this file except in compliance with the License. 17 #include "base/file.h" 29 TEST(file, ReadFileToString_ENOENT) { 37 TEST(file, ReadFileToString_success) { 46 TEST(file, WriteStringToFile) { 55 TEST(file, WriteStringToFile2) { 71 TEST(file, WriteStringToFd) { 83 TEST(file, ReadFully) { 99 TEST(file, WriteFully) {
|
H A D | logging.cpp | 5 * you may not use this file except in compliance with the License. 77 void StderrLogger(LogId, LogSeverity severity, const char*, const char* file, argument 83 severity_char, getpid(), gettid(), file, line, message); 106 const char* file, unsigned int line, 116 __android_log_buf_print(lg_id, priority, tag, "%s:%u] %s", file, line, 193 LogMessageData(const char* file, unsigned int line, LogId id, argument 195 : file_(file), 200 const char* last_slash = strrchr(file, '/'); 201 file = (last_slash == nullptr) ? file 105 operator ()(LogId id, LogSeverity severity, const char* tag, const char* file, unsigned int line, const char* message) argument 243 LogMessage(const char* file, unsigned int line, LogId id, LogSeverity severity, int error) argument 287 LogLine(const char* file, unsigned int line, LogId id, LogSeverity severity, const char* message) argument [all...] |
/system/core/logd/ |
H A D | LogCommand.cpp | 5 * you may not use this file except in compliance with the License. 77 FILE *file = fopen(filename, "r"); local 78 if (!file) { 86 while (fgets(line, sizeof(line), file)) { 123 fclose(file);
|
/system/extras/tests/bionic/libc/ |
H A D | Android.mk | 4 # you may not use this file except in compliance with the License. 15 # Build control file for Bionic's test programs 29 $(foreach file,$(1), \ 31 $(eval LOCAL_SRC_FILES := $(file)) \ 32 $(eval LOCAL_MODULE := $(notdir $(file:%.c=%))) \ 47 $(foreach file,$(1), \ 49 $(eval LOCAL_SRC_FILES := $(file)) \ 50 $(eval LOCAL_MODULE := $(notdir $(file:%.c=%))) \
|
/system/extras/cpustats/ |
H A D | cpustats.c | 188 FILE *file; local 192 file = fopen(filename, "r"); 193 if (!file) die("Could not open %s\n", filename); 194 if (!fgets(line, MAX_BUF_SIZE, file)) die("Could not get %s contents\n", filename); 195 fclose(file); 205 die("Unexpected input in file %s (%s).\n", filename, line); 213 FILE *file; local 219 file = fopen(filename, "r"); 220 if (!file) die("Could not open %s\n", filename); 223 fscanf(file, " 235 FILE *file; local 264 FILE *file; local [all...] |
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
H A D | grep.h | 84 struct file { struct 93 char *file; member in struct:str 154 /* file.c */ 155 void grep_close(struct file *f); 156 struct file *grep_open(const char *path); 157 char *grep_fgetln(struct file *f, size_t *len);
|
H A D | file.c | 1 /* $NetBSD: file.c,v 1.7 2011/04/18 22:46:48 joerg Exp $ */ 2 /* $FreeBSD: head/usr.bin/grep/file.c 211496 2010-08-19 09:28:59Z des $ */ 3 /* $OpenBSD: file.c,v 1.11 2010/07/02 20:48:48 nicm Exp $ */ 38 __RCSID("$NetBSD: file.c,v 1.7 2011/04/18 22:46:48 joerg Exp $"); 78 grep_refill(struct file *f) 101 * plain file data, if it is not in the correct 104 * So, just restart at the beginning of the file again, 141 grep_fgetln(struct file *f, size_t *lenp) 203 static inline struct file * 204 grep_file_init(struct file * [all...] |
H A D | queue.c | 70 item->data.file = x->file;
|
/system/core/libsparse/ |
H A D | backed_block.c | 5 * you may not use this file except in compliance with the License. 37 } file; member in union:backed_block::__anon1486 84 return bb->file.filename; 97 return bb->file.offset; 117 free(bb->file.filename); 224 if (a->file.filename != b->file.filename || 225 a->file.offset + a->len != b->file.offset) { 323 /* Queues a chunk of a file o [all...] |
/system/core/libcutils/ |
H A D | trace-dev.c | 5 * you may not use this file except in compliance with the License. 107 FILE * file = fopen("/proc/self/cmdline", "r"); local 108 if (file) { 110 if (fgets(cmdline, sizeof(cmdline), file)) { 115 fclose(file); 178 ALOGE("Error opening trace file: %s (%d)", strerror(errno), errno);
|