Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 475) sorted by relevance

12345678910>>...19

/frameworks/support/samples/SupportLeanbackDemos/
Dgeneratev4.py28 file = open('src/com/example/android/leanback/GuidedStepActivity.java', 'r')
29 outfile = open('src/com/example/android/leanback/GuidedStepSupportActivity.java', 'w')
41 file = open('src/com/example/android/leanback/GuidedStepHalfScreenActivity.java', 'r')
42 outfile = open('src/com/example/android/leanback/GuidedStepSupportHalfScreenActivity.java', 'w')
55 file = open('src/com/example/android/leanback/BrowseFragment.java', 'r')
56 outfile = open('src/com/example/android/leanback/BrowseSupportFragment.java', 'w')
75 file = open('src/com/example/android/leanback/BrowseActivity.java', 'r')
76 outfile = open('src/com/example/android/leanback/BrowseSupportActivity.java', 'w')
87 file = open('res/layout/browse.xml', 'r')
88 outfile = open('res/layout/browse_support.xml', 'w')
[all …]
/frameworks/support/v17/leanback/
Dgeneratef.py30 file = open('src/android/support/v17/leanback/app/{}SupportFragment.java'.format(w), 'r')
50 outfile = open('src/android/support/v17/leanback/app/{}Fragment.java'.format(w), 'w')
57 file = open('src/android/support/v17/leanback/app/VideoSupportFragmentGlueHost.java', 'r')
68 outfile = open('src/android/support/v17/leanback/app/VideoFragmentGlueHost.java', 'w')
75 file = open('src/android/support/v17/leanback/app/PlaybackSupportFragmentGlueHost.java', 'r')
86 outfile = open('src/android/support/v17/leanback/app/PlaybackFragmentGlueHost.java', 'w')
93 file = open('src/android/support/v17/leanback/app/DetailsSupportFragmentBackgroundController.java',…
106 outfile = open('src/android/support/v17/leanback/app/DetailsFragmentBackgroundController.java', 'w')
/frameworks/support/v17/leanback/tests/
Dgeneratev4.py34 file = open('java/android/support/v17/leanback/app/{}Fragment.java'.format(w), 'r')
35 outfile = open('java/android/support/v17/leanback/app/{}SupportFragment.java'.format(w), 'w')
57 file = open('java/android/support/v17/leanback/app/{}FragmentTestBase.java'.format(w), 'r')
58 …outfile = open('java/android/support/v17/leanback/app/{}SupportFragmentTestBase.java'.format(w), '…
83 file = open('java/android/support/v17/leanback/app/{}FragmentTest.java'.format(w), 'r')
84 … outfile = open('java/android/support/v17/leanback/app/{}SupportFragmentTest.java'.format(w), 'w')
114 file = open('java/android/support/v17/leanback/app/{}FragmentTestActivity.java'.format(w), 'r')
115 …outfile = open('java/android/support/v17/leanback/app/{}SupportFragmentTestActivity.java'.format(w…
132 file = open('java/android/support/v17/leanback/widget/ParallaxIntEffectTest.java', 'r')
133 outfile = open('java/android/support/v17/leanback/widget/ParallaxFloatEffectTest.java', 'w')
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/
DRSUnitTests.py302 with open(in_path, 'r') as in_file, open(out_path, 'w') as out_file:
318 with open(out_path, 'w') as out_file:
323 with open(in_path, 'r') as in_file:
333 with open(os.path.join(SupportLibGenTestDir(), shared_rsh), 'a') as shared:
400 with open(SupportLib19MakefileLocation(), 'w') as gen_file:
532 with open(ForwardMakefileLocation(build_tool_version_name), 'w') as gen_file:
536 with open(ForwardAndroidManifestLocation(build_tool_version_name), 'w') as gen_file:
541 with open(ForwardMakeTargetsLocation(), 'w') as gen_file:
632 with open(BackwardJavaFileLocation(), 'w') as gen_file:
640 with open(Backward19JavaFileLocation(), 'w') as gen_file:
[all …]
/frameworks/base/libs/androidfw/tests/
DBackupData_test.cpp60 int fd = ::open(mFilename.string(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
75 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F()
84 fd = ::open(mFilename.string(), O_RDONLY); in TEST_F()
117 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F()
125 fd = ::open(mFilename.string(), O_RDONLY); in TEST_F()
165 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F()
175 fd = ::open(mFilename.string(), O_RDONLY); in TEST_F()
220 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F()
227 fd = ::open(mFilename.string(), O_RDONLY); in TEST_F()
259 int fd = ::open(mFilename.string(), O_WRONLY); in TEST_F()
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DDelayedDiskWrite.java44 public void write(final String filePath, final Writer w, final boolean open) { in write() argument
61 doWrite(filePath, w, open); in write()
66 private void doWrite(String filePath, Writer w, boolean open) { in doWrite() argument
69 if (open) { in doWrite()
/frameworks/base/tools/fonts/
Dadd_additional_fonts.py30 with open(original_file, 'r') as input_file:
31 with open(output_file_path, 'w') as output_file:
36 with open(override_file_path) as override_file:
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DFullBackupUtilsTest.java98 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_emptyInput_throwsEOFException()
119 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_incompleteChunkSizeInput_throwsEOFException()
139 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_validEmptyInput_doesNotWriteAnything()
156 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_notEnoughData_throwsEOFException()
179 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_oneSmallChunk_writesOutputCorrectly()
199 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_oneLargeChunk_writesOutputCorrectly()
224 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_twoSmallChunks_writesOutputCorrectly()
249 mTemporaryFileDescriptor = ParcelFileDescriptor.open(mTemporaryFile, in routeSocketDataToOutput_twoLargeChunks_writesOutputCorrectly()
/frameworks/support/lifecycle/compiler/
Dreset_results.py26 with open(sys.argv[1]) as f:
29 with open("src/tests/test-data/expected/license.txt") as license:
34 file = open("src/tests/test-data/expected/" + fileName, "w")
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/
DTestAssetRepository.java31 private static InputStream open(String path) throws FileNotFoundException { in open() method in TestAssetRepository
47 return open(path); in openAsset()
52 return open(path); in openNonAsset()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc3 "can not open input file `%0': %1",
4 "can not open input file `%0' : %1")
7 "cannot open output file `%0': %1",
8 "cannot open output file `%0': %1")
11 "can not open search directory `-L%0'",
12 "can not open search directory `-L%0'")
112 "cannot open file `%0': %1.",
113 "cannot open file `%0': %1.")
128 "cannot open memory mapped file %0 from offset %1 to length %2.",
129 "cannot open memoory mpped file %0 from offset %1 to length %2.")
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DInputPort.java42 public void open() { in open() method in InputPort
43 super.open(); in open()
45 mSourcePort.open(); in open()
DOutputPort.java44 public void open() { in open() method in OutputPort
45 super.open(); in open()
47 mTargetPort.open(); in open()
/frameworks/base/core/java/android/speech/tts/
DAudioPlaybackQueueItem.java71 mDone.open(); in run()
79 mDone.open(); in run()
89 mDone.open(); in run()
127 mDone.open(); in stop()
/frameworks/base/services/core/jni/
Dcom_android_server_UsbDeviceManager.cpp61 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_getAccessoryStrings()
83 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_openAccessory()
99 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_isStartRequested()
111 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_getAudioMode()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DIfElseFilterTest.java59 Bitmap videoBitmap = BitmapFactory.decodeStream(assetMgr.open("0002_000390.jpg")); in testIfElseFilterTrue()
61 Bitmap imageBitmap = BitmapFactory.decodeStream(assetMgr.open("XZZ019.jpg")); in testIfElseFilterTrue()
90 Bitmap videoBitmap = BitmapFactory.decodeStream(assetMgr.open("0002_000390.jpg")); in testIfElseFilterFalse()
92 Bitmap imageBitmap = BitmapFactory.decodeStream(assetMgr.open("XZZ019.jpg")); in testIfElseFilterFalse()
/frameworks/base/tests/AmSlam/src/test/amslam/subreceivers/
Dgen.py43 f = open('PingReceiver{:03d}.java'.format(i), 'w')
47 manifest = open('AppendToManifest.xml', 'w')
/frameworks/compile/mclinker/unittests/
DFileHandleTest.cpp43 ASSERT_TRUE(m_pTestee->open(path, FileHandle::OpenMode(FileHandle::ReadOnly), in TEST_F()
62 int fd = ::open(path.native().c_str(), O_RDONLY); in TEST_F()
85 ASSERT_TRUE(m_pTestee->open(path, FileHandle::OpenMode(FileHandle::ReadOnly), in TEST_F()
/frameworks/opt/net/wifi/libwifi_system/
Dsupplicant_manager.cpp74 srcfd = TEMP_FAILURE_RETRY(open(configPathSystem.c_str(), O_RDONLY)); in ensure_config_file_exists()
78 srcfd = TEMP_FAILURE_RETRY(open(configPathVendor.c_str(), O_RDONLY)); in ensure_config_file_exists()
90 destfd = TEMP_FAILURE_RETRY(open(config_file, in ensure_config_file_exists()
241 destfd = TEMP_FAILURE_RETRY(open(kWiFiEntropyFile, O_CREAT | O_RDWR, 0660)); in EnsureEntropyFileExists()
/frameworks/compile/libbcc/lib/
DFileBase.cpp69 open(); in FileBase()
78 bool FileBase::open() { in open() function in FileBase
82 mFD = ::open(mName.c_str(), mOpenFlags, 0644); in open()
DFileBase.h83 bool open();
95 return open(); in reopen()
/frameworks/ml/nn/tools/test_generator/tests/
Dtest.py102 f = open(filename, 'r')
113 with open(filename, 'r') as f:
221 stdout_file = open('stdout.txt', 'w+')
222 stderr_file = open('stderr.txt', 'w+')
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
DCameraTest.java94 mCamera = Camera.open(CAMERA_ID); in initializeMessageLooper()
95 startDone.open(); in initializeMessageLooper()
133 mPreviewDone.open(); in onPreviewFrame()
170 mSnapshotDone.open(); in onPictureTaken()
/frameworks/av/media/libaaudio/src/utility/
DFixedBlockReader.cpp30 int32_t FixedBlockReader::open(int32_t bytesPerFixedBlock) { in open() function in FixedBlockReader
31 int32_t result = FixedBlockAdapter::open(bytesPerFixedBlock); in open()
/frameworks/base/services/core/java/com/android/server/storage/
DAppFuseBridge.java67 mNativeLoop, mountScope.mountId, mountScope.open().detachFd()); in addBridge()
107 return ParcelFileDescriptor.open(
161 public abstract ParcelFileDescriptor open() throws NativeDaemonConnectorException;

12345678910>>...19