Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
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()
138 mUserState.mAccessibilityShortcutKeyTargets.add(COMPONENT_NAME.flattenToString()); in onSwitchToAnotherUser_userStateClearedNonDefaultValues()
139 mUserState.mAccessibilityButtonTargets.add(COMPONENT_NAME.flattenToString()); in onSwitchToAnotherUser_userStateClearedNonDefaultValues()
140 mUserState.setTargetAssignedToAccessibilityButton(COMPONENT_NAME.flattenToString()); in onSwitchToAnotherUser_userStateClearedNonDefaultValues()
184 when(mMockConnection.getComponentName()).thenReturn(COMPONENT_NAME); in addService_connectionNotYetAddedToBoundService_addAndNotifyServices()
190 assertEquals(mMockConnection, mUserState.mComponentNameToServiceMap.get(COMPONENT_NAME)); in addService_connectionNotYetAddedToBoundService_addAndNotifyServices()
[all …]
DAccessibilityServiceConnectionTest.java69 static final ComponentName COMPONENT_NAME = new ComponentName( field in AccessibilityServiceConnectionTest
117 COMPONENT_NAME, mMockServiceInfo, SERVICE_ID, mHandler, new Object(), in setup()
149 setServiceBinding(COMPONENT_NAME); in bindConnectUnbind_linksAndUnlinksToServiceDeath()
151 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in bindConnectUnbind_linksAndUnlinksToServiceDeath()
159 setServiceBinding(COMPONENT_NAME); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo()
161 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo()
165 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo()
177 setServiceBinding(COMPONENT_NAME); in binderDied_keysGetFlushed()
179 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in binderDied_keysGetFlushed()
190 setServiceBinding(COMPONENT_NAME); in connectedService_notInEnabledServiceList_doNotInitClient()
[all …]
DAccessibilityManagerServiceTest.java79 static final ComponentName COMPONENT_NAME = new ComponentName( field in AccessibilityManagerServiceTest
153 COMPONENT_NAME, in setupAccessibilityServiceConnection()
166 mAccessibilityServiceConnection.onServiceConnected(COMPONENT_NAME, mMockBinder); in setupAccessibilityServiceConnection()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/
DNotificationListener.kt55 private const val COMPONENT_NAME = "com.android.wm.shell.flicker/.NotificationListener" constant
64 runShellCommand(CMD_NOTIFICATION_ALLOW_LISTENER.format(COMPONENT_NAME)) in startNotificationListener()
73 runShellCommand(CMD_NOTIFICATION_DISALLOW_LISTENER.format(COMPONENT_NAME)) in stopNotificationListener()
/frameworks/base/core/tests/coretests/src/android/content/pm/
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()
/frameworks/base/core/java/com/android/internal/notification/
DNotificationAccessConfirmationActivityContract.java23 private static final ComponentName COMPONENT_NAME = new ComponentName( field in NotificationAccessConfirmationActivityContract
32 .setComponent(COMPONENT_NAME) in launcherIntent()
/frameworks/av/media/codec2/components/g711/
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()
/frameworks/av/media/codec2/components/raw/
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()
/frameworks/av/media/codec2/components/vpx/
DC2SoftVp8Enc.cpp78 new C2SoftVp8Enc(COMPONENT_NAME, id, in createComponent()
90 COMPONENT_NAME, id, in createInterface()
DC2SoftVp9Enc.cpp108 new C2SoftVp9Enc(COMPONENT_NAME, id, in createComponent()
120 COMPONENT_NAME, id, in createInterface()
DC2SoftVpxEnc.h229 constexpr char COMPONENT_NAME[] = "c2.android.vp9.encoder"; variable
232 constexpr char COMPONENT_NAME[] = "c2.android.vp8.encoder";
243 COMPONENT_NAME, in IntfImpl()
/frameworks/av/media/codec2/components/amr_nb_wb/
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()
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()
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()
/frameworks/av/media/codec2/components/gsm/
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()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DUiAutomationManager.java44 private static final ComponentName COMPONENT_NAME = field in UiAutomationManager
99 accessibilityServiceInfo.setComponentName(COMPONENT_NAME); in registerUiTestAutomationServiceLocked()
249 super(context, COMPONENT_NAME, accessibilityServiceInfo, id, mainHandler, lock, in UiAutomationService()
/frameworks/av/media/codec2/components/flac/
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()
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()
/frameworks/av/media/codec2/components/opus/
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()
DC2SoftOpusEnc.cpp37 constexpr char COMPONENT_NAME[] = "c2.android.opus.encoder"; variable
48 COMPONENT_NAME, in IntfImpl()
631 COMPONENT_NAME, id, in createComponent()
642 COMPONENT_NAME, id, in createInterface()
/frameworks/av/media/codec2/components/vorbis/
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()
/frameworks/av/media/codec2/components/mp3/
DC2SoftMp3Dec.cpp36 constexpr char COMPONENT_NAME[] = "c2.android.mp3.decoder"; variable
45 COMPONENT_NAME, in IntfImpl()
517 new C2SoftMP3(COMPONENT_NAME, in createComponent()
530 COMPONENT_NAME, id, std::make_shared<C2SoftMP3::IntfImpl>(mHelper)), in createInterface()
/frameworks/av/media/codec2/components/mpeg4_h263/
DC2SoftMpeg4Enc.cpp45 constexpr char COMPONENT_NAME[] = "c2.android.mpeg4.encoder"; variable
48 constexpr char COMPONENT_NAME[] = "c2.android.h263.encoder";
59 COMPONENT_NAME, in IntfImpl()
643 COMPONENT_NAME, id, in createComponent()
655 COMPONENT_NAME, id, in createInterface()
DC2SoftMpeg4Dec.cpp39 constexpr char COMPONENT_NAME[] = "c2.android.mpeg4.decoder"; variable
42 constexpr char COMPONENT_NAME[] = "c2.android.h263.decoder"; variable
50 COMPONENT_NAME, in IntfImpl()
707 new C2SoftMpeg4Dec(COMPONENT_NAME, in createComponent()
720 COMPONENT_NAME, id, std::make_shared<C2SoftMpeg4Dec::IntfImpl>(mHelper)), in createInterface()
/frameworks/av/media/codec2/components/aac/
DC2SoftAacEnc.cpp34 constexpr char COMPONENT_NAME[] = "c2.android.aac.encoder"; variable
43 COMPONENT_NAME, in IntfImpl()
671 new C2SoftAacEnc(COMPONENT_NAME, in createComponent()
683 COMPONENT_NAME, id, std::make_shared<C2SoftAacEnc::IntfImpl>(mHelper)), in createInterface()

12