Home
last modified time | relevance | path

Searched refs:mServiceInfo (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/infra/
DAbstractPerUserSystemService.java71 private ServiceInfo mServiceInfo; field in AbstractPerUserSystemService
120 return mSetupComplete && mServiceInfo != null && !mDisabled; in isEnabledLocked()
184 mServiceInfo = newServiceInfoLocked(serviceComponent); in updateServiceInfoLocked()
187 + serviceComponent + " and info as " + mServiceInfo); in updateServiceInfoLocked()
190 mServiceInfo = null; in updateServiceInfoLocked()
197 mServiceInfo = null; in updateServiceInfoLocked()
223 if (mServiceInfo == null) { in getServiceUidLocked()
227 return mServiceInfo.applicationInfo.uid; in getServiceUidLocked()
258 return mServiceInfo; in getServiceInfo()
268 return mServiceInfo == null ? null : mServiceInfo.getComponentName(); in getServiceComponentName()
[all …]
/frameworks/base/services/core/java/com/android/server/
DServiceWatcher.java191 private volatile ServiceInfo mServiceInfo; field in ServiceWatcher
212 mServiceInfo = ServiceInfo.NONE; in ServiceWatcher()
290 return mServiceInfo; in getBoundService()
309 if (forceRebind || !bestServiceInfo.equals(mServiceInfo)) { in onBestServiceChanged()
317 if (!mServiceInfo.equals(ServiceInfo.NONE)) { in rebind()
319 Log.i(TAG, "[" + mIntent.getAction() + "] unbinding from " + mServiceInfo); in rebind()
323 onServiceDisconnected(mServiceInfo.component); in rebind()
324 mServiceInfo = ServiceInfo.NONE; in rebind()
327 mServiceInfo = newServiceInfo; in rebind()
328 if (mServiceInfo.equals(ServiceInfo.NONE)) { in rebind()
[all …]
/frameworks/base/core/java/android/service/quickaccesswallet/
DQuickAccessWalletClientImpl.java77 private final QuickAccessWalletServiceInfo mServiceInfo; field in QuickAccessWalletClientImpl
83 mServiceInfo = QuickAccessWalletServiceInfo.tryCreate(context); in QuickAccessWalletClientImpl()
91 return mServiceInfo != null; in isWalletServiceAvailable()
241 if (mServiceInfo == null) { in createWalletIntent()
244 String packageName = mServiceInfo.getComponentName().getPackageName(); in createWalletIntent()
245 String walletActivity = mServiceInfo.getWalletActivity(); in createWalletIntent()
252 if (mServiceInfo == null) { in createWalletSettingsIntent()
255 String packageName = mServiceInfo.getComponentName().getPackageName(); in createWalletSettingsIntent()
256 String settingsActivity = mServiceInfo.getSettingsActivity(); in createWalletSettingsIntent()
307 return mServiceInfo == null ? null : mServiceInfo.getWalletLogo(mContext); in getLogo()
[all …]
DQuickAccessWalletServiceInfo.java57 private final ServiceInfo mServiceInfo; field in QuickAccessWalletServiceInfo
63 mServiceInfo = serviceInfo; in QuickAccessWalletServiceInfo()
184 return mServiceInfo.getComponentName(); in getComponentName()
209 Drawable drawable = mServiceInfo.loadLogo(context.getPackageManager()); in getWalletLogo()
213 return mServiceInfo.loadIcon(context.getPackageManager()); in getWalletLogo()
221 return mServiceInfo.loadLabel(context.getPackageManager()); in getShortcutShortLabel()
229 return mServiceInfo.loadLabel(context.getPackageManager()); in getShortcutLongLabel()
234 return mServiceInfo.loadLabel(context.getPackageManager()); in getServiceLabel()
/frameworks/base/telephony/java/android/telephony/mbms/
DStreamingService.java108 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/contentcapture/
DContentCaptureServiceInfo.java77 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/autofill/
DAutofillServiceInfo.java75 private final ServiceInfo mServiceInfo; field in AutofillServiceInfo
109 mServiceInfo = si; in AutofillServiceInfo()
225 return mServiceInfo; in getServiceInfo()
245 builder.append("[").append(mServiceInfo); in toString()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionServiceInfo.java42 private ServiceInfo mServiceInfo; field in VoiceInteractionServiceInfo
152 mServiceInfo = si; in VoiceInteractionServiceInfo()
160 return mServiceInfo; in getServiceInfo()
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/
DAccessibilityShortcutControllerTest.java114 private @Mock AccessibilityServiceInfo mServiceInfo; field in AccessibilityShortcutControllerTest
147 .thenReturn(Collections.singletonList(mServiceInfo)); in setUp()
173 when(mServiceInfo.getResolveInfo()).thenReturn(resolveInfo); in setUp()
174 when(mServiceInfo.getComponentName()) in setUp()
176 when(mServiceInfo.loadSummary(any())).thenReturn(SERVICE_NAME_SUMMARY); in setUp()
448 when(mServiceInfo.loadSummary(any())).thenReturn(null); in testOnAccessibilityShortcut_forServiceWithNoSummary_doesNotCrash()
601 mServiceInfo.flags |= AccessibilityServiceInfo in configureTtsSpokenPromptEnabled()
606 mServiceInfo.flags |= AccessibilityServiceInfo in configureRequestAccessibilityButton()
624 .thenReturn(Collections.singletonList(mServiceInfo)); in configureEnabledService()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DCustomTileTest.kt66 @Mock private lateinit var mServiceInfo: ServiceInfo variable in com.android.systemui.qs.external.CustomTileTest
85 .thenReturn(mServiceInfo) in setUp()
86 mServiceInfo.applicationInfo = mApplicationInfo in setUp()
/frameworks/base/services/midi/java/com/android/server/midi/
DMidiService.java292 private final ServiceInfo mServiceInfo; field in MidiService.Device
307 mServiceInfo = serviceInfo; in Device()
316 mServiceInfo = null; in Device()
379 return mServiceInfo; in getServiceInfo()
383 return (mServiceInfo == null ? null : mServiceInfo.packageName); in getPackageName()
400 (mServiceInfo != null || mBluetoothDevice != null)) { in addDeviceConnection()
439 new ComponentName(mServiceInfo.packageName, mServiceInfo.name)); in addDeviceConnection()
486 if (mServiceInfo == null) { in closeLocked()