Searched refs:enableComponent (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceAdminService/src/com/android/cts/deviceadminservice/ |
D | ComponentController.java | 27 private void enableComponent(ComponentName cn, boolean enabled) { in enableComponent() method in ComponentController 37 enableComponent(new ComponentName(getContext(), MyService.class), true); in testEnableService1() 41 enableComponent(new ComponentName(getContext(), MyService.class), false); in testDisableService1() 45 enableComponent(new ComponentName(getContext(), MyService2.class), true); in testEnableService2() 49 enableComponent(new ComponentName(getContext(), MyService2.class), false); in testDisableService2()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/ |
D | HceUtils.java | 31 public static void enableComponent(PackageManager pm, ComponentName component) { in enableComponent() method in HceUtils
|
D | BaseEmulatorActivity.java | 161 HceUtils.enableComponent(getPackageManager(), component); in doInBackground()
|