Home
last modified time | relevance | path

Searched refs:allowed (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoPermissionAppsFragment.java150 PreferenceGroup allowed = new PreferenceCategory(getContext()); in bindUi() local
151 allowed.setKey(KEY_ALLOWED_PERMISSIONS_GROUP); in bindUi()
152 allowed.setTitle(R.string.allowed_header); in bindUi()
153 allowed.setVisible(false); in bindUi()
154 getPreferenceScreen().addPreference(allowed); in bindUi()
177 PreferenceCategory allowed = findPreference(KEY_ALLOWED_PERMISSIONS_GROUP); in onPermissionsLoaded() local
182 allowed.setOrderingAsAdded(true); in onPermissionsLoaded()
187 int numPreferences = allowed.getPreferenceCount(); in onPermissionsLoaded()
189 Preference preference = allowed.getPreference(i); in onPermissionsLoaded()
192 allowed.removeAll(); in onPermissionsLoaded()
[all …]
DAutoAppPermissionsFragment.java135 PreferenceGroup allowed = new PreferenceCategory(getContext()); in bindUi() local
136 allowed.setKey(KEY_ALLOWED_PERMISSIONS_GROUP); in bindUi()
137 allowed.setTitle(R.string.allowed_header); in bindUi()
138 getPreferenceScreen().addPreference(allowed); in bindUi()
152 PreferenceCategory allowed = findPreference(KEY_ALLOWED_PERMISSIONS_GROUP); in updatePreferences() local
155 allowed.removeAll(); in updatePreferences()
172 allowed.setOrderingAsAdded(true); in updatePreferences()
186 group.areRuntimePermissionsGranted() ? allowed : denied; in updatePreferences()
221 PreferenceCategory category = extraPermsAreAllowed ? allowed : denied; in updatePreferences()
225 if (allowed.getPreferenceCount() == 0) { in updatePreferences()
[all …]
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DPermissionAppsFragment.java224 PreferenceCategory allowed = (PreferenceCategory) findPreference("allowed"); in onPermissionsLoaded() local
228 allowed.setOrderingAsAdded(true); in onPermissionsLoaded()
233 int numPreferences = allowed.getPreferenceCount(); in onPermissionsLoaded()
235 Preference preference = allowed.getPreference(i); in onPermissionsLoaded()
238 allowed.removeAll(); in onPermissionsLoaded()
314 category = allowed; in onPermissionsLoaded()
343 logPermissionAppsFragmentCreated(app, viewIdForLogging, category == allowed, in onPermissionsLoaded()
351 Preference pref = allowed.findPreference(KEY_SHOW_SYSTEM_PREFS); in onPermissionsLoaded()
377 PreferenceCategory category = grantedCount > 0 ? allowed : denied; in onPermissionsLoaded()
386 allowed.setTitle(R.string.allowed_always_header); in onPermissionsLoaded()
[all …]
DAppPermissionsFragment.java210 PreferenceCategory allowed = (PreferenceCategory) findPreference(PREFERENCE_ALLOWED); in updatePreferences() local
213 allowed.removeAll(); in updatePreferences()
230 allowed.setOrderingAsAdded(true); in updatePreferences()
255 group.areRuntimePermissionsGranted() ? allowed : denied; in updatePreferences()
285 PreferenceCategory category = extraPermsAreAllowed ? allowed : denied; in updatePreferences()
289 if (allowed.getPreferenceCount() == 0) { in updatePreferences()
293 allowed.addPreference(empty); in updatePreferences()
317 PreferenceCategory allowed = findPreference(PREFERENCE_ALLOWED); in logAppPermissionsFragmentView() local
319 int numAllowed = allowed.getPreferenceCount(); in logAppPermissionsFragmentView()
321 Preference preference = allowed.getPreference(i); in logAppPermissionsFragmentView()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DSettingsFacade.java80 public void setProfileContactRemoteSearch(Context context, boolean allowed, int userId) { in setProfileContactRemoteSearch() argument
82 MANAGED_PROFILE_CONTACT_REMOTE_SEARCH, allowed ? 1 : 0, userId); in setProfileContactRemoteSearch()
88 public void setCrossProfileCalendarEnabled(Context context, boolean allowed, int userId) { in setCrossProfileCalendarEnabled() argument
90 CROSS_PROFILE_CALENDAR_ENABLED, allowed ? 1 : 0, userId); in setCrossProfileCalendarEnabled()
/packages/apps/SecureElement/src/com/android/se/security/gpac/
DNFC_AR_DO.java61 public NFC_AR_DO(boolean allowed) { in NFC_AR_DO() argument
63 mNfcAllowed = allowed; in NFC_AR_DO()
DAPDU_AR_DO.java59 public APDU_AR_DO(boolean allowed) { in APDU_AR_DO() argument
61 mApduAllowed = allowed; in APDU_AR_DO()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetService.java560 public void setAudioRouteAllowed(boolean allowed) { in setAudioRouteAllowed() argument
565 service.setAudioRouteAllowed(allowed); in setAudioRouteAllowed()
961 public void setAudioRouteAllowed(boolean allowed) { in setAudioRouteAllowed() argument
963 Log.i(TAG, "setAudioRouteAllowed: allowed=" + allowed + ", " + Utils.getUidPidString()); in setAudioRouteAllowed()
964 mAudioRouteAllowed = allowed; in setAudioRouteAllowed()
965 mNativeInterface.setScoAllowed(allowed); in setAudioRouteAllowed()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPermissionActivity.java202 private void sendReplyIntentToReceiver(final boolean allowed, final boolean always) { in sendReplyIntentToReceiver() argument
212 allowed ? BluetoothDevice.CONNECTION_ACCESS_YES in sendReplyIntentToReceiver()
DBluetoothPermissionRequest.java286 private void sendReplyIntentToReceiver(final boolean allowed) { in sendReplyIntentToReceiver() argument
294 allowed ? BluetoothDevice.CONNECTION_ACCESS_YES in sendReplyIntentToReceiver()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPermissionActivity.java202 private void sendReplyIntentToReceiver(final boolean allowed, final boolean always) { in sendReplyIntentToReceiver() argument
212 allowed ? BluetoothDevice.CONNECTION_ACCESS_YES in sendReplyIntentToReceiver()
DBluetoothPermissionRequest.java286 private void sendReplyIntentToReceiver(final boolean allowed) { in sendReplyIntentToReceiver() argument
294 allowed ? BluetoothDevice.CONNECTION_ACCESS_YES in sendReplyIntentToReceiver()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java536 boolean allowed = false; in getVpnApps()
540 allowed = true; in getVpnApps()
543 if (allowed) { in getVpnApps()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DVpnSettings.java536 boolean allowed = false; in getVpnApps()
540 allowed = true; in getVpnApps()
543 if (allowed) { in getVpnApps()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationBackend.java332 public void allowAssistantAdjustment(String capability, boolean allowed) { in allowAssistantAdjustment() argument
334 if (allowed) { in allowAssistantAdjustment()
/packages/apps/Dialer/java/com/android/dialer/callintent/
Dcall_specific_app_data.proto31 // (adding another message is not allowed here)
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java340 public void allowAssistantAdjustment(String capability, boolean allowed) { in allowAssistantAdjustment() argument
342 if (allowed) { in allowAssistantAdjustment()
/packages/services/Car/service/src/com/android/car/pm/
DCarPackageManagerService.java1035 boolean allowed = isActivityDistractionOptimized( in doBlockTopActivityIfNotAllowed()
1039 Log.i(CarLog.TAG_PACKAGE, "new activity:" + topTask.toString() + " allowed:" + allowed); in doBlockTopActivityIfNotAllowed()
1041 if (allowed) { in doBlockTopActivityIfNotAllowed()
/packages/services/BuiltInPrintService/src/com/android/bips/
DP2pPermissionManager.java291 void onP2pPermissionComplete(boolean allowed); in onP2pPermissionComplete() argument
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DPhotoPage.java1175 public void onActionBarAllowed(boolean allowed) { in onActionBarAllowed() argument
1176 mActionBarAllowed = allowed; in onActionBarAllowed()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dtutorial.md45 …can be any JSON value. In earlier RFC 4627, only objects or arrays were allowed as root values. I…
479 // Value v2(v1); // not allowed
/packages/services/Telephony/src/com/android/services/telephony/
DTelephonyConnectionService.java575 final boolean allowed = context.getResources().getBoolean( in isRadioPowerDownOnBluetooth()
580 return (allowed && cellOn == PhoneConstants.CELL_ON_FLAG && !isRadioOn()); in isRadioPowerDownOnBluetooth()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientService.java305 public void setAudioRouteAllowed(BluetoothDevice device, boolean allowed) { in setAudioRouteAllowed() argument
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2179 final Collection<File> allowed = getVolumeScanPaths(volumeName); in assertFileColumnsSane() local
2182 if (!FileUtils.contains(allowed, actual)) { in assertFileColumnsSane()
2183 throw new VolumeArgumentException(actual, allowed); in assertFileColumnsSane()
5986 public VolumeArgumentException(File actual, Collection<File> allowed) { in VolumeArgumentException() argument
5987 super("Requested path " + actual + " doesn't appear under " + allowed); in VolumeArgumentException()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPhotoView.java125 public void onActionBarAllowed(boolean allowed); in onActionBarAllowed() argument

12