/frameworks/native/libs/sensorprivacy/ |
D | SensorPrivacyManager.cpp | 32 sp<hardware::ISensorPrivacyManager> SensorPrivacyManager::getService() in getService() function in android::SensorPrivacyManager 45 sp<hardware::ISensorPrivacyManager> service = getService(); in supportsSensorToggle() 62 sp<hardware::ISensorPrivacyManager> service = getService(); in addSensorPrivacyListener() 71 sp<hardware::ISensorPrivacyManager> service = getService(); in addToggleSensorPrivacyListener() 82 sp<hardware::ISensorPrivacyManager> service = getService(); in removeSensorPrivacyListener() 91 sp<hardware::ISensorPrivacyManager> service = getService(); in removeToggleSensorPrivacyListener() 99 sp<hardware::ISensorPrivacyManager> service = getService(); in isSensorPrivacyEnabled() 111 sp<hardware::ISensorPrivacyManager> service = getService(); in isToggleSensorPrivacyEnabled() 123 sp<hardware::ISensorPrivacyManager> service = getService(); in isToggleSensorPrivacyEnabled() 136 sp<hardware::ISensorPrivacyManager> service = getService(); in isToggleSensorPrivacyEnabled() [all …]
|
/frameworks/native/libs/binder/ |
D | ActivityManager.cpp | 34 sp<IActivityManager> ActivityManager::getService() in getService() function in android::ActivityManager 71 sp<IActivityManager> service = getService(); in openContentUri() 80 sp<IActivityManager> service = getService(); in registerUidObserver() 93 sp<IActivityManager> service = getService(); in registerUidObserverForUids() 104 sp<IActivityManager> service = getService(); in unregisterUidObserver() 114 sp<IActivityManager> service = getService(); in addUidToObserver() 124 sp<IActivityManager> service = getService(); in removeUidFromObserver() 134 sp<IActivityManager> service = getService(); in isUidActive() 143 sp<IActivityManager> service = getService(); in getUidProcessState() 154 sp<IActivityManager> service = getService(); in checkPermission() [all …]
|
D | PermissionController.cpp | 30 sp<IPermissionController> PermissionController::getService() in getService() function in android::PermissionController 58 sp<IPermissionController> service = getService(); in checkPermission() 64 sp<IPermissionController> service = getService(); in noteOp() 70 sp<IPermissionController> service = getService(); in getPackagesForUid() 78 sp<IPermissionController> service = getService(); in isRuntimePermission() 84 sp<IPermissionController> service = getService(); in getPackageUid()
|
/frameworks/base/media/java/android/media/ |
D | Spatializer.java | 80 return mAm.getService().isSpatializerEnabled(); in isEnabled() 104 return mAm.getService().isSpatializerAvailable(); in isAvailable() 128 return mAm.getService().isSpatializerAvailableForDevice(device); in isAvailableForDevice() 146 return mAm.getService().hasHeadTracker(device); in hasHeadTracker() 164 mAm.getService().setHeadTrackerEnabled(enabled, device); in setHeadTrackerEnabled() 181 return mAm.getService().isHeadTrackerEnabled(device); in isHeadTrackerEnabled() 197 return mAm.getService().isHeadTrackerAvailable(); in isHeadTrackerAvailable() 373 level = mAm.getService().getSpatializerImmersiveAudioLevel(); in getImmersiveAudioLevel() 390 mAm.getService().setSpatializerEnabled(enabled); in setEnabled() 520 return mAm.getService().canBeSpatialized( in canBeSpatialized() [all …]
|
D | AudioManager.java | 940 static IAudioService getService() in getService() method in AudioManager 945 IBinder b = ServiceManager.getService(Context.AUDIO_SERVICE); in getService() 1014 res = getService().isVolumeFixed(); in isVolumeFixed() 1045 final IAudioService service = getService(); in adjustStreamVolume() 1079 final IAudioService service = getService(); in adjustVolume() 1118 final IAudioService service = getService(); in adjustSuggestedStreamVolume() 1134 final IAudioService service = getService(); in setMasterMute() 1151 final IAudioService service = getService(); in getRingerMode() 1195 final IAudioService service = getService(); in isValidRingerMode() 1211 final IAudioService service = getService(); in getStreamMaxVolume() [all …]
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | IInputMethodManagerGlobalInvoker.java | 84 return getService() != null; in isAvailable() 89 static IInputMethodManager getService() { in getService() method in IInputMethodManagerGlobalInvoker 96 ServiceManager.getService(Context.INPUT_METHOD_SERVICE)); in getService() 129 final IInputMethodManager service = getService(); in startProtoDump() 148 final IInputMethodManager service = getService(); in startImeTrace() 167 final IInputMethodManager service = getService(); in stopImeTrace() 186 final IInputMethodManager service = getService(); in isImeTraceEnabled() 203 final IInputMethodManager service = getService(); in removeImeSurface() 217 final IInputMethodManager service = getService(); in addClient() 232 final IInputMethodManager service = getService(); in getCurrentInputMethodInfoAsUser() [all …]
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 648 static public INotificationManager getService() in getService() method in NotificationManager 653 IBinder b = ServiceManager.getService("notification"); in getService() 733 INotificationManager service = getService(); in notifyAsPackage() 751 INotificationManager service = getService(); in notifyAsUser() 844 INotificationManager service = getService(); in cancelAsPackage() 859 INotificationManager service = getService(); in cancelAsUser() 876 INotificationManager service = getService(); in cancelAll() 899 INotificationManager service = getService(); in setNotificationDelegate() 914 INotificationManager service = getService(); in getNotificationDelegate() 930 INotificationManager service = getService(); in canNotifyAsPackage() [all …]
|
D | ActivityTaskManager.java | 148 public static IActivityTaskManager getService() { in getService() method in ActivityTaskManager 157 final IBinder b = ServiceManager.getService(Context.ACTIVITY_TASK_SERVICE); 169 getService().removeRootTasksInWindowingModes(windowingModes); in removeRootTasksInWindowingModes() 179 getService().removeRootTasksWithActivityTypes(activityTypes); in removeRootTasksWithActivityTypes() 192 getService().removeAllVisibleRecentTasks(); in removeAllVisibleRecentTasks() 219 getService().onSplashScreenViewCopyFinished(taskId, parcelable); in onSplashScreenViewCopyFinished() 284 getService().startSystemLockTaskMode(taskId); in startSystemLockTaskMode() 296 getService().stopSystemLockTaskMode(); in stopSystemLockTaskMode() 311 getService().moveTaskToRootTask(taskId, rootTaskId, toTop); in moveTaskToRootTask() 325 getService().resizeTask(taskId, bounds, RESIZE_MODE_SYSTEM); in resizeTask() [all …]
|
D | StatusBarManager.java | 612 ServiceManager.getService(Context.PLATFORM_COMPAT_SERVICE)); 620 private synchronized IStatusBarService getService() { in getService() method in StatusBarManager 623 ServiceManager.getService(Context.STATUS_BAR_SERVICE)); in getService() 641 final IStatusBarService svc = getService(); in disable() 661 final IStatusBarService svc = getService(); in disable2() 682 final IStatusBarService svc = getService(); in clickNotificationInternal() 700 final IStatusBarService svc = getService(); in sendNotificationFeedback() 718 final IStatusBarService svc = getService(); in expandNotificationsPanel() 744 final IStatusBarService svc = getService(); in collapsePanels() 762 final IStatusBarService svc = getService(); in togglePanel() [all …]
|
D | UriGrantsManager.java | 44 public static IUriGrantsManager getService() { in getService() method in UriGrantsManager 52 final IBinder b = ServiceManager.getService(Context.URI_GRANTS_SERVICE); 68 getService().clearGrantedUriPermissions(packageName, mContext.getUserId()); in clearGrantedUriPermissions() 90 final ParceledListSlice<GrantedUriPermission> castedList = getService() in getGrantedUriPermissions()
|
D | ActivityManager.java | 335 getService().registerUidFrozenStateChangedCallback(mFrozenStateChangedCallback); in registerUidFrozenStateChangedCallback() 358 getService().unregisterUidFrozenStateChangedCallback( in unregisterUidFrozenStateChangedCallback() 385 return getService().getUidFrozenState(uids); in getUidFrozenState() 3355 return getService() in getRunningServices() 3370 return getService() in getRunningServiceControlPanel() 3490 getService().getMemoryInfo(outInfo); in getMemoryInfo() 3504 return getService().clearApplicationUserData(packageName, false, in clearApplicationUserData() 3682 return getService().getProcessesInErrorState(); in getProcessesInErrorState() 4158 return getService().getRunningExternalApplications(); in getRunningExternalApplications() 4180 return getService().isBackgroundRestricted(mContext.getOpPackageName()); in isBackgroundRestricted() [all …]
|
/frameworks/native/cmds/idlcli/ |
D | vibrator.h | 50 inline auto getService(std::string name) { in getService() function 57 inline auto getService<android::hardware::vibrator::V1_0::IVibrator>(std::string name) { 58 return android::hardware::vibrator::V1_0::IVibrator::getService(name); 62 inline auto getService<android::hardware::vibrator::V1_1::IVibrator>(std::string name) { 63 return android::hardware::vibrator::V1_1::IVibrator::getService(name); 67 inline auto getService<android::hardware::vibrator::V1_2::IVibrator>(std::string name) { 68 return android::hardware::vibrator::V1_2::IVibrator::getService(name); 72 inline auto getService<android::hardware::vibrator::V1_3::IVibrator>(std::string name) { 73 return android::hardware::vibrator::V1_3::IVibrator::getService(name); 77 using shared_ptr = std::invoke_result_t<decltype(getService<I>)&, std::string>; [all …]
|
/frameworks/native/libs/permission/ |
D | AppOpsManager.cpp | 50 sp<IAppOpsService> AppOpsManager::getService() in getService() function in android::AppOpsManager 80 sp<IAppOpsService> service = getService(); in checkOp() 88 sp<IAppOpsService> service = getService(); in checkAudioOpNoThrow() 101 sp<IAppOpsService> service = getService(); in noteOp() 119 sp<IAppOpsService> service = getService(); in startOpNoThrow() 135 sp<IAppOpsService> service = getService(); in finishOp() 143 sp<IAppOpsService> service = getService(); in startWatchingMode() 151 sp<IAppOpsService> service = getService(); in startWatchingMode() 158 sp<IAppOpsService> service = getService(); in stopWatchingMode() 165 sp<IAppOpsService> service = getService(); in permissionToOpCode() [all …]
|
/frameworks/base/keystore/java/android/security/ |
D | AndroidKeyStoreMaintenance.java | 43 private static IKeystoreMaintenance getService() { in getService() method in AndroidKeyStoreMaintenance 58 getService().onUserAdded(userId); in onUserAdded() 82 getService().initUserSuperKeys(userId, password, allowExisting); in initUserSuperKeys() 103 getService().onUserRemoved(userId); in onUserRemoved() 126 getService().onUserPasswordChanged(userId, password); in onUserPasswordChanged() 148 getService().onUserLskfRemoved(userId); in onUserLskfRemoved() 166 getService().clearNamespace(domain, namespace); in clearNamespace() 198 getService().migrateKeyNamespace(source, destination); in migrateKeyNamespace() 223 return getService().getAppUidsAffectedBySid(userId, userSecureId); in getAllAppUidsAffectedBySid() 243 getService().deleteAllKeys(); in deleteAllKeys()
|
D | AndroidProtectedConfirmation.java | 52 private synchronized IProtectedConfirmation getService() { in getService() method in AndroidProtectedConfirmation 55 .getService("android.security.apc")); in getService() 74 getService().presentPrompt(listener, promptText, extraData, locale, in presentConfirmationPrompt() 94 getService().cancelPrompt(listener); in cancelConfirmationPrompt() 111 return getService().isSupported(); in isConfirmationPromptSupported()
|
D | LegacyVpnProfileStore.java | 41 private static ILegacyKeystore getService() { in getService() method in LegacyVpnProfileStore 57 getService().put(alias, ILegacyKeystore.UID_SELF, profile); in put() 77 return getService().get(alias, ILegacyKeystore.UID_SELF); in get() 97 getService().remove(alias, ILegacyKeystore.UID_SELF); in remove() 118 final String[] aliases = getService().list(prefix, ILegacyKeystore.UID_SELF); in list()
|
D | KeyStoreAuthorization.java | 50 private IKeystoreAuthorization getService() { in getService() method in KeyStoreAuthorization 64 getService().addAuthToken(authToken); in addAuthToken() 94 getService().onDeviceUnlocked(userId, password); in onDeviceUnlocked() 116 getService().onDeviceLocked(userId, unlockingSids, weakUnlockEnabled); in onDeviceLocked() 136 return getService().getLastAuthTime(userId, authenticatorTypes); in getLastAuthTime()
|
D | GateKeeper.java | 37 public static IGateKeeperService getService() { in getService() method in GateKeeper 39 ServiceManager.getService(Context.GATEKEEPER_SERVICE)); in getService() 60 return getService().getSecureUserId(userId); in getSecureUserId()
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | ActivityManagerWrapper.java | 21 import static android.app.ActivityTaskManager.getService; 86 ui = ActivityManager.getService().getCurrentUser(); in getCurrentUserId() 145 snapshot = getService().getTaskSnapshot(taskId, isLowResolution); in getTaskThumbnail() 165 snapshot = getService().takeTaskSnapshot(taskId, /* updateCache= */ true); in takeTaskThumbnail() 241 getService().startRecentsActivity(intent, eventTime, runner); in startRecentsActivity() 253 getService().cancelRecentsAnimation(restoreHomeRootTaskPosition); in cancelRecentsAnimation() 273 getService().startActivityFromRecents( in startActivityFromRecents() 285 ActivityManager.getService().closeSystemDialogs(reason); in closeSystemWindows() 296 getService().removeTask(taskId); in removeTask() 307 getService().removeAllVisibleRecentTasks(); in removeAllRecentTasks() [all …]
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameServiceProviderInstanceFactoryImpl.java | 54 final IActivityTaskManager activityTaskManager = ActivityTaskManager.getService(); in create() 61 ActivityManager.getService(), in create() 62 LocalServices.getService(ActivityManagerInternal.class), in create() 64 (WindowManagerService) ServiceManager.getService(Context.WINDOW_SERVICE), in create() 65 LocalServices.getService(WindowManagerInternal.class), in create() 66 LocalServices.getService(ActivityTaskManagerInternal.class), in create()
|
/frameworks/native/libs/fakeservicemanager/ |
D | test_sm.cpp | 73 EXPECT_NE(sm->getService(String16("foo")), nullptr); in TEST() 75 EXPECT_EQ(sm->getService(String16("foo")), nullptr); in TEST() 85 EXPECT_EQ(sm->getService(String16("foo")), service); in TEST() 91 EXPECT_EQ(sm->getService(String16("foo")), nullptr); in TEST() 148 EXPECT_EQ(defaultServiceManager()->getService(String16("foo")), nullptr); in TEST() 158 EXPECT_EQ(defaultServiceManager()->getService(String16("foo")), service); in TEST() 170 EXPECT_EQ(defaultServiceManager()->getService(String16("foo")), nullptr); in TEST()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | AbsoluteVolumeAudioStatusAction.java | 98 localDevice().getService().enableAbsoluteVolumeBehavior(audioStatus); in handleReportAudioStatus() 104 localDevice().getService().notifyAvbVolumeChange(audioStatus.getVolume()); in handleReportAudioStatus() 115 || localDevice().getService().isTvDevice()) { in handleReportAudioStatus() 116 localDevice().getService().notifyAvbMuteChange(audioStatus.getMute()); in handleReportAudioStatus()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseAppStateTracker.java | 302 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in onSystemReady() 303 mBatteryManagerInternal = LocalServices.getService(BatteryManagerInternal.class); in onSystemReady() 304 mBatteryStatsInternal = LocalServices.getService(BatteryStatsInternal.class); in onSystemReady() 305 mDeviceIdleInternal = LocalServices.getService(DeviceIdleInternal.class); in onSystemReady() 306 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in onSystemReady() 307 mPackageManagerInternal = LocalServices.getService(PackageManagerInternal.class); in onSystemReady() 308 mPermissionManagerServiceInternal = LocalServices.getService( in onSystemReady() 316 mNotificationManagerInternal = LocalServices.getService( in onSystemReady() 319 ServiceManager.getService(Context.APP_OPS_SERVICE)); in onSystemReady()
|
/frameworks/base/core/java/android/net/ |
D | VpnService.java | 178 private static IVpnManager getService() { in getService() method in VpnService 180 ServiceManager.getService(Context.VPN_MANAGEMENT_SERVICE)); in getService() 208 if (getService().prepareVpn(context.getPackageName(), null, context.getUserId())) { in prepare() 231 IVpnManager vm = getService(); in prepareAndAuthorize() 306 return getService().addVpnAddress(address.getHostAddress(), prefixLength); in addAddress() 336 return getService().removeVpnAddress(address.getHostAddress(), prefixLength); in removeAddress() 376 return getService().setUnderlyingNetworksForVpn(networks); in setUnderlyingNetworks() 390 return getService().isCallerCurrentAlwaysOnVpnApp(); in isAlwaysOn() 405 return getService().isCallerCurrentAlwaysOnVpnLockdownApp(); in isLockdownEnabled() 783 ServiceManager.getService("package")); in verifyApp() [all …]
|
/frameworks/base/tests/utils/testutils/tests/src/com/android/internal/util/test/ |
D | LocalServiceKeeperRuleTest.java | 59 assertEquals(service, LocalServices.getService(TestService.class)); in testSetsLocalServiceIfNotPresent() 71 assertEquals(overriddenService, LocalServices.getService(TestService.class)); in testOverridesLocalServiceIfPresent() 94 assertEquals(expectedService, LocalServices.getService(TestService.class)); in testRestroresLocalServiceAfterTestIfPresent() 104 assertNull(LocalServices.getService(TestService.class)); in testRemovesLocalServiceAfterTestIfNotPresent()
|