Searched defs:filename (Results 26 - 50 of 99) sorted by last modified time

1234

/frameworks/native/services/inputflinger/
H A DEventHub.cpp1603 char *filename; local
1620 filename = devname + strlen(devname);
1621 *filename++ = '/';
1627 strcpy(filename, event->name);
1645 char *filename; local
1652 filename = devname + strlen(devname);
1653 *filename++ = '/';
1659 strcpy(filename, de->d_name);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/compile/mclinker/include/mcld/MC/
H A DCommandAction.h174 const std::string& filename() const { return m_FileName; } function in class:mcld::ScriptAction
/frameworks/compile/mclinker/lib/Support/
H A DPath.cpp165 Path Path::filename() const { function in class:mcld::sys::fs::Path
/frameworks/base/services/core/java/com/android/server/
H A DMountService.java2189 public int fixPermissionsSecureContainer(String id, int gid, String filename) { argument
2195 mConnector.execute("asec", "fixperms", id, gid, filename);
3418 Slog.w(TAG, "Denied attempt to mount OBB " + obbInfo.filename
3429 Slog.w(TAG, "Attempt to mount OBB which is already mounted: " + obbInfo.filename);
H A DNetworkManagementService.java1162 private ArrayList<String> readRouteList(String filename) { argument
1167 fstream = new FileInputStream(filename);
H A DRandomBlock.java41 static RandomBlock fromFile(String filename) throws IOException { argument
42 if (DEBUG) Slog.v(TAG, "reading from file " + filename);
45 stream = new FileInputStream(filename);
65 void toFile(String filename, boolean sync) throws IOException { argument
66 if (DEBUG) Slog.v(TAG, "writing to file " + filename);
69 out = new RandomAccessFile(filename, sync ? "rws" : "rw");
H A DRecoverySystemService.java69 public boolean uncrypt(String filename, IRecoverySystemProgressListener listener) { argument
70 if (DEBUG) Slog.d(TAG, "uncrypt: " + filename);
74 // Write the filename into UNCRYPT_PACKAGE_FILE to be read by
79 uncryptFile.write(filename + "\n");
/frameworks/base/services/core/java/com/android/server/am/
H A DTaskPersister.java525 String filename = file.getName();
526 final int taskIdEnd = filename.indexOf('_');
530 taskId = Integer.parseInt(filename.substring(0, taskIdEnd));
572 static Bitmap restoreImage(String filename) { argument
573 if (DEBUG) Slog.d(TAG, "restoreImage: restoring " + filename);
574 return BitmapFactory.decodeFile(filename);
696 if (DEBUG) Slog.d(TAG, "writing bitmap: filename=" + filePath);
/frameworks/base/services/core/java/com/android/server/location/
H A DGnssLocationProvider.java642 private boolean loadPropertiesFromFile(String filename, argument
645 File file = new File(filename);
655 Log.w(TAG, "Could not open GPS configuration file " + filename);
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbPortManager.java653 private static String readFile(File dir, String filename) { argument
654 final File file = new File(dir, filename);
678 private static String propertyFromFilename(String filename) { argument
679 return USB_TYPEC_PROP_PREFIX + filename;
682 private static boolean writeFile(File dir, String filename, String contents) { argument
683 SystemProperties.set(propertyFromFilename(filename), contents);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGraphExporter.java44 * 2. adb pull /data/data/<application name>/files/<graph filename>.gv graph.gv
48 static public void exportAsDot(FilterGraph graph, String filename, argument
54 FileOutputStream fOut = myAppContext.openFileOutput(filename, Context.MODE_PRIVATE);
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp30 * - the filename length must be less than kMaxAssetFileName bytes long
35 * Pass in just the filename, not the full path.
751 "Invalid filename. Unable to add.");
1220 AaptAssets::slurpResourceZip(Bundle* /* bundle */, const char* filename) argument
1226 status_t err = zip->open(filename, ZipFile::kOpenReadOnly);
1228 fprintf(stderr, "error opening zip file %s\n", filename);
H A DCommand.cpp717 const char* filename = bundle->getFileSpecEntry(1); local
721 if (!assets.addAssetPath(String8(filename), &assetsCookie)) {
753 const String8 manifestFile = String8::format("%s@AndroidManifest.xml", filename);
H A DFileFinder.cpp23 bool isDirectory(const char* filename) { argument
25 if (stat(filename, &fileStat) == -1) {
33 bool isFile(const char* filename) { argument
35 if (stat(filename, &fileStat) == -1) {
H A DResource.cpp153 fprintf(stderr, "Error: malformed resource filename %s\n",
1089 const String8 filename("AndroidManifest.xml");
1092 sp<XMLNode> root = XMLNode::newNamespace(filename, androidPrefix, androidNSUri);
1095 sp<XMLNode> manifest = XMLNode::newElement(filename, String16(), String16("manifest"));
1125 sp<XMLNode> app = XMLNode::newElement(filename, String16(), String16("application"));
3131 writeProguardSpec(const char* filename, const ProguardKeepSet& keep, status_t err) argument
3133 FILE* fp = fopen(filename, "w+");
3136 filename, strerror(errno));
H A DXMLNode.h45 sp<XMLNode> newNamespace(const String8& filename, const String16& prefix, const String16& uri) { argument
46 return new XMLNode(filename, prefix, uri, true);
50 sp<XMLNode> newElement(const String8& filename, const String16& ns, const String16& name) { argument
51 return new XMLNode(filename, ns, name, false);
55 sp<XMLNode> newCData(const String8& filename) { argument
56 return new XMLNode(filename);
153 String8 filename; member in struct:XMLNode::ParseState
178 XMLNode(const String8& filename, const String16& s1, const String16& s2, bool isNamespace);
181 XMLNode(const String8& filename);
/frameworks/base/tools/aapt2/compile/
H A DCompile.cpp88 std::string& filename = parts[parts.size() - 1]; local
89 StringPiece name = filename;
91 size_t dotPos = filename.find('.');
93 extension = name.substr(dotPos + 1, filename.size() - (dotPos + 1));
129 static bool isHidden(const StringPiece& filename) { argument
130 return util::stringStartsWith<char>(filename, ".");
202 // If the filename includes donottranslate, then the default translatable is false.
/frameworks/base/tools/aapt2/util/
H A DFiles.cpp135 StringPiece filename = getFilename(path); local
136 const char* const end = filename.end();
137 const char* c = std::find(filename.begin(), end, '.');
216 bool FileFilter::operator()(const std::string& filename, FileType type) const { argument
217 if (filename == "." || filename == "..") {
223 const size_t filenameLen = filename.length();
253 ignore = strncasecmp(tokenStr, filename.c_str() + filenameLen - n, n) == 0;
257 ignore = strncasecmp(tokenStr, filename.c_str(), n - 1) == 0;
259 ignore = strcasecmp(tokenStr, filename
[all...]
/frameworks/base/tools/obbtool/
H A DMain.cpp92 void doAdd(const char* filename, PackageInfo* info) { argument
94 if (obb->readFrom(filename)) {
95 fprintf(stderr, "ERROR: %s: OBB signature already present\n", filename);
106 if (!obb->writeTo(filename)) {
108 filename, strerror(errno));
115 void doRemove(const char* filename) { argument
117 if (!obb->readFrom(filename)) {
118 fprintf(stderr, "ERROR: %s: no OBB signature present\n", filename);
122 if (!obb->removeFrom(filename)) {
123 fprintf(stderr, "ERROR: %s: couldn't remove OBB signature\n", filename);
130 doInfo(const char* filename) argument
268 const char* filename = argv[optind++]; local
[all...]
/frameworks/base/tools/validatekeymaps/
H A DMain.cpp50 static FileType getFileType(const char* filename) { argument
51 const char *extension = strrchr(filename, '.');
64 if (strstr(filename, "virtualkeys.")) {
71 static bool validateFile(const char* filename) { argument
72 fprintf(stdout, "Validating file '%s'...\n", filename);
74 FileType fileType = getFileType(filename);
82 status_t status = KeyLayoutMap::load(String8(filename), &map);
92 status_t status = KeyCharacterMap::load(String8(filename),
103 status_t status = PropertyMap::load(String8(filename), &map);
114 status_t status = VirtualKeyMap::load(String8(filename),
[all...]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DDeviceInfoUtils.java48 * @param filename the file to read from
52 private static String readLine(String filename) throws IOException { argument
53 BufferedReader reader = new BufferedReader(new FileReader(filename), 256);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java1117 private byte[] getFileData(String filename) { argument
1120 File file = new File(filename);
1136 Log.w(TAG, "Couldn't backup " + filename);
1141 Log.w(TAG, "Couldn't backup " + filename);
1153 private void restoreFileData(String filename, byte[] bytes, int size) { argument
1155 File file = new File(filename);
1158 OutputStream os = new BufferedOutputStream(new FileOutputStream(filename, true));
1162 Log.w(TAG, "Couldn't restore " + filename);
1167 private byte[] getWifiSupplicant(String filename) { argument
1170 File file = new File(filename);
1200 restoreWifiSupplicant(String filename, byte[] bytes, int size) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DGestureRecorder.java154 public GestureRecorder(String filename) { argument
155 mLogfile = filename;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifInterface.java1001 * @param filename a String containing a filepath for a jpeg file with exif
1010 public boolean rewriteExif(String filename, Collection<ExifTag> tags) argument
1016 File temp = new File(filename);
1086 * @param filename a String containing a filepath for a jpeg file.
1093 public void forceRewriteExif(String filename, Collection<ExifTag> tags) argument
1097 if (!rewriteExif(filename, tags)) {
1104 is = new FileInputStream(filename);
1110 writeExif(imageBytes, filename);
1127 * @param filename a String containing a filepath for a jpeg file.
1132 public void forceRewriteExif(String filename) throw argument
[all...]

Completed in 673 milliseconds

1234