Home
last modified time | relevance | path

Searched refs:capability (Results 1 – 25 of 191) sorted by relevance

12345678

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneCapabilityTest.java45 PhoneCapability capability = new PhoneCapability(maxActiveVoiceCalls, maxActiveData, in basicTests() local
48 assertEquals(maxActiveVoiceCalls, capability.getMaxActiveVoiceSubscriptions()); in basicTests()
49 assertEquals(maxActiveData, capability.getMaxActiveDataSubscriptions()); in basicTests()
50 assertEquals(1, capability.getLogicalModemList().size()); in basicTests()
51 assertEquals(modemInfo, capability.getLogicalModemList().get(0)); in basicTests()
52 assertArrayEquals(deviceNrCapabilities, capability.getDeviceNrCapabilities()); in basicTests()
56 assertEquals(capability, in basicTests()
59 assertNotEquals(capability, toCompare); in basicTests()
72 PhoneCapability capability = new PhoneCapability(maxActiveVoiceCalls, maxActiveData, in parcelReadWrite() local
76 capability.writeToParcel(parcel, 0); in parcelReadWrite()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DNetworkRequestsStats.java42 networkRequestsTemplate.capability = in addNetworkRequest()
48 networkRequestsTemplate.capability = in addNetworkRequest()
54 networkRequestsTemplate.capability = NetworkRequestsV2.NetworkCapability.CBS; in addNetworkRequest()
59 networkRequestsTemplate.capability = NetworkRequestsV2.NetworkCapability.ENTERPRISE; in addNetworkRequest()
68 networkRequestsTemplate.capability = in addNetworkRequest()
74 networkRequestsTemplate.capability = in addNetworkRequest()
80 networkRequestsTemplate.capability = in addNetworkRequest()
86 networkRequestsTemplate.capability = in addNetworkRequest()
92 networkRequestsTemplate.capability = in addNetworkRequest()
98 networkRequestsTemplate.capability = in addNetworkRequest()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsUidStateTrackerImpl.java220 public void updateUidProcState(int uid, int procState, int capability) { in updateUidProcState() argument
229 && (uidState != prevUidState || capability != prevCapability)) in updateUidProcState()
231 && (uidState != pendingUidState || capability != pendingCapability))) { in updateUidProcState()
235 mEventLog.logUpdateUidProcState(uid, procState, capability); in updateUidProcState()
237 mPendingCapability.put(uid, capability); in updateUidProcState()
249 } else if (uidState == prevUidState && capability != prevCapability) { in updateUidProcState()
288 int capability = mCapability.get(uid, PROCESS_CAPABILITY_NONE); in dumpUidState() local
290 int pendingCapability = mPendingCapability.get(uid, capability); in dumpUidState()
292 ActivityManager.printCapabilitiesFull(pw, capability); in dumpUidState()
294 if (capability != pendingCapability) { in dumpUidState()
[all …]
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DSlicePurchaseBroadcastReceiver.java98 @TelephonyManager.PremiumCapability int capability) { in cancelNotification() argument
100 PERFORMANCE_BOOST_NOTIFICATION_TAG, capability, UserHandle.ALL); in cancelNotification()
101 sIntents.remove(capability); in cancelNotification()
168 int capability = intent.getIntExtra(SlicePurchaseController.EXTRA_PREMIUM_CAPABILITY, in isIntentValid() local
170 if (capability == SlicePurchaseController.PREMIUM_CAPABILITY_INVALID) { in isIntentValid()
171 loge("isIntentValid: invalid premium capability: " + capability); in isIntentValid()
317 for (int capability : new int[]{TelephonyManager.PREMIUM_CAPABILITY_PRIORITIZE_LATENCY}) { in onLocaleChanged()
318 if (sIntents.get(capability) != null) { in onLocaleChanged()
321 PERFORMANCE_BOOST_NOTIFICATION_TAG, capability, UserHandle.ALL); in onLocaleChanged()
322 onDisplayPerformanceBoostNotification(context, sIntents.get(capability), true); in onLocaleChanged()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/
DProvisioningManager.java988 int capability, int tech, boolean isProvisioned) { in onFeatureProvisioningChanged() argument
993 capability, tech, isProvisioned)); in onFeatureProvisioningChanged()
1001 int capability, int tech, boolean isProvisioned) { in onRcsFeatureProvisioningChanged() argument
1006 capability, tech, isProvisioned)); in onRcsFeatureProvisioningChanged()
1030 @MmTelFeature.MmTelCapabilities.MmTelCapability int capability, in onFeatureProvisioningChanged()
1045 @ImsRcsManager.RcsImsCapabilityFlag int capability, in onRcsFeatureProvisioningChanged()
1473 @MmTelFeature.MmTelCapabilities.MmTelCapability int capability, in setProvisioningStatusForCapability()
1477 getITelephony().setImsProvisioningStatusForCapability(mSubId, capability, tech, in setProvisioningStatusForCapability()
1510 @MmTelFeature.MmTelCapabilities.MmTelCapability int capability, in getProvisioningStatusForCapability()
1513 return getITelephony().getImsProvisioningStatusForCapability(mSubId, capability, tech); in getProvisioningStatusForCapability()
[all …]
/frameworks/base/telephony/java/android/telephony/ims/aidl/
DIFeatureProvisioningCallback.aidl26 void onFeatureProvisioningChanged(int capability, int tech, boolean isProvisioned); in onFeatureProvisioningChanged() argument
27 void onRcsFeatureProvisioningChanged(int capability, int tech, boolean isProvisioned); in onRcsFeatureProvisioningChanged() argument
DIImsCapabilityCallback.aidl24 void onQueryCapabilityConfiguration(int capability, int radioTech, boolean enabled); in onQueryCapabilityConfiguration() argument
25 void onChangeCapabilityConfigurationError(int capability, int radioTech, int reason); in onChangeCapabilityConfigurationError() argument
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/request/
DRemoteOptionsCoordinator.java76 RcsContactUceCapability capability = response.getRcsContactCapability();
77 if (capability != null) {
134 RcsContactUceCapability capability = response.getRcsContactCapability(); in handleRemoteRequestDone() local
135 if (capability != null) { in handleRemoteRequestDone()
137 triggerOptionsReqCallback(capability, isNumberBlocked); in handleRemoteRequestDone()
/frameworks/base/telephony/java/android/telephony/ims/feature/
DImsFeature.java205 public void onChangeCapabilityConfigurationError(int capability, int radioTech, in onChangeCapabilityConfigurationError() argument
211 mCallback.onChangeCapabilityConfigurationError(capability, radioTech, reason); in onChangeCapabilityConfigurationError()
453 final void queryCapabilityConfigurationInternal(int capability, int radioTech, in queryCapabilityConfigurationInternal() argument
455 boolean enabled = queryCapabilityConfiguration(capability, radioTech); in queryCapabilityConfigurationInternal()
458 c.onQueryCapabilityConfiguration(capability, radioTech, enabled); in queryCapabilityConfigurationInternal()
526 public abstract boolean queryCapabilityConfiguration(int capability, int radioTech); in queryCapabilityConfiguration() argument
/frameworks/opt/net/ims/src/java/com/android/ims/
DRcsFeatureManager.java357 @RcsImsCapabilities.RcsImsCapabilityFlag int capability, in isCapable()
367 if ((capability != resultCapability) || (radioTech != resultRadioTech)) { in isCapable()
370 if (DBG) log("capable result:capability=" + capability + ", enabled=" + enabled); in isCapable()
381 public void onChangeCapabilityConfigurationError(int capability, int radioTech, in isCapable()
388 if (DBG) log("Query capability: " + capability + ", radioTech=" + radioTech); in isCapable()
389 mRcsFeatureConnection.queryCapabilityConfiguration(capability, radioTech, callback); in isCapable()
410 public boolean isAvailable(@RcsImsCapabilities.RcsImsCapabilityFlag int capability, in isAvailable() argument
418 return new RcsImsCapabilities(currentStatus).isCapable(capability); in isAvailable()
431 @RcsImsCapabilities.RcsImsCapabilityFlag int capability) { in addRcsUceCapability() argument
432 request.addCapabilitiesToEnableForTech(capability, in addRcsUceCapability()
[all …]
DImsManager.java342 @MmTelFeature.MmTelCapabilities.MmTelCapability int capability, in onEnabledMmTelCapabilitiesChanged()
749 public void isSupported(int capability, int transportType, Consumer<Boolean> result) { in isSupported() argument
754 switch (capability) { in isSupported()
772 switch (capability) { in isSupported()
1634 private boolean getImsProvisionedBoolNoException(int capability, int tech) { in getImsProvisionedBoolNoException() argument
1648 return iTelephony.getImsProvisioningStatusForCapability(subId, capability, tech); in getImsProvisionedBoolNoException()
1650 logw("getImsProvisionedBoolNoException: operation failed for capability=" + capability in getImsProvisionedBoolNoException()
1660 private boolean getRcsProvisionedBoolNoException(int capability, int tech) { in getRcsProvisionedBoolNoException() argument
1674 return iTelephony.getRcsProvisioningStatusForCapability(subId, capability, tech); in getRcsProvisionedBoolNoException()
1676 logw("getRcsProvisionedBoolNoException: operation failed for capability=" + capability in getRcsProvisionedBoolNoException()
[all …]
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/
DEabControllerImpl.java242 for (RcsContactUceCapability capability : contactCapabilities) { in saveCapabilities()
243 String phoneNumber = getNumberFromUri(mContext, capability.getContactUri()); in saveCapabilities()
251 if (capability.getCapabilityMechanism() == CAPABILITY_MECHANISM_PRESENCE) { in saveCapabilities()
254 insertNewPresenceCapability(contactId, capability); in saveCapabilities()
255 } else if (capability.getCapabilityMechanism() == CAPABILITY_MECHANISM_OPTIONS) { in saveCapabilities()
258 insertNewOptionCapability(contactId, capability); in saveCapabilities()
263 if (capability.getCapabilityMechanism() == CAPABILITY_MECHANISM_PRESENCE) { in saveCapabilities()
264 insertNewPresenceCapability(contactId, capability); in saveCapabilities()
265 } else if (capability.getCapabilityMechanism() == CAPABILITY_MECHANISM_OPTIONS) { in saveCapabilities()
266 insertNewOptionCapability(contactId, capability); in saveCapabilities()
[all …]
/frameworks/base/packages/CarrierDefaultApp/assets/
Dslice_purchase_test.js18 let capability = DataBoostWebServiceFlow.getRequestedCapability();
20 "Premium capability requested: " + capability;
/frameworks/base/wifi/tests/src/android/net/wifi/nl80211/
DNativeScanResultTest.java66 scanResult.capability = TEST_CAPABILITY; in canSerializeAndDeserialize()
83 assertEquals(scanResult.capability, scanResultDeserialized.capability); in canSerializeAndDeserialize()
/frameworks/native/libs/binder/
DIUidObserver.cpp60 int32_t capability) { in onUidStateChanged() argument
66 data.writeInt32(capability); in onUidStateChanged()
117 int32_t capability = data.readInt32(); in onTransact() local
118 onUidStateChanged(uid, procState, procStateSeq, capability); in onTransact()
/frameworks/base/wifi/java/src/android/net/wifi/nl80211/
DNativeScanResult.java65 @BssCapabilityBits public int capability; field in NativeScanResult
250 return capability; in getCapabilities()
283 out.writeInt(capability); in writeToParcel()
309 result.capability = in.readInt();
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/aidl/
DReverbTypes.h63 .capability = kEnvReverbCap};
78 .capability = kEnvReverbCap};
99 .capability = kPresetReverbCap};
114 .capability = kPresetReverbCap};
/frameworks/av/media/libeffects/preprocessing/aidl/
DPreProcessingTypes.h45 .capability = kAcousticEchoCancelerCap};
60 .capability = kAutomaticGainControlV1Cap};
80 .capability = kAutomaticGainControlV2Cap};
/frameworks/base/services/core/java/com/android/server/vcn/routeselection/
DUnderlyingNetworkController.java143 public final int capability; field in UnderlyingNetworkController.CapabilityMatchCriteria
146 CapabilityMatchCriteria(int capability, int matchCriteria) { in CapabilityMatchCriteria() argument
147 this.capability = capability; in CapabilityMatchCriteria()
153 return Objects.hash(capability, matchCriteria); in hashCode()
163 return capability == rhs.capability && matchCriteria == rhs.matchCriteria; in equals()
181 final int capability = entry.getKey(); in dedupAndGetCapRequirementsForCell() local
184 capsMatchSet.add(new CapabilityMatchCriteria(capability, matchCriteria)); in dedupAndGetCapRequirementsForCell()
366 final int cap = capMatchCriteria.capability; in getCellNetworkRequestForSubId()
/frameworks/base/core/java/android/net/
DNetworkPolicyManager.java825 return isProcStateAllowedWhileIdleOrPowerSaveMode(uidState.procState, uidState.capability);
830 int procState, @ProcessCapability int capability) {
835 || (capability & ActivityManager.PROCESS_CAPABILITY_POWER_RESTRICTED_NETWORK) != 0;
858 || (uidState.capability & PROCESS_CAPABILITY_POWER_RESTRICTED_NETWORK) != 0;
870 return isProcStateAllowedWhileOnRestrictBackground(uidState.procState, uidState.capability);
892 public int capability;
894 public UidState(int uid, int procState, long procStateSeq, int capability) {
898 this.capability = capability;
909 ActivityManager.printCapabilitiesSummary(sb, capability);
/frameworks/av/media/libeffects/lvm/wrapper/Aidl/
DBundleTypes.h94 .capability = kEqCap};
112 .capability = kBassBoostCap};
130 .capability = kVirtualizerCap};
145 .capability = kVolumeCap};
/frameworks/base/core/java/android/service/translation/
DTranslationService.java312 public final void updateTranslationCapability(@NonNull TranslationCapability capability) { in updateTranslationCapability() argument
313 Objects.requireNonNull(capability, "translation capability should not be null"); in updateTranslationCapability()
322 callback.updateTranslationCapability(capability); in updateTranslationCapability()
394 for (TranslationCapability capability : capabilities) { in isValidCapabilities()
395 if (capability.getState() == TranslationCapability.STATE_REMOVED_AND_AVAILABLE) { in isValidCapabilities()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/presence/pidfparser/
DPidfParserTest.java68 RcsContactUceCapability capability = getRcsContactUceCapability(); in testConvertToPidf() local
70 String pidfResult = PidfParser.convertToPidf(capability); in testConvertToPidf()
283 final RcsContactUceCapability capability = getRcsContactUceCapability(); in testConversionAndRestoration() local
286 final String pidf = PidfParser.convertToPidf(capability); in testConversionAndRestoration()
295 assertEquals(capability.getContactUri(), restoredCapability.getContactUri()); in testConversionAndRestoration()
296 assertEquals(capability.getCapabilityMechanism(), in testConversionAndRestoration()
298 assertEquals(capability.getSourceType(), restoredCapability.getSourceType()); in testConversionAndRestoration()
301 List<RcsContactPresenceTuple> originalTuples = capability.getCapabilityTuples(); in testConversionAndRestoration()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DMmTelFeatureCompatAdapter.java93 public ConfigListener(int capability, int tech, CountDownLatch latch) { in ConfigListener() argument
94 mCapability = capability; in ConfigListener()
295 public boolean queryCapabilityConfiguration(int capability, int radioTech) { in queryCapabilityConfiguration() argument
296 int capConverted = convertCapability(capability, radioTech); in queryCapabilityConfiguration()
527 private int convertCapability(int capability, int radioTech) { in convertCapability() argument
530 switch (capability) { in convertCapability()
542 switch (capability) { in convertCapability()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUidObserverControllerTest.java232 int capability, boolean ephemeral) { in addPendingChange() argument
238 record.capability = capability; in addPendingChange()
244 int capability, boolean ephemeral, ChangeRecord expectedRecord) { in assertPendingChange() argument
253 assertEquals(capability, record.capability); in assertPendingChange()

12345678