Home
last modified time | relevance | path

Searched refs:getComponentName (Results 1 – 25 of 248) sorted by relevance

12345678910

/frameworks/base/services/credentials/java/com/android/server/credentials/
DCredentialManagerServiceImpl.java61 public ComponentName getComponentName() { in getComponentName() method in CredentialManagerServiceImpl
62 return mInfo.getServiceInfo().getComponentName(); in getComponentName()
70 + providerInfo.getServiceInfo().getComponentName().flattenToString()); in CredentialManagerServiceImpl()
80 + mInfo.getServiceInfo().getComponentName().flattenToString() + " , " in newServiceInfoLocked()
105 + mInfo.getComponentName()); in initiateProviderSessionForRequestLocked()
115 getContext(), mInfo.getServiceInfo().getComponentName(), mUserId); in initiateProviderSessionForRequestLocked()
146 && mInfo.getServiceInfo().getComponentName() in handlePackageUpdateLocked()
149 newServiceInfoLocked(mInfo.getServiceInfo().getComponentName()); in handlePackageUpdateLocked()
DProviderClearSession.java76 super(context, providerRequest, callbacks, info.getComponentName(), in ProviderClearSession()
105 if (service.getComponentName().equals(mComponentName)) { in onProviderServiceDied()
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountHandle.java121 public ComponentName getComponentName() { in getComponentName() method in PhoneAccountHandle
183 Objects.equals(((PhoneAccountHandle) other).getComponentName(), in equals()
184 getComponentName()) && in equals()
248 String aPackageName = a != null ? a.getComponentName().getPackageName() : null; in areFromSamePackage()
249 String bPackageName = b != null ? b.getComponentName().getPackageName() : null; in areFromSamePackage()
DRemoteConnectionManager.java68 ComponentName componentName = request.getAccountHandle().getComponentName(); in createRemoteConnection()
96 ComponentName componentName = request.getAccountHandle().getComponentName(); in createRemoteConference()
/frameworks/base/core/java/com/android/internal/util/
DDumpUtils.java205 return (wcn != null) && isPlatformPackage(wcn.getComponentName()); in isPlatformPackage()
229 return (wcn != null) && !isPlatformPackage(wcn.getComponentName()); in isNonPlatformPackage()
255 return (wcn != null) && isPlatformPackage(wcn.getComponentName()) && in isPlatformCriticalPackage()
256 isCriticalPackage(wcn.getComponentName()); in isPlatformCriticalPackage()
267 return (wcn != null) && isPlatformPackage(wcn.getComponentName()) && in isPlatformNonCriticalPackage()
268 !isCriticalPackage(wcn.getComponentName()); in isPlatformNonCriticalPackage()
311 return rec -> (rec != null) && filterCname.equals(rec.getComponentName()); in filterRecord()
318 final ComponentName cn = rec.getComponentName(); in filterRecord()
/frameworks/base/core/tests/InputMethodCoreTests/src/com/android/internal/inputmethod/
DInputMethodSubtypeHandleTest.java54 handle.getComponentName()); in testCreateFromRawHandle()
92 handle.getComponentName()); in testCreateFromInputMethodInfo()
103 handle.getComponentName()); in testCreateFromInputMethodInfo()
130 assertEquals(original.getComponentName(), cloned.getComponentName()); in testParcelablility()
/frameworks/base/core/tests/coretests/src/android/view/stylus/
DHandwritingImeService.java25 private static ComponentName getComponentName() { in getComponentName() method in HandwritingImeService
30 return getComponentName().flattenToShortString(); in getImeId()
/frameworks/base/core/java/com/android/internal/accessibility/dialog/
DAccessibilityActivityTarget.java41 shortcutInfo.getComponentName().flattenToString()), in AccessibilityActivityTarget()
42 shortcutInfo.getComponentName().flattenToString(), in AccessibilityActivityTarget()
55 getContext(), getComponentName().getPackageName(), getUid()); in updateActionItem()
DAccessibilityServiceTarget.java45 serviceInfo.getComponentName().flattenToString()), in AccessibilityServiceTarget()
46 serviceInfo.getComponentName().flattenToString(), in AccessibilityServiceTarget()
60 getContext(), getComponentName().getPackageName(), getUid()); in updateActionItem()
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextManagerPerUserService.java83 abstract ComponentName getComponentName(); in getComponentName() method in AmbientContextManagerPerUserService
270 if (getComponentName() == null in newServiceInfoLocked()
271 || !serviceComponent.getClassName().equals(getComponentName().getClassName())) { in newServiceInfoLocked()
286 serviceInfo.getComponentName(), in newServiceInfoLocked()
320 if (getComponentName() != null) { in stopDetection()
454 if (getComponentName() == null) { in setUpServiceIfNeeded()
474 if (getComponentName() == null) { in setUpServiceIfNeeded()
481 getComponentName(), 0, mUserId); in setUpServiceIfNeeded()
/frameworks/base/core/java/com/android/internal/app/chooser/
DChooserTargetInfo.java45 if (ct1.getComponentName().equals(ct2.getComponentName()) in isSimilar()
DSelectableTargetInfo.java189 info = mPm.getActivityInfo(target.getComponentName(), 0); in getChooserTargetIconDrawable()
219 targetIntent.setComponent(mChooserTarget.getComponentName()); in getResolvedIntent()
260 intent.setComponent(mChooserTarget.getComponentName()); in startAsCaller()
274 .equals(mChooserTarget.getComponentName().getPackageName()); in startAsCaller()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/proxy/
DDomainVerificationProxyCombined.java58 public ComponentName getComponentName() { in getComponentName() method in DomainVerificationProxyCombined
59 return mProxyV2.getComponentName(); in getComponentName()
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DActivityRecordWrapper.java58 public ComponentName getComponentName() { in getComponentName() method in ActivityRecordWrapper
60 return mActivityRecord.info.getComponentName(); in getComponentName()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DImsResolverTest.java423 assertEquals(TEST_CARRIER_DEFAULT_NAME, controller.getComponentName()); in testCarrierPackageBind()
478 assertEquals(TEST_CARRIER_DEFAULT_NAME, carrierController1.getComponentName()); in testDeviceCarrierPackageBindMultipleServices()
479 assertEquals(TEST_CARRIER_2_DEFAULT_NAME, carrierController2.getComponentName()); in testDeviceCarrierPackageBindMultipleServices()
530 assertEquals(TEST_CARRIER_DEFAULT_NAME, carrierController1.getComponentName()); in testCarrierPackageBindOneConfigTwoSupport()
531 assertEquals(TEST_CARRIER_2_DEFAULT_NAME, carrierController2.getComponentName()); in testCarrierPackageBindOneConfigTwoSupport()
558 assertEquals(TEST_CARRIER_DEFAULT_NAME, controller.getComponentName()); in testCarrierPackageBindWithEmergencyCalling()
587 assertEquals(TEST_CARRIER_DEFAULT_NAME, controller.getComponentName()); in testCarrierPackageBindWithEmergencyButNotMmtel()
656 assertEquals(TEST_CARRIER_DEFAULT_NAME, controller.getComponentName()); in testCarrierPackageChangeEmergencyCalling()
733 assertEquals(TEST_DEVICE_DEFAULT_NAME, controller.getComponentName()); in testDevicePackageBind()
778 assertEquals(TEST_DEVICE_DEFAULT_NAME, controller.getComponentName()); in testDevicePackageBind_MsimToOneSim()
[all …]
/frameworks/base/packages/SettingsLib/Tile/src/com/android/settingslib/drawer/
DActivityTile.java47 return Objects.hash(getPackageName(), getComponentName()); in getId()
52 return getPackageName() + "/" + getComponentName(); in getDescription()
/frameworks/base/core/tests/coretests/src/android/accessibilityservice/
DAccessibilityShortcutInfoTest.java146 assertTrue(mShortcutInfo.getComponentName().equals(sameCopy.getComponentName())); in testEquals()
163 if (componentName.equals(activityInfo.getComponentName())) { in getAccessibilityShortcutInfo()
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java66 public ComponentName getComponentName() { in getComponentName() method in LauncherActivityInfo
67 return mInternal.getComponentName(); in getComponentName()
102 label = getComponentName().getPackageName(); in getLabel()
/frameworks/base/services/core/java/com/android/server/app/
DGameServiceProviderSelectorImpl.java123 gameServiceServiceInfo.getComponentName(), in get()
144 + gameServiceServiceInfo.getComponentName()); in determineGameSessionServiceFromGameService()
170 Slog.w("Error while parsing meta-data for " + gameServiceServiceInfo.getComponentName(), in determineGameSessionServiceFromGameService()
/frameworks/base/services/core/java/com/android/server/servicewatcher/
DServiceWatcher.java150 resolveInfo.serviceInfo.getComponentName()); in BoundServiceInfo()
165 public ComponentName getComponentName() { in getComponentName() method in ServiceWatcher.BoundServiceInfo
/frameworks/base/services/core/java/com/android/server/pm/
DSaferIntentUtils.java112 return resolver.getReceiver(info.getComponentName()); in infoToComponent()
114 return resolver.getActivity(info.getComponentName()); in infoToComponent()
117 return resolver.getService(info.getComponentName()); in infoToComponent()
342 Slog.w(TAG, "Access blocked: " + comp.getComponentName()); in enforceIntentFilterMatching()
/frameworks/base/services/core/java/com/android/server/am/
DForegroundServiceTypeLoggerModule.java138 if (record.getComponentName() != null) { in logForegroundServiceStart()
139 final String traceTag = record.getComponentName().flattenToString() + ":" + uid; in logForegroundServiceStart()
170 fgsList.put(record.getComponentName(), record); in logForegroundServiceStart()
214 if (record.getComponentName() != null) { in logForegroundServiceStop()
215 final String traceTag = record.getComponentName().flattenToString() + ":" + uid; in logForegroundServiceStop()
244 runningFgsOfType.remove(record.getComponentName()); in logForegroundServiceStop()
/frameworks/base/core/java/android/service/credentials/
DCredentialProviderInfoFactory.java210 Slog.w(TAG, "Metadata is null for provider: " + serviceInfo.getComponentName()); in populateMetadata()
227 + serviceInfo.getComponentName()); in populateMetadata()
441 enabledServices.contains(si.getComponentName()), in getAvailableSystemServices()
614 cpi.getServiceInfo().getComponentName().flattenToString(); in addProvider()
659 enabledServices.contains(serviceInfo.getComponentName()), in getUserProviders()
660 primaryServices.contains(serviceInfo.getComponentName())); in getUserProviders()
/frameworks/base/packages/SystemUI/plugin_core/src/com/android/systemui/plugins/
DPluginLifecycleManager.java30 ComponentName getComponentName(); in getComponentName() method
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DAccessibilityManagerServiceTest.java844 userState.mEnabledServices.add(info_a.getComponentName()); in testPackagesForceStopped_disablesRelevantService()
845 userState.mEnabledServices.add(info_b.getComponentName()); in testPackagesForceStopped_disablesRelevantService()
849 new String[]{info_a.getComponentName().getPackageName()}, userState); in testPackagesForceStopped_disablesRelevantService()
854 assertThat(userState.mEnabledServices).containsExactly(info_b.getComponentName()); in testPackagesForceStopped_disablesRelevantService()
859 assertThat(componentsFromSetting).containsExactly(info_b.getComponentName()); in testPackagesForceStopped_disablesRelevantService()
875 userState.mAccessibilityButtonTargets.add(info_a.getComponentName().flattenToString()); in testPackagesForceStopped_fromContinuousService_removesButtonTarget()
876 userState.mAccessibilityButtonTargets.add(info_b.getComponentName().flattenToString()); in testPackagesForceStopped_fromContinuousService_removesButtonTarget()
883 info_a.getComponentName().getPackageName(), in testPackagesForceStopped_fromContinuousService_removesButtonTarget()
884 info_b.getComponentName().getPackageName()}, in testPackagesForceStopped_fromContinuousService_removesButtonTarget()
891 info_b.getComponentName().flattenToString()); in testPackagesForceStopped_fromContinuousService_removesButtonTarget()
[all …]

12345678910