/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | AccessibilitySettingsTest.java | 100 private final AccessibilityServiceInfo mServiceInfo = getMockAccessibilityServiceInfo( field in AccessibilitySettingsTest 162 mServiceInfo.crashed = true; in getServiceSummary_serviceCrash_showsStopped() 165 mServiceInfo, SERVICE_ENABLED); in getServiceSummary_serviceCrash_showsStopped() 173 setInvisibleToggleFragmentType(mServiceInfo); in getServiceSummary_invisibleToggle_shortcutDisabled_showsOffSummary() 174 doReturn(DEFAULT_SUMMARY).when(mServiceInfo).loadSummary(any()); in getServiceSummary_invisibleToggle_shortcutDisabled_showsOffSummary() 177 mServiceInfo, SERVICE_ENABLED); in getServiceSummary_invisibleToggle_shortcutDisabled_showsOffSummary() 187 doReturn(EMPTY_STRING).when(mServiceInfo).loadSummary(any()); in getServiceSummary_enableService_showsEnabled() 190 mServiceInfo, SERVICE_ENABLED); in getServiceSummary_enableService_showsEnabled() 198 doReturn(EMPTY_STRING).when(mServiceInfo).loadSummary(any()); in getServiceSummary_disableService_showsDisabled() 201 mServiceInfo, SERVICE_DISABLED); in getServiceSummary_disableService_showsDisabled() [all …]
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowVoiceInteractionServiceInfo.java | 36 private ServiceInfo mServiceInfo; field in ShadowVoiceInteractionServiceInfo 39 mServiceInfo = si; in __constructor__() 56 return sSupportsAssistMap.get(mServiceInfo); in getSupportsAssist() 61 return sRecognitionServiceMap.get(mServiceInfo); in getRecognitionService() 66 return sSettingsActivityMap.get(mServiceInfo); in getSettingsActivity() 71 return mServiceInfo; in getServiceInfo()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | AppBlockingPolicyProxy.java | 41 private final ServiceInfo mServiceInfo; field in AppBlockingPolicyProxy 63 Slog.w(TAG, "Timeout for policy setting for service:" + mServiceInfo); 73 mServiceInfo = serviceInfo; in AppBlockingPolicyProxy() 79 return mServiceInfo.packageName; in getPackageName() 84 intent.setComponent(mServiceInfo.getComponentName()); in connect() 150 return "AppBlockingPolicyProxy [mServiceInfo=" + mServiceInfo + ", mCrashCount=" in toString() 160 Slog.w(TAG, "setAppBlockingPolicy null policy from policy service:" + mServiceInfo); in setAppBlockingPolicy()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/ |
D | VoiceInputInfoProvider.java | 154 private final ServiceInfo mServiceInfo; field in VoiceInputInfoProvider.VoiceInputInfo 158 mServiceInfo = serviceInfo; in VoiceInputInfo() 166 return mServiceInfo; in getServiceInfo() 180 return (activity != null) ? new ComponentName(mServiceInfo.packageName, activity) in getSettingsActivityComponentName() 186 return mServiceInfo.packageName; in getPackageName() 193 return new ComponentName(mServiceInfo.packageName, mServiceInfo.name); in getComponentName() 211 return mServiceInfo.loadLabel(mContext.getPackageManager()); in getTag()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningServiceDetails.java | 98 if ((si.mServiceInfo.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0) { in stopActiveService() 122 report.packageName = mServiceItem.mServiceInfo.packageName; in onClick() 126 report.systemApp = (mServiceItem.mServiceInfo.applicationInfo.flags in onClick() 135 ComponentName comp = new ComponentName(mServiceItem.mServiceInfo.packageName, in onClick() 136 mServiceItem.mServiceInfo.name); in onClick() 290 if (si != null && si.mServiceInfo.descriptionRes != 0) { in addServiceDetailsView() 292 si.mServiceInfo.packageName, si.mServiceInfo.descriptionRes, in addServiceDetailsView() 293 si.mServiceInfo.applicationInfo)); in addServiceDetailsView() 323 getActivity(), si.mServiceInfo.packageName, in addServiceDetailsView() 324 si.mServiceInfo.applicationInfo.flags); in addServiceDetailsView()
|
D | RunningState.java | 379 ServiceInfo mServiceInfo; field in RunningState.ServiceItem 479 .mServiceInfo.applicationInfo; in ensureLabel() 508 si.mServiceInfo = ActivityThread.getPackageManager().getServiceInfo( in updateService() 512 if (si.mServiceInfo == null) { in updateService() 520 si.mRunningService.service.getClassName(), si.mServiceInfo); in updateService() 522 si.mPackageInfo = si.mServiceInfo.applicationInfo; in updateService() 1172 if (si.mServiceInfo != null in update() 1173 && (si.mServiceInfo.applicationInfo.flags in update()
|
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/ |
D | NsdResolveQueue.java | 84 private final NsdServiceInfo mServiceInfo; field in NsdResolveQueue.NsdResolveRequest 92 mServiceInfo = serviceInfo; in NsdResolveRequest() 98 if (DEBUG) Log.d(TAG, "resolveService " + mServiceInfo.getServiceName()); in start() 99 mNsdManager.resolveService(mServiceInfo, this); in start()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | SuppressorHelperTest.java | 44 private ServiceInfo mServiceInfo; field in SuppressorHelperTest 53 when(mPackageManager.getServiceInfo(mSuppressor, 0)).thenReturn(mServiceInfo); in setUp() 54 when(mServiceInfo.loadLabel(mPackageManager)).thenReturn(SUPPRESSOR_NAME); in setUp()
|
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/ |
D | NotificationAccessDetails.java | 68 protected ServiceInfo mServiceInfo; field in NotificationAccessDetails 135 .setServiceInfo(mServiceInfo) in onAttach() 287 mServiceInfo = info; in loadNotificationListenerService()
|