Home
last modified time | relevance | path

Searched refs:getServiceInfo (Results 1 – 25 of 59) sorted by relevance

123

/packages/apps/Settings/src/com/android/settings/applications/credentials/
DCombinedProviderInfo.java93 return mCredentialProviderInfos.get(0).getServiceInfo().applicationInfo; in getApplicationInfo()
95 return mAutofillServiceInfo.getServiceInfo().applicationInfo; in getApplicationInfo()
182 return mAutofillServiceInfo.getServiceInfo(); in getBrandingService()
196 flattenedNamesToServices.put(flattenedName, cpi.getServiceInfo()); in getBrandingService()
237 return mAutofillServiceInfo.getServiceInfo().getComponentName().flattenToString(); in getAutofillServiceString()
301 final String packageName = asi.getServiceInfo().packageName; in buildMergedList()
313 String packageName = cpi.getServiceInfo().packageName; in buildMergedList()
DCredentialManagerPreferenceController.java257 final ServiceInfo serviceInfo = cpi.getServiceInfo(); in verifyReceivedIntent()
403 mEnabledPackageNames.add(cpi.getServiceInfo().packageName); in setAvailableServices()
597 service.getServiceInfo().packageName, in createPreference()
645 ComponentName cn = service.getServiceInfo().getComponentName(); in getEnabledSettings()
646 if (mEnabledPackageNames.contains(service.getServiceInfo().packageName)) { in getEnabledSettings()
791 String flattened = service.getServiceInfo().getComponentName().flattenToString(); in commitEnabledPackages()
DDefaultCombinedPicker.java428 credManComponents.add(pi.getServiceInfo().getComponentName().flattenToString()); in setDefaultKey()
436 .getServiceInfo() in setDefaultKey()
493 credManProviders.add(cpi.getServiceInfo().getComponentName().flattenToString()); in setProviders()
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsAdvertiser.java159 && TextUtils.isEmpty(registration.getServiceInfo().getHostname())) {
181 mCb.onRegisterServiceSucceeded(serviceId, registration.getServiceInfo());
240 serviceId, registration.getServiceInfo()));
281 NsdServiceInfo newInfo = registration.getServiceInfo(); in updateRegistrationUntilNoConflict()
290 if (!TextUtils.isEmpty(registration.getServiceInfo().getHostname())) { in updateRegistrationUntilNoConflict()
438 final NsdServiceInfo other = mPendingRegistrations.valueAt(i).getServiceInfo(); in getConflictingRegistrationDueToService()
463 final NsdServiceInfo otherInfo = otherRegistration.getServiceInfo(); in getConflictingRegistrationDueToHost()
490 mAdvertisers.valueAt(i).addService(id, registration.getServiceInfo(), in addService()
507 id, registration.getServiceInfo().getSubtypes()); in updateService()
557 registration.getServiceInfo(), registration.getAdvertisingOptions()); in onSocketCreated()
[all …]
/packages/apps/Car/Settings/src/com/android/car/settings/applications/assist/
DVoiceInputInfoProvider.java170 protected ServiceInfo getServiceInfo() { in getServiceInfo() method in VoiceInputInfoProvider.VoiceInputInfo
225 super(context, info.getServiceInfo()); in VoiceInteractionInfo()
242 return getServiceInfo().applicationInfo.loadLabel(getContext().getPackageManager()); in getLabel()
255 return getServiceSettingsActivity(getServiceInfo()); in getSettingsActivity()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/autofill/
DPasswordsPreferenceControllerTest.java129 service.getServiceInfo().packageName = ""; in displayPreference_withPasswords_addsPreference()
130 service.getServiceInfo().name = ""; in displayPreference_withPasswords_addsPreference()
147 service.getServiceInfo().packageName, in displayPreference_withPasswords_addsPreference()
/packages/apps/TV/src/com/android/tv/util/
DTvInputManagerHelper.java427 && (inputInfo.getServiceInfo().applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) in isSystemInput()
435 inputInfo.getServiceInfo().applicationInfo.packageName); in isBundledInput()
539 return info == null ? null : info.getServiceInfo().applicationInfo; in getTvInputAppInfo()
595 return input.getServiceInfo().metaData.getInt(META_LABEL_SORT_KEY, Integer.MAX_VALUE); in getInputSortKey()
599 String packageName = input.getServiceInfo().packageName; in isInputPhysicalTuner()
610 input.getServiceInfo().packageName) in isInputPhysicalTuner()
616 input.getServiceInfo().packageName, 0); in isInputPhysicalTuner()
/packages/apps/TV/common/src/com/android/tv/common/compat/
DTvInputInfoCompat.java75 ServiceInfo si = mTvInputInfo.getServiceInfo(); in getExtras()
117 ServiceInfo si = mTvInputInfo.getServiceInfo(); in getXmlResourceParser()
/packages/apps/TV/tests/common/src/com/android/tv/testing/utils/
DUtils.java75 return info.getServiceInfo().name; in getServiceNameFromInputId()
84 ServiceInfo si = info.getServiceInfo(); in getInputIdFromComponentName()
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/credentials/
DCredentialManagerPreferenceControllerTest.java408 String packageName = cpi.getServiceInfo().packageName; in handleIntentWithProviderServiceInfo_handleBadIntent_successDialog()
425 String packageName = cpi.getServiceInfo().packageName; in handleIntentWithProviderServiceInfo_handleIntent_cancelDialog()
453 String packageName = cpi.getServiceInfo().packageName; in handleOtherIntentWithProviderServiceInfo_handleBadIntent_successDialog()
470 String packageName = cpi.getServiceInfo().packageName; in handleOtherIntentWithProviderServiceInfo_handleIntent_cancelDialog()
487 String packageName = cpi.getServiceInfo().packageName; in handleIntentWithProviderServiceInfo_handleIntent_incorrectAction()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DInputMethodAndSubtypeUtil.java157 inputMethodInfo.getPackageName(), inputMethodInfo.getServiceInfo() in getSubtypeLocaleNameAsSentence()
174 inputMethodInfo.getPackageName(), inputMethodInfo.getServiceInfo() in getSubtypeLocaleNameListAsSentence()
DInputMethodAndSubtypeUtilCompat.java294 inputMethodInfo.getPackageName(), inputMethodInfo.getServiceInfo() in getSubtypeLocaleNameAsSentence()
311 inputMethodInfo.getPackageName(), inputMethodInfo.getServiceInfo() in getSubtypeLocaleNameListAsSentence()
DDefaultAppInfo.java116 componentInfo = AppGlobals.getPackageManager().getServiceInfo( in getComponentInfo()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/notifications/
DNotificationAccessConfirmationActivityTest.java112 doReturn(info).when(mPackageManager).getServiceInfo(info.getComponentName(), 0); in onAllow_permissionMissing_finishes()
130 doReturn(info).when(mPackageManager).getServiceInfo(info.getComponentName(), 0); in onAllow_permissionAvailable_callsNotificationManager()
/packages/apps/WallpaperPicker2/tests/robotests/common/src/com/android/wallpaper/testing/
DShadowWallpaperInfo.kt45 fun getServiceInfo(): ServiceInfo { in getServiceInfo() method in com.android.wallpaper.testing.ShadowWallpaperInfo
/packages/apps/Settings/src/com/android/settings/notification/
DSuppressorHelper.java40 final ServiceInfo info = pm.getServiceInfo(suppressor, 0); in getSuppressorCaption()
/packages/apps/Settings/src/com/android/settings/applications/autofill/
DPasswordsPreferenceController.java135 final ServiceInfo serviceInfo = service.getServiceInfo(); in addPasswordPreferences()
176 .setComponent(service.getServiceInfo().getComponentName()); in requestSavedPasswordCount()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DInputDeviceResultTask.java141 final ServiceInfo serviceInfo = info.getServiceInfo(); in buildVirtualKeyboardSearchResults()
204 inputMethodInfo.getPackageName(), inputMethodInfo.getServiceInfo() in getSubtypeLocaleNameListAsSentence()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DSpellCheckersSettings.java152 getActivity(), sci.getPackageName(), sci.getServiceInfo().applicationInfo); in getSpellCheckerSubtypeLabel()
169 (sci.getServiceInfo().applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in onPreferenceChange()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowVoiceInteractionServiceInfo.java70 protected ServiceInfo getServiceInfo() { in getServiceInfo() method in ShadowVoiceInteractionServiceInfo
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DSuppressorHelperTest.java53 when(mPackageManager.getServiceInfo(mSuppressor, 0)).thenReturn(mServiceInfo); in setUp()
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/
DTreeTraverserTest.java64 AccessibilityServiceInfo serviceInfo = sUiAutomation.getServiceInfo(); in oneTimeSetup()
72 AccessibilityServiceInfo serviceInfo = sUiAutomation.getServiceInfo(); in oneTimeTearDown()
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java332 if (imeInfo.getServiceInfo().applicationInfo.uid == callingUid in canCallerAccessUserDictionary()
342 if (scInfo.getServiceInfo().applicationInfo.uid == callingUid in canCallerAccessUserDictionary()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DMockTvProviderContext.java94 public ServiceInfo getServiceInfo(ComponentName className, int flags) { in getServiceInfo() method in MockTvProviderContext.MockPackageManagerForTesting
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperChange.java78 (currentWallpaper == null) ? null : currentWallpaper.getServiceInfo())); in init()

123