Home
last modified time | relevance | path

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

12

/packages/services/Telephony/src/com/android/services/telephony/
DPstnPhoneCapabilitiesNotifier.java119 private int newCapabilities(int capabilities, int capability, boolean set) { in newCapabilities() argument
121 capabilities |= capability; in newCapabilities()
123 capabilities &= ~capability; in newCapabilities()
/packages/services/Car/car_product/sepolicy/
Dcan.te8 allow can self:capability net_admin;
18 allow can self:capability { net_raw };
Dnetmgrd.te14 allow netmgrd self:capability { net_admin net_raw fsetid };
28 dontaudit netmgrd self:capability sys_module;
Dmpdecision.te7 allow mpdecision self:capability { net_admin fsetid };
32 allow mpdecision self:capability dac_override;
Dnetd.te1 dontaudit netd self:capability sys_module;
Dsystem_server.te17 dontaudit system_server self:capability sys_module;
Dtime_daemon.te19 allow time_daemon self:capability { setuid setgid };
Dqmuxd.te21 # Allow qmuxd to have the CAP_BLOCK_SUSPEND capability
Dqcom-sh.te12 allow qcom-sh self:capability net_admin;
Drmt_storage.te8 allow rmt_storage self:capability { setuid setgid };
Dthermal-engine.te11 allow thermal-engine self:capability { net_admin fsetid };
Dqcom-usb-sh.te23 allow qcom-usb-sh self:capability chown;
Dqcom-post-boot.te46 allow qcom-post-boot self:capability { fowner chown fsetid };
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCreateConnectionProcessorTest.java301 private PhoneAccount getNewConnectionManagerPhoneAccount(String id, int capability) { in getNewConnectionManagerPhoneAccount() argument
302 PhoneAccount callManagerPA = makeQuickAccount(id, capability); in getNewConnectionManagerPhoneAccount()
311 private PhoneAccount getNewEmergencyConnectionManagerPhoneAccount(String id, int capability) { in getNewEmergencyConnectionManagerPhoneAccount() argument
312 PhoneAccount callManagerPA = makeQuickAccount(id, capability); in getNewEmergencyConnectionManagerPhoneAccount()
DMissedCallNotifierImplTest.java382 private PhoneAccount makePhoneAccount(UserHandle userHandle, int capability) { in makePhoneAccount() argument
387 builder.setCapabilities(capability); in makePhoneAccount()
DBluetoothPhoneServiceTest.java869 private void addCallCapability(Call call, int capability) { in addCallCapability() argument
870 when(call.can(capability)).thenReturn(true); in addCallCapability()
873 private void removeCallCapability(Call call, int capability) { in removeCallCapability() argument
874 when(call.can(capability)).thenReturn(false); in removeCallCapability()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleAccessibilityServicePreferenceFragment.java255 AccessibilityServiceInfo.CapabilityInfo capability = capabilities.get(i); in createEnableDialogContentView() local
267 labelView.setText(getString(capability.titleResId)); in createEnableDialogContentView()
271 descriptionView.setText(getString(capability.descResId)); in createEnableDialogContentView()
/packages/apps/DevCamera/src/com/android/devcamera/
DCameraInfoCache.java147 public boolean isCapabilitySupported(int capability) { in isCapabilitySupported() argument
150 if (c == capability) return true; in isCapabilitySupported()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java277 for (String capability : capabilities.split(",")) { in setupOpen()
278 mockTransport.expect(null, "250-" + capability); in setupOpen()
/packages/services/Telecomm/src/com/android/server/telecom/
DParcelableCallUtils.java292 private static int removeCapability(int capabilities, int capability) { in removeCapability() argument
293 return capabilities & ~capability; in removeCapability()
DCall.java1610 public boolean can(int capability) { in can() argument
1611 return (mConnectionCapabilities & capability) == capability; in can()
/packages/apps/TV/src/com/android/tv/receiver/
DAudioCapabilitiesReceiver.java151 void onAc3PassthroughCapabilityChange(boolean capability); in onAc3PassthroughCapabilityChange() argument
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapConnection.java216 private boolean isCapable(int capability) { in isCapable() argument
217 return (mCapabilities & capability) != 0; in isCapable()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DFolder.java615 public boolean supportsCapability(int capability) { in supportsCapability() argument
616 return (capabilities & capability) != 0; in supportsCapability()
DAccount.java558 public boolean supportsCapability(int capability) { in supportsCapability() argument
559 return (capabilities & capability) != 0; in supportsCapability()

12