Home
last modified time | relevance | path

Searched refs:mComponentName (Results 1 – 25 of 27) sorted by relevance

12

/packages/services/Telecomm/src/com/android/server/telecom/
DServiceBinder.java86 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 …]
DInCallController.java114 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/
DSetupFingerprintEnrollFinishTest.java50 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/
DAccessibilitySlicePreferenceController.java40 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()
DToggleAccessibilityServicePreferenceFragment.java71 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/
DAccessibilitySlicePreferenceController.java40 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()
DToggleAccessibilityServicePreferenceFragment.java68 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/
DTrustAgentInfo.java24 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/
DNotificationAccessConfirmationActivity.java51 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/
DVendorServiceInfo.java70 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/
DNotificationAccessConfirmationActivity.java51 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/
DAppMetaData.java37 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/
DAllowBindAppWidgetActivity.java48 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/
DAllowBindAppWidgetActivity.java48 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/
DPreferenceUtilsTest.java59 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/
DShortcutController.java53 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()
DShortcutController.kt48 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/
DAoapServiceManager.java165 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/
DLocationFooterPreferenceController.java97 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/
DCallRedirectionProcessor.java67 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/
DInstantAppAccountPreferenceControllerTest.java49 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/
DPrintServiceSettingsFragment.java108 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/
DPrintServiceSettingsFragment.java108 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/
DMobileNetworkUtilsTest.java81 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/
DZenRuleStarredContactsPreferenceControllerTest.java64 private ComponentName mComponentName; field in ZenRuleStarredContactsPreferenceControllerTest
83 when(testIntent.resolveActivity(any())).thenReturn(mComponentName); in setup()

12