/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | AccessibilityUserStateTest.java | 67 private static final ComponentName COMPONENT_NAME = field in AccessibilityUserStateTest 110 when(mMockServiceInfo.getComponentName()).thenReturn(COMPONENT_NAME); in setUp() 129 mUserState.getBindingServicesLocked().add(COMPONENT_NAME); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 136 mUserState.mEnabledServices.add(COMPONENT_NAME); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 137 mUserState.mTouchExplorationGrantedServices.add(COMPONENT_NAME); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 184 when(mMockConnection.getComponentName()).thenReturn(COMPONENT_NAME); in addService_connectionNotYetAddedToBoundService_addAndNotifyServices() 228 mUserState.setServiceChangingSoftKeyboardModeLocked(COMPONENT_NAME); in removeService_serviceChangingSoftKeyboardMode_removeAndSetSoftKbModeAuto() 243 when(mMockConnection.getComponentName()).thenReturn(COMPONENT_NAME); in serviceDisconnected_removeServiceAndAddToCrashed() 263 when(mMockConnection.getComponentName()).thenReturn(COMPONENT_NAME); in setSoftKeyboardMode_newModeSameWithCurrentState_returnTrue() 326 COMPONENT_NAME.flattenToShortString())); in doesShortcutTargetsStringContain_returnFalse() [all …]
|
H A D | AccessibilityServiceConnectionTest.java | 70 static final ComponentName COMPONENT_NAME = new ComponentName( field in AccessibilityServiceConnectionTest 150 setServiceBinding(COMPONENT_NAME); in bindConnectUnbind_linksAndUnlinksToServiceDeath() 152 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in bindConnectUnbind_linksAndUnlinksToServiceDeath() 160 setServiceBinding(COMPONENT_NAME); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo() 162 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo() 166 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo() 178 setServiceBinding(COMPONENT_NAME); in binderDied_keysGetFlushed() 191 setServiceBinding(COMPONENT_NAME); in connectedService_notInEnabledServiceList_doNotInitClient() 204 setServiceBinding(COMPONENT_NAME); in sendGesture_touchableDevice_injectEvents() 221 setServiceBinding(COMPONENT_NAME); in sendGesture_untouchableDevice_performGestureResultFailed() [all …]
|
H A D | AccessibilityManagerServiceTest.java | 81 static final ComponentName COMPONENT_NAME = new ComponentName( field in AccessibilityManagerServiceTest 155 COMPONENT_NAME, in setupAccessibilityServiceConnection() 168 mAccessibilityServiceConnection.onServiceConnected(COMPONENT_NAME, mMockBinder); in setupAccessibilityServiceConnection()
|
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
H A D | CallScreeningServiceFilterTest.java | 221 connection.onServiceDisconnected(COMPONENT_NAME); in testBindingCondition() 265 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testAllowCall() 278 serviceConnection.onServiceDisconnected(COMPONENT_NAME); in testAllowCall() 292 .setCallScreeningComponentName(COMPONENT_NAME.flattenToString()) in testDisallowCall() 301 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testDisallowCall() 316 serviceConnection.onServiceDisconnected(COMPONENT_NAME); in testDisallowCall() 338 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testSilenceCall() 352 serviceConnection.onServiceDisconnected(COMPONENT_NAME); in testSilenceCall() 373 serviceConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testScreenCallFurther() 383 csAdapter.onScreeningResponse(CALL_ID, COMPONENT_NAME, in testScreenCallFurther() [all …]
|
/aosp12/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/ |
H A D | NotificationListener.kt | 55 private const val COMPONENT_NAME = "com.android.wm.shell.flicker/.NotificationListener" 64 runShellCommand(CMD_NOTIFICATION_ALLOW_LISTENER.format(COMPONENT_NAME)) 73 runShellCommand(CMD_NOTIFICATION_DISALLOW_LISTENER.format(COMPONENT_NAME))
|
/aosp12/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | ShortcutQueryWrapperTest.java | 46 private static final ComponentName COMPONENT_NAME = new ComponentName( field in ShortcutQueryWrapperTest 59 .setActivity(COMPONENT_NAME) in setUp() 73 assertEquals("Component name doesn't match", COMPONENT_NAME, q.getActivity()); in testWriteAndReadFromParcel()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
H A D | AccessibilityDetailsSettingsFragmentTest.java | 67 private final static String COMPONENT_NAME = PACKAGE_NAME + "/" + CLASS_NAME; field in AccessibilityDetailsSettingsFragmentTest 91 intent.putExtra(Intent.EXTRA_COMPONENT_NAME, COMPONENT_NAME); in onCreate_afterSuccessfullyLaunch_shouldBeFinished() 102 intent.putExtra(Intent.EXTRA_COMPONENT_NAME, COMPONENT_NAME); in onCreate_hasValidExtraComponentName_launchExpectedFragment() 135 intent.putExtra(Intent.EXTRA_COMPONENT_NAME, COMPONENT_NAME); in onCreate_extraComponentNameIsDisallowed_launchAccessibilitySettings() 185 ComponentName componentName = ComponentName.unflattenFromString(COMPONENT_NAME); in getMockAccessibilityServiceInfo()
|
H A D | AccessibilitySettingsTest.java | 86 private static final ComponentName COMPONENT_NAME = new ComponentName(PACKAGE_NAME, CLASS_NAME); field in AccessibilitySettingsTest 258 final String key = COMPONENT_NAME.flattenToString(); in createAccessibilityServicePreferenceList_hasOneInfo_containsSameKey() 273 final String key = COMPONENT_NAME.flattenToString(); in createAccessibilityActivityPreferenceList_hasOneInfo_containsSameKey() 334 COMPONENT_NAME.flattenToString()); in onContentChanged_updatePreferenceInForeground_preferenceUpdated() 354 COMPONENT_NAME.flattenToString()); in onContentChanged_updatePreferenceInBackground_preferenceUpdated() 389 when(mockInfo.getComponentName()).thenReturn(COMPONENT_NAME); in setMockAccessibilityShortcutInfo()
|
/aosp12/frameworks/av/media/codec2/components/g711/ |
H A D | C2SoftG711Dec.cpp | 33 constexpr char COMPONENT_NAME[] = "c2.android.g711.alaw.decoder"; variable 35 constexpr char COMPONENT_NAME[] = "c2.android.g711.mlaw.decoder"; 45 COMPONENT_NAME, in IntfImpl() 238 new C2SoftG711Dec(COMPONENT_NAME, id, in createComponent() 249 COMPONENT_NAME, id, std::make_shared<C2SoftG711Dec::IntfImpl>(mHelper)), in createInterface()
|
/aosp12/frameworks/av/media/codec2/components/raw/ |
H A D | C2SoftRawDec.cpp | 32 constexpr char COMPONENT_NAME[] = "c2.android.raw.decoder"; variable 41 COMPONENT_NAME, in IntfImpl() 194 new C2SoftRawDec(COMPONENT_NAME, in createComponent() 207 COMPONENT_NAME, id, std::make_shared<C2SoftRawDec::IntfImpl>(mHelper)), in createInterface()
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/ |
H A D | ManagedProfileAdminReceiver.java | 27 public static final ComponentName COMPONENT_NAME = new ComponentName( field in ManagedProfileAdminReceiver 35 COMPONENT_NAME)
|
/aosp12/frameworks/av/media/codec2/components/amr_nb_wb/ |
H A D | C2SoftAmrDec.cpp | 39 constexpr char COMPONENT_NAME[] = "c2.android.amrnb.decoder"; variable 41 constexpr char COMPONENT_NAME[] = "c2.android.amrwb.decoder"; 51 COMPONENT_NAME, in IntfImpl() 404 new C2SoftAmrDec(COMPONENT_NAME, id, in createComponent() 416 COMPONENT_NAME, id, std::make_shared<C2SoftAmrDec::IntfImpl>(mHelper)), in createInterface()
|
H A D | C2SoftAmrNbEnc.cpp | 32 constexpr char COMPONENT_NAME[] = "c2.android.amrnb.encoder"; variable 42 COMPONENT_NAME, in IntfImpl() 314 COMPONENT_NAME, id, in createComponent() 326 COMPONENT_NAME, id, in createInterface()
|
H A D | C2SoftAmrWbEnc.cpp | 34 constexpr char COMPONENT_NAME[] = "c2.android.amrwb.encoder"; variable 43 COMPONENT_NAME, in IntfImpl() 388 COMPONENT_NAME, id, in createComponent() 400 COMPONENT_NAME, id, in createInterface()
|
/aosp12/frameworks/av/media/codec2/components/vpx/ |
H A D | C2SoftVp8Enc.cpp | 78 new C2SoftVp8Enc(COMPONENT_NAME, id, in createComponent() 90 COMPONENT_NAME, id, in createInterface()
|
H A D | C2SoftVp9Enc.cpp | 108 new C2SoftVp9Enc(COMPONENT_NAME, id, in createComponent() 120 COMPONENT_NAME, id, in createInterface()
|
/aosp12/frameworks/av/media/codec2/components/gsm/ |
H A D | C2SoftGsmDec.cpp | 32 constexpr char COMPONENT_NAME[] = "c2.android.gsm.decoder"; variable 41 COMPONENT_NAME, in IntfImpl() 271 new C2SoftGsmDec(COMPONENT_NAME, in createComponent() 284 COMPONENT_NAME, id, std::make_shared<C2SoftGsmDec::IntfImpl>(mHelper)), in createInterface()
|
/aosp12/frameworks/av/media/codec2/components/flac/ |
H A D | C2SoftFlacDec.cpp | 32 constexpr char COMPONENT_NAME[] = "c2.android.flac.decoder"; variable 41 COMPONENT_NAME, in IntfImpl() 349 new C2SoftFlacDec(COMPONENT_NAME, in createComponent() 362 COMPONENT_NAME, id, std::make_shared<C2SoftFlacDec::IntfImpl>(mHelper)), in createInterface()
|
H A D | C2SoftFlacEnc.cpp | 33 constexpr char COMPONENT_NAME[] = "c2.android.flac.encoder"; variable 42 COMPONENT_NAME, in IntfImpl() 460 new C2SoftFlacEnc(COMPONENT_NAME, in createComponent() 473 COMPONENT_NAME, id, std::make_shared<C2SoftFlacEnc::IntfImpl>(mHelper)), in createInterface()
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/model/ |
H A D | CustomizationParamsTest.java | 46 private static final ComponentName COMPONENT_NAME = new ComponentName("org.test", "ATestDPC"); field in CustomizationParamsTest 125 new ProvisioningParams.Builder().setDeviceAdminComponentName(COMPONENT_NAME); in createParams()
|
/aosp12/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | UiAutomationManager.java | 45 private static final ComponentName COMPONENT_NAME = field in UiAutomationManager 100 accessibilityServiceInfo.setComponentName(COMPONENT_NAME); in registerUiTestAutomationServiceLocked() 250 super(context, COMPONENT_NAME, accessibilityServiceInfo, id, mainHandler, lock, in UiAutomationService()
|
/aosp12/frameworks/av/media/codec2/components/opus/ |
H A D | C2SoftOpusDec.cpp | 36 constexpr char COMPONENT_NAME[] = "c2.android.opus.decoder"; variable 45 COMPONENT_NAME, in IntfImpl() 450 new C2SoftOpusDec(COMPONENT_NAME, in createComponent() 463 COMPONENT_NAME, id, std::make_shared<C2SoftOpusDec::IntfImpl>(mHelper)), in createInterface()
|
/aosp12/frameworks/av/media/codec2/components/vorbis/ |
H A D | C2SoftVorbisDec.cpp | 40 constexpr char COMPONENT_NAME[] = "c2.android.vorbis.decoder"; variable 49 COMPONENT_NAME, in IntfImpl() 454 new C2SoftVorbisDec(COMPONENT_NAME, in createComponent() 467 COMPONENT_NAME, id, std::make_shared<C2SoftVorbisDec::IntfImpl>(mHelper)), in createInterface()
|
/aosp12/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/ |
H A D | ImsEntitlementPollingService.java | 62 public static final ComponentName COMPONENT_NAME = field in ImsEntitlementPollingService 92 COMPONENT_NAME, in enqueueJob() 101 COMPONENT_NAME, in enqueueJobWithDelay()
|
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
H A D | PreProvisioningActivityTest.java | 22 import static com.android.managedprovisioning.e2eui.ManagedProfileAdminReceiver.COMPONENT_NAME; 142 EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME, COMPONENT_NAME); in createIntent()
|