Home
last modified time | relevance | path

Searched refs:UNINSTALL_DEVICE_ADMIN_REQUEST_CODE (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DDeviceAdminAddFragmentTest.java33 …tic com.android.car.settings.enterprise.DeviceAdminAddFragment.UNINSTALL_DEVICE_ADMIN_REQUEST_CODE;
410 eq(UNINSTALL_DEVICE_ADMIN_REQUEST_CODE)); in testUninstallOnClickListener_activeAdmin()
432 eq(UNINSTALL_DEVICE_ADMIN_REQUEST_CODE)); in testUninstallOnClickListener_inactiveAdmin()
443 mSpiedFragment.onActivityResult(UNINSTALL_DEVICE_ADMIN_REQUEST_CODE, RESULT_OK, null); in testOnActivityResult_resultOk()
451 mSpiedFragment.onActivityResult(UNINSTALL_DEVICE_ADMIN_REQUEST_CODE, RESULT_CANCELED, in testOnActivityResult_resultNotOk()
/packages/apps/Car/Settings/src/com/android/car/settings/enterprise/
DDeviceAdminAddFragment.java60 static final int UNINSTALL_DEVICE_ADMIN_REQUEST_CODE = 12; field in DeviceAdminAddFragment
243 startActivityForResult(uninstallIntent, UNINSTALL_DEVICE_ADMIN_REQUEST_CODE); in startUninstall()
250 if (requestCode != UNINSTALL_DEVICE_ADMIN_REQUEST_CODE) { in onActivityResult()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceController.java112 static final int UNINSTALL_DEVICE_ADMIN_REQUEST_CODE = 11; field in ApplicationActionButtonsPreferenceController
201 UNINSTALL_DEVICE_ADMIN_REQUEST_CODE, /* callback= */ this);
555 || requestCode == UNINSTALL_DEVICE_ADMIN_REQUEST_CODE) { in processActivityResult()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DApplicationActionButtonsPreferenceControllerTest.java23 …ings.applications.ApplicationActionButtonsPreferenceController.UNINSTALL_DEVICE_ADMIN_REQUEST_CODE;
686 eq(UNINSTALL_DEVICE_ADMIN_REQUEST_CODE), in uninstallClicked_packageHasActiveAdmins_startsDeviceAdminAddActivity()
760 mPreferenceController.processActivityResult(UNINSTALL_DEVICE_ADMIN_REQUEST_CODE, in processActivityResult_uninstallDeviceAdmin_resultOk_goesBack()
773 mPreferenceController.processActivityResult(UNINSTALL_DEVICE_ADMIN_REQUEST_CODE, in processActivityResult_uninstallDeviceAdmin_resultFirstUser_showsDisabledDialog()