/aosp14/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/ |
H A D | SoundTriggerDuplicateModelHandlerTest.java | 118 mComponent.unloadSoundModel(handle); in loadSoundModel_doesNotThrow_afterDuplicateUuidHasBeenUnloaded() 141 mComponent.unloadSoundModel(handle); in unloadSoundModel_triggersResourceCallback_afterDuplicateUuidRejected() 196 mComponent.unloadSoundModel(handle); in loadPhraseSoundModel_doesNotThrow_afterDuplicateUuidHasBeenUnloaded() 221 mComponent.unloadSoundModel(handle); in unloadSoundModel_triggersResourceCallback_afterDuplicateUuidRejectedPhrase() 249 mComponent.stopRecognition(modelId); in testDelegation() 265 mComponent.linkToDeath(recipient); in testDelegation() 269 mComponent.flushCallbacks(); in testDelegation() 272 mComponent.clientAttached(token); in testDelegation() 274 mComponent.clientDetached(token); in testDelegation() 276 mComponent.reboot(); in testDelegation() [all …]
|
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
H A D | DevicePolicyManagerServiceShellCommand.java | 52 private ComponentName mComponent; field in DevicePolicyManagerServiceShellCommand 246 mService.setActiveAdmin(mComponent, /* refreshing= */ true, mUserId); in runSetActiveAdmin() 254 mService.setActiveAdmin(mComponent, /* refreshing= */ true, mUserId); in runSetDeviceOwner() 257 if (!mService.setDeviceOwner(mComponent, mUserId, in runSetDeviceOwner() 264 mService.removeActiveAdmin(mComponent, UserHandle.USER_SYSTEM); in runSetDeviceOwner() 278 mService.forceRemoveActiveAdmin(mComponent, mUserId); in runRemoveActiveAdmin() 279 pw.printf("Success: Admin removed %s\n", mComponent); in runRemoveActiveAdmin() 288 if (!mService.setProfileOwner(mComponent, mUserId)) { in runSetProfileOwner() 295 mService.removeActiveAdmin(mComponent, mUserId); in runSetProfileOwner() 303 mComponent.flattenToShortString(), mUserId); in runSetProfileOwner() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PersistentPreferredActivity.java | 42 final ComponentName mComponent; field in PersistentPreferredActivity 61 mComponent = activity; 74 mComponent = f.mComponent; 82 mComponent = ComponentName.unflattenFromString(shortComponent); 83 if (mComponent == null) { 122 serializer.attribute(null, ATTR_NAME, mComponent.flattenToShortString()); 136 + " " + mComponent.flattenToShortString()
|
H A D | PreferredComponent.java | 49 public final ComponentName mComponent; field in PreferredComponent 70 mComponent = component; in PreferredComponent() 105 mComponent = ComponentName.unflattenFromString(mShortComponent); in PreferredComponent() 106 if (mComponent == null) { in PreferredComponent() 266 || !sameComponent(pc.mComponent)) { in sameSet() 285 if (mComponent == null || comp == null) { in sameComponent() 288 if (mComponent.getPackageName().equals(comp.getPackageName()) in sameComponent() 289 && mComponent.getClassName().equals(comp.getClassName())) { in sameComponent()
|
H A D | PersistentPreferredIntentResolver.java | 40 return packageName.equals(filter.mComponent.getPackageName()); in isPackageForFilter()
|
H A D | PreferredIntentResolver.java | 38 return packageName.equals(filter.mPref.mComponent.getPackageName()); in isPackageForFilter()
|
H A D | PreferredActivity.java | 111 + " " + mPref.mComponent.flattenToShortString() + "}";
|
H A D | PreferredActivityHelper.java | 282 if (cur.mPref.mAlways && cur.mPref.mComponent.equals(activity) 668 final String prefPackageName = pa.mPref.mComponent.getPackageName(); 680 outActivities.add(pa.mPref.mComponent);
|
H A D | ComputerEngine.java | 3267 + "\n component=" + pa.mPref.mComponent); in findPreferredActivityBody() 3284 pa.mPref.mComponent, flags | MATCH_DISABLED_COMPONENTS in findPreferredActivityBody() 3312 + pa.mPref.mComponent); in findPreferredActivityBody() 3331 Slog.v(TAG, "Removing match " + pa.mPref.mComponent); in findPreferredActivityBody() 3359 pa.mPref.mComponent, in findPreferredActivityBody() 3378 + pa.mPref.mComponent); in findPreferredActivityBody() 3383 pa, pa.mPref.mMatch, null, pa.mPref.mComponent, in findPreferredActivityBody() 3451 + "\n component=" + ppa.mComponent); in findPersistentPreferredActivity() 3454 final ActivityInfo ai = getActivityInfo(ppa.mComponent, in findPersistentPreferredActivity()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
H A D | JobStoreTest.java | 68 private ComponentName mComponent; field in JobStoreTest 132 final JobInfo task1 = new Builder(8, mComponent) in runRemovingLastJob() 138 final JobInfo task2 = new Builder(12, mComponent) in runRemovingLastJob() 185 final JobInfo task1 = new Builder(8, mComponent) in runClearJobs() 394 JobInfo.Builder b = new Builder(8, mComponent) in testWritingTaskWithExtras() 420 JobInfo.Builder b = new Builder(8, mComponent) in testWritingTaskWithSourcePackage() 443 JobInfo.Builder b = new Builder(8, mComponent) in testWritingTaskWithFlex() 468 JobInfo.Builder b = new Builder(8, mComponent) in testMassivePeriodClampedOnRead() 579 b = new Builder(43, mComponent) in testNonPersistedTaskIsNotPersisted() 668 JobInfo.Builder b = new Builder(8, mComponent) in testPersistedIdleConstraint() [all …]
|
H A D | JobSetTest.java | 58 private ComponentName mComponent; field in JobSetTest 64 mComponent = new ComponentName(mContext, JobStoreTest.class); in setUp() 77 final JobInfo jobInfo = new JobInfo.Builder(jobId, mComponent) in getJobStatusWithCallinUid()
|
/aosp14/frameworks/base/services/core/java/com/android/server/utils/ |
H A D | ManagedApplicationService.java | 82 private final ComponentName mComponent; field in ManagedApplicationService 157 mComponent = component; in ManagedApplicationService() 233 return mComponent; in getComponent() 301 Intent intent = new Intent().setComponent(mComponent); in connect() 321 mEventCb.onServiceEvent(new LogEvent(timestamp, mComponent, in connect() 342 mEventCb.onServiceEvent(new LogEvent(timestamp, mComponent, in connect() 383 mEventCb.onServiceEvent(new LogEvent(timestamp, mComponent, in connect() 411 return Objects.equals(mComponent, component) && mUserId == userId; in matches() 452 Slog.e(TAG, "Service " + mComponent + " has died too much, not retrying."); in checkAndDeliverServiceDiedCbLocked() 456 mEventCb.onServiceEvent(new LogEvent(timestamp, mComponent, in checkAndDeliverServiceDiedCbLocked() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
H A D | CustomTile.java | 86 private final ComponentName mComponent; field in CustomTile 133 mComponent = ComponentName.unflattenFromString(action); in CustomTile() 137 mKey = new TileServiceKey(mComponent, mUser); in CustomTile() 182 ServiceInfo info = pm.getServiceInfo(mComponent, flags); in updateDefaultTileAndIcon() 189 .createWithResource(mComponent.getPackageName(), icon) : null; in updateDefaultTileAndIcon() 258 return mComponent; in getComponent() 263 return super.populate(logMaker).setComponentName(mComponent); in populate() 381 i.setPackage(mComponent.getPackageName()); in getLongClickIntent() 384 i.putExtra(Intent.EXTRA_COMPONENT_NAME, mComponent); in getLongClickIntent() 389 Uri.fromParts("package", mComponent.getPackageName(), null)); in getLongClickIntent() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/ |
H A D | DreamClockTimeComplicationTest.java | 62 private DreamClockTimeComplicationComponent mComponent; field in DreamClockTimeComplicationTest 88 when(mComponentFactory.create()).thenReturn(mComponent); in setup() 89 when(mComponent.getViewHolder()).thenReturn(mDreamClockTimeViewHolder); in setup() 127 verify(mComponent).getViewHolder(); in testComplicationViewHolderComponentOnCreateView()
|
H A D | ComplicationViewModelTransformerTest.java | 46 ComplicationViewModelComponent mComponent; field in ComplicationViewModelTransformerTest 57 when(mFactory.create(Mockito.any(), Mockito.any())).thenReturn(mComponent); in setup() 58 when(mComponent.getViewModelProvider()).thenReturn(mViewModelProvider); in setup()
|
/aosp14/frameworks/base/tests/testables/src/android/testing/ |
H A D | TestableContext.java | 76 private LeakCheck.Tracker mComponent; field in TestableContext 94 mComponent = check != null ? check.getTracker("component") : null; in TestableContext() 350 if (mComponent != null) mComponent.getLeakInfo(callback).addAllocation(new Throwable()); in registerComponentCallbacks() 356 if (mComponent != null) mComponent.getLeakInfo(callback).clearAllocations(); in unregisterComponentCallbacks()
|
/aosp14/frameworks/base/core/java/android/content/ |
H A D | Intent.java | 7553 this.mComponent = o.mComponent; in Intent() 9612 return mComponent; in getComponent() 9672 if (mComponent != null) { in resolveActivity() 9673 return mComponent; in resolveActivity() 9706 if (mComponent != null) { in resolveActivityInfo() 9733 if (mComponent != null) { in resolveSystemService() 9734 return mComponent; in resolveSystemService() 10969 mComponent = component; in setComponent() 11220 mComponent = other.mComponent; in fillIn() 11333 if (!Objects.equals(this.mComponent, other.mComponent)) return false; in filterEquals() [all …]
|
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerServiceImpl.java | 110 final ComponentName mComponent; field in VoiceInteractionManagerServiceImpl 208 mComponent = service; in VoiceInteractionManagerServiceImpl() 320 Slog.w(TAG, "Not bound to voice interaction service " + mComponent); in getActiveServiceSupportedActions() 365 return mAtm.startVoiceActivity(mComponent.getPackageName(), callingFeatureId, in startVoiceActivityLocked() 389 return mAtm.startAssistantActivity(mComponent.getPackageName(), callingFeatureId, in startAssistantActivityLocked() 967 pw.print(" mComponent="); pw.println(mComponent.flattenToShortString()); in dumpLocked() 996 intent.setComponent(mComponent); in startLocked() 1002 Slog.w(TAG, "Failed binding to voice interaction service " + mComponent); in startLocked() 1008 Slog.w(TAG, "Not bound to voice interaction service " + mComponent); in launchVoiceAssistFromKeyguard() 1047 Slog.w(TAG, "Not bound to voice interaction service " + mComponent); in notifySoundModelsChangedLocked()
|
H A D | VoiceInteractionManagerService.java | 749 || !mImpl.mComponent.equals(serviceComponent)) { in switchImplementationIfNeededNoTracingLocked() 1880 return mImpl != null ? mImpl.mComponent : null; in getActiveServiceComponentName() 2512 mImpl.mComponent.getPackageName())) {
|
/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
H A D | WindowTestsBase.java | 1085 private ComponentName mComponent; field in WindowTestsBase.ActivityBuilder 1118 mComponent = component; in setComponent() 1268 if (mComponent == null) { in buildInner() 1273 intent.setComponent(mComponent); in buildInner() 1287 aInfo.name = mComponent.getClassName(); in buildInner() 1307 .setComponent(mComponent) in buildInner() 1444 private ComponentName mComponent; field in WindowTestsBase.TaskBuilder 1483 mComponent = component; in setComponent() 1578 if (mComponent == null) { in build() 1581 mIntent.setComponent(mComponent); in build() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/tv/interactive/ |
H A D | TvInteractiveAppManagerService.java | 2206 updateServiceConnectionLocked(sessionState.mComponent, userId); in removeSessionStateLocked() 2228 updateServiceConnectionLocked(serviceState.mComponent, userId); in abortPendingCreateSessionRequestsLocked() 2319 private final ComponentName mComponent; field in TvInteractiveAppManagerService.SessionState 2336 mComponent = componentName; in SessionState() 2399 private final ComponentName mComponent; field in TvInteractiveAppManagerService.ServiceState 2410 mComponent = component; in ServiceState() 2425 private final ComponentName mComponent; field in TvInteractiveAppManagerService.InteractiveAppServiceConnection 2429 mComponent = component; in InteractiveAppServiceConnection() 2518 if (!mComponent.equals(component)) { in onServiceDisconnected() 2538 private final ComponentName mComponent; field in TvInteractiveAppManagerService.ServiceCallback [all …]
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | Activity.java | 852 private ComponentName mComponent; field in Activity 7307 final String cls = mComponent.getClassName(); 7322 return mComponent; 8539 mComponent = intent.getComponent(); 8555 mToken, mComponent.flattenToString(), 8606 + mComponent.getClassName()); 8646 + mComponent.getClassName()); 8756 + mComponent.getClassName()); 8809 + mComponent.getClassName()); 8839 + mComponent.getClassName()); [all …]
|
H A D | Instrumentation.java | 115 private ComponentName mComponent; field in Instrumentation 230 mWatcher.instrumentationStatus(mComponent, resultCode, results); in sendStatus() 324 return mComponent; in getComponentName() 2210 mComponent = component; in init()
|
/aosp14/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputManagerService.java | 3202 private final ComponentName mComponent; field in TvInputManagerService.InputServiceConnection 3206 mComponent = component; in InputServiceConnection() 3222 ServiceState serviceState = userState.serviceStateMap.get(mComponent); in onServiceConnected() 3227 serviceState.callback = new ServiceCallback(mComponent, mUserId); in onServiceConnected() 3281 if (!mComponent.equals(component)) { in onServiceDisconnected() 3283 + mComponent + " (expected), " + component + " (actual)."); in onServiceDisconnected() 3287 ServiceState serviceState = userState.serviceStateMap.get(mComponent); in onServiceDisconnected() 3301 private final ComponentName mComponent; field in TvInputManagerService.ServiceCallback 3305 mComponent = component; in ServiceCallback() 3324 ServiceState serviceState = getServiceStateLocked(mComponent, mUserId); in addHardwareInputLocked() [all …]
|
/aosp14/frameworks/base/cmds/telecom/src/com/android/commands/telecom/ |
H A D | Telecom.java | 100 private ComponentName mComponent; field in Telecom
|