Home
last modified time | relevance | path

Searched refs:getService (Results 1 – 25 of 517) sorted by relevance

12345678910>>...21

/frameworks/base/core/java/android/app/
DNotificationManager.java241 static public INotificationManager getService() in getService() method in NotificationManager
246 IBinder b = ServiceManager.getService("notification"); in getService()
297 INotificationManager service = getService(); in notifyAsUser()
355 INotificationManager service = getService(); in cancelAsUser()
371 INotificationManager service = getService(); in cancelAll()
408 INotificationManager service = getService(); in createNotificationChannelGroups()
444 INotificationManager service = getService(); in createNotificationChannels()
459 INotificationManager service = getService(); in getNotificationChannel()
471 INotificationManager service = getService(); in getNotificationChannels()
487 INotificationManager service = getService(); in deleteNotificationChannel()
[all …]
DStatusBarManager.java106 private synchronized IStatusBarService getService() { in getService() method in StatusBarManager
109 ServiceManager.getService(Context.STATUS_BAR_SERVICE)); in getService()
123 final IStatusBarService svc = getService(); in disable()
140 final IStatusBarService svc = getService(); in disable2()
154 final IStatusBarService svc = getService(); in expandNotificationsPanel()
168 final IStatusBarService svc = getService(); in collapsePanels()
189 final IStatusBarService svc = getService(); in expandSettingsPanel()
200 final IStatusBarService svc = getService(); in setIcon()
212 final IStatusBarService svc = getService(); in removeIcon()
223 final IStatusBarService svc = getService(); in setIconVisibility()
DActivityManager.java999 return getService().getFrontActivityScreenCompatMode(); in getFrontActivityScreenCompatMode()
1008 getService().setFrontActivityScreenCompatMode(mode); in setFrontActivityScreenCompatMode()
1017 return getService().getPackageScreenCompatMode(packageName); in getPackageScreenCompatMode()
1026 getService().setPackageScreenCompatMode(packageName, mode); in setPackageScreenCompatMode()
1035 return getService().getPackageAskScreenCompat(packageName); in getPackageAskScreenCompat()
1044 getService().setPackageAskScreenCompat(packageName, ask); in setPackageAskScreenCompat()
1400 return getService().getTaskDescriptionIcon(iconFilename, in loadTaskDescriptionIcon()
1809 return getService().getRecentTasks(maxNum, in getRecentTasks()
1834 return getService().getRecentTasks(maxNum, in getRecentTasksForUser()
1980 appTasks = getService().getAppTasks(mContext.getPackageName()); in getAppTasks()
[all …]
DPendingIntent.java343 ActivityManager.getService().getIntentSender( in getActivity()
368 ActivityManager.getService().getIntentSender( in getActivityAsUser()
485 ActivityManager.getService().getIntentSender( in getActivities()
511 ActivityManager.getService().getIntentSender( in getActivitiesAsUser()
563 ActivityManager.getService().getIntentSender( in getBroadcastAsUser()
598 public static PendingIntent getService(Context context, int requestCode, in getService() method in PendingIntent
642 ActivityManager.getService().getIntentSender( in buildServicePendingIntent()
669 ActivityManager.getService().cancelIntentSender(mTarget); in cancel()
873 int res = ActivityManager.getService().sendIntentSender( in send()
893 return ActivityManager.getService() in getTargetPackage()
[all …]
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java455 ITelephonyRegistry tr = ITelephonyRegistry.Stub.asInterface(ServiceManager.getService( in addOnSubscriptionsChangedListener()
481 ITelephonyRegistry tr = ITelephonyRegistry.Stub.asInterface(ServiceManager.getService( in removeOnSubscriptionsChangedListener()
509 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubscriptionInfo()
537 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubscriptionInfoForIccIndex()
563 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubscriptionInfoForSimSlotIndex()
586 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getAllSubscriptionInfoList()
624 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubscriptionInfoList()
645 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getAllSubscriptionInfoCount()
665 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubscriptionInfoCount()
685 ISub iSub = ISub.Stub.asInterface(ServiceManager.getService("isub")); in getActiveSubscriptionInfoCountMax()
[all …]
DSmsManager.java413 ISms iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms")); in injectSmsPdu()
718 return ISms.Stub.asInterface(ServiceManager.getService("isms")); in getISmsService()
1080 iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms")); in getDefaultSmsSubscriptionId()
1098 iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms")); in isSMSPromptEnabled()
1159 final IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in sendMultimediaMessage()
1193 final IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in downloadMultimediaMessage()
1237 IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in importTextMessage()
1274 IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in importMultimediaMessage()
1300 IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in deleteStoredMessage()
1321 IMms iMms = IMms.Stub.asInterface(ServiceManager.getService("imms")); in deleteStoredConversation()
[all …]
/frameworks/native/libs/binder/
DAppOpsManager.cpp58 sp<IAppOpsService> AppOpsManager::getService() { return NULL; } in getService() function in android::AppOpsManager
60 sp<IAppOpsService> AppOpsManager::getService() in getService() function in android::AppOpsManager
90 sp<IAppOpsService> service = getService(); in checkOp()
97 sp<IAppOpsService> service = getService(); in noteOp()
104 sp<IAppOpsService> service = getService(); in startOp()
111 sp<IAppOpsService> service = getService(); in finishOp()
119 sp<IAppOpsService> service = getService(); in startWatchingMode()
126 sp<IAppOpsService> service = getService(); in stopWatchingMode()
133 sp<IAppOpsService> service = getService(); in permissionToOpCode()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java54 if (getService().mDevicesFound.isEmpty()) { in onCreate()
58 if (getService().mRequest.isSingleDevice()) { in onCreate()
60 final DeviceFilterPair selectedDevice = getService().mDevicesFound.get(0); in onCreate()
65 getService().mSelectedDevice = selectedDevice; in onCreate()
70 final DeviceDiscoveryService.DevicesAdapter adapter = getService().mDevicesAdapter; in onCreate()
82 mPairButton.setOnClickListener(v -> onPairTapped(getService().mSelectedDevice)); in onCreate()
90 getService().onCancel(); in cancel()
138 mPairButton.setEnabled(getService().mSelectedDevice != null); in updatePairButtonEnabled()
141 private DeviceDiscoveryService getService() { in getService() method in DeviceChooserActivity
146 getService().onDeviceSelected( in onPairTapped()
/frameworks/base/media/java/android/media/
DAudioManager.java675 private static IAudioService getService() in getService() method in AudioManager
680 IBinder b = ServiceManager.getService(Context.AUDIO_SERVICE); in getService()
771 final IAudioService service = getService(); in adjustStreamVolume()
839 final IAudioService service = getService(); in setMasterMute()
856 final IAudioService service = getService(); in getRingerMode()
876 final IAudioService service = getService(); in isValidRingerMode()
892 final IAudioService service = getService(); in getStreamMaxVolume()
909 final IAudioService service = getService(); in getStreamMinVolume()
926 final IAudioService service = getService(); in getStreamVolume()
940 final IAudioService service = getService(); in getLastAudibleStreamVolume()
[all …]
DPlayerBase.java95 IBinder b = ServiceManager.getService(Context.APP_OPS_SERVICE); in baseRegisterPlayer()
108 newPiid = getService().trackPlayer( in baseRegisterPlayer()
125 getService().playerAttributes(mPlayerIId, attr); in baseUpdateAudioAttributes()
140 getService().playerEvent(mPlayerIId, mState); in baseStart()
169 getService().playerEvent(mPlayerIId, mState); in basePause()
181 getService().playerEvent(mPlayerIId, mState); in baseStop()
235 getService().releasePlayer(mPlayerIId); in baseRelease()
322 cameraSoundForced = getService().isCameraSoundForced(); in isRestricted_sync()
335 private static IAudioService getService() in getService() method in PlayerBase
340 IBinder b = ServiceManager.getService(Context.AUDIO_SERVICE); in getService()
/frameworks/base/services/core/java/com/android/server/location/
DLocationProviderProxy.java85 private ILocationProvider getService() { in getService() method in LocationProviderProxy
112 service = getService();
162 ILocationProvider service = getService(); in enable()
180 ILocationProvider service = getService(); in disable()
206 ILocationProvider service = getService(); in setRequest()
227 ILocationProvider service = getService(); in dump()
243 ILocationProvider service = getService(); in getStatus()
259 ILocationProvider service = getService(); in getStatusUpdateTime()
275 ILocationProvider service = getService(); in sendExtraCommand()
DGeocoderProxy.java66 private IGeocodeProvider getService() { in getService() method in GeocoderProxy
76 IGeocodeProvider provider = getService(); in getFromLocation()
91 IGeocodeProvider provider = getService(); in getFromLocationName()
/frameworks/base/services/core/java/com/android/server/wm/
DDragAndDropPermissionsHandler.java64 IBinder permissionOwner = ActivityManager.getService(). in take()
74 ActivityManager.getService().grantUriPermissionFromOwner( in doTake()
88 mPermissionOwnerToken = ActivityManager.getService().newUriPermissionOwner("drop"); in takeTransient()
104 permissionOwner = ActivityManager.getService(). in release()
120 ActivityManager.getService().revokeUriPermissionFromOwner( in release()
/frameworks/base/keystore/java/android/security/
DGateKeeper.java36 public static IGateKeeperService getService() { in getService() method in GateKeeper
38 ServiceManager.getService(Context.GATEKEEPER_SERVICE)); in getService()
47 return getService().getSecureUserId(UserHandle.myUserId()); in getSecureUserId()
/frameworks/base/core/java/android/net/
DVpnService.java130 private static IConnectivityManager getService() { in getService() method in VpnService
132 ServiceManager.getService(Context.CONNECTIVITY_SERVICE)); in getService()
160 if (getService().prepareVpn(context.getPackageName(), null, UserHandle.myUserId())) { in prepare()
183 IConnectivityManager cm = getService(); in prepareAndAuthorize()
258 return getService().addVpnAddress(address.getHostAddress(), prefixLength); in addAddress()
288 return getService().removeVpnAddress(address.getHostAddress(), prefixLength); in removeAddress()
328 return getService().setUnderlyingNetworksForVpn(networks); in setUnderlyingNetworks()
606 ServiceManager.getService("package")); in verifyApp()
771 return getService().establishVpn(mConfig); in establish()
/frameworks/base/packages/ExtServices/tests/src/android/ext/services/storage/
DCacheQuotaServiceImplTest.java75 CacheQuotaServiceImpl service = getService(); in testNoApps()
85 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testOneApp()
97 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testTwoAppsOneVolume()
111 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testTwoAppsTwoVolumes()
124 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testMultipleAppsPerUidIsCollated()
136 List<CacheQuotaHint> output = getService().onComputeCacheQuotaHints(requests); in testTwoAppsTwoVolumesTwoUuidsShouldBESeparate()
/frameworks/native/libs/binder/include/binder/
DIServiceManager.h39 virtual sp<IBinder> getService( const String16& name) const = 0;
69 status_t getService(const String16& name, sp<INTERFACE>* outService) in getService() function
73 *outService = interface_cast<INTERFACE>(sm->getService(name)); in getService()
/frameworks/base/services/core/java/com/android/server/
DSystemService.java214 return ServiceManager.getService(name); in getBinderService()
228 return LocalServices.getService(type); in getLocalService()
232 return LocalServices.getService(SystemServiceManager.class); in getManager()
DInputContentUriTokenHandler.java67 mPermissionOwnerToken = ActivityManager.getService() in take()
81 ActivityManager.getService().grantUriPermissionFromOwner( in doTakeLocked()
99 ActivityManager.getService().revokeUriPermissionFromOwner( in release()
/frameworks/base/core/java/android/content/
DIntentSender.java191 int res = ActivityManager.getService().sendIntentSender(mTarget, mWhitelistToken, in sendIntent()
211 return ActivityManager.getService() in getTargetPackage()
230 return ActivityManager.getService() in getCreatorPackage()
249 return ActivityManager.getService() in getCreatorUid()
270 int uid = ActivityManager.getService() in getCreatorUserHandle()
/frameworks/base/nfc-extras/java/com/android/nfc_extras/
DNfcExecutionEnvironment.java168 Bundle b = mExtras.getService().open(mExtras.mPackageName, mToken); in open()
186 throwBundle(mExtras.getService().close(mExtras.mPackageName, mToken)); in close()
204 b = mExtras.getService().transceive(mExtras.mPackageName, in); in transceive()
/frameworks/base/core/java/android/os/
DServiceManager.java50 public static IBinder getService(String name) { in getService() method in ServiceManager
56 return Binder.allowBlocking(getIServiceManager().getService(name)); in getService()
71 final IBinder binder = getService(name); in getServiceOrThrow()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java81 public IBinder getService(String serviceName) { in getService() method in FrameworkFacade
82 return ServiceManager.getService(serviceName); in getService()
90 return IBatteryStats.Stub.asInterface(getService(BatteryStats.SERVICE_NAME)); in getBatteryService()
173 return ActivityManager.getService().isAppForeground(uid); in isAppForeground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestResumeSessionReceiver.java69 currentUser = ActivityManager.getService().getCurrentUser(); in onReceive()
99 currentUser = ActivityManager.getService().getCurrentUser(); in wipeGuestSession()
125 ActivityManager.getService().switchUser(UserHandle.USER_SYSTEM); in wipeGuestSession()
130 ActivityManager.getService().switchUser(newGuest.id); in wipeGuestSession()
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java64 ActivityManager.getService().startUserInBackground(mCrossUserId); in setUp()
113 mServiceConnection.getService().updateContent(uriToUpdate, "New Text", 42); in testRegisterContentObserver()
130 mServiceConnection.getService().notifyForUriAsUser(notifyUri, UserHandle.myUserId()); in testNotifyChange()
154 public ICrossUserContentService getService() { in getService() method in AbstractCrossUserContentResolverTest.CrossUserContentServiceConnection

12345678910>>...21