Home
last modified time | relevance | path

Searched refs:isServiceEnabled (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DClusterHalServiceTest.java159 assertThat(mClusterHalService.isServiceEnabled()).isTrue(); in testIsServiceEnabled_fullMode_coreProperties()
167 assertThat(mClusterHalService.isServiceEnabled()).isFalse(); in testIsServiceEnabled_fullMode_partialProperties()
174 assertThat(mClusterHalService.isServiceEnabled()).isFalse(); in testIsServiceEnabled_fullMode_noProperties()
182 assertThat(lightModeService.isServiceEnabled()).isTrue(); in testIsServiceEnabled_lightMode_partialProperties()
189 assertThat(lightModeService.isServiceEnabled()).isTrue(); in testIsServiceEnabled_lightMode_noProperties()
265 assertThat(mClusterHalService.isServiceEnabled()).isFalse(); in testTakeProperties_fullMode_noProperties()
274 assertThat(lightModeService.isServiceEnabled()).isTrue(); in testTakeProperties_lightMode_noProperties()
286 assertThat(mClusterHalService.isServiceEnabled()).isFalse(); in testTakeProperties_fullMode_partialProperties()
298 assertThat(lightModeService.isServiceEnabled()).isTrue(); in testTakeProperties_lightMode_partialProperties()
307 assertThat(mClusterHalService.isServiceEnabled()).isTrue(); in testTakeProperties_fullMode_coreProperties()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
DApprovalPreferenceController.java98 final boolean isEnabled = isServiceEnabled(mCn); in updateState()
103 if (!isServiceEnabled(mCn)) { in updateState()
112 if (isServiceEnabled(mCn)) { in updateState()
157 protected boolean isServiceEnabled(ComponentName cn) { in isServiceEnabled() method in ApprovalPreferenceController
/packages/apps/Dialer/java/com/android/voicemail/impl/
DOmtpService.java66 if (!isServiceEnabled(phoneAccountHandle)) { in onCellServiceConnected()
91 if (!isServiceEnabled(sms.getPhoneAccountHandle())) { in onSmsReceived()
171 private boolean isServiceEnabled(PhoneAccountHandle phoneAccountHandle) { in isServiceEnabled() method in OmtpService
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountDashboardFragment.java80 if (CredentialManager.isServiceEnabled(context)) { in onAttach()
114 if (CredentialManager.isServiceEnabled(context)) { in buildAutofillPreferenceControllers()
144 return (context != null && CredentialManager.isServiceEnabled(context)) in getPreferenceLayoutResId()
DAccountPrivateDashboardFragment.java54 if (this.getContext() != null && CredentialManager.isServiceEnabled(this.getContext())) { in getPreferenceScreenResId()
68 if (CredentialManager.isServiceEnabled(context)) { in onAttach()
DAccountWorkProfileDashboardFragment.java55 if (this.getContext() != null && CredentialManager.isServiceEnabled(this.getContext())) { in getPreferenceScreenResId()
69 if (CredentialManager.isServiceEnabled(context)) { in onAttach()
DAccountPersonalDashboardFragment.java55 if (this.getContext() != null && CredentialManager.isServiceEnabled(this.getContext())) { in getPreferenceScreenResId()
69 if (CredentialManager.isServiceEnabled(context)) { in onAttach()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DServiceLiveData.kt176 if (!isServiceEnabled(packageName)) { in <lambda>()
196 suspend fun isServiceEnabled(pkg: String?): Boolean { in <lambda>() method in com.android.permissioncontroller.permission.data.ServiceLiveData
/packages/apps/Settings/src/com/android/settings/utils/
DManagedServiceSettings.java137 pref.setChecked(isServiceEnabled(cn)); in updateList()
170 protected boolean isServiceEnabled(ComponentName cn) { in isServiceEnabled() method in ManagedServiceSettings
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DDefaultCombinedPreferenceController.java65 if (CredentialManager.isServiceEnabled(context)) { in DefaultCombinedPreferenceController()
DCredentialManagerPreferenceController.java152 if (service != null && CredentialManager.isServiceEnabled(context)) { in getCredentialManager()
/packages/services/Car/service/src/com/android/car/hal/
DClusterHalService.java202 public boolean isServiceEnabled() { in isServiceEnabled() method in ClusterHalService
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/
DClusterHomeServiceUnitTest.java147 when(mClusterHalService.isServiceEnabled()).thenReturn(true); in setUp()
/packages/services/Car/service/src/com/android/car/cluster/
DClusterHomeService.java124 if (!mClusterHalService.isServiceEnabled()) { in init()
/packages/services/Telecomm/src/com/android/server/telecom/
DInCallController.java2387 boolean isEnabled = isServiceEnabled(foundComponentName, in getInCallServiceComponents()
2412 private boolean isServiceEnabled(ComponentName componentName, in isServiceEnabled() method in InCallController