/cts/tests/tests/content/src/android/content/cts/ |
D | ComponentNameTest.java | 81 final ComponentName componentName = getComponentName(); in testConstructor() local 82 componentName.writeToParcel(parcel, 0); in testConstructor() 98 ComponentName componentName = new ComponentName("com.android.view", in testGetShortClassName() local 100 final String className = componentName.getClassName(); in testGetShortClassName() 103 actual = componentName.getShortClassName(); in testGetShortClassName() 128 final ComponentName componentName = getComponentName(); in testUnflattenFromString() local 132 assertEquals(componentName, actual); in testUnflattenFromString() 141 final ComponentName componentName = new ComponentName("com.android.view", in testFlattenToShortString() local 143 final String falttenString = componentName.flattenToString(); in testFlattenToShortString() 146 actual = componentName.flattenToShortString(); in testFlattenToShortString() [all …]
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageItemInfo_DisplayNameComparatorTest.java | 37 ComponentName componentName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); in testDisplayNameComparator() local 38 ActivityInfo activityInfo = pm.getActivityInfo(componentName, 0); in testDisplayNameComparator() 41 componentName = new ComponentName(PACKAGE_NAME, CMPACTIVITY_NAME); in testDisplayNameComparator() 42 activityInfo = pm.getActivityInfo(componentName, 0); in testDisplayNameComparator()
|
D | ActivityInfoTest.java | 50 ComponentName componentName = new ComponentName(mContext, MockActivity.class); in testWriteToParcel() local 53 componentName, PackageManager.GET_META_DATA); in testWriteToParcel() 77 ComponentName componentName = new ComponentName(mContext, MockActivity.class); in testGetThemeResource() local 80 componentName, PackageManager.GET_META_DATA); in testGetThemeResource() 96 ComponentName componentName = new ComponentName(mContext, MockActivity.class); in testDescribeContents() local 99 componentName, PackageManager.GET_META_DATA); in testDescribeContents()
|
D | ServiceInfoTest.java | 33 ComponentName componentName = new ComponentName(PACKAGE_NAME, SERVICE_NAME); in testServiceInfo() local 39 ServiceInfo serviceInfo = pm.getServiceInfo(componentName, 0); in testServiceInfo()
|
D | InstrumentationInfoTest.java | 34 ComponentName componentName = new ComponentName(PACKAGE_NAME, INSTRUMENTATION_NAME); in testInstrumentationInfo() local 39 InstrumentationInfo instrInfo = pm.getInstrumentationInfo(componentName, 0); in testInstrumentationInfo()
|
D | PackageManagerTest.java | 326 ComponentName[] componentName = {new ComponentName(PACKAGE_NAME, ACTIVITY_NAME)}; in testAddPreferredActivity() local 329 componentName, componentName[0]); in testAddPreferredActivity() 384 ComponentName componentName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); in testAccessEnabledSetting() local 385 mPackageManager.setComponentEnabledSetting(componentName, in testAccessEnabledSetting() 388 mPackageManager.getComponentEnabledSetting(componentName)); in testAccessEnabledSetting() 446 ComponentName componentName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); in testGetResources() local 451 assertEquals(xmlName, mPackageManager.getResourcesForActivity(componentName) in testGetResources()
|
D | PackageItemInfoTest.java | 95 ComponentName componentName = new ComponentName(PACKAGE_NAME, ACTIVITY_NAME); in getTestItemInfo() local 97 mPackageManager.getActivityInfo(componentName, PackageManager.GET_META_DATA); in getTestItemInfo()
|
/cts/suite/audio_quality/lib/src/ |
D | ClientImpl.cpp | 42 android::String8 componentName("com.android.cts.audiotest/.CtsAudioClientActivity"); in init() local 43 if (!adb.launchClient(clientBinary, componentName)) { in init()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EncoderTest.java | 125 for (String componentName : componentNames) { in testEncoderWithFormats() 126 Log.d(TAG, "testing component '" + componentName + "'"); in testEncoderWithFormats() 130 testEncoder(componentName, format); in testEncoderWithFormats() 175 private void testEncoder(String componentName, MediaFormat format) { in testEncoder() argument 178 codec = MediaCodec.createByCodecName(componentName); in testEncoder() 180 fail("codec '" + componentName + "' failed construction."); in testEncoder() 190 fail("codec '" + componentName + "' failed configuration."); in testEncoder()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 335 protected boolean setProfileOwner(String componentName, int userId) in setProfileOwner() argument 337 String command = "dpm set-profile-owner --user " + userId + " '" + componentName + "'"; in setProfileOwner() 343 protected void setProfileOwnerOrFail(String componentName, int userId) in setProfileOwnerOrFail() argument 345 if (!setProfileOwner(componentName, userId)) { in setProfileOwnerOrFail() 351 protected void setDeviceAdmin(String componentName) throws DeviceNotAvailableException { in setDeviceAdmin() argument 352 String command = "dpm set-active-admin '" + componentName + "'"; in setDeviceAdmin() 359 protected boolean setDeviceOwner(String componentName) throws DeviceNotAvailableException { in setDeviceOwner() argument 360 String command = "dpm set-device-owner '" + componentName + "'"; in setDeviceOwner()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputInfoTest.java | 64 final ComponentName componentName = in testTvInputInfoOp() local 66 final String id = TvContract.buildInputId(componentName); in testTvInputInfoOp() 70 assertEquals(getContext().getPackageManager().getServiceInfo(componentName, 0).name, in testTvInputInfoOp()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | TabActivityTest.java | 92 final ComponentName componentName = new ComponentName(context, MockTabActivity.class); in testChildTitleCallback() local 93 final ActivityInfo info = context.getPackageManager().getActivityInfo(componentName, 0); in testChildTitleCallback()
|
/cts/tests/tests/hardware/src/android/hardware/multiprocess/ |
D | ErrorLoggingService.java | 401 public void onServiceConnected(ComponentName componentName, IBinder iBinder) { 411 public void onServiceDisconnected(ComponentName componentName) {
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 1429 private AppWidgetProviderInfo getProviderInfo(ComponentName componentName) { in getProviderInfo() argument 1435 if (componentName.equals(provider.provider) in getProviderInfo()
|