/frameworks/rs/tests/java_api/RSUnitTests/ |
D | RSUnitTests.py | 322 with open(in_path, 'r') as in_file, open(out_path, 'w') as out_file: 338 with open(out_path, 'w') as out_file: 343 with open(in_path, 'r') as in_file: 353 with open(os.path.join(SupportLibGenTestDir(), shared_rsh), 'a') as shared: 421 with open(SupportLib19MakefileLocation(), 'w') as gen_file: 578 with open(ForwardMakefileLocation(build_tool_version_name), 'w') as gen_file: 582 with open(ForwardAndroidManifestLocation(build_tool_version_name), 'w') as gen_file: 587 with open(ForwardJavaApiVersionLocation(build_tool_version_name), 'w') as gen_file: 591 with open(ForwardMakeTargetsLocation(), 'w') as gen_file: 683 with open(BackwardJavaFileLocation(), 'w') as gen_file: [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | RedactingFileDescriptorTest.java | 66 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testSingleByte() 82 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testRanges() 104 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_ONLY, in testEntireFile() 117 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testReadWrite() 174 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAtStart() 186 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAtOffset() 198 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAcrossRedactionStart() 210 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeAcrossRedactionEnd() 222 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeOutsideRedaction() 234 final FileDescriptor fd = RedactingFileDescriptor.open(mContext, mFile, MODE_READ_WRITE, in testFreeMultipleRedactions()
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ |
D | CommonTransitions.java | 92 .runBeforeAll(testApp::open) in openAppWarm() 95 .run(testApp::open) in openAppWarm() 106 .runBefore(testApp::open) in closeAppWithBackKey() 120 .runBefore(testApp::open) in closeAppWithHomeKey() 137 .run(testApp::open) in getOpenAppCold() 149 .runBeforeAll(testApp::open) in changeAppRotation() 182 .runBefore(testApp::open) in appToSplitScreen() 195 .runBefore(testApp::open) in splitScreenToLauncher() 210 .runBefore(testApp::open) in editTextSetFocus() 226 .runBefore(testAppBottom::open) in resizeSplitScreen() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | BackupData_test.cpp | 60 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/opt/gamesdk/third_party/protobuf-3.0.0/jenkins/ |
D | make_test_output.py | 32 with open(basedir + "/joblog") as jobs: 52 with open(basedir + "/logs/1/" + testname + "/stdout") as f: 55 with open(basedir + "/logs/1/" + testname + "/stderr") as f: 62 with open(basedir + '/logs/1/cpp/build_time', 'r') as f:
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | KernelCpuProcStringReaderTest.java | 91 assertEquals(null, mReader.open()); in testReadInvalidFile() 100 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testReadErrorsLimit() 109 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testReadErrorsLimit() 115 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open(true)) { in testReadErrorsLimit() 123 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open(true)) { in testReadErrorsLimit() 144 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testReadLine() 179 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open(true)) { in testMultipleRead() 196 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testReadLineToArray() 233 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testReadOverLimit() 265 try (KernelCpuProcStringReader.ProcFileIterator iter = mReader.open()) { in testConcurrent() [all …]
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | DelayedDiskWrite.java | 44 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/media/mca/filterfw/java/android/filterfw/core/ |
D | InputPort.java | 42 public void open() { in open() method in InputPort 43 super.open(); in open() 45 mSourcePort.open(); in open()
|
D | OutputPort.java | 44 public void open() { in open() method in OutputPort 45 super.open(); in open() 47 mTargetPort.open(); in open()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | TestAssetRepository.java | 39 private static InputStream open(String path) throws FileNotFoundException { in open() method in TestAssetRepository 55 return open(mAssetPath + path); in openAsset() 60 return open(path); in openNonAsset()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/ |
D | FullBackupUtilsTest.java | 98 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/opt/gamesdk/third_party/protobuf-3.0.0/conformance/ |
D | update_failure_list.py | 52 with open(add_file) as f: 57 with open(remove_file) as f: 67 with open(args.filename, "w") as f:
|
/frameworks/base/services/core/jni/ |
D | com_android_server_UsbDeviceManager.cpp | 62 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_getAccessoryStrings() 84 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_openAccessory() 100 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_isStartRequested() 112 int fd = open(DRIVER_NAME, O_RDWR); in android_server_UsbDeviceManager_getAudioMode() 130 fd = TEMP_FAILURE_RETRY(open(ptp ? FFS_PTP_EP0 : FFS_MTP_EP0, O_RDWR)); in android_server_UsbDeviceManager_openControl()
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | DiagCommonKinds.inc | 3 "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/core/java/android/speech/tts/ |
D | AudioPlaybackQueueItem.java | 71 mDone.open(); in run() 79 mDone.open(); in run() 89 mDone.open(); in run() 127 mDone.open(); in stop()
|
/frameworks/opt/gamesdk/samples/tuningfork/tfvalidate/ |
D | main.cpp | 24 #undef open in validateApk() 26 android::ZipFileRO::open(apk_path)); in validateApk() 27 #define open ___xxx_unix_open in validateApk() macro
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/ |
D | IfElseFilterTest.java | 59 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/ |
D | gen.py | 43 f = open('PingReceiver{:03d}.java'.format(i), 'w') 47 manifest = open('AppendToManifest.xml', 'w')
|
/frameworks/base/media/apex/java/android/media/ |
D | CloseGuard.java | 220 public void open(String closer) { in open() method in CloseGuard 235 tracker.open(stack); in open() 286 void open(Throwable allocationSite); in open() method
|
/frameworks/compile/mclinker/unittests/ |
D | FileHandleTest.cpp | 43 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/compile/libbcc/lib/ |
D | FileBase.cpp | 69 open(); in FileBase() 78 bool FileBase::open() { in open() function in FileBase 82 mFD = ::open(mName.c_str(), mOpenFlags, 0644); in open()
|
D | FileBase.h | 83 bool open(); 95 return open(); in reopen()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/ |
D | CameraTest.java | 93 mCamera = Camera.open(CAMERA_ID); in initializeMessageLooper() 94 startDone.open(); in initializeMessageLooper() 132 mPreviewDone.open(); in onPreviewFrame() 169 mSnapshotDone.open(); in onPictureTaken()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/examples/ |
D | add_person.py | 46 with open(sys.argv[1], "rb") as f: 55 with open(sys.argv[1], "wb") as f:
|
/frameworks/av/media/libaaudio/src/utility/ |
D | FixedBlockReader.cpp | 30 int32_t FixedBlockReader::open(int32_t bytesPerFixedBlock) { in open() function in FixedBlockReader 31 int32_t result = FixedBlockAdapter::open(bytesPerFixedBlock); in open()
|