/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/ |
D | TranscodeTest.java | 26 import static android.mediaprovidertranscode.cts.TranscodeTestUtils.open; 138 ParcelFileDescriptor pfdOriginal = open(modernFile, false); in testTranscoded_FilePath() 141 ParcelFileDescriptor pfdTranscoded = open(modernFile, false); in testTranscoded_FilePath() 167 ParcelFileDescriptor pfdOriginal1 = open(modernFile, false); in testNoTranscodeOutsideCamera_FilePath() 173 ParcelFileDescriptor pfdOriginal2 = open(file, false); in testNoTranscodeOutsideCamera_FilePath() 195 ParcelFileDescriptor pfdTranscoded1 = open(modernFile, false); in testSameTranscoded_FilePath() 196 ParcelFileDescriptor pfdTranscoded2 = open(modernFile, false); in testSameTranscoded_FilePath() 214 ParcelFileDescriptor pfdOriginal = open(uri, false, null /* bundle */); in testTranscoded_ContentResolver() 218 ParcelFileDescriptor pfdTranscoded = open(uri, false, null /* bundle */); in testTranscoded_ContentResolver() 245 ParcelFileDescriptor pfdOriginal1 = open(uri, false, null /* bundle */); in testNoTranscodeOutsideCamera_ConentResolver() [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | CloseGuardTest.java | 48 owner.open(); in testEnabled_OpenNotClosed() 55 owner.open(); in testEnabled_OpenThenClosed() 63 closeGuard.open(null); in testOpen_withNullMethodName_throwsNPE() 88 public void open() { in open() method in CloseGuardTest.ResourceOwner 89 mCloseGuard.open("close"); in open()
|
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | ApplicationMediaCapabilitiesTest.java | 108 InputStream xmlIs = mContext.getAssets().open("MediaCapabilities.xml"); in testReadFromCorrectXmlWithInputStreamInAssets() 131 InputStream xmlIs = mContext.getAssets().open("SupportAllHdr.xml"); in testReadMediaCapabilitiesXmlWithSupportAllHdr() 159 InputStream xmlIs = mContext.getAssets().open("WrongMediaCapabilityTag.xml"); in testReadFromWrongMediaCapabilityXml() 175 InputStream xmlIs = mContext.getAssets().open("WrongMediaCapabilityTag2.xml"); in testReadFromWrongMediaCapabilityXml2() 190 InputStream xmlIs = mContext.getAssets().open("WrongBooleanValue.xml"); in testReadFromXmlWithWrongBoolean() 205 InputStream xmlIs = mContext.getAssets().open("SupportHdrWithoutHevc.xml"); in testReadXmlSupportHdrWithoutSupportHevc() 221 InputStream xmlIs = mContext.getAssets().open("ConflictSupportedValue.xml"); in testReadXmlConflictSupportedValue() 236 InputStream xmlIs = mContext.getAssets().open("EmptyFormat.xml"); in testReadXmlWithEmptyFormat() 251 InputStream xmlIs = mContext.getAssets().open("FormatWithoutSupported.xml"); in testReadXmlFormatWithoutSupported() 266 InputStream xmlIs = mContext.getAssets().open("SupportedWithoutFormat.xml"); in testReadXmlSupportedWithoutFormat() [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ConditionVariableTest.java | 46 mConditionVariable.open(); in testConditionVariable() 67 mConditionVariable.open(); in testConditionVariable() 86 mConditionVariable.open(); in testConditionVariable()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/binderstats/ |
D | LooperStatsTests.java | 95 .isIn(Range.open(0L, 1000000L)); in testLooperStats() 96 assertThat(stats.getRecordedTotalCpuMicros()).isIn(Range.open(0L, 1000000L)); in testLooperStats() 97 assertThat(stats.getRecordedMaxLatencyMicros()).isIn(Range.open(0L, 1000000L)); in testLooperStats() 98 assertThat(stats.getRecordedMaxCpuMicros()).isIn(Range.open(0L, 1000000L)); in testLooperStats()
|
/cts/hostsidetests/packagemanager/parsing/processing/ |
D | ApkGenerator.py | 41 packageNamesOutput = open(f"{outDir}/{GENERATED_APK_PACKAGE_NAMES_FILE}", "w") 46 text = open(inputFile, "r").read() 82 outputFile = open(outputPath, "w")
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-8427/ |
D | poc.c | 39 fd_dbg = open("/dev/nvhost-dbg-gpu",0x0ul,0x101000ul); in thr() 50 fd_gpu = open("/dev/nvhost-gpu",0x0ul,0x2000ul); in thr()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | AImageDecoderTest.java | 164 private static ParcelFileDescriptor open(int resId, int offset) throws FileNotFoundException { in open() method in AImageDecoderTest 168 ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, in open() 174 private static ParcelFileDescriptor open(int resId) throws FileNotFoundException { in open() method in AImageDecoderTest 175 return open(resId, 0); in open() 181 try (ParcelFileDescriptor pfd = open(record.resId)) { in testCreateFdResources() 196 try (ParcelFileDescriptor pfd = open(record.resId, offset)) { in testCreateFdOffset() 236 try (ParcelFileDescriptor pfd = open(record.resId)) { in testSetFormatResources() 258 try (ParcelFileDescriptor pfd = open(record.resId)) { in testSetUnpremulResources() 279 try (ParcelFileDescriptor pfd = open(record.resId)) { in testGetMinimumStrideResources() 334 try (ParcelFileDescriptor pfd = open(record.resId)) { in testDecodeResources() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioNativeTest.java | 111 track.open(TEST_CHANNELS, TEST_SR, TEST_FLOAT, 1 /* numBuffers */)); in testPlayStreamData() 234 boolean ok = track.open(channelCount, in testOutputChannelMasks() 277 boolean ok = recorder.open(channelCount, in testInputChannelMasksPreQ() 288 boolean res = recorder.open(1, 1 | CHANNEL_INDEX_MASK_MAGIC, 16000, false, 2); in testInputChannelMasksPostQ() 325 boolean ok = recorder.open(channelCount, in testInputChannelMasksPostQ() 345 assertTrue(TEST_NAME, record.open(numChannels, sampleRate, useFloat, in doRecordTest()
|
D | AudioRecordNative.java | 44 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open() method in AudioRecordNative 45 return open(numChannels, 0, sampleRate, useFloat,numBuffers); in open() 48 public boolean open(int numChannels, int channelMask, int sampleRate, in open() method in AudioRecordNative
|
D | AudioTrackNative.java | 46 public boolean open(int numChannels, int sampleRate, boolean useFloat, int numBuffers) { in open() method in AudioTrackNative 47 return open(numChannels, 0, sampleRate, useFloat, numBuffers); in open() 50 public boolean open(int numChannels, int channelMask, int sampleRate, in open() method in AudioTrackNative
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | Rgba16fTests.java | 48 try (InputStream in = assets.open("linear-rgba16f.png")) { in testTransferFunctions() 69 try (InputStream in = assets.open("linear-rgba16f.png")) { in testAlpha() 93 try (InputStream in = assets.open("linear-rgba16f.png")) { in testMasked() 127 try (InputStream in = assets.open("linear-rgba16f.png")) { in testTransferFunctionsShader()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | Camera2SurfaceViewCtsActivity.java | 146 surfaceStateDone.open(); in surfaceCreated() 156 surfaceChangedDone.open(); in surfaceChanged() 165 surfaceStateDone.open(); in surfaceDestroyed()
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | DataDirPermissionTest.java | 52 Os.open(FONT_DATA_DIR + "/test.txt", O_CREAT | O_RDWR, S_IRWXU); in testDataFontDirNotOpenableForWrite() 65 Os.open(FONT_DATA_FILES_DIR + "/test.txt", O_CREAT | O_RDWR, S_IRWXU); in testDataFontFilesDirNotOpenableForWrite()
|
D | FontTest.java | 87 try (InputStream is = am.open(path)) { in mmap() 277 try (InputStream is = am.open(path)) { in testBuilder_file() 304 try (InputStream is = am.open(path)) { in testBuilder_file_ttc() 332 try (InputStream is = am.open(path)) { in testBuilder_file_vf() 359 try (InputStream is = am.open(path)) { in testBuilder_file_override() 379 try (InputStream is = am.open(path)) { in testBuilder_file_override() 417 try (InputStream is = am.open(path)) { in testBuilder_fd() 420 try (ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testBuilder_fd() 447 try (InputStream is = am.open(path)) { in testBuilder_fd_ttc() 450 try (ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testBuilder_fd_ttc() [all …]
|
/cts/tests/tests/media/libaudiojni/ |
D | Gate.h | 49 Gate(bool open = false) : 50 mOpen(open), in mOpen() argument
|
/cts/tools/utils/ |
D | certificates.py | 35 with open(path, "w") as f: 40 with open(path, "w") as f: 45 with open(path) as f:
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/ |
D | CameraContentJobService.java | 98 mCondition.open(); in notifyExecution() 104 mCondition.open(); in cancelWait()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13273/ |
D | poc.c | 82 fd = open("/dev/xt_qtaguid", O_RDONLY); in main() 87 ctrl_fd = open("/proc/net/xt_qtaguid/ctrl", O_RDWR); in main()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SipManagerTest.java | 64 mSipManager.open(sipProfile1); in testGetProfiles() 65 mSipManager.open(sipProfile2); in testGetProfiles()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetFileDescriptor_AutoCloseOutputStreamTest.java | 57 ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testAutoCloseOutputStream() 69 fd = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_WRITE); in testAutoCloseOutputStream()
|
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/ |
D | SeccompDeviceTest.java | 82 try (InputStream is = manager.open("syscalls_allowed.json")) { in initializeSyscallMap() 85 try (InputStream is = manager.open("syscalls_blocked.json")) { in initializeSyscallMap() 124 mResultCondition.open(); in handleMessage() 138 mConnectedCondition.open(); in onServiceConnected()
|
/cts/apps/CameraITS/tools/ |
D | run_sensor_fusion.py | 62 with open(file_path) as f: 161 with open(run_all_tests.MOBLY_TEST_SUMMARY_TXT_FILE, 'w') as fp: 165 with open(run_all_tests.MOBLY_TEST_SUMMARY_TXT_FILE, 'r') as _:
|
/cts/tools/incremental-cts/ |
D | incremental_deqp.py | 260 with open(test_file, 'r') as f: 266 with open(log_file, 'r') as f: 308 with open(dump, 'r') as f: 496 with open(file_name, 'w') as f: 521 with open(extra_deqp_deps_file, 'r') as f: 565 with open(os.path.join(out_dir, 'incremental_deqp.xml'), 'w') as f: 578 with open(os.path.join(work_dir, 'extra_deqp_dependency.txt'), 'r') as f:
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/ |
D | poc.c | 47 dev_fd = open(DEV, O_RDONLY); in main()
|