/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipProfileDb.java | 5 * you may not use this file except in compliance with the License. 26 import java.io.File; 59 deleteProfile(new File(mProfilesDirectory + p.getProfileName())); 65 private void deleteProfile(File file) { 66 if (file.isDirectory()) { 67 for (File child : file.listFiles()) deleteProfile(child); 69 file.delete(); 75 File f = new File(mProfilesDirectory + p.getProfileName()) [all...] |
/prebuilts/misc/common/swig/include/2.0.11/perl5/ |
Makefile.pl | 0 # File : Makefile.pl 2 # MakeMaker file for a SWIG module. Use this file if you are 5 # 1. Modify the file as appropriate. Replace $module with the 6 # real name of your module and wrapper file.
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
URLTest.java | 3 * contributor license agreements. See the NOTICE file distributed with 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 22 import java.io.File; 73 assertEquals("u returns a wrong file", 77 // test for no file 82 assertTrue("u1 returns a wrong file", u1.getFile().equals("")); 91 assertEquals("u2 returns a wrong file", 96 URL u2a = new URL("file://www.yahoo3.com/dir1/dir2/test.cgi#anchor1"); 97 assertEquals("u2a returns a wrong protocol", "file", u2a.getProtocol()) 269 String file = "file:\/a!\/b\/..\/d"; local [all...] |
/development/tools/findunused/ |
find_unused_resources.rb | 39 if File.basename(path) == "res" 54 attr_accessor :file, :lineNumber 57 @file = f 62 "#{file}:#{lineNumber}" 66 if @file == other.file 69 @file <=> other.file 93 File.open(filename) { |file| [all...] |
/external/apache-harmony/support/src/test/java/tests/support/resource/ |
Support_Resources.java | 3 * contributor license agreements. See the NOTICE file distributed with 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 20 import java.io.File; 45 File resources = createTempFolder(); 58 url = new URL("file:/" + resPath + "/" + fileName); 65 public static File createTempFolder() { 66 File folder = null; 68 folder = File.createTempFile("hyts_resources", "", null); 78 public static void copyFile(File root, String folder, String file) [all...] |
/external/clang/test/CoverageMapping/ |
macro-expansion.c | 1 // RUN: %clang_cc1 -fprofile-instr-generate -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name macro-expansion.c %s | FileCheck %s 4 // CHECK: File 1, [[@LINE+5]]:12 -> [[@LINE+5]]:38 = #0 5 // CHECK-NEXT: File 1, [[@LINE+4]]:15 -> [[@LINE+4]]:28 = (#0 + #2) 6 // CHECK-NEXT: File 1, [[@LINE+3]]:21 -> [[@LINE+3]]:22 = (#0 + #2) 7 // CHECK-NEXT: File 1, [[@LINE+2]]:24 -> [[@LINE+2]]:26 = #3 8 // CHECK-NEXT: File 1, [[@LINE+1]]:36 -> [[@LINE+1]]:37 = (#0 + #2) 10 // CHECK-NEXT: File 2, [[@LINE+10]]:15 -> [[@LINE+10]]:41 = #0 11 // CHECK-NEXT: File 2, [[@LINE+9]]:18 -> [[@LINE+9]]:31 = (#0 + #4) 12 // CHECK-NEXT: File 2, [[@LINE+8]]:24 -> [[@LINE+8]]:25 = (#0 + #4) 13 // CHECK-NEXT: File 2, [[@LINE+7]]:27 -> [[@LINE+7]]:29 = # [all...] |
/external/libxml2/macos/src/ |
config-mac.h | 87 /* Define if you have the <ansidecl.h> header file. */ 90 /* Define if you have the <arpa/inet.h> header file. */ 93 /* Define if you have the <ctype.h> header file. */ 96 /* Define if you have the <dirent.h> header file. */ 99 /* Define if you have the <dlfcn.h> header file. */ 102 /* Define if you have the <errno.h> header file. */ 105 /* Define if you have the <fcntl.h> header file. */ 108 /* Define if you have the <float.h> header file. */ 111 /* Define if you have the <fp_class.h> header file. */ 114 /* Define if you have the <ieeefp.h> header file. * [all...] |
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyServer.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 44 private final File baseDirectory; 47 public SpdyServer(File baseDirectory, SSLSocketFactory sslSocketFactory) { 107 File file = new File(baseDirectory + path); local 109 if (file.isDirectory()) { 110 serveDirectory(stream, file.listFiles()); 111 } else if (file.exists()) [all...] |
/frameworks/base/docs/html/training/secure-file-sharing/ |
request-file.jd | 1 page.title=Requesting a Shared File 12 <li><a href="#SendRequest">Send a Request for the File</a></li> 13 <li><a href="#OpenFile">Access the Requested File</a> 31 When an app wants to access a file shared by another app, the requesting app (the client) 34 The user picks a file, after which the server app returns the file's content URI to the 38 This lesson shows you how a client app requests a file from a server app, receives the file's 39 content URI from the server app, and opens the file using the content URI. 42 <h2 id="SendRequest">Send a Request for the File</h2 [all...] |
/frameworks/base/tools/aidl/ |
AST.h | 31 void WriteModifiers(FILE* to, int mod, int mask); 39 virtual void Write(FILE* to) = 0; 45 virtual void Write(FILE* to) = 0; 54 virtual void Write(FILE* to); 64 virtual void Write(FILE* to); 79 void WriteDeclaration(FILE* to); 80 void Write(FILE* to); 93 void Write(FILE* to); 108 virtual void Write(FILE* to); 114 virtual void Write(FILE* to) = 0 [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/util/ |
GenerationalClassUtil.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 44 * A utility class that helps adding build specific objects to the jar file 71 final File file = new File(url.toURI()); local 72 if (!file.exists()) { 73 L.d("cannot load file for %s", url); 76 if (file.isDirectory()) { 78 loadFromDirectory(file); [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_print.py | 16 # sep, end, and file 22 lambda args, sep, end, file: print(*args), 24 lambda args, sep, end, file: print(file=file, *args), 26 lambda args, sep, end, file: print(end=end, *args), 28 lambda args, sep, end, file: print(end=end, file=file, *args), 30 lambda args, sep, end, file: print(sep=sep, *args) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_print.py | 16 # sep, end, and file 22 lambda args, sep, end, file: print(*args), 24 lambda args, sep, end, file: print(file=file, *args), 26 lambda args, sep, end, file: print(end=end, *args), 28 lambda args, sep, end, file: print(end=end, file=file, *args), 30 lambda args, sep, end, file: print(sep=sep, *args) [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FileCleaningTracker.java | 3 * contributor license agreements. See the NOTICE file distributed with 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 19 import java.io.File; 29 * This utility creates a background thread to handle file deletion. 30 * Each file to be deleted is registered with a handler object. 31 * When the handler object is garbage collected, the file is deleted. 63 * Track the specified file, using the provided marker, deleting the file 67 * @param file the file to be tracked, not nul [all...] |
/art/runtime/ |
os_linux.cc | 5 * you may not use this file except in compliance with the License. 30 File* OS::OpenFileForReading(const char* name) { 34 File* OS::OpenFileReadWrite(const char* name) { 38 File* OS::CreateEmptyFile(const char* name) { 42 File* OS::OpenFileWithFlags(const char* name, int flags) { 44 std::unique_ptr<File> file(new File); 45 if (!file->Open(name, flags, 0666)) { 48 return file.release() [all...] |
/development/tools/idegen/src/com/android/idegen/ |
FrameworkModule.java | 5 * you may not use this file except in compliance with the License. 22 import java.io.File; 34 public FrameworkModule(File moduleDir) throws IOException { 41 File intermediates = new File(DirectorySearch.getRepoRoot(), 42 REL_OUT_APP_DIR + File.separator + FRAMEWORK_INTERMEDIATES); 43 ImmutableList<File> intermediateSrcDirs = DirectorySearch.findSourceDirs(intermediates); 44 sb.append(" <content url=\"file://").append(intermediates).append("\">\n"); 45 for (File src : intermediateSrcDirs) { 46 sb.append(" <sourceFolder url=\"file://" [all...] |
/external/google-tv-pairing-protocol/cpp/src/ |
config.h.in | 3 /* Define to 1 if you have the <dlfcn.h> header file. */ 6 /* Define to 1 if you have the <inttypes.h> header file. */ 9 /* Define to 1 if you have the <memory.h> header file. */ 12 /* Define to 1 if you have the <stdint.h> header file. */ 15 /* Define to 1 if you have the <stdlib.h> header file. */ 18 /* Define to 1 if you have the <strings.h> header file. */ 21 /* Define to 1 if you have the <string.h> header file. */ 24 /* Define to 1 if you have the <sys/stat.h> header file. */ 27 /* Define to 1 if you have the <sys/types.h> header file. */ 30 /* Define to 1 if you have the <unistd.h> header file. * [all...] |
/external/iproute2/man/man8/ |
rtmon.8 | 6 .RI "[ options ] file FILE [ all | LISTofOBJECTS ]" 21 .B rtmon file /var/log/rtmon.log 35 .B file FILE [ all | LISTofOBJECTS ] 36 Log output to FILE. LISTofOBJECTS is the list of object types that we 56 .B # rtmon file /var/log/rtmon.log 57 Log to file /var/log/rtmon.log, then run: 59 .B # ip monitor file /var/log/rtmon.log 60 to display logged output from file [all...] |
/external/jsilver/src/org/clearsilver/ |
CS.java | 5 * you may not use this file except in compliance with the License. 40 * Parses the specified file as if it has template content. The file will 42 * @param filename the name of file to read in and parse. 43 * @throws java.io.FileNotFoundException if the specified file does not 45 * @throws IOException other problems reading the file. 63 * Get the file loader in use, if any. 64 * @return the file loader in use. 69 * Set the CS file loader to use 70 * @param fileLoader the file loader that should be used [all...] |
/external/kernel-headers/original/uapi/linux/ |
fcntl.h | 15 /* Create a file descriptor with FD_CLOEXEC set. */ 40 #define F_SEAL_SHRINK 0x0002 /* prevent file from shrinking */ 41 #define F_SEAL_GROW 0x0004 /* prevent file from growing */ 48 #define DN_ACCESS 0x00000001 /* File accessed */ 49 #define DN_MODIFY 0x00000002 /* File modified */ 50 #define DN_CREATE 0x00000004 /* File created */ 51 #define DN_DELETE 0x00000008 /* File removed */ 52 #define DN_RENAME 0x00000010 /* File renamed */ 53 #define DN_ATTRIB 0x00000020 /* File changed attibutes */ 61 unlinking file. * [all...] |
/external/libusb-compat/ |
config.h.in | 12 /* Define to 1 if you have the <dlfcn.h> header file. */ 15 /* Define to 1 if you have the <inttypes.h> header file. */ 18 /* Define to 1 if you have the <memory.h> header file. */ 21 /* Define to 1 if you have the <stdint.h> header file. */ 24 /* Define to 1 if you have the <stdlib.h> header file. */ 27 /* Define to 1 if you have the <strings.h> header file. */ 30 /* Define to 1 if you have the <string.h> header file. */ 33 /* Define to 1 if you have the <sys/stat.h> header file. */ 36 /* Define to 1 if you have the <sys/types.h> header file. */ 39 /* Define to 1 if you have the <unistd.h> header file. * [all...] |
/external/openfst/ |
config.h.in | 3 /* Define to 1 if you have the <dlfcn.h> header file. */ 6 /* Define to 1 if you have the <inttypes.h> header file. */ 9 /* Define to 1 if you have the <memory.h> header file. */ 12 /* Define to 1 if you have the <stdint.h> header file. */ 15 /* Define to 1 if you have the <stdlib.h> header file. */ 18 /* Define to 1 if you have the <strings.h> header file. */ 21 /* Define to 1 if you have the <string.h> header file. */ 24 /* Define to 1 if you have the <sys/stat.h> header file. */ 27 /* Define to 1 if you have the <sys/types.h> header file. */ 30 /* Define to 1 if you have the <unistd.h> header file. * [all...] |
/external/protobuf/gtest/build-aux/ |
config.h.in | 3 /* Define to 1 if you have the <dlfcn.h> header file. */ 6 /* Define to 1 if you have the <inttypes.h> header file. */ 9 /* Define to 1 if you have the <memory.h> header file. */ 15 /* Define to 1 if you have the <stdint.h> header file. */ 18 /* Define to 1 if you have the <stdlib.h> header file. */ 21 /* Define to 1 if you have the <strings.h> header file. */ 24 /* Define to 1 if you have the <string.h> header file. */ 27 /* Define to 1 if you have the <sys/stat.h> header file. */ 30 /* Define to 1 if you have the <sys/types.h> header file. */ 33 /* Define to 1 if you have the <unistd.h> header file. * [all...] |
/external/valgrind/drd/tests/ |
bar_bad_xml.stderr.exp | 44 <file>drd_pthread_intercepts.c</file> 52 <file>bar_bad.c</file> 71 <file>drd_pthread_intercepts.c</file> 79 <file>bar_bad.c</file> 92 <file>drd_pthread_intercepts.c</file> [all...] |
/external/valgrind/memcheck/tests/ |
client-msg-as-xml.stderr.exp | 41 <file>valgrind.h</file> 49 <file>client-msg.c</file> 57 <file>client-msg.c</file> 65 <file>client-msg.c</file> 73 <file>client-msg.c</file> [all...] |