Home
last modified time | relevance | path

Searched refs:getClassName (Results 1 – 25 of 107) sorted by relevance

12345

/packages/services/Car/service/src/com/android/car/
DCarMediaService.java345 "\tCurrent browse service extra: " + getClassName(mActiveUserMediaController)); in dump()
532 getClassName(mMediaController)); in onPlaybackStateChanged()
705 String newClassName = getClassName(controller); in updatePrimaryMediaSourceWithCurrentlyPlaying()
740 return newClassName.equals(mPrimaryMediaComponents[mode].getClassName()); in matchPrimaryMediaSource()
760 String className = componentName.getClassName(); in getMediaService()
886 if (matchPrimaryMediaSource(controller.getPackageName(), getClassName(controller), in updateActiveMediaController()
927 private static String getClassName(@NonNull MediaController controller) { in getClassName() method in CarMediaService
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DRequestPinItemTest.java84 ((LauncherAppWidgetInfo) info).providerName.getClassName() in testPinWidgetNoConfig()
97 ((LauncherAppWidgetInfo) info).providerName.getClassName() in testPinWidgetNoConfig_customPreview()
106 ((LauncherAppWidgetInfo) info).providerName.getClassName() in testPinWidgetWithConfig()
DAddWidgetTest.java64 ((LauncherAppWidgetInfo) info).providerName.getClassName().equals( in testDragIcon()
65 widgetInfo.provider.getClassName())).call()); in testDragIcon()
DAddConfigWidgetTest.java134 ((LauncherAppWidgetInfo) info).providerName.getClassName().equals( in evaluate()
135 mWidgetInfo.provider.getClassName()) && in evaluate()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DSystemActivityMonitoringServiceTest.java198 ActivityMonitor monitor = new ActivityMonitor(name.getClassName(), null, false); in startActivity()
233 + topTask.topActivity.getClassName()); in onActivityLaunch()
238 topTask.topActivity.getClassName(), mDesiredComponent)); in onActivityLaunch()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java127 assertThat(intent.getComponent().getClassName()).isEqualTo(SubSettings.class.getName()); in testClickPhotos()
145 assertThat(intent.getComponent().getClassName()).isEqualTo(SubSettings.class.getName()); in testClickAudio()
172 assertThat(intent.getComponent().getClassName()).isEqualTo(SubSettings.class.getName()); in testClickApps()
191 assertThat(intent.getComponent().getClassName()).isEqualTo(SubSettings.class.getName()); in testClickAppsForWork()
245 assertThat(intent.getComponent().getClassName()).isEqualTo(SubSettings.class.getName()); in testClickGames()
263 assertThat(intent.getComponent().getClassName()).isEqualTo(SubSettings.class.getName()); in testClickMovies()
/packages/apps/OnDeviceAppPrediction/src/com/android/apppredictionservice/
DPredictionService.java117 .setClassName(cn.getClassName()) in onCreate()
167 if (target == null || isEmpty(target.getPackageName()) || isEmpty(target.getClassName())) { in onAppTargetEvent()
171 target.getPackageName(), target.getClassName()).flattenToString(); in onAppTargetEvent()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java227 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_NoServicesFound_IncomingCall()
262 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_NoServicesFound_OutgoingCall()
314 assertEquals(DEF_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_DefaultDialer_NoEmergency()
373 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_SystemDialer_Emergency()
451 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_SystemDialer_Crash()
535 assertEquals(DEF_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_DefaultDialer_FallBackToSystem()
567 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_DefaultDialer_FallBackToSystem()
657 assertEquals(DEF_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_IncludeExternal()
864 assertEquals(carClass, bindIntent.getComponent().getClassName()); in verifyBinding()
/packages/apps/Messaging/tests/src/com/android/messaging/
DFakeContext.java71 intent.getComponent().getClassName().equals(mService.getServiceClassName())) { in startService()
80 return new ComponentName(this, intent.getComponent().getClassName()); in startService()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkSummaryControllerTest.java164 assertThat(intent.getComponent().getClassName()).isEqualTo( in getSummary_oneSubscription_correctSummaryAndClickHandler()
206 assertThat(intent.getComponent().getClassName()).isEqualTo( in getSummary_oneInactivePSim_canDisablePsim_correctSummaryAndClickHandler()
250 assertThat(intentCaptor.getValue().getComponent().getClassName()).isEqualTo( in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment()
271 assertThat(intentCaptor.getValue().getComponent().getClassName()).isEqualTo( in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DUtils.java132 CharSequence className = node.getClassName(); in isFocusParkingView()
138 CharSequence className = node.getClassName(); in isFocusArea()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/qstile/
DDevelopmentTilePreferenceControllerTest.java110 assertThat(argument.getValue().getClassName()).isEqualTo(SERVICE_INFO_NAME); in preferenceChecked_shouldAddTile()
121 assertThat(argument.getValue().getClassName()).isEqualTo(SERVICE_INFO_NAME); in preferenceUnchecked_shouldRemoveTile()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DWallpaperPreferenceControllerTest.java154 .getNextStartedActivityForResult().intent.getComponent().getClassName()) in handlePreferenceTreeClick_wallpaperOnly()
170 .getNextStartedActivityForResult().intent.getComponent().getClassName()) in handlePreferenceTreeClick_stylesAndWallpaper()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionModel.java96 cn.getPackageName(), info.user).setClassName(cn.getClassName()).build(); in getAppTargetFromInfo()
101 cn.getPackageName(), info.user).setClassName(cn.getClassName()).build(); in getAppTargetFromInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/trustagent/
DTrustAgentsPreferenceControllerTest.java206 ri.serviceInfo.name = cn.getClassName(); in createFakeResolveInfo()
209 ri.serviceInfo.applicationInfo.name = cn.getClassName(); in createFakeResolveInfo()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/
DPredictionAppTracker.java216 .setClassName(cn.getClassName()) in onStartApp()
236 .setClassName(cn.getClassName()) in onDismissApp()
DComponentKeyMapper.java41 return componentKey.componentName.getClassName(); in getComponentClass()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DSettingsActivity.java526 String intentClass = intent.getComponent().getClassName(); in getStartingFragmentClass()
612 final String name = component.getClassName(); in doUpdateTilesList()
643 component.getClassName())) { in setTileEnabled()
/packages/apps/Settings/src/com/android/settings/
DSettingsActivity.java537 String intentClass = intent.getComponent().getClassName(); in getStartingFragmentClass()
663 final String name = component.getClassName(); in doUpdateTilesList()
694 component.getClassName())) { in setTileEnabled()
/packages/apps/Launcher3/src/com/android/launcher3/
DDefaultLayoutParser.java292 cn = new ComponentName(packages[0], cn.getClassName()); in verifyAndInsert()
296 Log.d(TAG, "Can't find widget provider: " + cn.getClassName()); in verifyAndInsert()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/
DAssociatedDeviceViewModel.java321 logd(TAG, "Service connected:" + name.getClassName());
330 logd(TAG, "Service disconnected: " + name.getClassName());
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningController.java666 if (componentName == null || componentName.getClassName() == null) { in verifyActivityAlias()
672 if (!componentName.getClassName().endsWith(activityAlias)) { in verifyActivityAlias()
674 + componentName.getClassName()); in verifyActivityAlias()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DInstantAppResolverImpl.java50 return cn != null && cn.getClassName().equals(COMPONENT_CLASS_MARKER); in isInstantApp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DSelectDSUPreferenceControllerTest.java56 .getNextStartedActivityForResult().intent.getComponent().getClassName()) in handlePreferenceTreeClick_shouldLaunchCorrectIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericTest.java347 assertThat(nextIntent.getComponent().getClassName()).isEqualTo( in testUnifyProfile_IntentPassedToChooseLockPassword()
372 assertThat(nextIntent.getComponent().getClassName()).isEqualTo( in testUnifyProfile_IntentPassedToChooseLockPattern()

12345