Home
last modified time | relevance | path

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

12345

/cts/tests/tests/os/src/android/os/cts/
DConditionVariableTest.java44 mConditionVariable.open(); in testConditionVariable()
65 mConditionVariable.open(); in testConditionVariable()
84 mConditionVariable.open(); in testConditionVariable()
DParcelFileDescriptorTest.java281 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileNormal()
295 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileError()
309 final ParcelFileDescriptor file = ParcelFileDescriptor.open( in testFileDetach()
364 final ParcelFileDescriptor pfd = ParcelFileDescriptor.open(file, in testFileNamesWithNonBmpChars()
387 pf = ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_WRITE); in makeParcelFileDescriptor()
/cts/apps/CameraITS/tools/
Drun_all_tests.py87 with open(camera_ids_path, "r") as f:
129 with open(outpath,"w") as fout, open(errpath,"w") as ferr:
151 with open (errpath, "r") as error_file:
176 with open(summary_path, "w") as f:
Dget_camera_ids.py32 with open(out_path, "w") as f:
/cts/tools/selinux/
DSELinuxNeverallowTestGen.py14 with open(policy_file, 'r') as in_file:
50 with open(output_file, 'w') as out_file:
/cts/tests/tests/media/libaudiojni/
DGate.h49 Gate(bool open = false) :
50 mOpen(open), in mOpen() argument
/cts/tests/tests/security/jni/
Dandroid_security_cts_CharDeviceTest.cpp37 int fd = open("/dev/exynos-mem", O_RDWR); in android_security_cts_CharDeviceTest_doExynosWriteTest()
75 int fd = open("/dev/exynos-mem", O_RDONLY); in android_security_cts_CharDeviceTest_doExynosReadTest()
/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.java51 InputStream inputStream = mAssets.open(fileName); in testAssetOperations()
55 inputStream = mAssets.open(fileName, AssetManager.ACCESS_BUFFER); in testAssetOperations()
87 mAssets.open("notExistFile.txt", AssetManager.ACCESS_BUFFER); in testAssetOperations()
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dcts_report.js27 req.open("POST", "cts_report.html?final=" + (isFinal ? "1" : "0") +
/cts/libs/json/src/com/android/json/stream/
DJsonWriter.java178 return open(JsonScope.EMPTY_ARRAY, "["); in beginArray()
197 return open(JsonScope.EMPTY_OBJECT, "{"); in beginObject()
213 private JsonWriter open(JsonScope empty, String openBracket) throws IOException { in open() method in JsonWriter
/cts/tests/tests/hardware/src/android/hardware/cts/
DCamera_SizeTest.java52 Camera camera = Camera.open(0); in testConstructor()
76 Camera camera = Camera.open(id); in testMaxAspectRatios()
/cts/tests/tests/graphics2/src/android/graphics2/cts/
DTextureViewCameraActivity.java63 mCamera = Camera.open(); in onSurfaceTextureAvailable()
65 mCamera = Camera.open(0); in onSurfaceTextureAvailable()
/cts/suite/audio_quality/test_description/conf/
Ddetect_usb_audio.py41 f = open(card_full_path + "/id")
/cts/tests/tests/media/src/android/media/cts/
DAudioNativeTest.java92 track.open(TEST_CHANNELS, TEST_SR, TEST_FLOAT, 1 /* numBuffers */)); in testPlayStreamData()
204 assertTrue(TEST_NAME, record.open(numChannels, sampleRate, useFloat, in doRecordTest()
/cts/apps/CameraITS/tests/scene1/
Dtest_yuv_plus_dng.py39 with open("%s.dng"%(NAME), "wb") as f:
/cts/tools/utils/
Drm_dup_holo_imgs.py55 files[f] = getHash(open(dirName + "/" + f, 'rb'))
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DPrivateContentProviderGranting.java68 return ParcelFileDescriptor.open( in openFile()
DPermissionContentProviderPathRestricting.java68 return ParcelFileDescriptor.open( in openFile()
DPermissionContentProviderPath.java52 return ParcelFileDescriptor.open( in openFile()
DPrivateContentProvider.java68 return ParcelFileDescriptor.open( in openFile()
DPermissionContentProviderGranting.java68 return ParcelFileDescriptor.open( in openFile()
DAmbiguousContentProvider.java68 return ParcelFileDescriptor.open( in openFile()
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareAppCompat/src/com/android/cts/permissiondeclareappcompat/
DAmbiguousContentProvider.java68 return ParcelFileDescriptor.open( in openFile()
/cts/tests/tests/permission/src/android/permission/cts/
DCameraPermissionTest.java79 (Camera.open()).takePicture(new ShutterCallback(), in testCamera()

12345