/frameworks/base/media/java/android/media/tv/interactive/ |
D | AppLinkInfo.java | 29 private @NonNull ComponentName mComponentName; field in AppLinkInfo 47 this.mComponentName = new ComponentName(packageName, className); in AppLinkInfo() 56 return mComponentName; in getComponentName() 70 + "packageName = " + mComponentName.getPackageName() + ", " in toString() 71 + "className = " + mComponentName.getClassName() + ", " in toString() 78 mComponentName.writeToParcel(dest, flags); in writeToParcel() 89 mComponentName = ComponentName.readFromParcel(in); in AppLinkInfo() 91 NonNull.class, null, mComponentName.getPackageName()); in AppLinkInfo() 93 NonNull.class, null, mComponentName.getClassName()); in AppLinkInfo()
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameTaskInfo.java | 26 final ComponentName mComponentName; field in GameTaskInfo 31 mComponentName = componentName; in GameTaskInfo() 42 + mComponentName in toString() 59 && mComponentName.equals(that.mComponentName); in equals() 64 return Objects.hash(mTaskId, mIsGameTask, mComponentName); in hashCode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/resume/ |
D | ResumeMediaBrowser.java | 54 private final ComponentName mComponentName; field in ResumeMediaBrowser 74 mComponentName = componentName; in ResumeMediaBrowser() 91 mComponentName, in findRecentMedia() 103 Log.d(TAG, "No children found for " + mComponentName); 118 Log.d(TAG, "Child found but not playable for " + mComponentName); 129 Log.d(TAG, "Subscribe error for " + mComponentName + ": " + parentId); 138 Log.d(TAG, "Subscribe error for " + mComponentName + ": " + parentId 156 Log.d(TAG, "Service connected for " + mComponentName); 181 Log.d(TAG, "Connection suspended for " + mComponentName); 193 Log.d(TAG, "Connection failed for " + mComponentName); [all …]
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | CallerIdentity.java | 34 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/ |
D | InlineSuggestionsRequestInfo.java | 41 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/ |
D | ServiceWatcher.java | 146 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/ |
D | PersistentConnection.java | 74 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/ |
D | ChooserTarget.java | 67 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/ |
D | SuggestionControllerMixinCompatTest.java | 57 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()
|
D | SuggestionControllerMixinTest.java | 57 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()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | PhoneAccountHandle.java | 58 private final ComponentName mComponentName; field in PhoneAccountHandle 97 mComponentName = componentName; in PhoneAccountHandle() 109 return mComponentName; in getComponentName() 142 return Objects.hash(mComponentName, mId, mUserHandle); in hashCode() 148 .append(mComponentName) in toString() 151 if (TELEPHONY_COMPONENT_NAME.equals(mComponentName)) { in toString() 187 mComponentName.writeToParcel(out, flags); in writeToParcel()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/ |
D | TileServiceManagerTest.java | 71 private ComponentName mComponentName; field in TileServiceManagerTest 87 mComponentName = new ComponentName(mContext, TileServiceManagerTest.class); in setUp() 88 when(mTileLifecycle.getComponent()).thenReturn(mComponentName); in setUp() 101 when(mQSHost.isTileAdded(eq(mComponentName), anyInt())).thenReturn(false); in testSetTileAddedIfNotAdded() 104 verify(mQSHost).setTileAdded(mComponentName, mUserTracker.getUserId(), true); in testSetTileAddedIfNotAdded() 109 when(mQSHost.isTileAdded(eq(mComponentName), anyInt())).thenReturn(true); in testNotSetTileAddedIfAdded() 112 verify(mQSHost, never()).setTileAdded(eq(mComponentName), anyInt(), eq(true)); in testNotSetTileAddedIfAdded() 119 when(mQSHost.isTileAdded(eq(mComponentName), anyInt())).thenReturn(false); in testSetTileAddedCorrectUser() 122 verify(mQSHost).setTileAdded(mComponentName, user, true); in testSetTileAddedCorrectUser()
|
/frameworks/base/core/java/android/accessibilityservice/ |
D | AccessibilityShortcutInfo.java | 65 private final ComponentName mComponentName; field in AccessibilityShortcutInfo 121 mComponentName = activityInfo.getComponentName(); in AccessibilityShortcutInfo() 195 return mComponentName; in getComponentName() 318 return 31 * 1 + ((mComponentName == null) ? 0 : mComponentName.hashCode()); in hashCode() 336 if (mComponentName == null) { in equals() 337 if (other.mComponentName != null) { in equals() 340 } else if (!mComponentName.equals(other.mComponentName)) { in equals()
|
/frameworks/base/core/java/android/view/contentcapture/ |
D | ContentCaptureContext.java | 113 private final @Nullable ComponentName mComponentName; field in ContentCaptureContext 135 mComponentName = Objects.requireNonNull(componentName); in ContentCaptureContext() 147 mComponentName = null; in ContentCaptureContext() 159 mComponentName = original.mComponentName; in ContentCaptureContext() 201 return mComponentName; in getActivityComponent() 351 if (mComponentName != null) { in dump() 352 pw.print("activity="); pw.print(mComponentName.flattenToShortString()); in dump() 373 return mComponentName != null; in fromServer() 381 builder.append("act=").append(ComponentName.flattenToShortString(mComponentName)) in toString() 411 parcel.writeParcelable(mComponentName, flags); in writeToParcel()
|
/frameworks/base/core/java/android/service/contentcapture/ |
D | ActivityEvent.java | 81 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/services/companion/java/com/android/server/companion/ |
D | CompanionDeviceServiceConnector.java | 55 private final @NonNull ComponentName mComponentName; field in CompanionDeviceServiceConnector 87 mComponentName = componentName; in CompanionDeviceServiceConnector() 117 Log.d(TAG, "onServiceConnection_StatusChanged() " + mComponentName.toShortString() in onServiceConnectionStatusChanged() 129 if (DEBUG) Log.d(TAG, "onBindingDied() " + mComponentName.toShortString()); in onBindingDied() 136 if (DEBUG) Log.d(TAG, "binderDied() " + mComponentName.toShortString()); in binderDied() 140 mListener.onBindingDied(mUserId, mComponentName.getPackageName()); in binderDied()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaButtonReceiverHolder.java | 71 private final ComponentName mComponentName; field in MediaButtonReceiverHolder 146 mComponentName = componentName; in MediaButtonReceiverHolder() 154 mComponentName = null; in MediaButtonReceiverHolder() 218 } else if (mComponentName != null) { in send() 221 + mComponentName + ", type=" + mComponentType); in send() 223 mediaButtonIntent.setComponent(mComponentName); in send() 241 + mComponentName + ", type=" + mComponentType, e); in send() 258 return "Restored MBR {component=" + mComponentName + ", type=" + mComponentType + "}"; in toString() 265 if (mComponentName == null) { in flattenToString() 270 mComponentName.flattenToString(), in flattenToString()
|
D | MediaRoute2Provider.java | 34 final ComponentName mComponentName; field in MediaRoute2Provider 46 mComponentName = Objects.requireNonNull(componentName, "Component name must not be null."); in MediaRoute2Provider() 89 .setUniqueId(mComponentName.getPackageName(), mUniqueId) in setProviderState() 107 return mComponentName.getPackageName().equals(packageName) in hasComponentName() 108 && mComponentName.getClassName().equals(className); in hasComponentName()
|
/frameworks/base/core/java/android/content/pm/ |
D | LauncherActivityInfoInternal.java | 31 @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/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoder.cpp | 92 mComponentName("decoder") { in Decoder() 139 ALOGV("[%s] onMessage: %s", mComponentName.c_str(), msg->debugString().c_str()); in onMessageReceived() 299 mComponentName = mime; in onConfigure() 300 mComponentName.append(" decoder"); in onConfigure() 301 ALOGV("[%s] onConfigure (surface=%p)", mComponentName.c_str(), mSurface.get()); in onConfigure() 308 mCodec->getName(&mComponentName); in onConfigure() 309 mComponentName.append(".secure"); in onConfigure() 311 ALOGI("[%s] creating", mComponentName.c_str()); in onConfigure() 313 mCodecLooper, mComponentName.c_str(), NULL /* err */, mPid, mUid); in onConfigure() 324 mCodec->getName(&mComponentName); in onConfigure() [all …]
|
/frameworks/base/core/java/android/app/smartspace/ |
D | SmartspaceTarget.java | 110 private final ComponentName mComponentName; field in SmartspaceTarget 285 this.mComponentName = in.readTypedObject(ComponentName.CREATOR); in SmartspaceTarget() 314 mComponentName = componentName; in SmartspaceTarget() 420 return mComponentName; in getComponentName() 493 dest.writeTypedObject(this.mComponentName, flags); in writeToParcel() 521 + ", mComponentName=" + mComponentName in toString() 547 && mComponentName.equals(that.mComponentName) in equals() 560 mShouldShowExpanded, mSourceNotificationKey, mComponentName, mUserHandle, in hashCode() 572 private final ComponentName mComponentName; field in SmartspaceTarget.Builder 601 this.mComponentName = componentName; in Builder() [all …]
|
/frameworks/base/services/core/java/com/android/server/tv/ |
D | TvRemoteProviderProxy.java | 45 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/ |
D | AdminSecondaryLockScreenControllerTest.java | 67 private ComponentName mComponentName; field in AdminSecondaryLockScreenControllerTest 92 mComponentName = new ComponentName(mContext, "FakeKeyguardClient.class"); in setUp() 93 mServiceIntent = new Intent().setComponent(mComponentName); in setUp() 95 mContext.addMockService(mComponentName, mKeyguardClient); in setUp() 121 assertThat(mContext.isBound(mComponentName)).isTrue(); in testShow() 152 assertThat(mContext.isBound(mComponentName)).isFalse(); in testHide() 197 assertThat(mContext.isBound(mComponentName)).isFalse(); in verifyViewDismissed()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityServiceConnection.java | 90 mIntent = new Intent().setComponent(mComponentName); in AccessibilityServiceConnection() 119 userState.getBindingServicesLocked().add(mComponentName); in bindLocked() 124 mActivityTaskManagerService.setAllowAppSwitches(mComponentName.flattenToString(), in bindLocked() 138 mActivityTaskManagerService.setAllowAppSwitches(mComponentName.flattenToString(), -1, in unbindLocked() 155 if (userState.getEnabledServicesLocked().remove(mComponentName)) { in disableSelf() 212 if (bindingServices.contains(mComponentName) in initializeService() 213 || crashedServices.contains(mComponentName)) { in initializeService() 214 bindingServices.remove(mComponentName); in initializeService() 215 crashedServices.remove(mComponentName); in initializeService() 223 && !userState.getEnabledServicesLocked().contains(mComponentName)) { in initializeService() [all …]
|
/frameworks/base/services/core/java/com/android/server/rotationresolver/ |
D | RotationResolverManagerPerUserService.java | 68 private ComponentName mComponentName; field in RotationResolverManagerPerUserService 164 mRemoteService = new RemoteRotationResolverService(getContext(), mComponentName, in ensureRemoteServiceInitiated() 174 return mComponentName; in getComponentName() 182 if (mComponentName == null) { in isServiceAvailableLocked() 183 mComponentName = updateServiceInfoLocked(); in isServiceAvailableLocked() 185 return mComponentName != null; in isServiceAvailableLocked()
|