Home
last modified time | relevance | path

Searched refs:startSystemActivityForResult (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAvatarPhotoControllerTest.java78 when(mMockAvatarUi.startSystemActivityForResult(any(), anyInt())).thenReturn(true); in setUp()
140 verify(mMockAvatarUi, never()).startSystemActivityForResult(any(), anyInt()); in takePhotoIsNotFollowedByCropWhenResultCodeNotOk()
181 verify(mMockAvatarUi, never()).startSystemActivityForResult(any(), anyInt()); in choosePhotoIsNotFollowedByCropWhenResultCodeNotOk()
238 when(mMockAvatarUi.startSystemActivityForResult(any(), anyInt())).thenReturn(false); in internalCropUsedIfNoSystemCropperFound()
269 .startSystemActivityForResult(captor.capture(), eq(resultCode)); in verifyStartSystemActivityForResult()
/frameworks/base/packages/SettingsLib/AvatarPicker/src/
DAvatarPhotoController.java64 boolean startSystemActivityForResult(Intent intent, int resultCode); in startSystemActivityForResult() method
215 if (mAvatarUi.startSystemActivityForResult(intent, REQUEST_CODE_CROP_PHOTO)) { in cropPhoto()
348 public boolean startSystemActivityForResult(Intent intent, int code) { in startSystemActivityForResult() method in AvatarPhotoController.AvatarUiImpl