Home
last modified time | relevance | path

Searched refs:mComponent (Results 1 – 9 of 9) sorted by relevance

/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppActivityReference.java39 final ComponentReference mComponent; field in TestAppActivityReference
45 mComponent = component; in TestAppActivityReference()
55 return mComponent; in component()
68 intent.setComponent(mComponent.componentName()); in start()
81 TestAppActivity.class, new TestAppActivityImpl(mInstance, mComponent)); in start()
90 intent.setComponent(mComponent.componentName()); in start()
101 TestAppActivity.class, new TestAppActivityImpl(mInstance, mComponent)); in start()
108 return ActivityEvents.forActivity(new TestAppActivityImpl(mInstance, mComponent)); in events()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java69 private ComponentName mComponent; field in DevicePolicyManagerTest
106 mComponent = getReceiverComponent(); in setUp()
124 assertTrue(activeAdmins.contains(mComponent)); in testGetActiveAdmins()
125 assertTrue(mDevicePolicyManager.isAdminActive(mComponent)); in testGetActiveAdmins()
134 mDevicePolicyManager.removeUser(mComponent, Process.myUserHandle()); in testRemoveUser_failIfNotDeviceOwner()
147 mDevicePolicyManager.setLocationEnabled(mComponent, true); in testSetLocationEnabled_failIfNotDeviceOwner()
175 mDevicePolicyManager.setMasterVolumeMuted(mComponent, true); in testSetMasterVolumeMuted_failIfNotDeviceOrProfileOwner()
188 mDevicePolicyManager.isMasterVolumeMuted(mComponent); in testIsMasterVolumeMuted_failIfNotDeviceOrProfileOwner()
201 mDevicePolicyManager.setRecommendedGlobalProxy(mComponent, null); in testSetRecommendedGlobalProxy_failIfNotDeviceOwner()
230 mDevicePolicyManager.switchUser(mComponent, null); in testSwitchUser_failIfNotDeviceOwner()
[all …]
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/
DWindowExtensionTestRule.java34 private Object mComponent; field in WindowExtensionTestRule
37 return mComponent; in getExtensionComponent()
46 mComponent = getComponent(mComponentToFetch); in apply()
47 assumeNotNull(mComponent); in apply()
/cts/hostsidetests/systemui/src/android/host/systemui/
DBaseTileServiceTest.java59 private final String mComponent; field in BaseTileServiceTest
67 mComponent = PACKAGE + "/." + mService; in BaseTileServiceTest()
105 execute(ADD_TILE + mComponent); in addTile()
109 execute(REM_TILE + mComponent); in remTile()
113 execute(CLICK_TILE + mComponent); in clickTile()
DCompatChangesTileServiceTest.java48 private final String mComponent = PACKAGE + "/." + mService; field in CompatChangesTileServiceTest
123 execute(ADD_TILE + mComponent); in addTile()
127 execute(REM_TILE + mComponent); in remTile()
DActiveTileServiceCompatChangeTest.java44 private final String mComponent = PACKAGE + "/." + mService; field in ActiveTileServiceCompatChangeTest
145 execute(ADD_TILE + mComponent); in addTile()
149 execute(REM_TILE + mComponent); in remTile()
/cts/tests/tests/app/src/android/app/cts/
DComponentCallerTest.java503 newIntentCallerActivity.mComponent); in testActivityNewIntentCaller_checkContentUriPermission_throwsIfCallerOfApiDoesNotHaveTheSameAccessToContentUri()
511 modeFlagsToCheck, newIntentCallerActivity.mComponent); in testActivityNewIntentCaller_checkContentUriPermission_throwsIfCallerOfApiDoesNotHaveTheSameAccessToContentUri()
533 newIntentCallerActivity.mComponent); in testActivityNewIntentCaller_checkContentUriPermission_throwsIfContentUriWasNotPassedAtLaunch()
541 modeFlagsToCheck, newIntentCallerActivity.mComponent); in testActivityNewIntentCaller_checkContentUriPermission_throwsIfContentUriWasNotPassedAtLaunch()
563 modeFlagsToCheck, newIntentCallerActivity.mComponent); in testActivityNewIntentCaller_checkContentUriPermission_returnsCorrectResultEvenIfCallerOfActivityGrantsAndDies()
571 modeFlagsToCheck, newIntentCallerActivity.mComponent); in testActivityNewIntentCaller_checkContentUriPermission_returnsCorrectResultEvenIfCallerOfActivityGrantsAndDies()
593 CONTENT_URI_READ_PERMISSION, modeFlagsToCheck, newIntentCallerActivity.mComponent); in testActivityNewIntentCaller_checkContentUriPermission_getDataContentUriViaPermission_noPermission()
601 CONTENT_URI_NO_PERMISSION, modeFlagsToCheck, newIntentCallerActivity.mComponent); in testActivityNewIntentCaller_checkContentUriPermission_getDataContentUriViaPermission_noPermission()
622 CONTENT_URI_NO_PERMISSION, ModeFlags.READ, newIntentCallerActivity.mComponent); in testActivityNewIntentCaller_checkContentUriPermission_getDataContentUriViaPermission_hasRead()
630 ModeFlags.READ, newIntentCallerActivity.mComponent); in testActivityNewIntentCaller_checkContentUriPermission_getDataContentUriViaPermission_hasRead()
[all …]
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0213/
Dpoc.cpp125 &mComponent, &mClient) != C2_OK) { in SetUp()
148 if (mComponent != nullptr) { in ~Codec2VideoDecHidlTestBase()
149 mComponent->release(); in ~Codec2VideoDecHidlTestBase()
150 mComponent = nullptr; in ~Codec2VideoDecHidlTestBase()
202 c2_status_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in configPixelFormat()
222 workDone(mComponent, work, mFlushedIndices, mQueueLock, mQueueCondition, mWorkQueue, in handleWorkDone()
247 std::shared_ptr<android::Codec2Client::Component> mComponent; member in Codec2VideoDecHidlTestBase
466 RETURN_FAILURE(handle.mComponent->start() != C2_OK); in main()
472 RETURN_FAILURE(!decodeNFrames(handle.mComponent, handle.mQueueLock, handle.mQueueCondition, in main()
482 RETURN_FAILURE(handle.mComponent->stop() != C2_OK); in main()
/cts/tests/tests/content/src/android/content/cts/
DActivityRequireContentUriPermissionFromCallerTest.java274 Intent intent = getTestIntent(testedAttributeActivity.mComponent); in testAllAttributes_startActivity_passingAnyUriInUnknownExtra_doesNotThrow()
296 Intent intent = getTestIntent(testedAttributeActivity.mComponent); in testAllAttributes_startActivity_passingNonUriExtraStreamDoesNotAffectRetrievalOfExtras()
390 Intent intent = getTestIntent(attributeActivity.mComponent, modeFlags, uriLocation); in internalTest_startActivity()
525 testIntent.setComponent(testedAttributeActivity.mComponent); in onStart()
582 final ComponentName mComponent; field in ActivityRequireContentUriPermissionFromCallerTest.TestedAttributeActivity
589 this.mComponent = component; in TestedAttributeActivity()