Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 18 of 18) sorted by relevance

/development/tools/line_endings/
Dline_endings.c46 int fd; in main() local
52 fd = open(argv[i], O_RDWR); in main()
53 if (fd < 0) { in main()
58 len = lseek(fd, 0, SEEK_END); in main()
59 lseek(fd, 0, SEEK_SET); in main()
74 amt = read(fd, buf, amt2); in main()
91 (void)ftruncate(fd, 0); in main()
92 lseek(fd, 0, SEEK_SET); in main()
96 ssize_t amt = write(fd, root->buf, amt2); in main()
107 close(fd); in main()
/development/gsi/gsi_util/gsi_util/utils/
Dfile_utils.py37 fd, path = tempfile.mkstemp(**kwargs)
38 os.close(fd)
/development/scripts/
Dnative_heapdump_viewer.py343 fd = FrameDescription("???", "???", lib)
345 resolved_addrs[addr] = fd
373 fd = Addr2Line(resolved_addrs, node.addr)
380 …total_percent, parent_percent, node.number, indent, node.addr, fd.library, fd.function, fd.locatio…
386 fd = Addr2Line(resolved_addrs, node.addr)
388 lib = fd.library
390 lib = os.path.basename(fd.library)
394 …f%% %6d %s%s %s %s" % (node.size, total_percent, node.number, extra, lib, fd.function, fd.location)
Dusb-reset-by-serial.py60 fd = open(device, "wb")
65 fcntl.ioctl(fd, USBDEVFS_RESET, 0)
66 fd.close()
Dnative_heapdump_viewer_tests.py29 fd, self._tmp_file_name = tempfile.mkstemp()
30 os.write(fd, contents.encode())
31 os.close(fd)
/development/tools/privapp_permissions/
Dprivapp_permissions.py649 def print_xml(results, apps_redefine_base, partition, fd=sys.stdout): argument
651 fd.write('<?xml version="1.0" encoding="utf-8"?>\n')
652 fd.write('<!-- for the partition: /%s -->\n' % partition)
653 fd.write('<permissions>\n')
656 fd.write(' <!-- Additional permissions on top of %s -->\n' %
658 fd.write(' <privapp-permissions package="%s">\n' % package_name)
660 fd.write(' <permission name="%s"/>\n' % p)
661 fd.write(' </privapp-permissions>\n')
662 fd.write('\n')
664 fd.write('</permissions>\n')
/development/samples/ReceiveContentDemo/src/com/example/android/receivecontent/
DMyReceiver.java131 AssetFileDescriptor fd = contentResolver.openAssetFileDescriptor(uri, "r"); in showMessage() local
132 lengthBytes = fd.getLength(); in showMessage()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DImageCache.java335 FileDescriptor fd = ((FileInputStream) inputStream).getFD(); in getBitmapFromDiskCache() local
340 fd, Integer.MAX_VALUE, Integer.MAX_VALUE, this); in getBitmapFromDiskCache()
/development/samples/training/multiscreen/newsreader/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/ActivityLifecycle/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/basic/FragmentBasics/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/location-aware/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/AnimationsDemo/libs/
Dandroid-support-v13.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/InteractiveChart/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/ContactsList/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/ControllerSample/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/development/samples/training/EffectiveNavigation/libs/
Dandroid-support-v4.jar ... .Activity activity String prefix java.io.FileDescriptor fd java.io.PrintWriter writer String[] args ...
/development/samples/training/NavigationDrawer/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...