Home
last modified time | relevance | path

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

123456789

/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapColorSpaceTest.java236 try (InputStream in = mResources.getAssets().open("green-p3.png")) { in p3()
258 try (InputStream in = mResources.getAssets().open("blue-16bit-srgb.png")) { in extendedSRGB()
281 try (InputStream in = mResources.getAssets().open(assetInLinearSRGB)) { in linearSRGB()
290 try (InputStream in = mResources.getAssets().open(assetInLinearSRGB)) { in linearSRGB()
322 try (InputStream in = mResources.getAssets().open(asset.name)) { in reconfigure()
354 try (InputStream in = mResources.getAssets().open("green-srgb.png")) { in reuse()
363 try (InputStream in = mResources.getAssets().open("green-p3.png")) { in reuse()
383 try (InputStream in = mResources.getAssets().open(fileName)) { in verifyGetPixel()
429 try (InputStream in = mResources.getAssets().open(fileName)) { in verifyGetPixels()
472 try (InputStream in = mResources.getAssets().open(fileName)) { in verifySetPixel()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DConditionVariableTest.java46 mConditionVariable.open(); in testConditionVariable()
67 mConditionVariable.open(); in testConditionVariable()
86 mConditionVariable.open(); in testConditionVariable()
/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontTest.java79 try (InputStream is = am.open(path)) { in mmap()
251 try (InputStream is = am.open(path)) { in testBuilder_file()
278 try (InputStream is = am.open(path)) { in testBuilder_file_ttc()
306 try (InputStream is = am.open(path)) { in testBuilder_file_vf()
333 try (InputStream is = am.open(path)) { in testBuilder_file_override()
353 try (InputStream is = am.open(path)) { in testBuilder_file_override()
391 try (InputStream is = am.open(path)) { in testBuilder_fd()
394 try (ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testBuilder_fd()
421 try (InputStream is = am.open(path)) { in testBuilder_fd_ttc()
424 try (ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testBuilder_fd_ttc()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DAudioNativeTest.java110 track.open(TEST_CHANNELS, TEST_SR, TEST_FLOAT, 1 /* numBuffers */)); in testPlayStreamData()
233 boolean ok = track.open(channelCount, in testOutputChannelMasks()
276 boolean ok = recorder.open(channelCount, in testInputChannelMasksPreQ()
287 boolean res = recorder.open(1, 1 | CHANNEL_INDEX_MASK_MAGIC, 16000, false, 2); in testInputChannelMasksPostQ()
324 boolean ok = recorder.open(channelCount, in testInputChannelMasksPostQ()
344 assertTrue(TEST_NAME, record.open(numChannels, sampleRate, useFloat, in doRecordTest()
DAudioRecordNative.java44 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
DAudioTrackNative.java46 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/
DRgba16fTests.java48 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/hostsidetests/securitybulletin/securityPatch/CVE-2016-8427/
Dpoc.c39 fd_dbg = open("/dev/nvhost-dbg-gpu",0x0ul,0x101000ul); in thr()
50 fd_gpu = open("/dev/nvhost-gpu",0x0ul,0x2000ul); in thr()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCamera2SurfaceViewCtsActivity.java146 surfaceStateDone.open(); in surfaceCreated()
156 surfaceChangedDone.open(); in surfaceChanged()
165 surfaceStateDone.open(); in surfaceDestroyed()
/cts/tools/utils/
Dcertificates.py35 with open(path, "w") as f:
40 with open(path, "w") as f:
45 with open(path) as f:
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/
DSeccompDeviceTest.java82 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()
137 mConnectedCondition.open(); in onServiceConnected()
/cts/tests/tests/media/libaudiojni/
DGate.h49 Gate(bool open = false) :
50 mOpen(open), in mOpen() argument
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13273/
Dpoc.c82 fd = open("/dev/xt_qtaguid", O_RDONLY); in main()
87 ctrl_fd = open("/proc/net/xt_qtaguid/ctrl", O_RDWR); in main()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraContentJobService.java98 mCondition.open(); in notifyExecution()
104 mCondition.open(); in cancelWait()
/cts/tests/tests/content/src/android/content/res/cts/
DAssetFileDescriptor_AutoCloseOutputStreamTest.java57 ParcelFileDescriptor fd = ParcelFileDescriptor.open(file, in testAutoCloseOutputStream()
69 fd = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_WRITE); in testAutoCloseOutputStream()
DAssetManagerTest.java73 InputStream inputStream = mAssets.open(fileName); in testAssetOperations()
77 inputStream = mAssets.open(fileName, AssetManager.ACCESS_BUFFER); in testAssetOperations()
115 mAssets.open("notExistFile.txt", AssetManager.ACCESS_BUFFER); in testAssetOperations()
/cts/apps/CameraITS/tools/
Drun_sensor_fusion_box.py131 with open(outpath, 'w') as fout, open(errpath, 'w') as ferr:
217 with open(file_path) as f:
Drun_all_tests.py162 with open(err_file_path, 'r') as ferr:
325 with open(dump_path, 'w') as fout:
335 with open(dump_path, 'r') as f:
516 with open(outpath, 'w') as fout, open(errpath, 'w') as ferr:
576 with open(summary_path, "w") as f:
/cts/tests/tests/security/src/android/security/cts/
DMediaServerCrashTest.java74 mOnPrepareCalled.open(); in setUp()
82 mOnCompletionCalled.open(); in setUp()
137 flFd = ParcelFileDescriptor.open(new File(mFlFilePath), in checkIfMediaServerDiedForDrm()
/cts/libs/json/src/com/android/json/stream/
DJsonWriter.java183 return open(JsonScope.EMPTY_ARRAY, "["); in beginArray()
202 return open(JsonScope.EMPTY_OBJECT, "{"); in beginObject()
218 private JsonWriter open(JsonScope empty, String openBracket) throws IOException { in open() method in JsonWriter
/cts/tools/selinux/
DSELinuxNeverallowTestGen.py26 with open(policy_file, 'r') as in_file:
115 with open(output_file, 'w') as out_file:
/cts/tests/camera/src/android/hardware/cts/
DCamera_SizeTest.java52 Camera camera = Camera.open(0); in testConstructor()
76 Camera camera = Camera.open(id); in testMaxAspectRatios()
/cts/hostsidetests/seccomp/app/
Dgen_blacklist.py180 with open(args.allowed, 'w') as f:
184 with open(args.blocked, 'w') as f:
/cts/hostsidetests/securitybulletin/securityPatch/Bug-38195738/
Dpoc.c28 int fd = open("/dev/kgsl-3d0", 0); in main()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0333/
Dpoc.c47 dev_fd = open(DEV, O_RDONLY); in main()

123456789