/frameworks/base/services/core/java/com/android/server/infra/ |
D | AbstractPerUserSystemService.java | 71 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/ |
D | ServiceWatcher.java | 191 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/ |
D | QuickAccessWalletClientImpl.java | 77 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 …]
|
D | QuickAccessWalletServiceInfo.java | 57 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/ |
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/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/autofill/ |
D | AutofillServiceInfo.java | 75 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/ |
D | VoiceInteractionServiceInfo.java | 42 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/ |
D | AccessibilityShortcutControllerTest.java | 114 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/ |
D | CustomTileTest.kt | 66 @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/ |
D | MidiService.java | 292 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()
|