/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/ |
D | NotificationAccessDetails.java | 56 private ComponentName mComponentName; field in NotificationAccessDetails 66 if (mComponentName == null && intent != null) { in onCreate() 69 mComponentName = ComponentName.unflattenFromString(cn); in onCreate() 70 if (mComponentName != null) { in onCreate() 72 args.putString(ARG_PACKAGE_NAME, mComponentName.getPackageName()); in onCreate() 118 if (mComponentName == null) { in refreshUi() 144 preference.setChecked(isServiceEnabled(mComponentName)); in updatePreference() 148 if (!isServiceEnabled(mComponentName)) { in updatePreference() 153 .setServiceInfo(mComponentName, label, this) in updatePreference() 157 if (isServiceEnabled(mComponentName)) { in updatePreference() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | ServiceBinder.java | 86 Intent serviceIntent = new Intent(mServiceAction).setComponent(mComponentName); in bind() 89 Log.addEvent(call, LogUtils.Events.BIND_CS, mComponentName); in bind() 113 private ComponentName mComponentName; field in ServiceBinder.ServiceDeathRecipient 116 mComponentName = name; in ServiceDeathRecipient() 124 Log.getPackageAbbreviation(mComponentName)); in binderDied() 125 Log.i(this, "binderDied: ConnectionService %s died.", mComponentName); in binderDied() 214 protected final ComponentName mComponentName; field in ServiceBinder 269 mComponentName = componentName; in ServiceBinder() 281 mComponentName.flattenToShortString()); in incrementAssociatedCallCount() 292 mComponentName.flattenToShortString()); in decrementAssociatedCallCount() [all …]
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleFeaturePreferenceFragment.java | 85 protected ComponentName mComponentName; field in ToggleFeaturePreferenceFragment 115 + mComponentName.getPackageName() + "/" + DRAWABLE_FOLDER + "/" 452 private String mComponentName; field in ToggleFeaturePreferenceFragment.AccessibilityUserShortcutType 456 this.mComponentName = componentName; in AccessibilityUserShortcutType() 463 this.mComponentName = sStringColonSplitter.next(); in AccessibilityUserShortcutType() 469 return mComponentName; in getComponentName() 473 this.mComponentName = componentName; in setComponentName() 486 joiner.add(mComponentName); in flattenToString() 542 if (mComponentName == null) { in setUserShortcutType() 547 final String componentName = mComponentName.flattenToString(); in setUserShortcutType() [all …]
|
D | AccessibilitySlicePreferenceController.java | 43 private final ComponentName mComponentName; field in AccessibilitySlicePreferenceController 49 mComponentName = ComponentName.unflattenFromString(getPreferenceKey()); in AccessibilitySlicePreferenceController() 51 if (mComponentName == null) { in AccessibilitySlicePreferenceController() 78 return componentNames.contains(mComponentName); in isChecked() 86 AccessibilityUtils.setAccessibilityServiceState(mContext, mComponentName, isChecked); in setChecked() 108 if (mComponentName.equals(serviceInfo.getComponentName())) { in getAccessibilityServiceInfo()
|
D | LaunchAccessibilityActivityPreferenceFragment.java | 60 logAccessibilityServiceEnabled(mComponentName, enabled); in onPreferenceToggled() 61 launchShortcutTargetActivity(getPrefContext().getDisplayId(), mComponentName); in onPreferenceToggled() local 78 mComponentName = arguments.getParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME); in onProcessArguments() 86 .authority(mComponentName.getPackageName()) in onProcessArguments() 109 mComponentName); in getUserShortcutTypes() 138 if (mComponentName.getPackageName().equals(activityInfo.packageName) in getAccessibilityShortcutInfo() 139 && mComponentName.getClassName().equals(activityInfo.name)) { in getAccessibilityShortcutInfo()
|
D | ToggleAccessibilityServicePreferenceFragment.java | 119 if (mComponentName.getPackageName().equals(resolveInfo.serviceInfo.packageName) in getAccessibilityServiceInfo() 120 && mComponentName.getClassName().equals(resolveInfo.serviceInfo.name)) { in getAccessibilityServiceInfo() 196 mComponentName); in getUserShortcutTypes() 210 .contains(mComponentName); in updateSwitchBarToggleSwitch() 302 mComponentName); in onToggleClicked() local 307 mComponentName); in onToggleClicked() local 338 mComponentName = arguments.getParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME); in onProcessArguments() 344 .authority(mComponentName.getPackageName()) in onProcessArguments() 415 AccessibilityUtil.optInAllValuesToSettings(getPrefContext(), shortcutTypes, mComponentName); in onAllowButtonFromShortcutToggleClicked() local
|
D | InvisibleToggleAccessibilityServicePreferenceFragment.java | 56 AccessibilityUtils.setAccessibilityServiceState(getContext(), mComponentName, enabled); in onToggleClicked() local 68 AccessibilityUtils.setAccessibilityServiceState(getContext(), mComponentName, in onDialogButtonFromShortcutToggleClicked() local 83 AccessibilityUtils.setAccessibilityServiceState(getContext(), mComponentName, enabled); in callOnAlertDialogCheckboxClicked() local
|
D | ToggleColorInversionPreferenceFragment.java | 55 logAccessibilityServiceEnabled(mComponentName, enabled); in onPreferenceToggled() 89 mComponentName = COLOR_INVERSION_COMPONENT_NAME; in onCreateView() 134 mComponentName); in getUserShortcutTypes()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | SetupFingerprintEnrollFinishTest.java | 50 private ComponentName mComponentName; field in SetupFingerprintEnrollFinishTest 65 mComponentName = new ComponentName( in setUp() 113 mComponentName)).isEqualTo(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in onActivityResult_fingerprintCountIsNotOne_fingerprintSuggestionActivityDisabled() 123 mComponentName)).isEqualTo(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in onActivityResult_fingerprintCountIsOne_fingerprintSuggestionActivityEnabled() 133 mComponentName)).isEqualTo(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in clickNext_fingerprintCountIsNotOne_fingerprintSuggestionActivityDisabled() 143 mComponentName)).isEqualTo(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in clickNext_fingerprintCountIsOne_fngerprintSuggestionActivityEnabled() 153 mComponentName)).isEqualTo(PackageManager.COMPONENT_ENABLED_STATE_DISABLED); in onBackPressed_fingerprintCountIsNotOne_fingerprintSuggestionActivityDisabled() 163 mComponentName)).isEqualTo(PackageManager.COMPONENT_ENABLED_STATE_ENABLED); in onBackPressed_fingerprintCountIsOne_fngerprintSuggestionActivityEnabled()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/ |
D | AccessibilitySlicePreferenceController.java | 40 private final ComponentName mComponentName; field in AccessibilitySlicePreferenceController 47 mComponentName = ComponentName.unflattenFromString(getPreferenceKey()); in AccessibilitySlicePreferenceController() 49 if (mComponentName == null) { in AccessibilitySlicePreferenceController() 75 return componentNames.contains(mComponentName); in isChecked() 83 AccessibilityUtils.setAccessibilityServiceState(mContext, mComponentName, isChecked); in setChecked() 105 if (mComponentName.equals(serviceInfo.getComponentName())) { in getAccessibilityServiceInfo()
|
D | ToggleAccessibilityServicePreferenceFragment.java | 68 private ComponentName mComponentName; field in ToggleAccessibilityServicePreferenceFragment 120 if (mComponentName.getPackageName().equals(resolveInfo.serviceInfo.packageName) in getAccessibilityServiceInfo() 121 && mComponentName.getClassName().equals(resolveInfo.serviceInfo.name)) { in getAccessibilityServiceInfo() 174 .contains(mComponentName); in updateSwitchBarToggleSwitch() 292 mComponentName = arguments.getParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME); in onProcessArguments()
|
/packages/apps/Settings/src/com/android/settings/security/trustagent/ |
D | TrustAgentInfo.java | 24 private final ComponentName mComponentName; field in TrustAgentInfo 29 mComponentName = componentName; in TrustAgentInfo() 38 return mComponentName; in getComponentName() 48 return mComponentName.equals(((TrustAgentInfo) other).getComponentName()); in equals() 55 return mComponentName.compareTo(other.getComponentName()); in compareTo()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | VendorServiceInfo.java | 70 private final ComponentName mComponentName; field in VendorServiceInfo 74 mComponentName = componentName; in VendorServiceInfo() 106 intent.setComponent(mComponentName); in getIntent() 181 + "component=" + mComponentName in toString() 189 return mComponentName != null ? mComponentName.toShortString() : ""; in toShortString()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationAccessConfirmationActivity.java | 51 private ComponentName mComponentName; field in NotificationAccessConfirmationActivity 60 mComponentName = getIntent().getParcelableExtra(EXTRA_COMPONENT_NAME); in onCreate() 100 ServiceInfo serviceInfo = getPackageManager().getServiceInfo(mComponentName, 0); in onAllow() 103 "Service " + mComponentName + " lacks permission " + requiredPermission); in onAllow() 107 Slog.e(LOG_TAG, "Failed to get service info for " + mComponentName, e); in onAllow() 111 mNm.setNotificationListenerAccessGranted(mComponentName, true); in onAllow()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | NotificationAccessConfirmationActivity.java | 51 private ComponentName mComponentName; field in NotificationAccessConfirmationActivity 60 mComponentName = getIntent().getParcelableExtra(EXTRA_COMPONENT_NAME); in onCreate() 100 ServiceInfo serviceInfo = getPackageManager().getServiceInfo(mComponentName, 0); in onAllow() 103 "Service " + mComponentName + " lacks permission " + requiredPermission); in onAllow() 107 Slog.e(LOG_TAG, "Failed to get service info for " + mComponentName, e); in onAllow() 111 mNm.setNotificationListenerAccessGranted(mComponentName, true); in onAllow()
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | AppMetaData.java | 37 private final ComponentName mComponentName; field in AppMetaData 62 mComponentName = componentName; in AppMetaData() 78 return mComponentName; in getComponentName() 108 return ((AppMetaData) o).getComponentName().equals(mComponentName); in equals() 114 return mComponentName.hashCode(); in hashCode()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | AllowBindAppWidgetActivity.java | 48 private ComponentName mComponentName; field in AllowBindAppWidgetActivity 58 if (mAppWidgetId != -1 && mComponentName != null && mCallingPackage != null) { in onClick() 61 mProfile, mComponentName, mBindOptions); in onClick() 69 + mAppWidgetId + " and component " + mComponentName); in onClick() 105 mComponentName = in onCreate() 115 mComponentName = null; in onCreate()
|
/packages/apps/Settings/src/com/android/settings/ |
D | AllowBindAppWidgetActivity.java | 48 private ComponentName mComponentName; field in AllowBindAppWidgetActivity 58 if (mAppWidgetId != -1 && mComponentName != null && mCallingPackage != null) { in onClick() 61 mProfile, mComponentName, mBindOptions); in onClick() 69 + mAppWidgetId + " and component " + mComponentName); in onClick() 105 mComponentName = in onCreate() 115 mComponentName = null; in onCreate()
|
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/util/ |
D | PreferenceUtilsTest.java | 59 private ComponentName mComponentName; field in PreferenceUtilsTest 65 mComponentName = new ComponentName( in setUp() 118 eq(mComponentName), in testEnableSettingsSuggestion() 136 eq(mComponentName), in testUpdateSettingsSuggestionState_contactSet() 148 eq(mComponentName), in testUpdateSettingsSuggestionState_noPreferencesOrContactSet() 161 eq(mComponentName), in testUpdateSettingsSuggestionState_preferenceSet()
|
/packages/apps/DeskClock/src/com/android/deskclock/controller/ |
D | ShortcutController.java | 53 private final ComponentName mComponentName; field in ShortcutController 59 mComponentName = new ComponentName(mContext, DeskClock.class); in ShortcutController() 92 .setActivity(mComponentName) in createNewAlarmShortcut() 109 .setActivity(mComponentName) in createNewTimerShortcut() 124 .setActivity(mComponentName) in createStopwatchShortcut() 154 .setActivity(mComponentName) in createScreensaverShortcut()
|
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/ |
D | AoapServiceManager.java | 165 mConnections.remove(connection.mComponentName); in removeConnection() 179 private final ComponentName mComponentName; field in AoapServiceManager.AoapServiceConnection 186 mComponentName = name; in AoapServiceConnection() 296 throw new RuntimeException("Connection broken with " + mComponentName, e); in send() 306 + ", mComponentName=" + mComponentName in toString()
|
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/ |
D | CallRedirectionProcessor.java | 67 private final ComponentName mComponentName; field in CallRedirectionProcessor.CallRedirectionAttempt 73 mComponentName = componentName; in CallRedirectionAttempt() 79 .setComponent(mComponentName); in process() 102 : LogUtils.Events.REDIRECTION_SENT_CARRIER, mComponentName); in onServiceBound() 198 .getGatewayInfoFromGatewayUri(mComponentName.getPackageName(), in redirectCall()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/managedomainurls/ |
D | InstantAppAccountPreferenceControllerTest.java | 49 private ComponentName mComponentName; field in InstantAppAccountPreferenceControllerTest 84 when(mPackageManager.getInstantAppResolverSettingsComponent()).thenReturn(mComponentName); in testGetAvailabilityStatus_enableWebActions() 93 when(mPackageManager.getInstantAppResolverSettingsComponent()).thenReturn(mComponentName); in testGetAvailabilityStatus_disableWebActions()
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintServiceSettingsFragment.java | 108 private ComponentName mComponentName; field in PrintServiceSettingsFragment 170 .setPrintServiceEnabled(mComponentName, enabled); in onPreferenceToggled() 260 mComponentName = ComponentName.unflattenFromString(arguments in updateUiForArguments() 264 mPreferenceKey = mComponentName.flattenToString(); in updateUiForArguments() 289 if (services.get(i).getComponentName().equals(mComponentName)) { in onLoadFinished() 605 if (printer.getId().getServiceName().equals(mComponentName)) {
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/print/ |
D | PrintServiceSettingsFragment.java | 108 private ComponentName mComponentName; field in PrintServiceSettingsFragment 170 .setPrintServiceEnabled(mComponentName, enabled); in onPreferenceToggled() 260 mComponentName = ComponentName.unflattenFromString(arguments in updateUiForArguments() 264 mPreferenceKey = mComponentName.flattenToString(); in updateUiForArguments() 289 if (services.get(i).getComponentName().equals(mComponentName)) { in onLoadFinished() 605 if (printer.getId().getServiceName().equals(mComponentName)) {
|