Home
last modified time | relevance | path

Searched refs:services (Results 1 – 25 of 363) sorted by relevance

12345678910>>...15

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DRegisteredServicesCache.java86 void onServicesUpdated(int userId, final List<ApduServiceInfo> services); in onServicesUpdated() argument
103 final HashMap<ComponentName, ApduServiceInfo> services = field in RegisteredServicesCache.UserServices
110 UserServices services = mUserServices.get(userId); in findOrCreateUserLocked() local
111 if (services == null) { in findOrCreateUserLocked()
112 services = new UserServices(); in findOrCreateUserLocked()
113 mUserServices.put(userId, services); in findOrCreateUserLocked()
115 return services; in findOrCreateUserLocked()
174 void dump(ArrayList<ApduServiceInfo> services) { in dump() argument
175 for (ApduServiceInfo service : services) { in dump()
180 boolean containsServiceLocked(ArrayList<ApduServiceInfo> services, ComponentName serviceName) { in containsServiceLocked() argument
[all …]
DRegisteredAidCache.java117 List<ApduServiceInfo> services = new ArrayList<ApduServiceInfo>(); field in RegisteredAidCache.AidResolveInfo
125 "services=" + services + in toString()
202 for (ApduServiceInfo serviceInfo : entryResolveInfo.services) { in resolveAid()
203 if (!resolveInfo.services.contains(serviceInfo)) { in resolveAid()
204 resolveInfo.services.add(serviceInfo); in resolveAid()
227 if (resolveInfo == null || resolveInfo.services == null || in isDefaultServiceForAid()
228 resolveInfo.services.size() == 0) { in isDefaultServiceForAid()
234 } else if (resolveInfo.services.size() == 1) { in isDefaultServiceForAid()
235 return service.equals(resolveInfo.services.get(0).getComponent()); in isDefaultServiceForAid()
269 resolveInfo.services.add(serviceAidInfo.service); in resolveAidConflictLocked()
[all …]
DRegisteredNfcFServicesCache.java80 void onNfcFServicesUpdated(int userId, final List<NfcFServiceInfo> services); in onNfcFServicesUpdated() argument
107 final HashMap<ComponentName, NfcFServiceInfo> services = field in RegisteredNfcFServicesCache.UserServices
182 void dump(ArrayList<NfcFServiceInfo> services) { in dump() argument
183 for (NfcFServiceInfo service : services) { in dump()
188 boolean containsServiceLocked(ArrayList<NfcFServiceInfo> services, in containsServiceLocked() argument
190 for (NfcFServiceInfo service : services) { in containsServiceLocked()
203 return userServices.services.get(componentName); in getService()
208 final ArrayList<NfcFServiceInfo> services = new ArrayList<NfcFServiceInfo>(); in getServices() local
211 services.addAll(userServices.services.values()); in getServices()
213 return services; in getServices()
[all …]
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageBaseFragment.java37 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 …]
DBillingCyclePreferenceController.java51 TemplatePreference.NetworkServices services = new TemplatePreference.NetworkServices(); in displayPreference() local
52 services.mNetworkService = INetworkManagementService.Stub.asInterface( in displayPreference()
54 services.mStatsService = INetworkStatsService.Stub.asInterface( in displayPreference()
56 services.mPolicyManager = mContext.getSystemService(NetworkPolicyManager.class); in displayPreference()
57 services.mPolicyEditor = new NetworkPolicyEditor(services.mPolicyManager); in displayPreference()
58 services.mTelephonyManager = mContext.getSystemService(TelephonyManager.class); in displayPreference()
59 services.mSubscriptionManager = mContext.getSystemService(SubscriptionManager.class); in displayPreference()
60 services.mUserManager = mContext.getSystemService(UserManager.class); in displayPreference()
64 preference.setTemplate(template, mSubscriptionId, services); in displayPreference()
/packages/apps/Car/DebuggingRestrictionController/libs/
DAndroid.bp12 name: "drc-lib-play-services-base-17.1.0",
13 aars: ["play-services-base-17.1.0.aar"],
19 name: "drc-lib-play-services-stats-17.0.0",
20 aars: ["play-services-stats-17.0.0.aar"],
26 name: "drc-lib-play-services-basement-17.1.0",
27 aars: ["play-services-basement-17.1.0.aar"],
40 name: "drc-lib-play-services-tasks-17.0.0",
41 aars: ["play-services-tasks-17.0.0.aar"],
89 name: "drc-lib-play-services-cloud-messaging-16.0.0",
90 aars: ["play-services-cloud-messaging-16.0.0.aar"],
[all …]
/packages/services/Car/car_product/build/
Dcar_base.mk21 PRODUCT_PACKAGE_OVERLAYS += packages/services/Car/car_product/overlay
25 PRODUCT_PACKAGE_OVERLAYS += packages/services/Car/car_product/overlay-visual
29 …packages/services/Car/car_product/build/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysc…
72 include packages/services/Car/cpp/evs/manager/evsmanager.mk
81 include packages/services/Car/cpp/evs/apps/sepolicy/evsapp.mk
82 include packages/services/Car/cpp/evs/sampleDriver/sepolicy/evsdriver.mk
90 PRODUCT_PACKAGE_OVERLAYS += packages/services/Car/tests/SampleRearViewCamera/overlay
99 …packages/services/Car/car_product/build/preinstalled-packages-product-car-base.xml:system/etc/sysc…
109 packages/services/Car/car_product/init/init.bootstat.rc:system/etc/init/init.bootstat.car.rc \
110 packages/services/Car/car_product/init/init.car.rc:system/etc/init/init.car.rc
[all …]
/packages/services/Car/cpp/computepipe/tests/fuzz/
DAndroid.bp65 "packages/services/Car/cpp/computepipe",
66 "packages/services/Car/cpp/computepipe/runner/stream_manager",
67 "packages/services/Car/cpp/computepipe/runner/input_manager",
68 "packages/services/Car/cpp/computepipe/runner/input_manager/include",
69 "packages/services/Car/cpp/computepipe/runner/engine",
70 "packages/services/Car/cpp/computepipe/runner/debug_display_manager/include",
71 "packages/services/Car/cpp/computepipe/runner/client_interface/include/",
72 "packages/services/Car/cpp/computepipe/runner/graph/include/",
151 "packages/services/Car/cpp/computepipe",
152 "packages/services/Car/cpp/computepipe/runner/graph",
[all …]
/packages/modules/adb/client/
Dmdnsresponder_client.cpp191 ServiceRegistry* services = nullptr; in AddToServiceRegistry() local
194 services = sAdbTransportServices; in AddToServiceRegistry()
197 services = sAdbSecurePairingServices; in AddToServiceRegistry()
200 services = sAdbSecureConnectServices; in AddToServiceRegistry()
208 services->push_back(std::move(service)); in AddToServiceRegistry()
209 const auto& s = services->back(); in AddToServiceRegistry()
260 static void ForEachService(const ServiceRegistry& services, const std::string& hostname,
263 static bool ConnectByServiceName(const ServiceRegistry& services,
303 void ResolvedService::ForEachService(const ServiceRegistry& services, in ForEachService() argument
308 for (const auto& service : services) { in ForEachService()
[all …]
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DIExperimentalCarImpl.java90 ArrayList<CarServiceBase> services = new ArrayList<>(); in init() local
106 services.add(service); in init()
124 mRunningServices.addAll(services); in init()
133 ArrayList<CarServiceBase> services; in release() local
139 services = new ArrayList<>(mRunningServices); in release()
142 for (CarServiceBase service : services) { in release()
150 ArrayList<CarServiceBase> services; in dump() local
154 services = new ArrayList<>(mRunningServices); in dump()
156 pw.printf(" Number of running services: %d\n", services.size()); in dump()
159 for (CarServiceBase service : services) { in dump()
/packages/apps/Car/DebuggingRestrictionController/
DAndroid.bp44 "drc-lib-play-services-auth-api-phone-17.4.0",
45 "drc-lib-play-services-base-17.1.0",
46 "drc-lib-play-services-basement-17.1.0",
47 "drc-lib-play-services-cloud-messaging-16.0.0",
48 "drc-lib-play-services-safetynet-17.0.0",
49 "drc-lib-play-services-stats-17.0.0",
50 "drc-lib-play-services-tasks-17.0.0",
/packages/apps/Contacts/src/com/android/contacts/
DAppCompatContactsActivity.java44 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()
DContactsActivity.java43 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/services/Car/cpp/computepipe/runner/stream_manager/
DAndroid.bp28 "//packages/services/Car/cpp/computepipe/runner:__subpackages__",
29 "//packages/services/Car/cpp/computepipe/tests:__subpackages__",
44 "packages/services/Car/cpp/computepipe",
54 "//packages/services/Car/cpp/computepipe/runner:__subpackages__",
55 "//packages/services/Car/cpp/computepipe/tests:__subpackages__",
72 "packages/services/Car/cpp/computepipe",
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DReviewAccessibilityServicesActivity.java56 List<AccessibilityServiceInfo> services = accessibilityManager in onCreate() local
60 .setView(createDialogView(services)) in onCreate()
63 if (services.size() == 1) { in onCreate()
64 startAccessibilityScreen(services.get(0).getResolveInfo().serviceInfo); in onCreate()
73 private @NonNull View createDialogView(List<AccessibilityServiceInfo> services) { in createDialogView() argument
79 int numServices = services.size(); in createDialogView()
81 ResolveInfo resolveInfo = services.get(i).getResolveInfo(); in createDialogView()
110 services.size())); in createDialogView()
/packages/services/Telecomm/src/com/android/server/telecom/
DPhoneAccountSuggestionHelper.java169 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/apps/DocumentsUI/src/com/android/documentsui/services/
DJob.java17 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;
59 import com.android.documentsui.services.FileOperationService.OpType;
DFileOperation.java17 package com.android.documentsui.services;
21 import static com.android.documentsui.services.FileOperationService.OPERATION_COMPRESS;
22 import static com.android.documentsui.services.FileOperationService.OPERATION_COPY;
23 import static com.android.documentsui.services.FileOperationService.OPERATION_DELETE;
24 import static com.android.documentsui.services.FileOperationService.OPERATION_EXTRACT;
25 import static com.android.documentsui.services.FileOperationService.OPERATION_MOVE;
26 import static com.android.documentsui.services.FileOperationService.OPERATION_UNKNOWN;
42 import com.android.documentsui.services.FileOperationService.OpType;
DFileOperations.java17 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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/rotary/
DRotaryFragment.java247 String services = Settings.Secure.getString(context.getContentResolver(), in isRotaryServiceEnabled() local
249 if (services == null) { in isRotaryServiceEnabled()
253 return services.contains(ROTARY_CONTROLLER_PACKAGE); in isRotaryServiceEnabled()
266 String services = Settings.Secure.getString(context.getContentResolver(), in enableRotaryService() local
268 if (services == null) { in enableRotaryService()
269 services = ""; in enableRotaryService()
271 Log.d(TAG, "Current list of accessibility services: " + services); in enableRotaryService()
273 String[] servicesArray = services.split(ACCESSIBILITY_DELIMITER); in enableRotaryService()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickFragment.java19 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;
42 import com.android.documentsui.services.FileOperationService.OpType;
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/packageinfo/
DPackageInfoFragment.java140 if (mFilterServices && packageInfo.services != null) { in refreshPackages()
142 for (ServiceInfo info : Arrays.asList(packageInfo.services)) { in refreshPackages()
148 toDenyList &= Arrays.asList(packageInfo.services).stream().anyMatch(info -> in refreshPackages()
156 && packageInfo.services == null in refreshPackages()
160 && packageInfo.services == null && packageInfo.providers == null); in refreshPackages()
199 CheckBox services = v.findViewById(R.id.checkbox_services); in setListener() local
206 services.setOnClickListener(view -> mFilterServices = ((CheckBox) view).isChecked()); in setListener()
/packages/modules/ExtServices/java/tests/src/android/ext/services/autofill/
DCreditCardMatcherTest.java16 package android.ext.services.autofill;
18 import static android.ext.services.autofill.CreditCardMatcher.OPTIONAL_ARG_SUFFIX_LENGTH;
19 import static android.ext.services.autofill.CreditCardMatcher.REQUIRED_ARG_MAX_CREDIT_CARD_LENGTH;
20 import static android.ext.services.autofill.CreditCardMatcher.REQUIRED_ARG_MIN_CREDIT_CARD_LENGTH;
21 import static android.ext.services.autofill.CreditCardMatcher.calculateScore;
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/model/
DAssistantRoleBehavior.java118 List<ResolveInfo> services = userPackageManager.queryIntentServices( in getQualifyingPackagesAsUser() local
122 int numServices = services.size(); in getQualifyingPackagesAsUser()
124 ResolveInfo service = services.get(i); in getQualifyingPackagesAsUser()
154 List<ResolveInfo> services = packageManager.queryIntentServices(pkgServiceProbe, in isPackageQualified() local
157 hasAssistantService = !services.isEmpty(); in isPackageQualified()
158 int numServices = services.size(); in isPackageQualified()
160 ResolveInfo service = services.get(i); in isPackageQualified()
/packages/services/Car/car_product/init/
Dinit.car.rc1 # Insert car-specific startup services here
5 # A property to enable EVS services conditionally
7 # stop EVS and automotive display services
13 # start EVS and automotive display services

12345678910>>...15