/frameworks/base/services/core/java/com/android/server/infra/ |
D | AbstractPerUserSystemService.java | 70 private ServiceInfo mServiceInfo; field in AbstractPerUserSystemService 119 return mSetupComplete && mServiceInfo != null && !mDisabled; in isEnabledLocked() 224 mServiceInfo = newServiceInfoLocked(serviceComponent); in getServiceComponent() 227 + serviceComponent + " and info as " + mServiceInfo); in getServiceComponent() 230 mServiceInfo = null; in getServiceComponent() 237 mServiceInfo = null; in getServiceComponent() 263 if (mServiceInfo == null) { in getServiceUidLocked() 267 return mServiceInfo.applicationInfo.uid; in getServiceUidLocked() 318 return mServiceInfo; in getServiceInfo() 328 return mServiceInfo == null ? null : mServiceInfo.getComponentName(); in getServiceComponentName() [all …]
|
/frameworks/base/core/java/android/credentials/ |
D | CredentialProviderInfo.java | 43 @NonNull private final ServiceInfo mServiceInfo; field in CredentialProviderInfo 58 mServiceInfo = builder.mServiceInfo; in CredentialProviderInfo() 77 return mServiceInfo; in getServiceInfo() 88 return mServiceInfo.loadIcon(context.getPackageManager()); in getServiceIcon() 97 return mServiceInfo.loadSafeLabel(context.getPackageManager()); in getLabel() 142 return mServiceInfo.getComponentName(); in getComponentName() 147 dest.writeTypedObject(mServiceInfo, flags); in writeToParcel() 166 + mServiceInfo in toString() 192 mServiceInfo = in.readTypedObject(ServiceInfo.CREATOR); in CredentialProviderInfo() 218 @NonNull private ServiceInfo mServiceInfo; field in CredentialProviderInfo.Builder [all …]
|
/frameworks/base/core/java/android/service/quickaccesswallet/ |
D | QuickAccessWalletClientImpl.java | 79 private final QuickAccessWalletServiceInfo mServiceInfo; field in QuickAccessWalletClientImpl 85 mServiceInfo = QuickAccessWalletServiceInfo.tryCreate(context); in QuickAccessWalletClientImpl() 94 return mServiceInfo != null; in isWalletServiceAvailable() 242 if (mServiceInfo == null) { in createWalletIntent() 245 String packageName = mServiceInfo.getComponentName().getPackageName(); in createWalletIntent() 246 String walletActivity = mServiceInfo.getWalletActivity(); in createWalletIntent() 272 if (mServiceInfo == null) { in createWalletSettingsIntent() 275 String packageName = mServiceInfo.getComponentName().getPackageName(); in createWalletSettingsIntent() 276 String settingsActivity = mServiceInfo.getSettingsActivity(); in createWalletSettingsIntent() 327 return mServiceInfo == null ? null : mServiceInfo.getWalletLogo(mContext); in getLogo() [all …]
|
D | QuickAccessWalletServiceInfo.java | 59 private final ServiceInfo mServiceInfo; field in QuickAccessWalletServiceInfo 67 mServiceInfo = serviceInfo; in QuickAccessWalletServiceInfo() 247 return mServiceInfo.getComponentName(); in getComponentName() 272 Drawable drawable = mServiceInfo.loadLogo(context.getPackageManager()); in getWalletLogo() 276 return mServiceInfo.loadIcon(context.getPackageManager()); in getWalletLogo() 289 return mServiceInfo.loadLabel(context.getPackageManager()); in getShortcutShortLabel() 297 return mServiceInfo.loadLabel(context.getPackageManager()); in getShortcutLongLabel() 302 return mServiceInfo.loadLabel(context.getPackageManager()); in getServiceLabel()
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | StreamingService.java | 108 private final StreamingServiceInfo mServiceInfo; field in StreamingService 124 mServiceInfo = streamingServiceInfo; in StreamingService() 142 return mService.getPlaybackUri(mSubscriptionId, mServiceInfo.getServiceId()); in getPlaybackUri() 156 return mServiceInfo; in getInfo() 172 mService.stopStreaming(mSubscriptionId, mServiceInfo.getServiceId()); in close()
|
/frameworks/base/core/java/android/service/remotelockscreenvalidation/ |
D | RemoteLockscreenValidationClientImpl.java | 62 private ServiceInfo mServiceInfo; field in RemoteLockscreenValidationClientImpl 130 if (mServiceInfo == null) { in connectInternal() 139 intent.setComponent(mServiceInfo.getComponentName()); in connectInternal() 160 mServiceInfo = getServiceInfo(context, serviceComponent); in isServiceAvailable() 161 if (mServiceInfo == null) { in isServiceAvailable() 166 mServiceInfo.permission)) { in isServiceAvailable() 168 mServiceInfo.packageName, mServiceInfo.name, in isServiceAvailable()
|
/frameworks/base/services/musicrecognition/java/com/android/server/musicrecognition/ |
D | MusicRecognitionManagerPerUserService.java | 81 private ServiceInfo mServiceInfo; field in MusicRecognitionManagerPerUserService 96 mServiceInfo = null; in MusicRecognitionManagerPerUserService() 144 mServiceInfo = in ensureRemoteServiceLocked() 235 + mServiceInfo.getComponentName(), e); in streamAudio() 365 mServiceInfo.applicationInfo.uid, in startRecordAudioOp() 366 mServiceInfo.packageName, in startRecordAudioOp() 373 + "receiving service: %s", status, mServiceInfo.getComponentName())); in startRecordAudioOp() 377 mServiceInfo.packageName, mServiceInfo.applicationInfo.uid, attributionTag)); in startRecordAudioOp() 385 mServiceInfo.applicationInfo.uid, in finishRecordAudioOp() 386 mServiceInfo.packageName, in finishRecordAudioOp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/wallpapereffectsgeneration/ |
D | WallpaperEffectsGenerationPerUserServiceTest.java | 63 private ServiceInfo mServiceInfo; field in WallpaperEffectsGenerationPerUserServiceTest 76 mServiceInfo = new ServiceInfo(); in setUp() 77 mServiceInfo.permission = Manifest.permission.BIND_WALLPAPER_EFFECTS_GENERATION_SERVICE; in setUp() 78 mServiceInfo.applicationInfo = mockApplicationInfo; in setUp() 80 .thenReturn(mServiceInfo); in setUp()
|
/frameworks/base/core/java/android/service/contentcapture/ |
D | ContentCaptureServiceInfo.java | 77 private final ServiceInfo mServiceInfo; field in ContentCaptureServiceInfo 98 mServiceInfo = si; in ContentCaptureServiceInfo() 144 return mServiceInfo; in getServiceInfo() 156 builder.append("[").append(mServiceInfo); in toString()
|
/frameworks/base/core/java/android/service/translation/ |
D | TranslationServiceInfo.java | 57 private final ServiceInfo mServiceInfo; field in TranslationServiceInfo 84 return mServiceInfo; in getServiceInfo() 108 mServiceInfo = si; in TranslationServiceInfo() 157 builder.append("[").append(mServiceInfo); in toString()
|
/frameworks/base/core/java/android/service/autofill/ |
D | AutofillServiceInfo.java | 86 private final ServiceInfo mServiceInfo; field in AutofillServiceInfo 122 mServiceInfo = si; in AutofillServiceInfo() 246 mServiceInfo = new ServiceInfo(); in AutofillServiceInfo() 247 mServiceInfo.applicationInfo = new ApplicationInfo(); in AutofillServiceInfo() 248 mServiceInfo.packageName = "com.android.test"; in AutofillServiceInfo() 277 return mServiceInfo; in getServiceInfo() 352 builder.append("[").append(mServiceInfo); in toString()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | RecognitionServiceInfo.java | 53 private final ServiceInfo mServiceInfo; field in RecognitionServiceInfo 130 mServiceInfo = si; in RecognitionServiceInfo() 142 return mServiceInfo; in getServiceInfo()
|
/frameworks/base/core/java/android/service/voice/ |
D | VoiceInteractionServiceInfo.java | 45 private ServiceInfo mServiceInfo; field in VoiceInteractionServiceInfo 157 mServiceInfo = si; in VoiceInteractionServiceInfo() 165 return mServiceInfo; in getServiceInfo()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/ |
D | AccessibilityShortcutControllerTest.java | 129 private @Mock AccessibilityServiceInfo mServiceInfo; field in AccessibilityShortcutControllerTest 163 .thenReturn(new ParceledListSlice<>(Collections.singletonList(mServiceInfo))); in setUp() 190 when(mServiceInfo.getResolveInfo()).thenReturn(resolveInfo); in setUp() 191 when(mServiceInfo.getComponentName()) in setUp() 193 when(mServiceInfo.loadSummary(any())).thenReturn(SERVICE_NAME_SUMMARY); in setUp() 725 when(mServiceInfo.loadSummary(any())).thenReturn(null); in testOnAccessibilityShortcut_forServiceWithNoSummary_doesNotCrash() 884 mServiceInfo.flags |= AccessibilityServiceInfo in configureTtsSpokenPromptEnabled() 889 mServiceInfo.flags |= AccessibilityServiceInfo in configureRequestAccessibilityButton() 907 .thenReturn(Collections.singletonList(mServiceInfo)); in configureEnabledService()
|
D | AccessibilityShortcutChooserActivityTest.java | 120 private ServiceInfo mServiceInfo; field in AccessibilityShortcutChooserActivityTest 142 mResolveInfo.serviceInfo = mServiceInfo; in setUp() 143 mServiceInfo.applicationInfo = mApplicationInfo; in setUp()
|
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/ |
D | TestDreamEnvironment.java | 177 private ServiceInfo mServiceInfo; field in TestDreamEnvironment.TestInjector 191 mServiceInfo.packageName = FAKE_DREAM_PACKAGE_NAME; in TestInjector() 234 return mServiceInfo; in getServiceInfo()
|
/frameworks/base/services/midi/java/com/android/server/midi/ |
D | MidiService.java | 393 private final ServiceInfo mServiceInfo; field in MidiService.Device 421 mServiceInfo = serviceInfo; in Device() 431 mServiceInfo = null; in Device() 503 return mServiceInfo; in getServiceInfo() 507 return (mServiceInfo == null ? null : mServiceInfo.packageName); in getPackageName() 543 (mServiceInfo != null || mBluetoothDevice != null)) { in addDeviceConnection() 591 new ComponentName(mServiceInfo.packageName, mServiceInfo.name)); in addDeviceConnection() 595 new ComponentName(mServiceInfo.packageName, mServiceInfo.name)); in addDeviceConnection() 679 if (mServiceInfo == null) { in closeLocked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityServiceConnectionTest.java | 105 AccessibilityServiceInfo mServiceInfo; field in AccessibilityServiceConnectionTest 145 mServiceInfo = spy(new AccessibilityServiceInfo()); in setup() 146 when(mServiceInfo.getResolveInfo()).thenReturn(mMockResolveInfo); in setup() 158 COMPONENT_NAME, mServiceInfo, SERVICE_ID, mHandler, new Object(), in setup()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/credentials/ |
D | ProviderRegistryGetSessionTest.java | 91 @Mock private ServiceInfo mServiceInfo; field in ProviderRegistryGetSessionTest 113 when(mServiceInfo.getComponentName()).thenReturn(CREDENTIAL_PROVIDER_COMPONENT); in setUp()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierPrivilegesTrackerTest.java | 1160 private ServiceInfo mServiceInfo; field in CarrierPrivilegesTrackerTest.ResolveInfoBuilder 1170 mServiceInfo = new ServiceInfo(); in setService() 1171 mServiceInfo.packageName = packageName; in setService() 1184 resolveInfo.serviceInfo = mServiceInfo; in build()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 48084 Landroid/service/autofill/AutofillServiceInfo;->mServiceInfo:Landroid/content/pm/ServiceInfo; 49992 Landroid/service/voice/VoiceInteractionServiceInfo;->mServiceInfo:Landroid/content/pm/ServiceInfo; 53845 Landroid/telephony/mbms/StreamingService;->mServiceInfo:Landroid/telephony/mbms/StreamingServiceInf…
|