Home
last modified time | relevance | path

Searched refs:COMPONENT_NAME (Results 1 – 25 of 61) sorted by relevance

123

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilityUserStateTest.java67 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 DAccessibilityServiceConnectionTest.java70 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 DAccessibilityManagerServiceTest.java81 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 DCallScreeningServiceFilterTest.java221 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 DNotificationListener.kt55 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 DShortcutQueryWrapperTest.java46 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 DAccessibilityDetailsSettingsFragmentTest.java67 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 DAccessibilitySettingsTest.java86 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 DC2SoftG711Dec.cpp33 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 DC2SoftRawDec.cpp32 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 DManagedProfileAdminReceiver.java27 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 DC2SoftAmrDec.cpp39 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 DC2SoftAmrNbEnc.cpp32 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 DC2SoftAmrWbEnc.cpp34 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 DC2SoftVp8Enc.cpp78 new C2SoftVp8Enc(COMPONENT_NAME, id, in createComponent()
90 COMPONENT_NAME, id, in createInterface()
H A DC2SoftVp9Enc.cpp108 new C2SoftVp9Enc(COMPONENT_NAME, id, in createComponent()
120 COMPONENT_NAME, id, in createInterface()
/aosp12/frameworks/av/media/codec2/components/gsm/
H A DC2SoftGsmDec.cpp32 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 DC2SoftFlacDec.cpp32 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 DC2SoftFlacEnc.cpp33 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 DCustomizationParamsTest.java46 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 DUiAutomationManager.java45 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 DC2SoftOpusDec.cpp36 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 DC2SoftVorbisDec.cpp40 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 DImsEntitlementPollingService.java62 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 DPreProvisioningActivityTest.java22 import static com.android.managedprovisioning.e2eui.ManagedProfileAdminReceiver.COMPONENT_NAME;
142 EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME, COMPONENT_NAME); in createIntent()

123