Home
last modified time | relevance | path

Searched refs:INCOMING_COMPONENT_NAME (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/devicepolicy/app/TransferOwnerOutgoingApp/src/com/android/cts/transferowner/
DTransferProfileOwnerOutgoingTest.java52 mDevicePolicyManager.transferOwnership(mOutgoingComponentName, INCOMING_COMPONENT_NAME, b); in testTransferWithPoliciesOutgoing()
58 mDevicePolicyManager.transferOwnership(mOutgoingComponentName, INCOMING_COMPONENT_NAME, b); in testTransferOwnership()
59 assertTrue(mDevicePolicyManager.isAdminActive(INCOMING_COMPONENT_NAME)); in testTransferOwnership()
60 … assertTrue(mDevicePolicyManager.isProfileOwnerApp(INCOMING_COMPONENT_NAME.getPackageName())); in testTransferOwnership()
DTransferDeviceOwnerOutgoingTest.java53 mDevicePolicyManager.transferOwnership(mOutgoingComponentName, INCOMING_COMPONENT_NAME, b); in testTransferWithPoliciesOutgoing()
59 mDevicePolicyManager.transferOwnership(mOutgoingComponentName, INCOMING_COMPONENT_NAME, b); in testTransferOwnership()
60 assertTrue(mDevicePolicyManager.isAdminActive(INCOMING_COMPONENT_NAME)); in testTransferOwnership()
61 assertTrue(mDevicePolicyManager.isDeviceOwnerApp(INCOMING_COMPONENT_NAME.getPackageName())); in testTransferOwnership()
DDeviceAndProfileOwnerTransferOutgoingTest.java63 static final ComponentName INCOMING_COMPONENT_NAME = field in DeviceAndProfileOwnerTransferOutgoingTest
121 INCOMING_COMPONENT_NAME, b); in testTransferOwnershipChangedBroadcast()
134 INCOMING_COMPONENT_NAME, null); in testTransferOwnershipNullBundle()
167 mDevicePolicyManager.transferOwnership(mOutgoingComponentName, INCOMING_COMPONENT_NAME, b); in testTransferOwnershipBundleSaved()
174 mDevicePolicyManager.transferOwnership(mOutgoingComponentName, INCOMING_COMPONENT_NAME, b); in testGetTransferOwnershipBundleOnlyCalledFromAdmin()