/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityUserStateTest.java | 81 private static final ComponentName COMPONENT_NAME = field in AccessibilityUserStateTest 131 when(mMockServiceInfo.getComponentName()).thenReturn(COMPONENT_NAME); in setUp() 152 mUserState.getBindingServicesLocked().add(COMPONENT_NAME); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 159 mUserState.mEnabledServices.add(COMPONENT_NAME); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 160 mUserState.mTouchExplorationGrantedServices.add(COMPONENT_NAME); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 161 mUserState.mAccessibilityShortcutKeyTargets.add(COMPONENT_NAME.flattenToString()); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 162 mUserState.mAccessibilityButtonTargets.add(COMPONENT_NAME.flattenToString()); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 163 mUserState.setTargetAssignedToAccessibilityButton(COMPONENT_NAME.flattenToString()); in onSwitchToAnotherUser_userStateClearedNonDefaultValues() 212 when(mMockConnection.getComponentName()).thenReturn(COMPONENT_NAME); in addService_connectionNotYetAddedToBoundService_addAndNotifyServices() 217 assertEquals(mMockConnection, mUserState.mComponentNameToServiceMap.get(COMPONENT_NAME)); in addService_connectionNotYetAddedToBoundService_addAndNotifyServices() [all …]
|
D | AccessibilityServiceConnectionTest.java | 89 static final ComponentName COMPONENT_NAME = new ComponentName( field in AccessibilityServiceConnectionTest 158 COMPONENT_NAME, mServiceInfo, SERVICE_ID, mHandler, new Object(), in setup() 191 setServiceBinding(COMPONENT_NAME); in bindConnectUnbind_linksAndUnlinksToServiceDeath() 193 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in bindConnectUnbind_linksAndUnlinksToServiceDeath() 201 setServiceBinding(COMPONENT_NAME); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo() 203 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo() 207 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in connectedServiceCrashedAndRestarted_crashReportedInServiceInfo() 214 setServiceBinding(COMPONENT_NAME); in onServiceConnected_addsWindowTokens() 216 mConnection.onServiceConnected(COMPONENT_NAME, mMockIBinder); in onServiceConnected_addsWindowTokens() 230 setServiceBinding(COMPONENT_NAME); in binderDied_keysGetFlushed() [all …]
|
D | ProxyAccessibilityServiceConnectionTest.java | 58 private static final ComponentName COMPONENT_NAME = new ComponentName( field in ProxyAccessibilityServiceConnectionTest 99 mProxyConnection = new ProxyAccessibilityServiceConnection(mMockContext, COMPONENT_NAME, in setup()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | PersistentServiceConnectionTest.java | 60 private static final ComponentName COMPONENT_NAME = field in PersistentServiceConnectionTest 118 mConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testConnect() 135 mConnection.onServiceDisconnected(COMPONENT_NAME); in testRetryOnBindFailure() 145 mConnection.onServiceDisconnected(COMPONENT_NAME); in testRetryOnBindFailure() 155 mConnection.onServiceDisconnected(COMPONENT_NAME); in testRetryOnBindFailure() 177 mConnection.onServiceDisconnected(COMPONENT_NAME); in testManualUnbindDoesNotReconnect()
|
D | ObservableServiceConnectionTest.java | 60 private static final ComponentName COMPONENT_NAME = field in ObservableServiceConnectionTest 130 mConnection.onServiceConnected(COMPONENT_NAME, mBinder); in testConnect() 140 mConnection.onServiceDisconnected(COMPONENT_NAME); in testDisconnectBeforeBind() 151 mConnection.onServiceDisconnected(COMPONENT_NAME); in testDisconnect() 173 mConnection.onBindingDied(COMPONENT_NAME); in testBindingDied() 190 mConnection.onNullBinding(COMPONENT_NAME); in testNullBinding()
|
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/utils/ |
D | NotificationListener.kt | 55 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/ |
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()
|
/frameworks/av/media/codec2/components/g711/ |
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()
|
/frameworks/av/media/codec2/components/raw/ |
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()
|
/frameworks/av/media/codec2/components/vpx/ |
D | C2SoftVp8Enc.cpp | 78 new C2SoftVp8Enc(COMPONENT_NAME, id, in createComponent() 90 COMPONENT_NAME, id, in createInterface()
|
D | C2SoftVp9Enc.cpp | 108 new C2SoftVp9Enc(COMPONENT_NAME, id, in createComponent() 120 COMPONENT_NAME, id, in createInterface()
|
D | C2SoftVpxEnc.h | 233 constexpr char COMPONENT_NAME[] = "c2.android.vp9.encoder"; variable 236 constexpr char COMPONENT_NAME[] = "c2.android.vp8.encoder";
|
/frameworks/base/services/tests/servicestests/src/com/android/server/contentcapture/ |
D | ContentCaptureManagerServiceTest.java | 77 private static final ComponentName COMPONENT_NAME = field in ContentCaptureManagerServiceTest 116 private String mConfigDefaultContentProtectionService = COMPONENT_NAME.flattenToString(); 397 USER_ID, COMPONENT_NAME); in isWhitelisted_componentName_contentCaptureDisabled_contentProtectionDisabled() 413 USER_ID, COMPONENT_NAME); in isWhitelisted_componentName_contentCaptureDisabled_contentProtectionEnabled() 421 USER_ID, /* packageNames= */ null, ImmutableList.of(COMPONENT_NAME)); in isWhitelisted_componentName_contentCaptureEnabled_contentProtectionDisabled() 425 USER_ID, COMPONENT_NAME); in isWhitelisted_componentName_contentCaptureEnabled_contentProtectionDisabled() 437 USER_ID, /* packageNames= */ null, ImmutableList.of(COMPONENT_NAME)); in isWhitelisted_componentName_contentCaptureEnabled_contentProtectionEnabled() 441 USER_ID, COMPONENT_NAME); in isWhitelisted_componentName_contentCaptureEnabled_contentProtectionEnabled()
|
/frameworks/av/media/codec2/components/amr_nb_wb/ |
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()
|
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()
|
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()
|
/frameworks/av/media/codec2/components/gsm/ |
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()
|
/frameworks/av/media/codec2/components/flac/ |
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()
|
D | C2SoftFlacEnc.cpp | 34 constexpr char COMPONENT_NAME[] = "c2.android.flac.encoder"; variable 43 COMPONENT_NAME, in IntfImpl() 522 new C2SoftFlacEnc(COMPONENT_NAME, in createComponent() 535 COMPONENT_NAME, id, std::make_shared<C2SoftFlacEnc::IntfImpl>(mHelper)), in createInterface()
|
/frameworks/av/media/codec2/components/opus/ |
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()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | UiAutomationManager.java | 53 private static final ComponentName COMPONENT_NAME = field in UiAutomationManager 103 accessibilityServiceInfo.setComponentName(COMPONENT_NAME); in registerUiTestAutomationServiceLocked() 258 super(context, COMPONENT_NAME, accessibilityServiceInfo, id, mainHandler, lock, in UiAutomationService()
|
/frameworks/av/media/codec2/components/vorbis/ |
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()
|
/frameworks/av/media/codec2/components/mp3/ |
D | C2SoftMp3Dec.cpp | 36 constexpr char COMPONENT_NAME[] = "c2.android.mp3.decoder"; variable 45 COMPONENT_NAME, in IntfImpl() 524 new C2SoftMP3(COMPONENT_NAME, in createComponent() 537 COMPONENT_NAME, id, std::make_shared<C2SoftMP3::IntfImpl>(mHelper)), in createInterface()
|
/frameworks/av/media/codec2/components/mpeg4_h263/ |
D | C2SoftMpeg4Dec.cpp | 39 constexpr char COMPONENT_NAME[] = "c2.android.mpeg4.decoder"; variable 42 constexpr char COMPONENT_NAME[] = "c2.android.h263.decoder"; variable 50 COMPONENT_NAME, in IntfImpl() 659 new C2SoftMpeg4Dec(COMPONENT_NAME, in createComponent() 672 COMPONENT_NAME, id, std::make_shared<C2SoftMpeg4Dec::IntfImpl>(mHelper)), in createInterface()
|
D | C2SoftMpeg4Enc.cpp | 45 constexpr char COMPONENT_NAME[] = "c2.android.mpeg4.encoder"; variable 48 constexpr char COMPONENT_NAME[] = "c2.android.h263.encoder"; 61 COMPONENT_NAME, in IntfImpl() 731 COMPONENT_NAME, id, in createComponent() 743 COMPONENT_NAME, id, in createInterface()
|