/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCache.java | 85 void onServicesUpdated(int userId, final List<ApduServiceInfo> services); in onServicesUpdated() argument 102 final HashMap<ComponentName, ApduServiceInfo> services = field in RegisteredServicesCache.UserServices 109 UserServices services = mUserServices.get(userId); in findOrCreateUserLocked() local 110 if (services == null) { in findOrCreateUserLocked() 111 services = new UserServices(); in findOrCreateUserLocked() 112 mUserServices.put(userId, services); in findOrCreateUserLocked() 114 return services; in findOrCreateUserLocked() 173 void dump(ArrayList<ApduServiceInfo> services) { in dump() argument 174 for (ApduServiceInfo service : services) { in dump() 179 boolean containsServiceLocked(ArrayList<ApduServiceInfo> services, ComponentName serviceName) { in containsServiceLocked() argument [all …]
|
D | RegisteredAidCache.java | 102 List<ApduServiceInfo> services = new ArrayList<ApduServiceInfo>(); field in RegisteredAidCache.AidResolveInfo 110 "services=" + services + in toString() 187 for (ApduServiceInfo serviceInfo : entryResolveInfo.services) { in resolveAid() 188 if (!resolveInfo.services.contains(serviceInfo)) { in resolveAid() 189 resolveInfo.services.add(serviceInfo); in resolveAid() 212 if (resolveInfo == null || resolveInfo.services == null || in isDefaultServiceForAid() 213 resolveInfo.services.size() == 0) { in isDefaultServiceForAid() 219 } else if (resolveInfo.services.size() == 1) { in isDefaultServiceForAid() 220 return service.equals(resolveInfo.services.get(0).getComponent()); in isDefaultServiceForAid() 254 resolveInfo.services.add(serviceAidInfo.service); in resolveAidConflictLocked() [all …]
|
D | RegisteredNfcFServicesCache.java | 79 void onNfcFServicesUpdated(int userId, final List<NfcFServiceInfo> services); in onNfcFServicesUpdated() argument 106 final HashMap<ComponentName, NfcFServiceInfo> services = field in RegisteredNfcFServicesCache.UserServices 181 void dump(ArrayList<NfcFServiceInfo> services) { in dump() argument 182 for (NfcFServiceInfo service : services) { in dump() 187 boolean containsServiceLocked(ArrayList<NfcFServiceInfo> services, in containsServiceLocked() argument 189 for (NfcFServiceInfo service : services) { in containsServiceLocked() 202 return userServices.services.get(componentName); in getService() 207 final ArrayList<NfcFServiceInfo> services = new ArrayList<NfcFServiceInfo>(); in getServices() local 210 services.addAll(userServices.services.values()); in getServices() 212 return services; in getServices() [all …]
|
D | HostEmulationManager.java | 168 if (resolveInfo == null || resolveInfo.services.size() == 0) { in onHostEmulationData() 195 for (ApduServiceInfo serviceInfo : resolveInfo.services) { in onHostEmulationData() 207 launchResolver((ArrayList<ApduServiceInfo>)resolveInfo.services, null, in onHostEmulationData() 399 void launchResolver(ArrayList<ApduServiceInfo> services, ComponentName failedComponent, in launchResolver() argument 403 intent.putParcelableArrayListExtra(AppChooserActivity.EXTRA_APDU_SERVICES, services); in launchResolver() 524 if (resolveInfo.services.size() > 0) { in handleMessage() 525 launchResolver((ArrayList<ApduServiceInfo>)resolveInfo.services, in handleMessage()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageBaseFragment.java | 37 protected final TemplatePreference.NetworkServices services = field in DataUsageBaseFragment 45 services.mNetworkService = INetworkManagementService.Stub.asInterface( in onCreate() 47 services.mStatsService = INetworkStatsService.Stub.asInterface( in onCreate() 49 services.mPolicyManager = (NetworkPolicyManager) context in onCreate() 52 services.mPolicyEditor = new NetworkPolicyEditor(services.mPolicyManager); in onCreate() 54 services.mTelephonyManager = context.getSystemService(TelephonyManager.class); in onCreate() 55 services.mSubscriptionManager = SubscriptionManager.from(context); in onCreate() 56 services.mUserManager = UserManager.get(context); in onCreate() 62 services.mPolicyEditor.read(); in onResume() 66 return services.mUserManager.isAdminUser(); in isAdmin() [all …]
|
D | BillingCyclePreferenceController.java | 50 TemplatePreference.NetworkServices services = new TemplatePreference.NetworkServices(); in displayPreference() local 51 services.mNetworkService = INetworkManagementService.Stub.asInterface( in displayPreference() 53 services.mStatsService = INetworkStatsService.Stub.asInterface( in displayPreference() 55 services.mPolicyManager = mContext.getSystemService(NetworkPolicyManager.class); in displayPreference() 56 services.mPolicyEditor = new NetworkPolicyEditor(services.mPolicyManager); in displayPreference() 57 services.mTelephonyManager = mContext.getSystemService(TelephonyManager.class); in displayPreference() 58 services.mSubscriptionManager = mContext.getSystemService(SubscriptionManager.class); in displayPreference() 59 services.mUserManager = mContext.getSystemService(UserManager.class); in displayPreference() 63 preference.setTemplate(template, mSubscriptionId, services); in displayPreference()
|
D | DataUsageSummary.java | 155 subId, services); in addMobileSection() local 156 category.pushTemplates(services); in addMobileSection() 167 category.setTemplate(NetworkTemplate.buildTemplateWifiWildcard(), 0, services); in addWifiSection() local 173 category.setTemplate(NetworkTemplate.buildTemplateEthernet(), 0, services); in addEthernetSection() local 228 ((TemplatePreferenceCategory) currentPreference).pushTemplates(services); in updateState() 240 return services.mPolicyEditor; in getNetworkPolicyEditor()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageBaseFragment.java | 37 protected final TemplatePreference.NetworkServices services = field in DataUsageBaseFragment 45 services.mNetworkService = INetworkManagementService.Stub.asInterface( in onCreate() 47 services.mStatsService = INetworkStatsService.Stub.asInterface( in onCreate() 49 services.mPolicyManager = (NetworkPolicyManager) context in onCreate() 52 services.mPolicyEditor = new NetworkPolicyEditor(services.mPolicyManager); in onCreate() 54 services.mTelephonyManager = TelephonyManager.from(context); in onCreate() 55 services.mSubscriptionManager = SubscriptionManager.from(context); in onCreate() 56 services.mUserManager = UserManager.get(context); in onCreate() 62 services.mPolicyEditor.read(); in onResume() 66 return services.mUserManager.isAdminUser(); in isAdmin() [all …]
|
D | BillingCyclePreferenceController.java | 50 TemplatePreference.NetworkServices services = new TemplatePreference.NetworkServices(); in displayPreference() local 51 services.mNetworkService = INetworkManagementService.Stub.asInterface( in displayPreference() 53 services.mStatsService = INetworkStatsService.Stub.asInterface( in displayPreference() 55 services.mPolicyManager = mContext.getSystemService(NetworkPolicyManager.class); in displayPreference() 56 services.mPolicyEditor = new NetworkPolicyEditor(services.mPolicyManager); in displayPreference() 57 services.mTelephonyManager = mContext.getSystemService(TelephonyManager.class); in displayPreference() 58 services.mSubscriptionManager = mContext.getSystemService(SubscriptionManager.class); in displayPreference() 59 services.mUserManager = mContext.getSystemService(UserManager.class); in displayPreference() 62 services.mTelephonyManager.getSubscriberId(mSubscriptionId)); in displayPreference() 64 services.mTelephonyManager.getMergedSubscriberIds()); in displayPreference() [all …]
|
D | DataUsageSummary.java | 159 category.setTemplate(getNetworkTemplate(subId), subId, services); in addMobileSection() local 160 category.pushTemplates(services); in addMobileSection() 171 category.setTemplate(NetworkTemplate.buildTemplateWifiWildcard(), 0, services); in addWifiSection() local 177 category.setTemplate(NetworkTemplate.buildTemplateEthernet(), 0, services); in addEthernetSection() local 195 services.mTelephonyManager.getSubscriberId(subscriptionId)); in getNetworkTemplate() 197 services.mTelephonyManager.getMergedSubscriberIds()); in getNetworkTemplate() 239 ((TemplatePreferenceCategory) currentPreference).pushTemplates(services); in updateState() 251 return services.mPolicyEditor; in getNetworkPolicyEditor()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/ |
D | ReviewAccessibilityServicesActivity.java | 57 List<AccessibilityServiceInfo> services = accessibilityManager in onCreate() local 61 .setView(createDialogView(services)) in onCreate() 64 if (services.size() == 1) { in onCreate() 65 startAccessibilityScreen(services.get(0).getResolveInfo().serviceInfo); in onCreate() 74 private @NonNull View createDialogView(List<AccessibilityServiceInfo> services) { in createDialogView() argument 80 int numServices = services.size(); in createDialogView() 82 ResolveInfo resolveInfo = services.get(i).getResolveInfo(); in createDialogView() 111 services.size())); in createDialogView()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | AppCompatContactsActivity.java | 44 InjectedServices services = ContactsApplication.getInjectedServices(); in getContentResolver() local 45 if (services != null) { in getContentResolver() 46 mContentResolver = services.getContentResolver(); in getContentResolver() 57 InjectedServices services = ContactsApplication.getInjectedServices(); in getSharedPreferences() local 58 if (services != null) { in getSharedPreferences() 59 SharedPreferences prefs = services.getSharedPreferences(); in getSharedPreferences()
|
D | ContactsActivity.java | 43 InjectedServices services = ContactsApplication.getInjectedServices(); in getContentResolver() local 44 if (services != null) { in getContentResolver() 45 mContentResolver = services.getContentResolver(); in getContentResolver() 56 InjectedServices services = ContactsApplication.getInjectedServices(); in getSharedPreferences() local 57 if (services != null) { in getSharedPreferences() 58 SharedPreferences prefs = services.getSharedPreferences(); in getSharedPreferences()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | Job.java | 17 package com.android.documentsui.services; 22 import static com.android.documentsui.services.FileOperationService.EXTRA_CANCEL; 23 import static com.android.documentsui.services.FileOperationService.EXTRA_DIALOG_TYPE; 24 import static com.android.documentsui.services.FileOperationService.EXTRA_FAILED_DOCS; 25 import static com.android.documentsui.services.FileOperationService.EXTRA_FAILED_URIS; 26 import static com.android.documentsui.services.FileOperationService.EXTRA_JOB_ID; 27 import static com.android.documentsui.services.FileOperationService.EXTRA_OPERATION_TYPE; 28 import static com.android.documentsui.services.FileOperationService.OPERATION_UNKNOWN; 57 import com.android.documentsui.services.FileOperationService.OpType;
|
D | FileOperation.java | 17 package com.android.documentsui.services; 19 import static com.android.documentsui.services.FileOperationService.OPERATION_COMPRESS; 20 import static com.android.documentsui.services.FileOperationService.OPERATION_COPY; 21 import static com.android.documentsui.services.FileOperationService.OPERATION_DELETE; 22 import static com.android.documentsui.services.FileOperationService.OPERATION_EXTRACT; 23 import static com.android.documentsui.services.FileOperationService.OPERATION_MOVE; 24 import static com.android.documentsui.services.FileOperationService.OPERATION_UNKNOWN; 40 import com.android.documentsui.services.FileOperationService.OpType;
|
D | FileOperations.java | 17 package com.android.documentsui.services; 21 import static com.android.documentsui.services.FileOperationService.EXTRA_CANCEL; 22 import static com.android.documentsui.services.FileOperationService.EXTRA_JOB_ID; 23 import static com.android.documentsui.services.FileOperationService.EXTRA_OPERATION; 32 import com.android.documentsui.services.FileOperationService.OpType;
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickFragment.java | 19 import static com.android.documentsui.services.FileOperationService.OPERATION_DELETE; 20 import static com.android.documentsui.services.FileOperationService.OPERATION_COPY; 21 import static com.android.documentsui.services.FileOperationService.OPERATION_COMPRESS; 22 import static com.android.documentsui.services.FileOperationService.OPERATION_EXTRACT; 23 import static com.android.documentsui.services.FileOperationService.OPERATION_MOVE; 24 import static com.android.documentsui.services.FileOperationService.OPERATION_UNKNOWN; 44 import com.android.documentsui.services.FileOperationService.OpType;
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | PhoneAccountSuggestionHelper.java | 169 List<ResolveInfo> services; in getSuggestionServiceInfo() local 171 services = packageManager.queryIntentServices(queryIntent, in getSuggestionServiceInfo() 176 services = packageManager.queryIntentServices(queryIntent, in getSuggestionServiceInfo() 180 if (services == null || services.size() == 0) { in getSuggestionServiceInfo() 185 if (services.size() > 1) { in getSuggestionServiceInfo() 189 return services.get(0).serviceInfo; in getSuggestionServiceInfo()
|
/packages/services/Car/car_product/build/ |
D | car.mk | 19 BOARD_PLAT_PUBLIC_SEPOLICY_DIR += packages/services/Car/car_product/sepolicy/public 20 BOARD_PLAT_PRIVATE_SEPOLICY_DIR += packages/services/Car/car_product/sepolicy/private 45 BOARD_SEPOLICY_DIRS += packages/services/Car/car_product/sepolicy/test 62 $(call inherit-product, packages/services/Car/car_product/build/car_base.mk) 110 …packages/services/Car/car_product/bootanimations/bootanimation-832.zip:system/media/bootanimation.… 113 packages/services/Car/car_product/init/init.car.rc:system/etc/init/init.car.rc
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | AssistantRoleBehavior.java | 120 List<ResolveInfo> services = userPackageManager.queryIntentServices( in getQualifyingPackagesAsUser() local 124 int numServices = services.size(); in getQualifyingPackagesAsUser() 126 ResolveInfo service = services.get(i); in getQualifyingPackagesAsUser() 156 List<ResolveInfo> services = packageManager.queryIntentServices(pkgServiceProbe, in isPackageQualified() local 159 hasAssistantService = !services.isEmpty(); in isPackageQualified() 160 int numServices = services.size(); in isPackageQualified() 162 ResolveInfo service = services.get(i); in isPackageQualified()
|
/packages/services/Telephony/testapps/EmbmsTestStreamingApp/src/com/android/phone/testapps/embmsfrontend/ |
D | EmbmsTestStreamingApp.java | 48 public void onStreamingServicesUpdated(List<StreamingServiceInfo> services) { 51 "Got services length " + services.size(), 53 updateStreamingServicesList(services); 100 public void update(List<StreamingServiceInfo> services) { in update() argument 102 addAll(services); in update() 245 private void updateStreamingServicesList(List<StreamingServiceInfo> services) { in updateStreamingServicesList() argument 246 runOnUiThread(() -> mStreamingServicesDisplayAdapter.update(services)); in updateStreamingServicesList()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/ |
D | DialogController.java | 31 import com.android.documentsui.services.FileOperation; 32 import com.android.documentsui.services.FileOperationService; 33 import com.android.documentsui.services.FileOperationService.OpType; 34 import com.android.documentsui.services.FileOperations; 35 import com.android.documentsui.services.FileOperations.Callback.Status;
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintSettingPreferenceController.java | 111 final List<PrintServiceInfo> services = in getSummary() local 113 if (services == null || services.isEmpty()) { in getSummary() 116 final int count = services.size(); in getSummary()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/defaultapps/ |
D | DefaultAssistantPickerEntryPreferenceController.java | 91 List<ResolveInfo> services = pm.queryIntentServices(probe, PackageManager.GET_META_DATA); in getSettingIntent() local 92 if (services == null || services.isEmpty()) { in getSettingIntent() 96 String activity = getAssistSettingsActivity(pm, services.get(0)); in getSettingIntent()
|
/packages/apps/Settings/src/com/android/settings/applications/assist/ |
D | DefaultAssistPreferenceController.java | 76 final List<ResolveInfo> services = mPackageManager.queryIntentServices(probe, in getSettingIntent() local 78 if (services == null || services.isEmpty()) { in getSettingIntent() 81 final String activity = getAssistSettingsActivity(cn, services.get(0), mPackageManager); in getSettingIntent()
|