Home
last modified time | relevance | path

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

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DResumeMediaBrowser.java54 private ComponentName mComponentName; field in ResumeMediaBrowser
66 mComponentName = componentName; in ResumeMediaBrowser()
79 Log.d(TAG, "Connecting to " + mComponentName); in findRecentMedia()
84 mComponentName, in findRecentMedia()
96 Log.d(TAG, "No children found for " + mComponentName);
111 Log.d(TAG, "Child found but not playable for " + mComponentName);
122 Log.d(TAG, "Subscribe error for " + mComponentName + ": " + parentId);
131 Log.d(TAG, "Subscribe error for " + mComponentName + ": " + parentId
149 Log.d(TAG, "Service connected for " + mComponentName);
173 Log.d(TAG, "Connection suspended for " + mComponentName);
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCallerIdentity.java34 private final ComponentName mComponentName; field in CallerIdentity
39 mComponentName = componentName; in CallerIdentity()
59 return mComponentName; in getComponentName()
63 return mComponentName != null; in hasAdminComponent()
76 if (mComponentName != null) { in toString()
77 builder.append(", cmp=").append(mComponentName.flattenToShortString()); in toString()
/frameworks/base/core/java/com/android/internal/view/
DInlineSuggestionsRequestInfo.java41 private final @NonNull ComponentName mComponentName; field in InlineSuggestionsRequestInfo
83 this.mComponentName = componentName; in InlineSuggestionsRequestInfo()
85 NonNull.class, null, mComponentName); in InlineSuggestionsRequestInfo()
101 return mComponentName; in getComponentName()
127 "componentName = " + mComponentName + ", " + in toString()
146 && java.util.Objects.equals(mComponentName, that.mComponentName) in equals()
158 _hash = 31 * _hash + java.util.Objects.hashCode(mComponentName); in hashCode()
170 dest.writeTypedObject(mComponentName, flags); in writeToParcel()
190 this.mComponentName = componentName; in InlineSuggestionsRequestInfo()
192 NonNull.class, null, mComponentName); in InlineSuggestionsRequestInfo()
/frameworks/base/services/core/java/com/android/server/servicewatcher/
DServiceWatcher.java146 protected final ComponentName mComponentName; field in ServiceWatcher.BoundServiceInfo
156 mComponentName = Objects.requireNonNull(componentName); in BoundServiceInfo()
166 return mComponentName; in getComponentName()
186 && mComponentName.equals(that.mComponentName); in equals()
191 return Objects.hash(mAction, mUid, mComponentName); in hashCode()
196 if (mComponentName == null) { in toString()
199 return mUid + "/" + mComponentName.flattenToShortString(); in toString()
/frameworks/base/services/core/java/com/android/server/am/
DPersistentConnection.java74 private final ComponentName mComponentName; field in PersistentConnection
126 Log.w(mTag, "Connected: " + mComponentName.flattenToShortString()
130 Log.i(mTag, "Connected: " + mComponentName.flattenToShortString()
146 Log.i(mTag, "Disconnected: " + mComponentName.flattenToShortString()
164 Log.w(mTag, "Binding died: " + mComponentName.flattenToShortString()
169 Log.w(mTag, "Binding died: " + mComponentName.flattenToShortString()
189 mComponentName = componentName; in PersistentConnection()
200 return mComponentName; in getComponentName()
310 final Intent service = new Intent().setComponent(mComponentName); in bindInnerLocked()
313 Log.d(mTag, "Attempting to connect to " + mComponentName); in bindInnerLocked()
[all …]
/frameworks/base/core/java/android/service/chooser/
DChooserTarget.java67 private ComponentName mComponentName; field in ChooserTarget
117 mComponentName = componentName; in ChooserTarget()
129 mComponentName = ComponentName.readFromParcel(in); in ChooserTarget()
170 return mComponentName; in getComponentName()
185 + mComponentName in toString()
206 ComponentName.writeToParcel(mComponentName, dest); in writeToParcel()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/
DSuggestionControllerMixinTest.java57 private ComponentName mComponentName; field in SuggestionControllerMixinTest
64 mComponentName = new ComponentName( in setUp()
76 mMixin = new SuggestionControllerMixin(mContext, mHost, mLifecycle, mComponentName); in goThroughLifecycle_onStartStop_shouldStartStopController()
90 mMixin = new SuggestionControllerMixin(mContext, mHost, mLifecycle, mComponentName); in onServiceConnected_shouldGetSuggestion()
101 mMixin = new SuggestionControllerMixin(mContext, mHost, mLifecycle, mComponentName); in onServiceConnected_hostNotAttached_shouldDoNothing()
111 mMixin = new SuggestionControllerMixin(mContext, mHost, mLifecycle, mComponentName); in onServiceDisconnected_hostNotAttached_shouldDoNothing()
119 mMixin = new SuggestionControllerMixin(mContext, mHost, mLifecycle, mComponentName); in doneLoadingg_shouldSetSuggestionLoaded()
DSuggestionControllerMixinCompatTest.java57 private ComponentName mComponentName; field in SuggestionControllerMixinCompatTest
64 mComponentName = new ComponentName( in setUp()
76 mMixin = new SuggestionControllerMixinCompat(mContext, mHost, mLifecycle, mComponentName); in goThroughLifecycle_onStartStop_shouldStartStopController()
90 mMixin = new SuggestionControllerMixinCompat(mContext, mHost, mLifecycle, mComponentName); in onServiceConnected_shouldGetSuggestion()
101 mMixin = new SuggestionControllerMixinCompat(mContext, mHost, mLifecycle, mComponentName); in onServiceConnected_hostNotAttached_shouldDoNothing()
111 mMixin = new SuggestionControllerMixinCompat(mContext, mHost, mLifecycle, mComponentName); in onServiceDisconnected_hostNotAttached_shouldDoNothing()
119 mMixin = new SuggestionControllerMixinCompat(mContext, mHost, mLifecycle, mComponentName); in doneLoadingg_shouldSetSuggestionLoaded()
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityShortcutInfo.java65 private final ComponentName mComponentName; field in AccessibilityShortcutInfo
109 mComponentName = activityInfo.getComponentName(); in AccessibilityShortcutInfo()
181 return mComponentName; in getComponentName()
283 return 31 * 1 + ((mComponentName == null) ? 0 : mComponentName.hashCode()); in hashCode()
301 if (mComponentName == null) { in equals()
302 if (other.mComponentName != null) { in equals()
305 } else if (!mComponentName.equals(other.mComponentName)) { in equals()
/frameworks/base/core/java/android/view/contentcapture/
DContentCaptureContext.java104 private final @Nullable ComponentName mComponentName; field in ContentCaptureContext
125 mComponentName = Objects.requireNonNull(componentName); in ContentCaptureContext()
136 mComponentName = null; in ContentCaptureContext()
147 mComponentName = original.mComponentName; in ContentCaptureContext()
188 return mComponentName; in getActivityComponent()
323 if (mComponentName != null) { in dump()
324 pw.print("activity="); pw.print(mComponentName.flattenToShortString()); in dump()
344 return mComponentName != null; in fromServer()
352 builder.append("act=").append(ComponentName.flattenToShortString(mComponentName)) in toString()
381 parcel.writeParcelable(mComponentName, flags); in writeToParcel()
/frameworks/base/core/java/android/service/contentcapture/
DActivityEvent.java81 private final @NonNull ComponentName mComponentName; field in ActivityEvent
86 mComponentName = componentName; in ActivityEvent()
95 return mComponentName; in getComponentName()
131 return new StringBuilder("ActivityEvent[").append(mComponentName.toShortString()) in toString()
142 parcel.writeParcelable(mComponentName, flags); in writeToParcel()
/frameworks/base/telecomm/java/android/telecom/
DPhoneAccountHandle.java47 private final ComponentName mComponentName; field in PhoneAccountHandle
63 mComponentName = componentName; in PhoneAccountHandle()
75 return mComponentName; in getComponentName()
108 return Objects.hash(mComponentName, mId, mUserHandle); in hashCode()
115 return new StringBuilder().append(mComponentName) in toString()
144 mComponentName.writeToParcel(out, flags); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/media/
DMediaButtonReceiverHolder.java69 private final ComponentName mComponentName; field in MediaButtonReceiverHolder
140 mComponentName = componentName; in MediaButtonReceiverHolder()
148 mComponentName = null; in MediaButtonReceiverHolder()
212 } else if (mComponentName != null) { in send()
215 + mComponentName + ", type=" + mComponentType); in send()
217 mediaButtonIntent.setComponent(mComponentName); in send()
235 + mComponentName + ", type=" + mComponentType, e); in send()
252 return "Restored MBR {component=" + mComponentName + ", type=" + mComponentType + "}"; in toString()
259 if (mComponentName == null) { in flattenToString()
264 mComponentName.flattenToString(), in flattenToString()
/frameworks/base/core/java/android/app/smartspace/
DSmartspaceTarget.java109 private final ComponentName mComponentName; field in SmartspaceTarget
205 this.mComponentName = in.readTypedObject(ComponentName.CREATOR); in SmartspaceTarget()
233 mComponentName = componentName; in SmartspaceTarget()
338 return mComponentName; in getComponentName()
403 dest.writeTypedObject(this.mComponentName, flags); in writeToParcel()
430 + ", mComponentName=" + mComponentName in toString()
455 && mComponentName.equals(that.mComponentName) in equals()
467 mShouldShowExpanded, mSourceNotificationKey, mComponentName, mUserHandle, in hashCode()
490 private final ComponentName mComponentName; field in SmartspaceTarget.Builder
506 this.mComponentName = componentName; in Builder()
[all …]
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfoInternal.java31 @NonNull private ComponentName mComponentName; field in LauncherActivityInfoInternal
41 mComponentName = new ComponentName(info.packageName, info.name); in LauncherActivityInfoInternal()
47 mComponentName = new ComponentName(mActivityInfo.packageName, mActivityInfo.name); in LauncherActivityInfoInternal()
53 return mComponentName; in getComponentName()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityServiceConnection.java84 mIntent = new Intent().setComponent(mComponentName); in AccessibilityServiceConnection()
113 userState.getBindingServicesLocked().add(mComponentName); in bindLocked()
118 mActivityTaskManagerService.setAllowAppSwitches(mComponentName.flattenToString(), in bindLocked()
129 mActivityTaskManagerService.setAllowAppSwitches(mComponentName.flattenToString(), -1, in unbindLocked()
146 if (userState.getEnabledServicesLocked().remove(mComponentName)) { in disableSelf()
200 if (bindingServices.contains(mComponentName) in initializeService()
201 || crashedServices.contains(mComponentName)) { in initializeService()
202 bindingServices.remove(mComponentName); in initializeService()
203 crashedServices.remove(mComponentName); in initializeService()
211 && !userState.getEnabledServicesLocked().contains(mComponentName)) { in initializeService()
[all …]
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp93 mComponentName("decoder") { in Decoder()
140 ALOGV("[%s] onMessage: %s", mComponentName.c_str(), msg->debugString().c_str()); in onMessageReceived()
300 mComponentName = mime; in onConfigure()
301 mComponentName.append(" decoder"); in onConfigure()
302 ALOGV("[%s] onConfigure (surface=%p)", mComponentName.c_str(), mSurface.get()); in onConfigure()
309 mCodec->getName(&mComponentName); in onConfigure()
310 mComponentName.append(".secure"); in onConfigure()
312 ALOGI("[%s] creating", mComponentName.c_str()); in onConfigure()
314 mCodecLooper, mComponentName.c_str(), NULL /* err */, mPid, mUid); in onConfigure()
325 mCodec->getName(&mComponentName); in onConfigure()
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvRemoteProviderProxy.java45 private final ComponentName mComponentName; field in TvRemoteProviderProxy
58 mComponentName = componentName; in TvRemoteProviderProxy()
72 return mComponentName.getPackageName().equals(packageName) in hasComponentName()
73 && mComponentName.getClassName().equals(className); in hasComponentName()
112 service.setComponent(mComponentName); in bind()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DAdminSecondaryLockScreenControllerTest.java65 private ComponentName mComponentName; field in AdminSecondaryLockScreenControllerTest
89 mComponentName = new ComponentName(mContext, "FakeKeyguardClient.class"); in setUp()
90 mServiceIntent = new Intent().setComponent(mComponentName); in setUp()
92 mContext.addMockService(mComponentName, mKeyguardClient); in setUp()
118 assertThat(mContext.isBound(mComponentName)).isTrue(); in testShow()
149 assertThat(mContext.isBound(mComponentName)).isFalse(); in testHide()
194 assertThat(mContext.isBound(mComponentName)).isFalse(); in verifyViewDismissed()
/frameworks/base/services/core/java/com/android/server/rotationresolver/
DRotationResolverManagerPerUserService.java66 private ComponentName mComponentName; field in RotationResolverManagerPerUserService
162 mRemoteService = new RemoteRotationResolverService(getContext(), mComponentName, in ensureRemoteServiceInitiated()
172 return mComponentName; in getComponentName()
180 if (mComponentName == null) { in isServiceAvailableLocked()
181 mComponentName = updateServiceInfoLocked(); in isServiceAvailableLocked()
183 return mComponentName != null; in isServiceAvailableLocked()
/frameworks/base/core/tests/coretests/src/android/accessibilityservice/
DAccessibilityShortcutInfoTest.java56 private ComponentName mComponentName; field in AccessibilityShortcutInfoTest
64 mComponentName = new ComponentName(mTargetContext, AccessibilityTestActivity.class); in setUp()
65 mShortcutInfo = getAccessibilityShortcutInfo(mComponentName); in setUp()
66 assertNotNull("Can't find " + mComponentName, mShortcutInfo); in setUp()
124 mComponentName); in testEquals()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DDefaultAppInfoTest.java49 private ComponentName mComponentName; field in DefaultAppInfoTest
85 when(mComponentName.getPackageName()).thenReturn("com.android.settings"); in initInfoWithComponent_shouldLoadInfo()
87 mInfo = new DefaultAppInfo(mContext, mPackageManager, 0 /* uid */, mComponentName); in initInfoWithComponent_shouldLoadInfo()
90 verify(mComponentName).flattenToString(); in initInfoWithComponent_shouldLoadInfo()
/frameworks/base/services/core/java/com/android/server/policy/
DGlobalKeyIntent.java32 private final ComponentName mComponentName; field in GlobalKeyIntent
38 mComponentName = componentName; in GlobalKeyIntent()
45 .setComponent(mComponentName) in getIntent()
/frameworks/av/media/libstagefright/
DFrameRenderTracker.cpp30 mComponentName("unknown component") { in FrameRenderTracker()
37 mComponentName = componentName; in setComponentName()
95 mComponentName.c_str(), (long long)systemNano, (long long)mediaTimeUs); in onFrameRendered()
102 mComponentName.c_str(), (long long)systemNano, (long long)mediaTimeUs); in onFrameRendered()
175 mComponentName.c_str(), (long long)mLastRenderTimeNs); in dumpRenderQueue()
/frameworks/base/apex/media/framework/java/android/media/
DSession2Token.java92 private final ComponentName mComponentName; field in Session2Token
116 mComponentName = serviceComponent; in Session2Token()
131 mComponentName = null; in Session2Token()
142 mComponentName = ComponentName.unflattenFromString(in.readString()); in Session2Token()
162 dest.writeString(mComponentName == null ? "" : mComponentName.flattenToString()); in writeToParcel()

1234