Home
last modified time | relevance | path

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

/cts/hostsidetests/media/app/MediaSessionTest/src/android/media/session/cts/
DMediaSessionManagerTest.java45 private ComponentName mComponentName; field in MediaSessionManagerTest
53 mComponentName = new ComponentName(context, MediaSessionManagerTest.class); in setUp()
61 List<MediaController> controllers = mMediaSessionManager.getActiveSessions(mComponentName); in testGetActiveSessions_noMediaSessionFromMediaSessionTestHelper()
75 List<MediaController> controllers = mMediaSessionManager.getActiveSessions(mComponentName); in testGetActiveSessions_hasMediaSessionFromMediaSessionTestHelper()
90 List<MediaController> controllers = mMediaSessionManager.getActiveSessions(mComponentName); in testGetActiveSessions_noMediaSession()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DPersistence.java231 private final ComponentName mComponentName; field in Persistence.LaunchIntent
237 mComponentName = componentName; in LaunchIntent()
243 return new Intent().setComponent(mComponentName).setFlags(buildFlag()); in getActualIntent()
285 .put(CLASS_KEY, this.mComponentName.getClassName()) in toJson()
286 .put(PACKAGE_KEY, this.mComponentName.getPackageName()) in toJson()
293 return new LaunchIntent(intentFlags, mComponentName, mStartForResult); in withFlags()
301 return mComponentName; in getComponentName()
649 private final String mComponentName; field in Persistence.ActivityState
657 mComponentName = name; in ActivityState()
662 mComponentName = activity.getName(); in ActivityState()
[all …]
/cts/tests/app/app/src/android/app/stubs/
DSearchManagerStubActivity.java39 private ComponentName mComponentName; field in SearchManagerStubActivity
53 mComponentName = getComponentName(); in onCreate()
78 startSearch("test", false, mComponentName, null, false); in testOnCancelListener()
109 startSearch("test", false, mComponentName, null, false); in testOnDismissListener()
138 startSearch("test", false, mComponentName, null, false); in testStopSearch()
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/util/src/com/android/cts/util/
DTestResult.java32 private final String mComponentName; field in TestResult
44 return mComponentName; in getComponentName()
91 mComponentName = componentName; in TestResult()
107 dest.writeString(mComponentName); in writeToParcel()
126 mComponentName = source.readString(); in TestResult()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DSensorTestScreenManipulator.java64 private final ComponentName mComponentName; field in SensorTestScreenManipulator
74 mComponentName = SensorDeviceAdminReceiver.getComponentName(activity); in SensorTestScreenManipulator()
99 intent.putExtra(DevicePolicyManager.EXTRA_DEVICE_ADMIN, mComponentName); in initialize()
213 if (!mDevicePolicyManager.isAdminActive(mComponentName)) { in isDeviceAdminInitialized()
217 .hasGrantedPolicy(mComponentName, DeviceAdminInfo.USES_POLICY_FORCE_LOCK); in isDeviceAdminInitialized()
/cts/tests/tests/content/src/android/content/cts/
DIntentTest.java60 private ComponentName mComponentName; field in IntentTest
77 mComponentName = new ComponentName(mContext, MockActivity.class); in setUp()
103 assertEquals(mComponentName, mIntent.getComponent()); in testConstructor()
109 assertEquals(mComponentName, mIntent.getComponent()); in testConstructor()
132 mIntent.setComponent(mComponentName); in testReadFromParcel()
198 assertEquals(mComponentName, mIntent.getComponent()); in testSetClassName1()
204 assertEquals(mComponentName, mIntent.getComponent()); in testSetClassName2()
286 mIntent.setComponent(mComponentName); in testAccessComponent()
287 assertEquals(mComponentName, mIntent.getComponent()); in testAccessComponent()
327 ai = mContext.getPackageManager().getActivityInfo(mComponentName, in testParseIntent()
[all …]
DIntentFilterTest.java637 final ComponentName mComponentName = new ComponentName(mContext, MockActivity.class); in testReadFromXml() local
639 ai = pm.getActivityInfo(mComponentName, PackageManager.GET_META_DATA); in testReadFromXml()
/cts/tests/tests/media/src/android/media/cts/
DEncoderTest.java270 String mComponentName; field in EncoderTest.EncoderRun
274 mComponentName = componentName; in EncoderRun()
279 testEncoder(mComponentName, mFormat); in run()
/cts/tests/tests/view/src/android/view/cts/
DLayoutInflaterTest.java113 ComponentName mComponentName = new ComponentName(mContext, in getAttrs() local
116 ai = mContext.getPackageManager().getActivityInfo(mComponentName, in getAttrs()
514 ComponentName mComponentName = new ComponentName(mContext, in getParser() local
517 ai = mContext.getPackageManager().getActivityInfo(mComponentName, in getParser()