Searched refs:CameraIntents (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/camera/ |
D | CameraIntentsTest.kt | 32 val VALID_SECURE_INTENT = Intent(CameraIntents.DEFAULT_SECURE_CAMERA_INTENT_ACTION) 33 val VALID_INSECURE_INTENT = Intent(CameraIntents.DEFAULT_INSECURE_CAMERA_INTENT_ACTION) 38 assertTrue(CameraIntents.isSecureCameraIntent(VALID_SECURE_INTENT)) in testIsSecureCameraIntent() 40 assertTrue(CameraIntents.isSecureCameraIntent( in testIsSecureCameraIntent() 42 assertFalse(CameraIntents.isSecureCameraIntent(null)) in testIsSecureCameraIntent() 43 assertFalse(CameraIntents.isSecureCameraIntent(Intent())) in testIsSecureCameraIntent() 44 assertFalse(CameraIntents.isSecureCameraIntent(Intent(Intent.ACTION_MAIN))) in testIsSecureCameraIntent() 48 assertTrue(CameraIntents.isInsecureCameraIntent(VALID_INSECURE_INTENT)) in testIsInsecureCameraIntent() 50 assertTrue(CameraIntents.isInsecureCameraIntent( in testIsInsecureCameraIntent() 52 assertFalse(CameraIntents.isInsecureCameraIntent(null)) in testIsInsecureCameraIntent() [all …]
|
D | CameraGestureHelperTest.kt | 85 Intent(CameraIntents.DEFAULT_SECURE_CAMERA_INTENT_ACTION) in setUp() 88 Intent(CameraIntents.DEFAULT_INSECURE_CAMERA_INTENT_ACTION) in setUp() 311 assertThat(CameraIntents.isSecureCameraIntent(intent)).isEqualTo(isSecure) in assertActivityStarting() 312 assertThat(intent.getIntExtra(CameraIntents.EXTRA_LAUNCH_SOURCE, -1)) in assertActivityStarting()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/camera/ |
D | CameraIntentsWrapper.kt | 35 return CameraIntents.getSecureCameraIntent(context, userId) in getSecureCameraIntent() 43 return CameraIntents.getInsecureCameraIntent(context, userId) in getInsecureCameraIntent() 48 return CameraIntents.getVideoCameraIntent(userId) in getVideoCameraIntent()
|
D | CameraGestureHelper.kt | 89 intent.putExtra(CameraIntents.EXTRA_LAUNCH_SOURCE, source) in launchCamera() 93 if (CameraIntents.isSecureCameraIntent(intent) && !wouldLaunchResolverActivity) { in launchCamera()
|
D | CameraIntents.kt | 27 class CameraIntents { class
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | VideoCameraQuickAffordanceConfig.kt | 27 import com.android.systemui.camera.CameraIntents 56 CameraIntents.EXTRA_LAUNCH_SOURCE, in <lambda>()
|
/frameworks/base/packages/SystemUI/docs/ |
D | camera.md | 20 …* `CameraIntents.getInsecureCameraIntent()`, defined to be `MediaStore.INTENT_ACTION_STILL_IMAGE… 22 …* one of `CameraIntents.getInsecureCameraIntent()` or `CameraIntents.getSecureCameraIntent()`, w…
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | CentralSurfacesCommandQueueCallbacks.java | 45 import com.android.systemui.camera.CameraIntents; 366 …final Intent cameraIntent = CameraIntents.getInsecureCameraIntent(mContext, mUserTracker.getUserId… in onCameraLaunchGestureDetected() 367 cameraIntent.putExtra(CameraIntents.EXTRA_LAUNCH_SOURCE, source); in onCameraLaunchGestureDetected()
|
D | LegacyActivityStarterInternalImpl.kt | 40 import com.android.systemui.camera.CameraIntents in <lambda>() 162 if (CameraIntents.isInsecureCameraIntent(intent)) { in <lambda>()
|
D | CentralSurfacesImpl.java | 122 import com.android.systemui.camera.CameraIntents; 1830 …pw.println(" Insecure camera: " + CameraIntents.getInsecureCameraIntent(mContext, mUserTracker.g… in dump() 1831 …pw.println(" Secure camera: " + CameraIntents.getSecureCameraIntent(mContext, mUserTracker.getUs… in dump() 1833 + CameraIntents.getOverrideCameraPackage(mContext, mUserTracker.getUserId())); in dump()
|