Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/services/tests/voiceinteractiontests/src/com/android/server/soundtrigger_middleware/
H A DSoundTriggerDuplicateModelHandlerTest.java118 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 DDevicePolicyManagerServiceShellCommand.java52 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 DPersistentPreferredActivity.java42 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 DPreferredComponent.java49 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 DPersistentPreferredIntentResolver.java40 return packageName.equals(filter.mComponent.getPackageName()); in isPackageForFilter()
H A DPreferredIntentResolver.java38 return packageName.equals(filter.mPref.mComponent.getPackageName()); in isPackageForFilter()
H A DPreferredActivity.java111 + " " + mPref.mComponent.flattenToShortString() + "}";
H A DPreferredActivityHelper.java282 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 DComputerEngine.java3267 + "\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 DJobStoreTest.java68 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 DJobSetTest.java58 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 DManagedApplicationService.java82 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 DCustomTile.java86 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 DDreamClockTimeComplicationTest.java62 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 DComplicationViewModelTransformerTest.java46 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 DTestableContext.java76 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 DIntent.java7553 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 DVoiceInteractionManagerServiceImpl.java110 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 DVoiceInteractionManagerService.java749 || !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 DWindowTestsBase.java1085 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 DTvInteractiveAppManagerService.java2206 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 DActivity.java852 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 DInstrumentation.java115 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 DTvInputManagerService.java3202 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 DTelecom.java100 private ComponentName mComponent; field in Telecom

12