/system/core/libcutils/ |
qtaguid.c | 3 ** Copyright 2011, The Android Open Source Project 38 * Once the device is open, this process will have its socket tags tracked. 40 * A process can only open /dev/xt_qtaguid once. 42 * Failure to open it will be visible when socket tagging will be attempted. 49 resTrackFd = TEMP_FAILURE_RETRY(open("/dev/xt_qtaguid", O_RDONLY)); 65 fd = TEMP_FAILURE_RETRY(open(CTRL_PROCPATH, O_WRONLY)); 87 param_fd = TEMP_FAILURE_RETRY(open(param_path, O_WRONLY));
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_file2k.py | 24 self.f = open(TESTFN, 'wb') 62 self.f = open(TESTFN, 'rb') 71 self.f = open(TESTFN, 'rb') 94 self.assertTrue(repr(self.f).startswith("<open file '" + TESTFN)) 98 with open(fname, 'w') as f: 101 "<open file %r, mode 'w' at" % fname)) 105 self.f = open(TESTFN, 'rb') 157 # Remark: Do not perform more than one test per open file, 162 self.f = open(TESTFN, mode) 167 self.f = open(TESTFN, mode [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_file2k.py | 24 self.f = open(TESTFN, 'wb') 62 self.f = open(TESTFN, 'rb') 71 self.f = open(TESTFN, 'rb') 94 self.assertTrue(repr(self.f).startswith("<open file '" + TESTFN)) 98 with open(fname, 'w') as f: 101 "<open file %r, mode 'w' at" % fname)) 105 self.f = open(TESTFN, 'rb') 157 # Remark: Do not perform more than one test per open file, 162 self.f = open(TESTFN, mode) 167 self.f = open(TESTFN, mode [all...] |
/bionic/libc/kernel/common/linux/mtd/ |
blktrans.h | 56 int (*open)(struct mtd_blktrans_dev *dev); member in struct:mtd_blktrans_ops
|
/cts/suite/audio_quality/test_description/conf/ |
detect_usb_audio.py | 3 # Copyright (C) 2012 The Android Open Source Project 41 f = open(card_full_path + "/id")
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
Camera_SizeTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 41 Camera camera = Camera.open(0);
|
/development/ndk/platforms/android-3/include/linux/ |
android_pmem.h | 45 int (*open) (struct inode *, struct file *); member in struct:pmem_file_operations
|
/development/ndk/platforms/android-3/include/linux/mtd/ |
blktrans.h | 50 int (*open)(struct mtd_blktrans_dev *dev); member in struct:mtd_blktrans_ops
|
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ReadAsset.java | 2 * Copyright (C) 2007 The Android Open Source Project 49 InputStream is = getAssets().open("read_asset.txt");
|
/development/samples/USB/AdbTest/src/com/android/adb/ |
AdbSocket.java | 2 * Copyright (C) 2011 The Android Open Source Project 38 public boolean open(String destination) { method in class:AdbSocket
|
/development/scripts/ |
stack | 3 # Copyright (C) 2013 The Android Open Source Project 67 f = open(arguments[0], "r")
|
/device/generic/goldfish/opengl/shared/OpenglOsUtils/ |
osDynLibrary.cpp | 2 * Copyright (C) 2011 The Android Open Source Project 25 dynLibrary *dynLibrary::open(const char *p_libName) function in class:osUtils::dynLibrary
|
/device/generic/goldfish/power/ |
power_qemu.c | 2 * Copyright (C) 2012 The Android Open Source Project 48 .open = NULL, 58 .author = "The Android Open Source Project",
|
/external/chromium/testing/gtest/test/ |
gtest_output_test.py | 281 golden_file = open(GOLDEN_PATH, 'rb') 306 open(os.path.join( 310 open(os.path.join( 322 golden_file = open(GOLDEN_PATH, 'wb')
|
/external/chromium-trace/trace-viewer/build/ |
generate_about_tracing_contents.py | 43 f = open(os.path.join(srcdir, "about_tracing.html.template"), 'r') 75 f = open(os.path.join(srcdir, "about_tracing.js.template"), 'r') 131 o = open(os.path.join(options.out_dir, "about_tracing.html"), 'w') 136 o = open(os.path.join(options.out_dir, "about_tracing.js"), 'w')
|
/external/chromium_org/build/android/gyp/util/ |
build_utils.py | 30 with open(path, 'a'): 67 with open(path, 'r') as oldfile: 73 with open(path, 'w') as outfile: 77 with open(path, 'r') as jsonfile:
|
/external/chromium_org/build/ios/ |
PRESUBMIT.py | 18 lines = open(os.path.join('../..', WHITELIST_FILE)).readlines()
|
/external/chromium_org/build/win/importlibs/ |
filter_export_list.py | 43 with open(master_file) as f:
|
/external/chromium_org/chrome/browser/storage_monitor/ |
image_capture_device.h | 68 - (void)open;
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/downloads/download_open/ |
background.js | 28 chrome.downloads.open(delta.id); 45 id: 'open',
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
samples_data_source_test.py | 21 with open(os.path.join(self._base_path, filename), 'r') as f:
|
test_util.py | 35 with open(os.path.join(sys.path[0], os.pardir, os.pardir, name)) as f:
|
/external/chromium_org/chrome/test/chromedriver/ |
embed_js_in_cpp.py | 34 with open(js_file, 'r') as f:
|
/external/chromium_org/chrome/test/pyautolib/chromeos/ |
suid_actions.py | 124 with open('/sys/class/net/%s/operstate' % iface, 'r') as fp: 133 with open(TEMP_BACKCHANNEL_FILE, 'w') as fpw: 134 with open('/sys/class/net/%s/address' % eth_iface) as fp: 145 with open(TEMP_BACKCHANNEL_FILE, 'r') as fp:
|
/external/chromium_org/chrome/tools/build/ |
version.py | 28 The file must exist, otherwise you get the Python exception from open(). 30 for line in open(file_name, 'r').readlines(): 87 template = open(file_name, 'r').read() 97 old_contents = open(file_name, 'r').read() 104 open(file_name, 'w').write(contents)
|