Home
last modified time | relevance | path

Searched refs:targetComponent (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DInflatingListActivity.java38 final ComponentName targetComponent = getIntent().getComponent(); in createListAdapter() local
41 if (targetComponent.equals(LATIN_WORDS)) { in createListAdapter()
43 } else if (targetComponent.equals(EMOJI)) { in createListAdapter()
45 } else if (targetComponent.equals(HAN)) { in createListAdapter()
47 } else if (targetComponent.equals(LONG_STRING)) { in createListAdapter()
50 throw new RuntimeException("Unknown Component: " + targetComponent); in createListAdapter()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DTransferOwnershipMetadataManager.java92 TAG_TARGET_COMPONENT, params.targetComponent.flattenToString()); in saveMetadataFile()
138 String targetComponent = null; in parseMetadataFile() local
152 targetComponent = parser.getText(); in parseMetadataFile()
164 return new Metadata(adminComponent, targetComponent, userId, adminType); in parseMetadataFile()
179 final ComponentName targetComponent; field in TransferOwnershipMetadataManager.Metadata
182 Metadata(@NonNull ComponentName sourceComponent, @NonNull ComponentName targetComponent, in Metadata() argument
185 this.targetComponent = targetComponent; in Metadata()
187 Objects.requireNonNull(targetComponent); in Metadata()
213 && targetComponent.equals(params.targetComponent) in equals()
222 hashCode = 31 * hashCode + targetComponent.hashCode(); in hashCode()
DDevicePolicyManagerService.java3619 transferProfileOwnershipLocked(metadata.targetComponent, metadata.sourceComponent,
3624 transferDeviceOwnershipLocked(metadata.targetComponent, metadata.sourceComponent,
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsRequestReceiver.kt62 val targetComponent = try { in onReceive() constant
82 val packageName = targetComponent.packageName in onReceive()
89 putExtra(Intent.EXTRA_COMPONENT_NAME, targetComponent) in onReceive()
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DStemKeyGestureTests.java99 ComponentName targetComponent = ComponentName.unflattenFromString(TEST_TARGET_ACTIVITY); in stemSingleKey_launchTargetActivity() local
100 mPhoneWindowManager.overrideStemPressTargetActivity(targetComponent); in stemSingleKey_launchTargetActivity()
104 mPhoneWindowManager.assertActivityTargetLaunched(targetComponent); in stemSingleKey_launchTargetActivity()
119 ComponentName targetComponent = ComponentName.unflattenFromString(TEST_TARGET_ACTIVITY); in stemSingleKey_launchTargetActivity_whenScreenIsOff() local
120 mPhoneWindowManager.overrideStemPressTargetActivity(targetComponent); in stemSingleKey_launchTargetActivity_whenScreenIsOff()
125 mPhoneWindowManager.assertActivityTargetLaunched(targetComponent); in stemSingleKey_launchTargetActivity_whenScreenIsOff()
/frameworks/av/media/codec2/tests/
DC2SampleComponent_test.cpp112 virtual c2_status_t createTunnel_sm(c2_node_id_t targetComponent) override { in createTunnel_sm() argument
113 (void)targetComponent; in createTunnel_sm()
161 virtual c2_status_t releaseTunnel_sm(c2_node_id_t targetComponent) override { in releaseTunnel_sm() argument
162 (void)targetComponent; in releaseTunnel_sm()
/frameworks/av/media/codec2/core/include/
DC2Component.h247 virtual c2_status_t createTunnel_sm(c2_node_id_t targetComponent) = 0;
272 virtual c2_status_t releaseTunnel_sm(c2_node_id_t targetComponent) = 0;
/frameworks/base/core/java/android/content/pm/
DShortcutManager.java701 @NonNull ComponentName targetComponent) { in ShareShortcutInfo() argument
705 if (targetComponent == null) { in ShareShortcutInfo()
710 mTargetComponent = targetComponent; in ShareShortcutInfo()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java4227 ComponentName targetComponent = ComponentName.unflattenFromString(target); in enableShortcutForTargets()
4228 return featureToTileMap.containsKey(targetComponent); in enableShortcutForTargets()
4325 ComponentName targetComponent = in updateA11yTileServicesInQuickSettingsPanel()
4327 if (targetComponent == null in updateA11yTileServicesInQuickSettingsPanel()
4328 || !a11yFeatureToTileMap.containsKey(targetComponent)) { in updateA11yTileServicesInQuickSettingsPanel()
4334 targetComponent)) { in updateA11yTileServicesInQuickSettingsPanel()
4339 a11yFeatureToTileMap.get(targetComponent), /* end= */ true); in updateA11yTileServicesInQuickSettingsPanel()
4348 ComponentName targetComponent = in updateA11yTileServicesInQuickSettingsPanel()
4350 if (targetComponent == null in updateA11yTileServicesInQuickSettingsPanel()
4351 || !a11yFeatureToTileMap.containsKey(targetComponent)) { in updateA11yTileServicesInQuickSettingsPanel()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRootWindowContainerTests.java136 final ComponentName targetComponent = ComponentName.createRelative( in testFindActivityByTargetComponent() local
140 .setTargetActivity(targetComponent.getClassName()) in testFindActivityByTargetComponent()
DTaskTests.java1000 final ComponentName targetComponent = in testTaskIntentActivityAlias() local
1025 targetComponent).build(); in testTaskIntentActivityAlias()
DActivityRecordTests.java1261 final ComponentName targetComponent = ComponentName.createRelative( in testFinishActivityIfPossible_sendResultImmediately() local
1273 .setComponent(targetComponent) in testFinishActivityIfPossible_sendResultImmediately()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java3745 ComponentName targetComponent; in dispatchSyncOperation() local
3760 targetComponent = syncAdapterInfo.componentName; in dispatchSyncOperation()
3773 if (!activeSyncContext.bindToSyncAdapter(targetComponent, info.userId)) { in dispatchSyncOperation()
3775 targetComponent); in dispatchSyncOperation()
3776 Slog.e(TAG, "Bind attempt failed - target: " + targetComponent); in dispatchSyncOperation()
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java988 ComponentName targetComponent = new ComponentName( in setIntent() local
996 realActivity = targetComponent; in setIntent()
1000 realActivity = targetComponent; in setIntent()