/frameworks/base/core/java/android/app/admin/ |
D | DevicePolicyManager.java | 169 private final IDevicePolicyManager mService; field in DevicePolicyManager 183 mService = service; in DevicePolicyManager() 193 return mService; in getService() 3921 if (mService == null) return false; in isSafeOperation() 3924 return mService.isSafeOperation(reason); in isSafeOperation() 3943 if (mService != null) { in acknowledgeNewUserDisclaimer() 3945 mService.acknowledgeNewUserDisclaimer(mContext.getUserId()); in acknowledgeNewUserDisclaimer() 3962 if (mService != null) { in isNewUserDisclaimerAcknowledged() 3964 return mService.isNewUserDisclaimerAcknowledged(mContext.getUserId()); in isNewUserDisclaimerAcknowledged() 3989 if (mService != null) { in isAdminActiveAsUser() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/ |
D | UiModeManagerServiceTest.java | 117 private IUiModeManager mService; field in UiModeManagerServiceTest 218 mService = mUiManagerService.getService(); in setUp() 231 mService.setNightMode(MODE_NIGHT_NO); in setNightModeActivated_overridesFunctionCorrectly() 238 mService.setNightMode(MODE_NIGHT_AUTO); in setNightModeActivated_overridesFunctionCorrectly() 241 mService.setNightModeActivated(true); in setNightModeActivated_overridesFunctionCorrectly() 261 mService.setNightModeCustomType(MODE_NIGHT_CUSTOM_TYPE_BEDTIME); in setNightModeActivated_true_withCustomModeBedtime_shouldOverrideNightModeCorrectly() 264 mService.setNightModeActivated(true); in setNightModeActivated_true_withCustomModeBedtime_shouldOverrideNightModeCorrectly() 272 mService.setNightModeCustomType(MODE_NIGHT_CUSTOM_TYPE_BEDTIME); in setNightModeActivated_false_withCustomModeBedtime_shouldOverrideNightModeCorrectly() 275 mService.setNightModeActivated(true); in setNightModeActivated_false_withCustomModeBedtime_shouldOverrideNightModeCorrectly() 276 mService.setNightModeActivated(false); in setNightModeActivated_false_withCustomModeBedtime_shouldOverrideNightModeCorrectly() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest6.java | 32 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_SYSTEM_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 33 assertFalse(mService.hasShortcutHostPermissionInner(PACKAGE_FALLBACK_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 34 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_1, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 35 assertTrue(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_2, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 39 mService.getUserShortcutsLocked(USER_0).getCachedLauncher()); in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 44 assertTrue(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_1, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 48 mService.getUserShortcutsLocked(USER_0).getCachedLauncher()); in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 54 assertTrue(mService.hasShortcutHostPermissionInner(PACKAGE_SYSTEM_LAUNCHER, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 55 assertFalse(mService.hasShortcutHostPermissionInner(CALLING_PACKAGE_1, USER_0)); in testHasShortcutHostPermissionInner_with3pLauncher_complicated() 59 mService.getUserShortcutsLocked(USER_0).getCachedLauncher()); in testHasShortcutHostPermissionInner_with3pLauncher_complicated() [all …]
|
/frameworks/av/services/mediaresourcemanager/test/ |
D | ResourceManagerService_test.cpp | 101 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in addResource() 105 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources11); in addResource() 111 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient2), mTestClient2, resources2); in addResource() 115 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient3), mTestClient3, resources3); in addResource() 118 mService->addResource(kTestPid2, kTestUid2, getId(mTestClient3), mTestClient3, resources3); in addResource() 120 const PidResourceInfosMap &map = mService->mMap; in addResource() 141 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResourceWithNegativeValues() 146 const PidResourceInfosMap &map = mService->mMap; in testCombineResourceWithNegativeValues() 158 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResourceWithNegativeValues() 162 mService->addResource(kTestPid1, kTestUid1, getId(mTestClient1), mTestClient1, resources1); in testCombineResourceWithNegativeValues() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicestate/ |
D | DeviceStateManagerServiceTest.java | 78 private DeviceStateManagerService mService; field in DeviceStateManagerServiceTest 86 mService = new DeviceStateManagerService(InstrumentationRegistry.getContext(), mPolicy, in setup() 90 mService.mActivityTaskManagerInternal = mock(ActivityTaskManagerInternal.class); in setup() 92 when(mService.mActivityTaskManagerInternal.getTopApp()) in setup() 105 mService.getHandler().runWithScissors(() -> {}, 0); in flushHandler() 111 assertEquals(mService.getCommittedState(), Optional.of(DEFAULT_DEVICE_STATE)); in baseStateChanged() 112 assertEquals(mService.getPendingState(), Optional.empty()); in baseStateChanged() 115 assertEquals(mService.getBaseState(), Optional.of(DEFAULT_DEVICE_STATE)); in baseStateChanged() 121 assertEquals(mService.getCommittedState(), Optional.of(OTHER_DEVICE_STATE)); in baseStateChanged() 122 assertEquals(mService.getPendingState(), Optional.empty()); in baseStateChanged() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 151 private PowerManagerService mService; field in PowerManagerServiceTest 224 mService = new PowerManagerService(mContextSpy, new Injector() { in createService() 309 return mService; in createService() 330 mService.onBootPhase(SystemService.PHASE_SYSTEM_SERVICES_READY); in startSystem() 348 mService.onBootPhase(SystemService.PHASE_BOOT_COMPLETED); in startSystem() 352 mService.getBinderServiceInstance().goToSleep(mClock.now(), in forceSleep() 357 mService.getBinderServiceInstance().nap(mClock.now()); in forceDream() 361 mService.getBinderServiceInstance().wakeUp(mClock.now(), in forceAwake() 366 mService.getBinderServiceInstance().goToSleep(mClock.now(), in forceDozing() 438 int reason = mService.getLastShutdownReasonInternal(); in testGetLastShutdownReasonInternal() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | InputManagerCallback.java | 48 private final WindowManagerService mService; field in InputManagerCallback 67 mService = service; in InputManagerCallback() 81 synchronized (mService.mGlobalLock) { in notifyInputChannelBroken() 82 WindowState windowState = mService.mInputToWindowMap.get(token); in notifyInputChannelBroken() 98 mService.mAnrController.notifyAppUnresponsive( in notifyNoFocusedWindowAnr() 105 mService.mAnrController.notifyWindowUnresponsive(token, pid, reason); in notifyWindowUnresponsive() 110 mService.mAnrController.notifyWindowResponsive(token, pid); in notifyWindowResponsive() 116 synchronized (mService.mGlobalLock) { in notifyConfigurationChanged() 117 mService.mRoot.forAllDisplays(DisplayContent::sendNewConfiguration); in notifyConfigurationChanged() 131 mService.mPolicy.notifyLidSwitchChanged(whenNanos, lidOpen); in notifyLidSwitchChanged() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | LockscreenFrpTest.java | 57 mService.setLockCredential(newPin("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPin() 59 assertEquals(CREDENTIAL_TYPE_PIN, mService.getCredentialType(USER_FRP)); in testFrpCredential_setPin() 61 mService.verifyCredential(newPin("1234"), USER_FRP, 0 /* flags */) in testFrpCredential_setPin() 67 mService.setLockCredential(newPattern("4321"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPattern() 69 assertEquals(CREDENTIAL_TYPE_PATTERN, mService.getCredentialType(USER_FRP)); in testFrpCredential_setPattern() 71 mService.verifyCredential(newPattern("4321"), USER_FRP, 0 /* flags */) in testFrpCredential_setPattern() 77 mService.setLockCredential(newPassword("4321"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_setPassword() 79 assertEquals(CREDENTIAL_TYPE_PASSWORD, mService.getCredentialType(USER_FRP)); in testFrpCredential_setPassword() 81 mService.verifyCredential(newPassword("4321"), USER_FRP, 0 /* flags */) in testFrpCredential_setPassword() 87 mService.setLockCredential(newPassword("1234"), nonePassword(), PRIMARY_USER_ID); in testFrpCredential_changeCredential() [all …]
|
D | WeakEscrowTokenTests.java | 59 long handle = mService.addWeakEscrowToken(token, PRIMARY_USER_ID, mockListener); in testWeakTokenActivatedImmediatelyIfNoUserPassword() 60 assertTrue(mService.isWeakEscrowTokenActive(handle, PRIMARY_USER_ID)); in testWeakTokenActivatedImmediatelyIfNoUserPassword() 61 assertTrue(mService.isWeakEscrowTokenValid(handle, token, PRIMARY_USER_ID)); in testWeakTokenActivatedImmediatelyIfNoUserPassword() 73 mService.setLockCredential(password, nonePassword(), PRIMARY_USER_ID); in testWeakTokenActivatedLaterWithUserPassword() 75 long handle = mService.addWeakEscrowToken(token, PRIMARY_USER_ID, mockListener); in testWeakTokenActivatedLaterWithUserPassword() 77 assertFalse(mService.isWeakEscrowTokenActive(handle, PRIMARY_USER_ID)); in testWeakTokenActivatedLaterWithUserPassword() 79 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testWeakTokenActivatedLaterWithUserPassword() 82 assertTrue(mService.isWeakEscrowTokenActive(handle, PRIMARY_USER_ID)); in testWeakTokenActivatedLaterWithUserPassword() 83 assertTrue(mService.isWeakEscrowTokenValid(handle, token, PRIMARY_USER_ID)); in testWeakTokenActivatedLaterWithUserPassword() 96 mService.setLockCredential(password, nonePassword(), PRIMARY_USER_ID); in testWeakTokensRemovedIfCredentialChanged() [all …]
|
D | LockSettingsServiceTests.java | 102 assertFalse(mService.setLockCredential(newPassword("newpwd"), newPassword("badpwd"), in testChangePasswordFailPrimaryUser() 110 assertTrue(mService.setLockCredential(nonePassword(), newPassword("password"), in testClearPasswordPrimaryUser() 112 assertEquals(CREDENTIAL_TYPE_NONE, mService.getCredentialType(PRIMARY_USER_ID)); in testClearPasswordPrimaryUser() 120 assertTrue(mService.setLockCredential(firstUnifiedPassword, in testManagedProfileUnifiedChallenge() 122 mService.setSeparateProfileChallengeEnabled(MANAGED_PROFILE_USER_ID, false, null); in testManagedProfileUnifiedChallenge() 138 assertEquals(VerifyCredentialResponse.RESPONSE_OK, mService.verifyCredential( in testManagedProfileUnifiedChallenge() 155 assertTrue(mService.setLockCredential( in testManagedProfileUnifiedChallenge() 162 assertTrue(mService.setLockCredential(nonePassword(), in testManagedProfileUnifiedChallenge() 173 assertTrue(mService.setLockCredential(primaryPassword, in testManagedProfileSeparateChallenge() 181 assertTrue(mService.setLockCredential(profilePassword, in testManagedProfileSeparateChallenge() [all …]
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobSchedulerServiceTest.java | 83 private JobSchedulerService mService; field in JobSchedulerServiceTest 158 mService = new TestJobSchedulerService(mContext); in setUp() 224 assertEquals(mService.mConstants.RUNTIME_MIN_EJ_GUARANTEE_MS, in testGetMinJobExecutionGuaranteeMs() 225 mService.getMinJobExecutionGuaranteeMs(ejMax)); in testGetMinJobExecutionGuaranteeMs() 226 assertEquals(mService.mConstants.RUNTIME_MIN_EJ_GUARANTEE_MS, in testGetMinJobExecutionGuaranteeMs() 227 mService.getMinJobExecutionGuaranteeMs(ejHigh)); in testGetMinJobExecutionGuaranteeMs() 228 assertEquals(mService.mConstants.RUNTIME_MIN_HIGH_PRIORITY_GUARANTEE_MS, in testGetMinJobExecutionGuaranteeMs() 229 mService.getMinJobExecutionGuaranteeMs(ejMaxDowngraded)); in testGetMinJobExecutionGuaranteeMs() 230 assertEquals(mService.mConstants.RUNTIME_MIN_HIGH_PRIORITY_GUARANTEE_MS, in testGetMinJobExecutionGuaranteeMs() 231 mService.getMinJobExecutionGuaranteeMs(ejHighDowngraded)); in testGetMinJobExecutionGuaranteeMs() [all …]
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetManager.java | 508 private final IAppWidgetService mService; field in AppWidgetManager 529 mService = service; in AppWidgetManager() 531 if (mService == null) { in AppWidgetManager() 536 mService.notifyProviderInheritance(getInstalledProvidersForPackage(mPackageName, in AppWidgetManager() 573 if (mService == null) { in updateAppWidget() 577 mService.updateAppWidgetIds(mPackageName, appWidgetIds, views); in updateAppWidget() 595 if (mService == null) { in updateAppWidgetOptions() 599 mService.updateAppWidgetOptions(mPackageName, appWidgetId, options); in updateAppWidgetOptions() 617 if (mService == null) { in getAppWidgetOptions() 621 return mService.getAppWidgetOptions(mPackageName, appWidgetId); in getAppWidgetOptions() [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | ServiceTestCase.java | 118 private T mService; field in ServiceTestCase 131 return mService; in getService() 158 mService = null; in setupService() 160 mService = mServiceClass.newInstance(); in setupService() 162 assertNotNull(mService); in setupService() 168 mService, getContext(), mServiceClass.getName(), getApplication()); in setupService() 170 assertNotNull(mService); in setupService() 190 assertNotNull(mService); in startService() 193 mService.onCreate(); in startService() 196 mService.onStartCommand(intent, 0, mServiceId); in startService() [all …]
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecLocalDevicePlayback.java | 86 if (reason == mService.INITIATED_BY_ENABLE_CEC) { in onAddressAllocated() 87 mService.setAndBroadcastActiveSource(mService.getPhysicalAddress(), in onAddressAllocated() 91 mService.sendCecCommand( in onAddressAllocated() 94 mService.getPhysicalAddress(), in onAddressAllocated() 96 mService.sendCecCommand( in onAddressAllocated() 98 getDeviceInfo().getLogicalAddress(), mService.getVendorId())); in onAddressAllocated() 103 if (mService.audioSystem() == null) { in onAddressAllocated() 107 mService.sendCecCommand( in onAddressAllocated() 116 mService.setSystemAudioActivated(false); in onAddressAllocated() 134 mService.getHdmiCecNetwork().addCecDevice(info); in launchDeviceDiscovery() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | BuzzBeepBlinkTest.java | 124 private NotificationManagerService mService; field in BuzzBeepBlinkTest 175 mService = spy(new NotificationManagerService(getContext(), mNotificationRecordLogger, in setUp() 177 mService.setVibratorHelper(new VibratorHelper(getContext())); in setUp() 178 mService.setAudioManager(mAudioManager); in setUp() 179 mService.setSystemReady(true); in setUp() 180 mService.setHandler(mHandler); in setUp() 181 mService.setLights(mLight); in setUp() 182 mService.setScreenOn(false); in setUp() 183 mService.setUsageStats(mUsageStats); in setUp() 184 mService.setAccessibilityManager(accessibilityManager); in setUp() [all …]
|
/frameworks/base/core/java/android/app/ |
D | UiModeManager.java | 296 private IUiModeManager mService; field in UiModeManager 328 mService = IUiModeManager.Stub.asInterface( in UiModeManager() 419 if (mService != null) { in enableCarMode() 421 mService.enableCarMode(flags, priority, in enableCarMode() 471 if (mService != null) { in disableCarMode() 473 mService.disableCarModeByCallingPackage(flags, in disableCarMode() 492 if (mService != null) { in getCurrentModeType() 494 return mService.getCurrentModeType(); in getCurrentModeType() 539 if (mService != null) { in setNightMode() 541 mService.setNightMode(mode); in setNightMode() [all …]
|
/frameworks/base/media/java/android/media/tv/tunerresourcemanager/ |
D | TunerResourceManager.java | 94 private final ITunerResourceManager mService; field in TunerResourceManager 101 mService = service; in TunerResourceManager() 126 mService.registerClientProfile(profile, in registerClientProfile() 151 mService.unregisterClientProfile(clientId); in unregisterClientProfile() 177 result = mService.updateClientPriority(clientId, priority, niceValue); in updateClientPriority() 192 result = mService.hasUnusedFrontend(frontendType); in hasUnusedFrontend() 215 result = mService.isLowestPriority(clientId, frontendType); in isLowestPriority() 233 mService.storeResourceMap(resourceType); in storeResourceMap() 251 mService.clearResourceMap(resourceType); in clearResourceMap() 268 mService.restoreResourceMap(resourceType); in restoreResourceMap() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothLeBroadcastAssistant.java | 60 private BluetoothLeBroadcastAssistant mService; field in LocalBluetoothLeBroadcastAssistant 72 mService = (BluetoothLeBroadcastAssistant) proxy; 74 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); 131 if (mService == null) { in addSource() 135 mService.addSource(sink, metadata, isGroupOp); in addSource() 188 if (mService == null) { in removeSource() 192 mService.removeSource(sink, sourceId); in removeSource() 199 if (mService == null) { in startSearchingForSources() 203 mService.startSearchingForSources(filters); in startSearchingForSources() 216 if (mService == null) { in isSearchInProgress() [all …]
|
D | LeAudioProfile.java | 53 private BluetoothLeAudio mService; field in LeAudioProfile 74 mService = (BluetoothLeAudio) proxy; in onServiceConnected() 76 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() 135 if (mService == null) { in getConnectedDevices() 138 return mService.getDevicesMatchingConnectionStates( in getConnectedDevices() 148 if (mService == null) { in connect() 151 return mService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_ALLOWED); in connect() 158 if (mService == null) { in disconnect() 161 return mService.setConnectionPolicy(device, BluetoothProfile.CONNECTION_POLICY_FORBIDDEN); in disconnect() 165 if (mService == null) { in getConnectionStatus() [all …]
|
D | A2dpSinkProfile.java | 40 private BluetoothA2dpSink mService; field in A2dpSinkProfile 61 mService = (BluetoothA2dpSink) proxy; in onServiceConnected() 63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() 109 if (mService == null) { in getConnectedDevices() 112 return mService.getDevicesMatchingConnectionStates( in getConnectedDevices() 119 if (mService == null) { in getConnectionStatus() 122 return mService.getConnectionState(device); in getConnectionStatus() 127 if (mService == null) { in isEnabled() 130 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled() 135 if (mService == null) { in getConnectionPolicy() [all …]
|
D | CsipSetCoordinatorProfile.java | 49 private BluetoothCsipSetCoordinator mService; field in CsipSetCoordinatorProfile 67 mService = (BluetoothCsipSetCoordinator) proxy; in onServiceConnected() 69 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() 119 if (mService == null) { in getConnectedDevices() 122 return mService.getDevicesMatchingConnectionStates( in getConnectedDevices() 137 if (mService == null) { in getConnectionStatus() 140 return mService.getConnectionState(device); in getConnectionStatus() 165 if (mService == null || device == null) { in isEnabled() 168 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled() 173 if (mService == null || device == null) { in getConnectionPolicy() [all …]
|
D | PbapClientProfile.java | 41 private BluetoothPbapClient mService; field in PbapClientProfile 61 mService = (BluetoothPbapClient) proxy; in onServiceConnected() 63 List<BluetoothDevice> deviceList = mService.getConnectedDevices(); in onServiceConnected() 91 return (mService != null); in pbapClientExists() 120 if (mService == null) { in getConnectedDevices() 123 return mService.getDevicesMatchingConnectionStates( in getConnectedDevices() 130 if (mService == null) { in getConnectionStatus() 133 return mService.getConnectionState(device); in getConnectionStatus() 138 if (mService == null) { in isEnabled() 141 return mService.getConnectionPolicy(device) > CONNECTION_POLICY_FORBIDDEN; in isEnabled() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | BackupManagerServiceTest.java | 99 private BackupManagerServiceTestable mService; field in BackupManagerServiceTest 133 mService = new BackupManagerServiceTestable(mContextMock, mUserServices); in setUp() 159 assertTrue(mService.isBackupServiceActive(UserHandle.USER_SYSTEM)); in testIsBackupServiceActive_whenBackupsNotDisabledAndSuppressFileDoesNotExist() 229 mService.setBackupServiceActive(UserHandle.USER_SYSTEM, true); in isBackupServiceActive_forSystemUser_returnsTrueWhenActivated() 231 assertTrue(mService.isBackupServiceActive(UserHandle.USER_SYSTEM)); in isBackupServiceActive_forSystemUser_returnsTrueWhenActivated() 236 mService.setBackupServiceActive(UserHandle.USER_SYSTEM, false); in isBackupServiceActive_forSystemUser_returnsFalseWhenDeactivated() 238 assertFalse(mService.isBackupServiceActive(UserHandle.USER_SYSTEM)); in isBackupServiceActive_forSystemUser_returnsFalseWhenDeactivated() 244 mService.setBackupServiceActive(UserHandle.USER_SYSTEM, false); in isBackupServiceActive_forNonSystemUser_returnsFalseWhenSystemUserDeactivated() 245 mService.setBackupServiceActive(NON_USER_SYSTEM, true); in isBackupServiceActive_forNonSystemUser_returnsFalseWhenSystemUserDeactivated() 247 assertFalse(mService.isBackupServiceActive(NON_USER_SYSTEM)); in isBackupServiceActive_forNonSystemUser_returnsFalseWhenSystemUserDeactivated() [all …]
|
/frameworks/base/services/core/java/com/android/server/policy/keyguard/ |
D | KeyguardServiceWrapper.java | 42 private IKeyguardService mService; field in KeyguardServiceWrapper 47 mService = service; in KeyguardServiceWrapper() 54 mService.verifyUnlock(callback); in verifyUnlock() 63 mService.setOccluded(isOccluded, animate); in setOccluded() 72 mService.addStateMonitorCallback(callback); in addStateMonitorCallback() 81 mService.dismiss(callback, message); in dismiss() 90 mService.onDreamingStarted(); in onDreamingStarted() 99 mService.onDreamingStopped(); in onDreamingStopped() 108 mService.onStartedGoingToSleep(pmSleepReason); in onStartedGoingToSleep() 118 mService.onFinishedGoingToSleep(pmSleepReason, cameraGestureTriggered); in onFinishedGoingToSleep() [all …]
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiControlManager.java | 67 @Nullable private final IHdmiControlService mService; field in HdmiControlManager 1083 mService = service; in HdmiControlManager() 1085 if (mService != null) { in HdmiControlManager() 1087 types = mService.getSupportedTypes(); in HdmiControlManager() 1123 if (mService == null) { in getClient() 1128 return mHasTvDevice ? new HdmiTvClient(mService) : null; in getClient() 1130 return mHasPlaybackDevice ? new HdmiPlaybackClient(mService) : null; in getClient() 1132 return mHasAudioSystemDevice ? new HdmiAudioSystemClient(mService) : null; in getClient() 1135 ? new HdmiSwitchClient(mService) : null; in getClient() 1215 return mService.getDeviceList(); in getConnectedDevices() [all …]
|