/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.i(this, "binderDied: ConnectionService %s died.", mComponentName); in binderDied() 213 protected final ComponentName mComponentName; field in ServiceBinder 263 mComponentName = componentName; in ServiceBinder() 274 mComponentName.flattenToShortString()); in incrementAssociatedCallCount() 285 mComponentName.flattenToShortString()); in decrementAssociatedCallCount() 292 mComponentName.getClassName()); in decrementAssociatedCallCount() [all …]
|
D | InCallController.java | 114 private final ComponentName mComponentName; field in InCallController.InCallServiceInfo 125 mComponentName = componentName; in InCallServiceInfo() 132 return mComponentName; in getComponentName() 180 return mComponentName.equals(that.mComponentName); in equals() 186 return Objects.hash(mComponentName, mIsExternalCallsSupported, in hashCode() 192 return "[" + mComponentName + " supportsExternal? " + mIsExternalCallsSupported + in toString() 1762 return connectedUi.mComponentName; in getConnectedUi()
|
/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/apps/Settings/src/com/android/settings/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 | 71 private ComponentName mComponentName; field in ToggleAccessibilityServicePreferenceFragment 123 if (mComponentName.getPackageName().equals(resolveInfo.serviceInfo.packageName) in getAccessibilityServiceInfo() 124 && mComponentName.getClassName().equals(resolveInfo.serviceInfo.name)) { in getAccessibilityServiceInfo() 180 .contains(mComponentName); in updateSwitchBarToggleSwitch() 323 mComponentName = arguments.getParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME); in onProcessArguments()
|
/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/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/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/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/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/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/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()
|
D | ShortcutController.kt | 48 private val mComponentName = ComponentName(context, DeskClock::class.java) constant in com.android.deskclock.controller.ShortcutController 82 .setActivity(mComponentName) in createNewAlarmShortcut() 99 .setActivity(mComponentName) in createNewTimerShortcut() 117 .setActivity(mComponentName) in createStopwatchShortcut() 147 .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/apps/Car/Settings/src/com/android/car/settings/location/ |
D | LocationFooterPreferenceController.java | 97 sendBroadcast(footer.mComponentName, in onCreateInternal() 101 mFooterInjectors.add(footer.mComponentName); in onCreateInternal() 189 private final ComponentName mComponentName; field in LocationFooterPreferenceController.LocationFooter 195 mComponentName = componentName; in LocationFooter()
|
/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)) {
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | MobileNetworkUtilsTest.java | 81 private ComponentName mComponentName; field in MobileNetworkUtilsTest 101 when(mPhoneAccountHandle.getComponentName()).thenReturn(mComponentName); in setUp() 102 when(mComponentName.getPackageName()).thenReturn(PACKAGE_NAME); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | ZenRuleStarredContactsPreferenceControllerTest.java | 64 private ComponentName mComponentName; field in ZenRuleStarredContactsPreferenceControllerTest 83 when(testIntent.resolveActivity(any())).thenReturn(mComponentName); in setup()
|