Home
last modified time | relevance | path

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

12345

/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DUtils.java228 CharSequence className = node.getClassName(); in isCarUiFocusParkingView()
237 CharSequence className = node.getClassName(); in isGenericFocusParkingView()
243 CharSequence className = node.getClassName(); in isFocusArea()
258 CharSequence className = node.getClassName(); in isWebView()
264 CharSequence className = node.getClassName(); in isSurfaceView()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DNodeBuilderTest.java148 assertThat(node.getClassName().toString()).isEqualTo(CLASS_NAME); in testSetClassName()
206 assertThat(node.getClassName().toString()).isEqualTo(FOCUS_AREA_CLASS_NAME); in testSetFocusArea()
229 assertThat(node.getClassName().toString()).isEqualTo(FOCUS_PARKING_VIEW_CLASS_NAME); in testSetFpv()
235 assertThat(node.getClassName().toString()).isEqualTo(GENERIC_FOCUS_PARKING_VIEW_CLASS_NAME); in testSetGenericFpv()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiTestUtil.java42 clazz = Class.forName(e.getClassName()); in getTestMethod()
52 return e.getClassName() + "#" + e.getMethodName(); in getTestMethod()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DRequestPinItemTest.java85 ((LauncherAppWidgetInfo) info).providerName.getClassName() in testPinWidgetNoConfig()
99 ((LauncherAppWidgetInfo) info).providerName.getClassName() in testPinWidgetNoConfig_customPreview()
108 ((LauncherAppWidgetInfo) info).providerName.getClassName() in testPinWidgetWithConfig()
DAddWidgetTest.java66 ((LauncherAppWidgetInfo) info).providerName.getClassName().equals( in testDragIcon()
67 widgetInfo.provider.getClassName())).call()); in testDragIcon()
DAddConfigWidgetTest.java134 ((LauncherAppWidgetInfo) info).providerName.getClassName().equals( in evaluate()
135 mWidgetInfo.provider.getClassName()) && in evaluate()
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java430 getClassName(mActiveUserMediaController)); in dump()
632 getClassName(mMediaController)); in onPlaybackStateChanged()
808 String newClassName = getClassName(controller); in updatePrimaryMediaSourceWithCurrentlyPlaying()
843 return newClassName.equals(mPrimaryMediaComponents[mode].getClassName()); in matchPrimaryMediaSource()
863 String className = componentName.getClassName(); in getMediaService()
994 if (matchPrimaryMediaSource(controller.getPackageName(), getClassName(controller), in updateActiveMediaControllerLocked()
1035 private static String getClassName(@NonNull MediaController controller) { in getClassName() method in CarMediaService
/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/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/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/Launcher3/quickstep/src/com/android/launcher3/model/
DWidgetsPredictionUpdateTask.java90 if (TextUtils.isEmpty(app.getClassName())) { in execute()
94 new ComponentName(app.getPackageName(), app.getClassName()), app.getUser()); in execute()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DDumpOnFailureRule.java50 final String testName = description.getClassName() + "_" + description.getMethodName(); in onTestFailure()
86 final String qualifiedClassName = description.getClassName(); in getShortenedTestName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkSummaryControllerTest.java162 assertThat(intent.getComponent().getClassName()).isEqualTo( in getSummary_oneSubscription_correctSummaryAndClickHandler()
206 assertThat(intent.getComponent().getClassName()).isEqualTo( in getSummary_oneInactivePSim_canDisablePsim_correctSummaryAndClickHandler()
253 assertThat(intentCaptor.getValue().getComponent().getClassName()).isEqualTo( in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment()
277 assertThat(intentCaptor.getValue().getComponent().getClassName()).isEqualTo( in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment()
/packages/apps/Settings/tests/unit/src/com/android/settings/enterprise/
DActionDisabledLearnMoreButtonLauncherImplTest.java121 assertThat(intent.getComponent().getClassName()) in assertDeviceAdminSettingsActivity()
126 assertThat(intent.getComponent().getClassName()) in assertDeviceAdminAddIntent()
/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/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionModel.java85 cn.getPackageName(), info.user).setClassName(cn.getClassName()).build(); in getAppTargetFromInfo()
90 cn.getPackageName(), info.user).setClassName(cn.getClassName()).build(); in getAppTargetFromInfo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DTopLevelBatteryPreferenceControllerTest.java146 assertThat(output.getClassName()).isEqualTo("ClassName"); in convertClassPathToComponentName_singleClassName_returnsCorrectComponentName()
154 assertThat(output.getClassName()).isEqualTo("ClassName"); in convertClassPathToComponentName_validAddress_returnsCorrectComponentName()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java357 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_NoServicesFound_IncomingCall()
392 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_NoServicesFound_OutgoingCall()
445 assertEquals(DEF_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_DefaultDialer_NoEmergency()
505 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_SystemDialer_Emergency()
584 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_SystemDialer_Crash()
669 assertEquals(DEF_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_DefaultDialer_FallBackToSystem()
701 assertEquals(SYS_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_DefaultDialer_FallBackToSystem()
794 assertEquals(DEF_CLASS, bindIntent.getComponent().getClassName()); in testBindToService_IncludeExternal()
1105 assertEquals(carClass, bindIntent.getComponent().getClassName()); in verifyBinding()
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DTopLevelWallpaperPreferenceControllerTest.java171 .getNextStartedActivityForResult().intent.getComponent().getClassName()) in handlePreferenceTreeClick_wallpaperOnly()
187 .getNextStartedActivityForResult().intent.getComponent().getClassName()) in handlePreferenceTreeClick_stylesAndWallpaper()
DWallpaperPreferenceControllerTest.java195 .getNextStartedActivityForResult().intent.getComponent().getClassName()) in handlePreferenceTreeClick_wallpaperOnly()
211 .getNextStartedActivityForResult().intent.getComponent().getClassName()) in handlePreferenceTreeClick_stylesAndWallpaper()
/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/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/Settings/src/com/android/settings/
DSettingsActivity.java544 String intentClass = intent.getComponent().getClassName(); in getStartingFragmentClass()
672 final String name = component.getClassName(); in doUpdateTilesList()
703 component.getClassName())) { in setTileEnabled()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DInstantAppResolverImpl.java50 return cn != null && cn.getClassName().equals(COMPONENT_CLASS_MARKER); in isInstantApp()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/
DMediaTestUtils.java41 String displayName = browseService.getClassName(); in newFakeMediaSource()

12345