/aosp14/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/util/ |
H A D | DiscoveryListenerMultiplexer.java | 46 public static void addListener(@NonNull NsdManager nsdManager, @NonNull String serviceType, in addListener() argument 49 DiscoveryListenerSet listenerSet = sListeners.get(serviceType); in addListener() 56 sListeners.put(serviceType, listenerSet); in addListener() 61 nsdManager.discoverServices(serviceType, NsdManager.PROTOCOL_DNS_SD, in addListener() 133 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in onStartDiscoveryFailed() argument 134 Log.w(LOG_TAG, "Failed to start network discovery for type " + serviceType + ": " in onStartDiscoveryFailed() 139 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in onStopDiscoveryFailed() argument 140 Log.w(LOG_TAG, "Failed to stop network discovery for type " + serviceType + ": " in onStopDiscoveryFailed() 145 public void onDiscoveryStarted(String serviceType) { in onDiscoveryStarted() argument 150 public void onDiscoveryStopped(String serviceType) { in onDiscoveryStopped() argument
|
H A D | MDNSFilteredDiscovery.java | 125 for (String serviceType : mServiceTypes) { in start() 126 DiscoveryListenerMultiplexer.addListener(getNDSManager(), serviceType, this); in start() local 143 public void onStartDiscoveryFailed(String serviceType, int errorCode) { in onStartDiscoveryFailed() argument 144 Log.w(LOG_TAG, "Failed to start network discovery for type " + serviceType + ": " in onStartDiscoveryFailed() 149 public void onStopDiscoveryFailed(String serviceType, int errorCode) { in onStopDiscoveryFailed() argument 150 Log.w(LOG_TAG, "Failed to stop network discovery for type " + serviceType + ": " in onStopDiscoveryFailed() 155 public void onDiscoveryStarted(String serviceType) { in onDiscoveryStarted() argument 160 public void onDiscoveryStopped(String serviceType) { in onDiscoveryStopped() argument
|
/aosp14/frameworks/base/telephony/java/android/telephony/ims/ |
H A D | ImsSsData.java | 225 public final @ServiceType int serviceType; field in ImsSsData 299 public Builder(@ServiceType int serviceType, int requestType, int teleserviceType, in Builder() argument 301 mImsSsData = new ImsSsData(serviceType, requestType, teleserviceType, serviceClass, in Builder() 352 public ImsSsData(@ServiceType int serviceType, int requestType, int teleserviceType, in ImsSsData() argument 354 this.serviceType = serviceType; in ImsSsData() 362 serviceType = in.readInt(); in ImsSsData() 475 return serviceType; in getServiceType()
|
H A D | ImsCallProfile.java | 639 public ImsCallProfile(int serviceType, int callType) { in ImsCallProfile() argument 640 mServiceType = serviceType; in ImsCallProfile() 667 public ImsCallProfile(int serviceType, int callType, Bundle callExtras, in ImsCallProfile() argument 669 mServiceType = serviceType; in ImsCallProfile()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | PowerManagerInternal.java | 153 public abstract PowerSaveState getLowPowerState(int serviceType); in getLowPowerState() argument 160 public void registerLowPowerModeObserver(int serviceType, Consumer<PowerSaveState> listener) { in registerLowPowerModeObserver() argument 164 return serviceType; in registerLowPowerModeObserver()
|
H A D | IPowerManager.aidl | 61 PowerSaveState getPowerSaveState(int serviceType); in getPowerSaveState() argument
|
H A D | PowerManager.java | 2209 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { in getPowerSaveState() argument 2211 return mService.getPowerSaveState(serviceType); in getPowerSaveState()
|
/aosp14/frameworks/base/core/java/com/android/internal/app/procstats/ |
H A D | ServiceState.java | 431 int count, int serviceType, int state, long startTime, long now, long totalTime, in dumpStats() argument 437 dumpTime(pw, prefixInner, serviceType, state, startTime, now); in dumpStats() 439 long myTime = dumpTimeInternal(null, null, serviceType, state, startTime, now, in dumpStats() 458 int serviceType, int curState, long curStartTime, long now) { 459 return dumpTimeInternal(pw, prefix, serviceType, curState, curStartTime, now, false); 463 int serviceType, int curState, long curStartTime, long now, boolean negativeIfRunning) { 471 long time = getDuration(serviceType, curState, curStartTime, state, now); 518 int uid, long vers, String serviceName, int serviceType, int opCount, 542 if (type != serviceType) { 588 public void writeTypeToProto(ProtoOutputStream proto, long fieldId, int opType, int serviceType, [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppFGSTracker.java | 506 static int foregroundServiceTypeToIndex(@ForegroundServiceType int serviceType) { in foregroundServiceTypeToIndex() argument 507 return serviceType == FOREGROUND_SERVICE_TYPE_NONE ? 0 in foregroundServiceTypeToIndex() 508 : Integer.numberOfTrailingZeros(serviceType) + 1; in foregroundServiceTypeToIndex() 695 for (int serviceType = Integer.highestOneBit(changes); serviceType != 0;) { in setForegroundServiceType() 696 final int i = foregroundServiceTypeToIndex(serviceType); in setForegroundServiceType() 698 if ((serviceTypes & serviceType) != 0) { in setForegroundServiceType() 705 notifyListenersOnStateChangeIfNecessary(true, now, serviceType); in setForegroundServiceType() 715 changes &= ~serviceType; in setForegroundServiceType() 716 serviceType = Integer.highestOneBit(changes); in setForegroundServiceType() 722 @ForegroundServiceType int serviceType) { in notifyListenersOnStateChangeIfNecessary() argument [all …]
|
H A D | AppRestrictionController.java | 1851 @ForegroundServiceType int serviceType) { in getForegroundServiceTotalDurations() argument 1853 foregroundServiceTypeToIndex(serviceType)); in getForegroundServiceTotalDurations() 1861 @ForegroundServiceType int serviceType) { in getForegroundServiceTotalDurations() argument 1863 foregroundServiceTypeToIndex(serviceType)); in getForegroundServiceTotalDurations() 1872 @ForegroundServiceType int serviceType) { in getForegroundServiceTotalDurationsSince() argument 1874 foregroundServiceTypeToIndex(serviceType)); in getForegroundServiceTotalDurationsSince() 1882 @ForegroundServiceType int serviceType) { in getForegroundServiceTotalDurationsSince() argument 1884 foregroundServiceTypeToIndex(serviceType)); in getForegroundServiceTotalDurationsSince()
|
H A D | BatteryStatsService.java | 1595 final int serviceType, final int nrFrequency) { in notePhoneDataConnectionState() argument 1603 mStats.notePhoneDataConnectionStateLocked(dataType, hasData, serviceType, in notePhoneDataConnectionState()
|
H A D | ActiveServices.java | 2356 for (int serviceType = Integer.highestOneBit(fgsTypes); in setServiceForegroundInnerLocked() 2357 serviceType != 0; in setServiceForegroundInnerLocked() 2358 serviceType = Integer.highestOneBit(fgsTypes)) { in setServiceForegroundInnerLocked() 2360 serviceType, defaultFgsTypes, foregroundServiceStartType); in setServiceForegroundInnerLocked() 2361 fgsTypes &= ~serviceType; in setServiceForegroundInnerLocked()
|
/aosp14/frameworks/base/telephony/java/com/android/ims/internal/ |
H A D | IImsService.aidl | 39 boolean isConnected(int serviceId, int serviceType, int callType); in isConnected() argument 54 ImsCallProfile createCallProfile(int serviceId, int serviceType, int callType); in createCallProfile() argument
|
/aosp14/frameworks/base/services/core/java/com/android/server/ambientcontext/ |
H A D | DefaultAmbientContextManagerPerUserService.java | 48 @UserIdInt int userId, ServiceType serviceType, String serviceName) { in DefaultAmbientContextManagerPerUserService() argument 50 this.mServiceType = serviceType; in DefaultAmbientContextManagerPerUserService()
|
H A D | WearableAmbientContextManagerPerUserService.java | 48 @UserIdInt int userId, ServiceType serviceType, String serviceName) { in WearableAmbientContextManagerPerUserService() argument 50 this.mServiceType = serviceType; in WearableAmbientContextManagerPerUserService()
|
H A D | AmbientContextManagerService.java | 391 AmbientContextManagerPerUserService.ServiceType serviceType) { in getComponentName() argument 394 getServiceForType(userId, serviceType); in getComponentName() 442 AmbientContextManagerPerUserService.ServiceType serviceType) { in getServiceForType() argument 444 + userId + " service type: " + serviceType.name()); in getServiceForType() 456 if (service.getServiceType() == serviceType) { in getServiceForType()
|
/aosp14/frameworks/base/telephony/java/android/telephony/ |
H A D | CallState.java | 375 public CallState.Builder setImsCallServiceType(@ImsCallServiceType int serviceType) { in setImsCallServiceType() argument 376 this.mImsCallServiceType = serviceType; in setImsCallServiceType()
|
H A D | NetworkRegistrationInfo.java | 736 public static String serviceTypeToString(@ServiceType int serviceType) { in serviceTypeToString() argument 737 switch (serviceType) { in serviceTypeToString() 744 return "Unknown service type " + serviceType; in serviceTypeToString()
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | RebootEscrowManager.java | 386 public void reportMetric(boolean success, int errorCode, int serviceType, int attemptCount, in reportMetric() argument 390 errorCode, serviceType, attemptCount, escrowDurationInSeconds, in reportMetric() 684 int serviceType = mInjector.serverBasedResumeOnReboot() in reportMetricOnRestoreComplete() local 706 + serviceType in reportMetricOnRestoreComplete() 713 serviceType, in reportMetricOnRestoreComplete()
|
/aosp14/frameworks/base/core/java/com/android/internal/app/ |
H A D | IBatteryStats.aidl | 161 …void notePhoneDataConnectionState(int dataType, boolean hasData, int serviceType, int nrFrequency); in notePhoneDataConnectionState() argument
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
H A D | RebootEscrowManagerTests.java | 128 void reportMetric(boolean success, int errorCode, int serviceType, int attemptCount, in reportMetric() argument 291 public void reportMetric(boolean success, int errorCode, int serviceType, int attemptCount, in reportMetric() argument 295 mInjected.reportMetric(success, errorCode, serviceType, attemptCount, in reportMetric()
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
H A D | BackgroundRestrictionTest.java | 1588 int serviceType, long sleepMs, String perm, int op, in runTestLongFGSExemptionOnce() argument 1592 packageName, uid, pid, serviceType, sleepMs, true, false, perm, op, in runTestLongFGSExemptionOnce() 1599 int serviceType, long sleepMs, boolean stopAfterSleep, in runExemptionTestOnce() argument 1636 if (serviceType != FOREGROUND_SERVICE_TYPE_NONE) { in runExemptionTestOnce() 1637 mAppFGSTracker.mProcessObserver.onForegroundServicesChanged(pid, uid, serviceType); in runExemptionTestOnce() 2352 int serviceType, long sleepMs, boolean stopAfterSleep, boolean withNotification, in runTestBgCurrentDrainExemptionOnce() argument 2378 packageName, uid, pid, serviceType, sleepMs, stopAfterSleep, withNotification, in runTestBgCurrentDrainExemptionOnce()
|
/aosp14/frameworks/base/services/core/java/com/android/server/power/ |
H A D | PowerManagerService.java | 5994 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { 5997 return mBatterySaverPolicy.getBatterySaverPolicy(serviceType); 6946 public PowerSaveState getLowPowerState(@ServiceType int serviceType) { 6947 return mBatterySaverPolicy.getBatterySaverPolicy(serviceType);
|
/aosp14/frameworks/base/services/core/java/com/android/server/power/stats/ |
H A D | BatteryStatsImpl.java | 6090 @RegState int serviceType, @ServiceState.FrequencyRange int nrFrequency) { in notePhoneDataConnectionStateLocked() argument 6091 notePhoneDataConnectionStateLocked(dataType, hasData, serviceType, nrFrequency, in notePhoneDataConnectionStateLocked() 6097 @RegState int serviceType, @ServiceState.FrequencyRange int nrFrequency, in notePhoneDataConnectionStateLocked() argument 6107 switch (serviceType) { in notePhoneDataConnectionStateLocked()
|
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
H A D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |