Searched refs:TEST_COMPONENT_NAME (Results 1 – 5 of 5) sorted by relevance
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | PolicyWarningUIControllerTest.java | 117 addEnabledServiceInfo(TEST_COMPONENT_NAME, false); in receiveActionSendNotification_isNonA11yCategoryService_sendNotification() 122 TEST_COMPONENT_NAME)); in receiveActionSendNotification_isNonA11yCategoryService_sendNotification() 131 addEnabledServiceInfo(TEST_COMPONENT_NAME, false); in receiveActionSendNotification_sendNotificationDisabled_doNothing() 136 TEST_COMPONENT_NAME)); in receiveActionSendNotification_sendNotificationDisabled_doNothing() 150 addEnabledServiceInfo(TEST_COMPONENT_NAME, false); in receiveActionSendNotificationWithNotifiedService_doNothing() 155 TEST_COMPONENT_NAME)); in receiveActionSendNotificationWithNotifiedService_doNothing() 166 TEST_COMPONENT_NAME)); in receiveActionA11ySettings_launchA11ySettingsAndDismissNotification() 179 TEST_COMPONENT_NAME)); in receiveActionDismissNotification_addToNotifiedSettings() 187 enabledServices.add(TEST_COMPONENT_NAME); in onEnabledServicesChangedLocked_serviceDisabled_removedFromNotifiedSettings() 211 TEST_COMPONENT_NAME); in onNonA11yCategoryServiceUnbound_cancelAlarm() [all …]
|
H A D | AccessibilitySecurityPolicyTest.java | 87 private static final ComponentName TEST_COMPONENT_NAME = new ComponentName( field in AccessibilitySecurityPolicyTest 623 initServiceInfoAndConnection(TEST_COMPONENT_NAME, in onBoundServicesChanged_nonA11yTool_invokeAction() 629 eq(TEST_COMPONENT_NAME)); in onBoundServicesChanged_nonA11yTool_invokeAction() 633 eq(TEST_COMPONENT_NAME)); in onBoundServicesChanged_nonA11yTool_invokeAction() 639 initServiceInfoAndConnection(TEST_COMPONENT_NAME, in onBoundServicesChanged_isA11yTool_noAction() 656 initServiceInfoAndConnection(TEST_COMPONENT_NAME, in onSwitchUser_oldUserHadAction_invokeActionForOldUser() 662 eq(TEST_COMPONENT_NAME)); in onSwitchUser_oldUserHadAction_invokeActionForOldUser() 668 eq(TEST_COMPONENT_NAME)); in onSwitchUser_oldUserHadAction_invokeActionForOldUser()
|
/aosp14/frameworks/base/tests/TelephonyCommonTests/src/com/android/internal/telephony/tests/ |
H A D | SmsApplicationTest.java | 77 private static final ComponentName TEST_COMPONENT_NAME = field in SmsApplicationTest 146 .thenReturn(TEST_COMPONENT_NAME.getPackageName()); in setUp() 160 assertEquals(TEST_COMPONENT_NAME, in testGetDefaultSmsApplicationAsUser() 202 TEST_COMPONENT_NAME.getPackageName())) in testGetDefaultSmsApplicationWithAppOpsFix() 206 assertEquals(TEST_COMPONENT_NAME, in testGetDefaultSmsApplicationWithAppOpsFix() 305 activityInfo.packageName = TEST_COMPONENT_NAME.getPackageName(); in makeSmsDeliverResolveInfo() 306 activityInfo.name = TEST_COMPONENT_NAME.getClassName(); in makeSmsDeliverResolveInfo() 317 activityInfo.packageName = TEST_COMPONENT_NAME.getPackageName(); in makeWapPushResolveInfo() 329 serviceInfo.packageName = TEST_COMPONENT_NAME.getPackageName(); in makeRespondViaMessageResolveInfo() 340 activityInfo.packageName = TEST_COMPONENT_NAME.getPackageName(); in makeSendToResolveInfo() [all …]
|
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/ |
H A D | AccessibilityShortcutChooserActivityTest.java | 85 private static final ComponentName TEST_COMPONENT_NAME = new ComponentName("package", "class"); field in AccessibilityShortcutChooserActivityTest 112 when(mAccessibilityServiceInfo.getComponentName()).thenReturn(TEST_COMPONENT_NAME); in setUp() 154 eq(TEST_COMPONENT_NAME.getPackageName()), anyInt(), anyInt())).thenReturn(false); in clickServiceTarget_notPermittedByAdmin_sendRestrictedDialogIntent() 160 eq(TEST_COMPONENT_NAME.getPackageName()), anyInt(), anyInt()); in clickServiceTarget_notPermittedByAdmin_sendRestrictedDialogIntent()
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/ |
H A D | EnableAdbPreferenceControllerTest.java | 53 private static final ComponentName TEST_COMPONENT_NAME = new ComponentName("test", "test"); field in EnableAdbPreferenceControllerTest 142 when(mDevicePolicyManager.getProfileOwner()).thenReturn(TEST_COMPONENT_NAME); in updateState_settingsOn_shouldCheck() 158 when(mDevicePolicyManager.getProfileOwner()).thenReturn(TEST_COMPONENT_NAME); in updateState_settingsOff_shouldUncheck()
|