Searched refs:cam1 (Results 1 – 2 of 2) sorted by relevance
100 final CustomActivityMonitor cam1 = new CustomActivityMonitor(result); in testActivityMonitor_onStartActivity() local101 instrumentation.addMonitor(cam1); in testActivityMonitor_onStartActivity()103 final Activity activity1 = cam1.waitForActivityWithTimeout( in testActivityMonitor_onStartActivity()107 assertEquals("There should be 1 monitor hit", 1, cam1.getHits()); in testActivityMonitor_onStartActivity()109 instrumentation.removeMonitor(cam1); in testActivityMonitor_onStartActivity()
2793 CameraDevice cam1 = null; in testTwoCameraDevicesAudioRestriction() local2805 cam1 = CameraTestUtils.openCamera(mCameraManager, id1, cam1Cb, mHandler); in testTwoCameraDevicesAudioRestriction()2826 cam1.setCameraAudioRestriction(mode1); in testTwoCameraDevicesAudioRestriction()2827 retMode = cam1.getCameraAudioRestriction(); in testTwoCameraDevicesAudioRestriction()2842 cam1.setCameraAudioRestriction(mode1); in testTwoCameraDevicesAudioRestriction()2843 retMode = cam1.getCameraAudioRestriction(); in testTwoCameraDevicesAudioRestriction()2857 cam1.setCameraAudioRestriction(mode1); in testTwoCameraDevicesAudioRestriction()2858 retMode = cam1.getCameraAudioRestriction(); in testTwoCameraDevicesAudioRestriction()2864 cam1.setCameraAudioRestriction(mode1); in testTwoCameraDevicesAudioRestriction()2865 retMode = cam1.getCameraAudioRestriction(); in testTwoCameraDevicesAudioRestriction()[all …]