/aosp12/packages/apps/Settings/src/com/android/settings/network/telephony/ |
H A D | MobileNetworkSettings.java | 135 use(DataUsageSummaryPreferenceController.class); in onAttach() 143 use(BillingCyclePreferenceController.class).init(mSubId); in onAttach() 144 use(MmsMessagePreferenceController.class).init(mSubId); in onAttach() 149 use(DisableSimFooterPreferenceController.class).init(mSubId); in onAttach() 156 use(ApnPreferenceController.class).init(mSubId); in onAttach() 157 use(CarrierPreferenceController.class).init(mSubId); in onAttach() 158 use(DataUsagePreferenceController.class).init(mSubId); in onAttach() 162 use(Enable2gPreferenceController.class).init(mSubId); in onAttach() 171 use(AutoSelectPreferenceController.class) in onAttach() 185 use(CallingPreferenceCategoryController.class).setChildren( in onAttach() [all …]
|
/aosp12/art/compiler/optimizing/ |
H A D | instruction_simplifier_arm64.cc | 45 bool TryMergeIntoShifterOperand(HInstruction* use, 94 DCHECK(use->IsBinaryOperation() || use->IsNeg()); in TryMergeIntoShifterOperand() 98 DataType::Type type = use->GetType(); in TryMergeIntoShifterOperand() 105 if (use->IsBinaryOperation()) { in TryMergeIntoShifterOperand() 106 left = use->InputAt(0); in TryMergeIntoShifterOperand() 107 right = use->InputAt(1); in TryMergeIntoShifterOperand() 109 DCHECK(use->IsNeg()); in TryMergeIntoShifterOperand() 110 right = use->AsNeg()->InputAt(0); in TryMergeIntoShifterOperand() 122 bool is_commutative = use->IsBinaryOperation() && use->AsBinaryOperation()->IsCommutative(); in TryMergeIntoShifterOperand() 150 use->GetBlock()->ReplaceAndRemoveInstructionWith(use, alu_with_op); in TryMergeIntoShifterOperand() [all …]
|
H A D | instruction_simplifier_arm.cc | 50 DCHECK(CanMergeIntoShifterOperand(use, bitfield_op)); in MergeIntoShifterOperand() 87 DCHECK(HasShifterOperand(use, InstructionSet::kArm)); in TryMergeIntoShifterOperand() 88 DCHECK(use->IsBinaryOperation()); in TryMergeIntoShifterOperand() 92 DataType::Type type = use->GetType(); in TryMergeIntoShifterOperand() 97 HInstruction* left = use->InputAt(0); in TryMergeIntoShifterOperand() 98 HInstruction* right = use->InputAt(1); in TryMergeIntoShifterOperand() 124 shift_amount &= use->GetType() == DataType::Type::kInt32 in TryMergeIntoShifterOperand() 129 if (!use->IsAdd() && (!use->IsSub() || use->GetType() != DataType::Type::kInt64)) { in TryMergeIntoShifterOperand() 146 use->GetBlock()->ReplaceAndRemoveInstructionWith(use, alu_with_op); in TryMergeIntoShifterOperand() 167 for (const HUseListNode<HInstruction*>& use : uses) { in TryMergeIntoUsersShifterOperand() local [all …]
|
H A D | code_sinking.cc | 186 HInstruction* user = use.GetUser(); in FindIdealPosition() 194 : block->GetPredecessors()[use.GetIndex()]; in FindIdealPosition() 200 DCHECK(!use.GetUser()->GetHolder()->IsPhi()); in FindIdealPosition() 202 finder.Update(use.GetUser()->GetHolder()->GetBlock()); in FindIdealPosition() 228 if (use.GetUser()->GetBlock() == target_block && in FindIdealPosition() 230 insert_pos = use.GetUser(); in FindIdealPosition() 234 HInstruction* user = use.GetUser()->GetHolder(); in FindIdealPosition() 327 HInstruction* user = use.GetUser(); in SinkCodeToUncommonBranch() 349 HEnvironment* environment = use.GetUser(); in SinkCodeToUncommonBranch() 379 HEnvironment* environment = use.GetUser(); in SinkCodeToUncommonBranch() [all …]
|
H A D | ssa_phi_elimination.cc | 55 for (const HUseListNode<HInstruction*>& use : phi->GetUses()) { in MarkDeadPhis() local 56 if (!use.GetUser()->IsPhi()) { in MarkDeadPhis() 105 for (const HUseListNode<HInstruction*>& use : phi->GetUses()) { in EliminateDeadPhis() local 106 HInstruction* user = use.GetUser(); in EliminateDeadPhis() 114 for (const HUseListNode<HEnvironment*>& use : phi->GetEnvUses()) { in EliminateDeadPhis() local 115 HEnvironment* user = use.GetUser(); in EliminateDeadPhis() 116 user->SetRawEnvAt(use.GetIndex(), nullptr); in EliminateDeadPhis() 248 for (const HUseListNode<HInstruction*>& use : current->GetUses()) { in Run() local 249 HInstruction* user = use.GetUser(); in Run()
|
/aosp12/frameworks/base/core/proto/android/media/ |
H A D | audioattributes.proto | 5 * you may not use this file except in compliance with the License. 41 // Content type value to use when the content type is speech. 43 // Content type value to use when the content type is music. 45 // Content type value to use when the content type is a soundtrack, 48 // Content type value to use when the content type is a sound used to 56 // Usage value to use when the usage is unknown. 61 // Usage value to use when the usage is voice communications, such as 72 // Usage value to use when the usage is telephony ringtone. 74 // Usage value to use when the usage is a request to enter/end a 94 // Usage value to use when the usage is for game audio. [all …]
|
/aosp12/frameworks/base/media/jni/soundpool/ |
H A D | Android.bp | 49 "modernize-use-bool-literals", 50 "modernize-use-default-member-init", 51 "modernize-use-emplace", 52 "modernize-use-equals-default", 53 "modernize-use-equals-delete", 55 "modernize-use-noexcept", 56 "modernize-use-nullptr", 57 "modernize-use-override", 59 "modernize-use-transparent-functors", 60 "modernize-use-uncaught-exceptions", [all …]
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/wifi/details/ |
H A D | WifiDetailsFragment.java | 87 mControllers.add(use( in onAttach() 90 mControllers.add(use( in onAttach() 94 mControllers.add(use( in onAttach() 97 mControllers.add(use(WifiFrequencyPreferenceController.class, R.string.pk_wifi_frequency) in onAttach() 99 mControllers.add(use(WifiSecurityPreferenceController.class, R.string.pk_wifi_security) in onAttach() 101 mControllers.add(use(WifiMacAddressPreferenceController.class, R.string.pk_wifi_mac_address) in onAttach() 103 mControllers.add(use(WifiIpAddressPreferenceController.class, R.string.pk_wifi_ip).init( in onAttach() 105 mControllers.add(use(WifiGatewayPreferenceController.class, R.string.pk_wifi_gateway).init( in onAttach() 107 mControllers.add(use(WifiSubnetPreferenceController.class, R.string.pk_wifi_subnet_mask) in onAttach() 109 mControllers.add(use(WifiDnsPreferenceController.class, R.string.pk_wifi_dns).init( in onAttach() [all …]
|
/aosp12/bionic/docs/ |
H A D | defines.md | 1 # When to use which `#define` 3 Using `#ifdef` or equivalents is common when writing portable code. Which to use 9 If your code is specific to Android's C library, bionic, use `__BIONIC__`. This 10 is typically a good choice when you use libc API that's only in bionic, such as 13 seen on Android devices, it is possible to use bionic on the host too. 17 If your code is specific to Android devices, use `__ANDROID__`. This isn't 22 remember that it is possible -- if unusual -- to use bionic on the host). 26 If your code can be built targeting a variety of different OS versions, use 28 typically useful if you can use new NDK APIs when available, but don't require 59 If your code is specific to a particular processor architecture, use these [all …]
|
/aosp12/frameworks/av/services/mediametrics/ |
H A D | Android.bp | 42 "modernize-use-bool-literals", 43 "modernize-use-default-member-init", 44 "modernize-use-emplace", 45 "modernize-use-equals-default", 46 "modernize-use-equals-delete", 48 "modernize-use-noexcept", 49 "modernize-use-nullptr", 50 "modernize-use-override", 52 "modernize-use-transparent-functors", 53 "modernize-use-uncaught-exceptions", [all …]
|
/aosp12/art/test/676-proxy-jit-at-first-use/ |
H A D | Android.bp | 3 // Build rules for ART run-test `676-proxy-jit-at-first-use`. 16 name: "art-run-test-676-proxy-jit-at-first-use", 21 ":art-run-test-676-proxy-jit-at-first-use-expected-stdout", 22 ":art-run-test-676-proxy-jit-at-first-use-expected-stderr", 28 name: "art-run-test-676-proxy-jit-at-first-use-expected-stdout", 29 out: ["art-run-test-676-proxy-jit-at-first-use-expected-stdout.txt"], 36 name: "art-run-test-676-proxy-jit-at-first-use-expected-stderr", 37 out: ["art-run-test-676-proxy-jit-at-first-use-expected-stderr.txt"],
|
/aosp12/system/bt/ |
H A D | BUILD.gn | 5 # you may not use this file except in compliance with the License. 26 if (use.test) { 40 if (use.test) { 64 if (defined(use.android) && use.android) { 123 if (!(defined(use.bt_dynlib) && use.bt_dynlib)) { 129 if (!(defined(use.bt_nonstandard_codecs) && use.bt_nonstandard_codecs)) { 142 # Configurations to use as dependencies for GN build 205 # To use non-standard codecs (i.e. ldac, aac, aptx), set this use flag when 208 if (defined(use.bt_nonstandard_codecs) && use.bt_nonstandard_codecs) {
|
/aosp12/art/test/482-checker-loop-back-edge-use/ |
H A D | Android.bp | 3 // Build rules for ART run-test `482-checker-loop-back-edge-use`. 16 name: "art-run-test-482-checker-loop-back-edge-use", 21 ":art-run-test-482-checker-loop-back-edge-use-expected-stdout", 22 ":art-run-test-482-checker-loop-back-edge-use-expected-stderr", 31 name: "art-run-test-482-checker-loop-back-edge-use-expected-stdout", 32 out: ["art-run-test-482-checker-loop-back-edge-use-expected-stdout.txt"], 39 name: "art-run-test-482-checker-loop-back-edge-use-expected-stderr", 40 out: ["art-run-test-482-checker-loop-back-edge-use-expected-stderr.txt"],
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
H A D | ApplicationDetailsFragment.java | 74 use(ApplicationPreferenceController.class, in onAttach() 77 use(ApplicationActionButtonsPreferenceController.class, in onAttach() 80 use(NotificationsPreferenceController.class, in onAttach() 82 use(PermissionsPreferenceController.class, in onAttach() 84 use(StoragePreferenceController.class, in onAttach() 87 use(PrioritizeAppPerformancePreferenceController.class, in onAttach() 90 use(HibernationSwitchPreferenceController.class, in onAttach() 93 use(VersionPreferenceController.class, in onAttach()
|
H A D | AppsFragment.java | 49 mRecentAppsItemManager.addListener(use(AllAppsPreferenceController.class, in onAttach() 51 mRecentAppsItemManager.addListener(use(RecentAppsGroupPreferenceController.class, in onAttach() 53 mRecentAppsItemManager.addListener(use(RecentAppsListPreferenceController.class, in onAttach() 57 mInstalledAppCountItemManager.addListener(use(AllAppsPreferenceController.class, in onAttach() 59 mInstalledAppCountItemManager.addListener(use(RecentAppsViewAllPreferenceController.class, in onAttach() 63 mHibernatedAppsItemManager.setListener(use(HibernatedAppsPreferenceController.class, in onAttach()
|
/aosp12/system/sepolicy/prebuilts/api/29.0/public/ |
H A D | hal_camera.te | 12 # Both the client and the server need to use the graphics allocator 13 allow { hal_camera_client hal_camera_server } hal_graphics_allocator:fd use; 15 # Allow hal_camera to use fd from app,gralloc,and ashmem HAL 16 allow hal_camera { appdomain -isolated_app }:fd use; 17 allow hal_camera surfaceflinger:fd use; 18 allow hal_camera hal_allocator_server:fd use; 21 allow hal_camera shell:fd use;
|
/aosp12/system/sepolicy/prebuilts/api/30.0/public/ |
H A D | hal_camera.te | 12 # Both the client and the server need to use the graphics allocator 13 allow { hal_camera_client hal_camera_server } hal_graphics_allocator:fd use; 15 # Allow hal_camera to use fd from app,gralloc,and ashmem HAL 16 allow hal_camera { appdomain -isolated_app }:fd use; 17 allow hal_camera surfaceflinger:fd use; 18 allow hal_camera hal_allocator_server:fd use; 21 allow hal_camera shell:fd use;
|
H A D | hal_neuralnetworks.te | 7 allow hal_neuralnetworks hal_allocator:fd use; 9 allow hal_neuralnetworks hal_graphics_allocator:fd use; 11 # Allow NN HAL service to use a client-provided fd residing in /data/data/. 15 # Allow NN HAL service to use a client-provided fd residing in /data/local/tmp/. 21 # Allow NN HAL service to use a client-provided fd residing in /storage 25 # property to determine whether to deny NNAPI extensions use for apps 26 # on product partition (apps in GSI are not allowed to use NNAPI extensions).
|
/aosp12/system/sepolicy/prebuilts/api/31.0/public/ |
H A D | hal_camera.te | 14 # Both the client and the server need to use the graphics allocator 15 allow { hal_camera_client hal_camera_server } hal_graphics_allocator:fd use; 17 # Allow hal_camera to use fd from app,gralloc,and ashmem HAL 18 allow hal_camera { appdomain -isolated_app }:fd use; 19 allow hal_camera surfaceflinger:fd use; 20 allow hal_camera hal_allocator_server:fd use; 23 allow hal_camera shell:fd use;
|
/aosp12/system/sepolicy/prebuilts/api/32.0/public/ |
H A D | hal_camera.te | 14 # Both the client and the server need to use the graphics allocator 15 allow { hal_camera_client hal_camera_server } hal_graphics_allocator:fd use; 17 # Allow hal_camera to use fd from app,gralloc,and ashmem HAL 18 allow hal_camera { appdomain -isolated_app }:fd use; 19 allow hal_camera surfaceflinger:fd use; 20 allow hal_camera hal_allocator_server:fd use; 23 allow hal_camera shell:fd use;
|
/aosp12/system/sepolicy/public/ |
H A D | hal_camera.te | 14 # Both the client and the server need to use the graphics allocator 15 allow { hal_camera_client hal_camera_server } hal_graphics_allocator:fd use; 17 # Allow hal_camera to use fd from app,gralloc,and ashmem HAL 18 allow hal_camera { appdomain -isolated_app }:fd use; 19 allow hal_camera surfaceflinger:fd use; 20 allow hal_camera hal_allocator_server:fd use; 23 allow hal_camera shell:fd use;
|
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/profiles/ |
H A D | ProfileDetailsFragment.java | 55 use(ProfileDetailsHeaderPreferenceController.class, in onAttach() 57 use(ProfileDetailsActionButtonsPreferenceController.class, in onAttach() 59 use(AccountGroupPreferenceController.class, in onAttach() 61 use(ProfileDetailsDeletePreferenceController.class, in onAttach() 63 use(ProfileDetailsEndSessionPreferenceController.class, in onAttach() 71 use(AccountListPreferenceController.class, R.string.pk_account_list) in onAttach() 73 use(AddAccountPreferenceController.class, R.string.pk_account_settings_add) in onAttach()
|
/aosp12/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
H A D | AppInfoDashboardFragment.java | 150 use(AppInstallerInfoPreferenceController.class); in onAttach() 156 use(AppOpenByDefaultPreferenceController.class) in onAttach() 162 use(AppSettingPreferenceController.class) in onAttach() 165 use(AppStoragePreferenceController.class).setParentFragment(this); in onAttach() 166 use(AppVersionPreferenceController.class).setParentFragment(this); in onAttach() 171 use(HibernationSwitchPreferenceController.class); in onAttach() 178 use(WriteSystemSettingsPreferenceController.class); in onAttach() 182 use(DrawOverlayDetailPreferenceController.class); in onAttach() 186 use(PictureInPictureDetailPreferenceController.class); in onAttach() 191 use(ExternalSourceDetailPreferenceController.class); in onAttach() [all …]
|
/aosp12/system/sepolicy/prebuilts/api/28.0/public/ |
H A D | hal_camera.te | 13 # Both the client and the server need to use the graphics allocator 14 allow { hal_camera_client hal_camera_server } hal_graphics_allocator:fd use; 16 # Allow hal_camera to use fd from app,gralloc,and ashmem HAL 17 allow hal_camera { appdomain -isolated_app }:fd use; 18 allow hal_camera surfaceflinger:fd use; 19 allow hal_camera hal_allocator_server:fd use;
|
/aosp12/system/sepolicy/prebuilts/api/26.0/public/ |
H A D | hal_camera.te | 16 # Both the client and the server need to use the graphics allocator 17 allow { hal_camera_client hal_camera_server } hal_graphics_allocator:fd use; 19 # Allow hal_camera to use fd from app,gralloc,and ashmem HAL 20 allow hal_camera { appdomain -isolated_app }:fd use; 21 allow hal_camera surfaceflinger:fd use; 22 allow hal_camera hal_allocator_server:fd use;
|