Home
last modified time | relevance | path

Searched refs:getKioskPackage (Results 1 – 16 of 16) sorted by relevance

/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/storage/
DSetupParametersServiceTest.java54 assertThat(mISetupParametersService.getKioskPackage()).isEqualTo(KIOSK_PACKAGE); in createPrefs_shouldPopulatePrefs()
75 assertThat(mISetupParametersService.getKioskPackage()).isEqualTo(KIOSK_PACKAGE); in createPrefs_whenCalledTwice_doesNotOverwrite()
79 assertThat(mISetupParametersService.getKioskPackage()).isEqualTo(KIOSK_PACKAGE); in createPrefs_whenCalledTwice_doesNotOverwrite()
DSetupParametersTest.java48 assertThat(SetupParameters.getKioskPackage(mContext)).isEqualTo(KIOSK_PACKAGE); in createPrefs_shouldPopulatePreferences()
73 assertThat(SetupParameters.getKioskPackage(mContext)).isEqualTo(KIOSK_PACKAGE); in createPrefs_whenCalledTwice_doesNotOverwrite()
77 assertThat(SetupParameters.getKioskPackage(mContext)).isEqualTo(KIOSK_PACKAGE); in createPrefs_whenCalledTwice_doesNotOverwrite()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/storage/
DSetupParametersService.java60 public String getKioskPackage() {
61 return SetupParameters.getKioskPackage(mContext);
DSetupParametersClient.java153 public ListenableFuture<String> getKioskPackage() {
154 return call(() -> asInterface(getService()).getKioskPackage());
DSetupParametersClientInterface.java30 ListenableFuture<String> getKioskPackage(); in getKioskPackage() method
DISetupParametersService.aidl28 String getKioskPackage(); in getKioskPackage() method
DSetupParameters.java109 KEY_KIOSK_PACKAGE, getKioskPackage(context), in dumpParameters()
172 static String getKioskPackage(Context context) { in getKioskPackage() method in SetupParameters
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/policy/
DRolePolicyHandler.java72 return Futures.transformAsync(mSetupParametersClient.getKioskPackage(),
104 return Futures.transformAsync(mSetupParametersClient.getKioskPackage(),
DUserRestrictionsPolicyHandler.java108 final ListenableFuture<String> kioskPackageTask = parameters.getKioskPackage(); in retrieveLockModeRestrictions()
133 final ListenableFuture<String> kioskPackageTask = parameters.getKioskPackage();
DPackagePolicyHandler.java57 return Futures.transform(SetupParametersClient.getInstance().getKioskPackage(), in enablePackageProtection()
DKioskKeepAlivePolicyHandler.java73 return Futures.transformAsync(mSetupParametersClient.getKioskPackage(),
DAppOpsPolicyHandler.java97 return Futures.transformAsync(SetupParametersClient.getInstance().getKioskPackage(),
DDevicePolicyControllerImpl.java347 SetupParametersClient.getInstance().getKioskPackage(),
401 return Futures.transform(SetupParametersClient.getInstance().getKioskPackage(),
DLockTaskModePolicyHandler.java229 Futures.getUnchecked(setupParametersClient.getKioskPackage()));
DProvisionHelperImpl.java224 SetupParametersClient.getInstance().getKioskPackage(), in scheduleKioskAppInstallation()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/
DDeviceLockControllerService.java154 Futures.addCallback(SetupParametersClient.getInstance().getKioskPackage(),