/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
H A D | FrameworkServicesModule.java | 110 static AlarmManager provideAlarmManager(Context context) { in provideAlarmManager() 116 static AudioManager provideAudioManager(Context context) { in provideAudioManager() 152 static int provideDisplayId(Context context) { in provideDisplayId() 210 static FaceManager provideFaceManager(Context context) { in provideFaceManager() 281 static LauncherApps provideLauncherApps(Context context) { in provideLauncherApps() 322 static PowerManager providePowerManager(Context context) { in providePowerManager() 328 static Resources provideResources(Context context) { in provideResources() 334 static RoleManager provideRoleManager(Context context) { in provideRoleManager() 396 static Vibrator provideVibrator(Context context) { in provideVibrator() 414 static UserManager provideUserManager(Context context) { in provideUserManager() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/util/ |
H A D | PermissionsUtil.java | 82 public static boolean hasPhonePermissions(Context context) { in hasPhonePermissions() 90 public static boolean hasContactsReadPermissions(Context context) { in hasContactsReadPermissions() 98 public static boolean hasLocationPermissions(Context context) { in hasLocationPermissions() 102 public static boolean hasCameraPermissions(Context context) { in hasCameraPermissions() 106 public static boolean hasMicrophonePermissions(Context context) { in hasMicrophonePermissions() 110 public static boolean hasCallLogReadPermissions(Context context) { in hasCallLogReadPermissions() 114 public static boolean hasCallLogWritePermissions(Context context) { in hasCallLogWritePermissions() 118 public static boolean hasCequintPermissions(Context context) { in hasCequintPermissions() 130 public static boolean hasAddVoicemailPermissions(Context context) { in hasAddVoicemailPermissions() 134 public static boolean hasSendSmsPermissions(Context context) { in hasSendSmsPermissions() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/telecom/ |
H A D | TelecomUtil.java | 86 public static void silenceRinger(Context context) { in silenceRinger() 136 Context context, String uriScheme) { in getDefaultOutgoingPhoneAccount() 199 public static Optional<SubscriptionInfo> getSubscriptionInfo( in getSubscriptionInfo() 224 public static boolean isInManagedCall(Context context) { in isInManagedCall() 228 public static boolean isInCall(Context context) { in isInCall() 279 public static Uri getCallLogUri(Context context) { in getCallLogUri() 318 public static boolean isDefaultDialer(Context context) { in isDefaultDialer() 326 public static PhoneAccountHandle getOtherAccount( in getOtherAccount() 349 public boolean isInManagedCall(Context context) { in isInManagedCall() 368 public boolean isInCall(Context context) { in isInCall() [all …]
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netstats/src/ |
H A D | statistics_exec.cpp | 52 bool StatisticsExec::ExecGetAllRxBytes(GetAllRxBytesContext *context) in ExecGetAllRxBytes() 59 bool StatisticsExec::ExecGetAllTxBytes(GetAllTxBytesContext *context) in ExecGetAllTxBytes() 66 bool StatisticsExec::ExecGetUidRxBytes(GetUidRxBytesContext *context) in ExecGetUidRxBytes() 73 bool StatisticsExec::ExecGetUidTxBytes(GetUidTxBytesContext *context) in ExecGetUidTxBytes() 80 bool StatisticsExec::ExecGetIfaceRxBytes(GetIfaceRxBytesContext *context) in ExecGetIfaceRxBytes() 87 bool StatisticsExec::ExecGetIfaceTxBytes(GetIfaceTxBytesContext *context) in ExecGetIfaceTxBytes() 94 bool StatisticsExec::ExecGetIfaceStats(GetIfaceStatsContext *context) in ExecGetIfaceStats() 102 bool StatisticsExec::ExecGetIfaceUidStats(GetIfaceUidStatsContext *context) in ExecGetIfaceUidStats() 119 bool StatisticsExec::ExecUpdateStatsData(UpdateStatsDataContext *context) in ExecUpdateStatsData() 126 bool StatisticsExec::ExecGetSockfdRxBytes(GetSockfdRxBytesContext *context) in ExecGetSockfdRxBytes() [all …]
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/netpolicy/src/ |
H A D | netpolicy_exec.cpp | 25 bool NetPolicyExec::ExecSetPolicyByUid(SetPolicyByUidContext *context) in ExecSetPolicyByUid() 38 bool NetPolicyExec::ExecGetPolicyByUid(GetPolicyByUidContext *context) in ExecGetPolicyByUid() 49 bool NetPolicyExec::ExecGetUidsByPolicy(GetUidsByPolicyContext *context) in ExecGetUidsByPolicy() 60 bool NetPolicyExec::ExecSetBackgroundPolicy(SetBackgroundPolicyContext *context) in ExecSetBackgroundPolicy() 73 bool NetPolicyExec::ExecGetBackgroundPolicy(GetBackgroundPolicyContext *context) in ExecGetBackgroundPolicy() 84 bool NetPolicyExec::ExecGetNetQuotaPolicies(GetNetQuotaPoliciesContext *context) in ExecGetNetQuotaPolicies() 96 bool NetPolicyExec::ExecSetNetQuotaPolicies(SetNetQuotaPoliciesContext *context) in ExecSetNetQuotaPolicies() 109 bool NetPolicyExec::ExecRestoreAllPolicies(RestoreAllPoliciesContext *context) in ExecRestoreAllPolicies() 121 bool NetPolicyExec::ExecIsUidNetAllowed(IsUidNetAllowedContext *context) in ExecIsUidNetAllowed() 202 bool NetPolicyExec::ExecResetPolicies(ResetPoliciesContext *context) in ExecResetPolicies() [all …]
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | SharedPreferenceUtil.java | 69 public static void setHamburgerPromoDisplayedBefore(Context context) { in setHamburgerPromoDisplayedBefore() 81 public static void setHamburgerMenuClickedBefore(Context context) { in setHamburgerMenuClickedBefore() 109 public static boolean getShouldShowHamburgerPromo(Context context) { in getShouldShowHamburgerPromo() 120 public static String getSharedPreferencesFilename(Context context) { in getSharedPreferencesFilename() 124 public static int getNumOfDismissesForAutoSyncOff(Context context) { in getNumOfDismissesForAutoSyncOff() 204 private static Set<String> getImportedSims(Context context) { in getImportedSims() 209 private static Set<String> getDismissedSims(Context context) { in getDismissedSims() 214 public static Set<String> getRestoredDevices(Context context) { in getRestoredDevices() 219 public static Set<String> getDismissedDevices(Context context) { in getDismissedDevices() 248 public static boolean isWelcomeCardDismissed(Context context) { in isWelcomeCardDismissed() [all …]
|
/aosp12/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
H A D | Injector.java | 38 AlarmManagerWrapper getAlarmManagerWrapper(Context context); in getAlarmManagerWrapper() 42 CategoryProvider getCategoryProvider(Context context); in getCategoryProvider() 48 FormFactorChecker getFormFactorChecker(Context context); in getFormFactorChecker() 54 PartnerProvider getPartnerProvider(Context context); in getPartnerProvider() 58 Requester getRequester(Context context); in getRequester() 62 UserEventLogger getUserEventLogger(Context context); in getUserEventLogger() 68 WallpaperPersister getWallpaperPersister(Context context); in getWallpaperPersister() 70 WallpaperPreferences getPreferences(Context context); in getPreferences() 72 WallpaperRefresher getWallpaperRefresher(Context context); in getWallpaperRefresher() 77 Context context, in getPreviewFragment() [all …]
|
/ohos5.0/base/msdp/device_status/intention/cooperate/plugin/src/ |
H A D | cooperate_in.cpp | 47 void CooperateIn::OnEnterState(Context &context) in OnEnterState() 53 void CooperateIn::OnLeaveState(Context & context) in OnLeaveState() 109 [this](Context &context, const CooperateEvent &event) { in Initial() 113 [this](Context &context, const CooperateEvent &event) { in Initial() 117 [this](Context &context, const CooperateEvent &event) { in Initial() 121 [this](Context &context, const CooperateEvent &event) { in Initial() 125 [this](Context &context, const CooperateEvent &event) { in Initial() 129 [this](Context &context, const CooperateEvent &event) { in Initial() 365 [this](Context &context, const CooperateEvent &event) { in RelayConfirmation() 369 [this](Context &context, const CooperateEvent &event) { in RelayConfirmation() [all …]
|
H A D | state_machine.cpp | 87 [this](Context &context, const CooperateEvent &event) { in StateMachine() 103 [this](Context &context, const CooperateEvent &event) { in StateMachine() 107 [this](Context &context, const CooperateEvent &event) { in StateMachine() 111 [this](Context &context, const CooperateEvent &event) { in StateMachine() 115 [this](Context &context, const CooperateEvent &event) { in StateMachine() 119 [this](Context &context, const CooperateEvent &event) { in StateMachine() 123 [this](Context &context, const CooperateEvent &event) { in StateMachine() 203 void StateMachine::OnQuit(Context &context) in OnQuit() 595 void StateMachine::AddMonitor(Context &context) in AddMonitor() 646 void StateMachine::RemoveMonitor(Context &context) in RemoveMonitor() [all …]
|
H A D | cooperate_out.cpp | 42 void CooperateOut::OnEvent(Context &context, const CooperateEvent &event) in OnEvent() 47 void CooperateOut::OnEnterState(Context &context) in OnEnterState() 53 void CooperateOut::OnLeaveState(Context &context) in OnLeaveState() 59 void CooperateOut::SetPointerVisible(Context &context) in SetPointerVisible() 106 [this](Context &context, const CooperateEvent &event) { in Initial() 110 [this](Context &context, const CooperateEvent &event) { in Initial() 114 [this](Context &context, const CooperateEvent &event) { in Initial() 118 [this](Context &context, const CooperateEvent &event) { in Initial() 122 [this](Context &context, const CooperateEvent &event) { in Initial() 126 [this](Context &context, const CooperateEvent &event) { in Initial() [all …]
|
/ohos5.0/foundation/multimodalinput/input/intention/cooperate/plugin/src/ |
H A D | cooperate_in.cpp | 47 void CooperateIn::OnEnterState(Context &context) in OnEnterState() 53 void CooperateIn::OnLeaveState(Context & context) in OnLeaveState() 109 [this](Context &context, const CooperateEvent &event) { in Initial() 113 [this](Context &context, const CooperateEvent &event) { in Initial() 117 [this](Context &context, const CooperateEvent &event) { in Initial() 121 [this](Context &context, const CooperateEvent &event) { in Initial() 125 [this](Context &context, const CooperateEvent &event) { in Initial() 129 [this](Context &context, const CooperateEvent &event) { in Initial() 363 [this](Context &context, const CooperateEvent &event) { in RelayConfirmation() 367 [this](Context &context, const CooperateEvent &event) { in RelayConfirmation() [all …]
|
H A D | state_machine.cpp | 88 [this](Context &context, const CooperateEvent &event) { in StateMachine() 104 [this](Context &context, const CooperateEvent &event) { in StateMachine() 108 [this](Context &context, const CooperateEvent &event) { in StateMachine() 112 [this](Context &context, const CooperateEvent &event) { in StateMachine() 116 [this](Context &context, const CooperateEvent &event) { in StateMachine() 120 [this](Context &context, const CooperateEvent &event) { in StateMachine() 124 [this](Context &context, const CooperateEvent &event) { in StateMachine() 203 void StateMachine::OnQuit(Context &context) in OnQuit() 585 void StateMachine::AddMonitor(Context &context) in AddMonitor() 623 void StateMachine::RemoveMonitor(Context &context) in RemoveMonitor() [all …]
|
H A D | cooperate_out.cpp | 43 void CooperateOut::OnEvent(Context &context, const CooperateEvent &event) in OnEvent() 48 void CooperateOut::OnEnterState(Context &context) in OnEnterState() 54 void CooperateOut::OnLeaveState(Context &context) in OnLeaveState() 60 void CooperateOut::SetPointerVisible(Context &context) in SetPointerVisible() 107 [this](Context &context, const CooperateEvent &event) { in Initial() 111 [this](Context &context, const CooperateEvent &event) { in Initial() 115 [this](Context &context, const CooperateEvent &event) { in Initial() 119 [this](Context &context, const CooperateEvent &event) { in Initial() 123 [this](Context &context, const CooperateEvent &event) { in Initial() 127 [this](Context &context, const CooperateEvent &event) { in Initial() [all …]
|
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/vpn/src/ |
H A D | vpn_exec.cpp | 38 bool ExecPrepare(PrepareContext *context) in ExecPrepare() 53 bool ExecSetUp(SetUpContext *context) in ExecSetUp() 68 bool ExecProtect(ProtectContext *context) in ExecProtect() 83 bool ExecDestroy(DestroyContext *context) in ExecDestroy() 99 bool ExecAddSysVpnConfig(AddContext *context) in ExecAddSysVpnConfig() 109 bool ExecDeleteSysVpnConfig(DeleteContext *context) in ExecDeleteSysVpnConfig() 129 bool ExecGetSysVpnConfig(GetContext *context) in ExecGetSysVpnConfig() 150 napi_value PrepareCallback(PrepareContext *context) in PrepareCallback() 159 napi_value SetUpCallback(SetUpContext *context) in SetUpCallback() 164 napi_value ProtectCallback(ProtectContext *context) in ProtectCallback() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/dialer/blocking/ |
H A D | FilteredNumberCompat.java | 60 public static String getIdColumnName(Context context) { in getIdColumnName() 69 public static String getTypeColumnName(Context context) { in getTypeColumnName() 78 public static String getSourceColumnName(Context context) { in getSourceColumnName() 83 public static String getOriginalNumberColumnName(Context context) { in getOriginalNumberColumnName() 94 public static String getCountryIsoColumnName(Context context) { in getCountryIsoColumnName() 99 public static String getE164NumberColumnName(Context context) { in getE164NumberColumnName() 117 public static boolean useNewFiltering(Context context) { in useNewFiltering() 129 public static boolean hasMigratedToNewBlocking(Context context) { in hasMigratedToNewBlocking() 162 private static Uri getBaseUri(Context context) { in getBaseUri() 237 private static boolean shouldShowMigrationDialog(Context context) { in shouldShowMigrationDialog() [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/idl_client/unittest/ |
H A D | mock_serial.c | 18 int WriteBegin(Context *context, int type) in WriteBegin() 28 int WriteInt(Context *context, int iData) in WriteInt() 33 int WriteLong(Context *context, long lData) in WriteLong() 38 int WriteInt64(Context *context, int64_t iData) in WriteInt64() 43 int WriteDouble(Context *context, double dData) in WriteDouble() 48 int WriteChar(Context *context, char cData) in WriteChar() 53 int WriteStr(Context *context, const char *pStr) in WriteStr() 63 int WriteEnd(Context *context) in WriteEnd() 73 int ReadInt(Context *context, int *iData) in ReadInt() 78 int ReadLong(Context *context, long *pLong) in ReadLong() [all …]
|
/aosp12/hardware/qcom/audio/post_proc/ |
H A D | reverb.c | 98 void reverb_auxiliary_init(reverb_context_t *context) in reverb_auxiliary_init() 104 void reverb_insert_init(reverb_context_t *context) in reverb_insert_init() 112 void reverb_preset_init(reverb_context_t *context) in reverb_preset_init() 123 int16_t reverb_get_room_level(reverb_context_t *context) in reverb_get_room_level() 210 int16_t reverb_get_diffusion(reverb_context_t *context) in reverb_get_diffusion() 227 int16_t reverb_get_density(reverb_context_t *context) in reverb_get_density() 283 void reverb_load_preset(reverb_context_t *context) in reverb_load_preset() 539 int reverb_reset(effect_context_t *context) in reverb_reset() 546 int reverb_init(effect_context_t *context) in reverb_init() 583 int reverb_enable(effect_context_t *context) in reverb_enable() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/voicemail/stub/ |
H A D | StubVoicemailClient.java | 49 Context context, PhoneAccountHandle phoneAccountHandle, boolean enabled) {} in setVoicemailEnabled() 53 Context context, StringBuilder where, List<String> selectionArgs) {} in appendOmtpVoicemailSelectionClause() 57 Context context, StringBuilder where, List<String> selectionArgs) {} in appendOmtpVoicemailStatusSelectionClause() 65 public boolean isVoicemailArchiveAvailable(Context context) { in isVoicemailArchiveAvailable() 71 Context context, PhoneAccountHandle phoneAccountHandle, boolean value) {} in setVoicemailArchiveEnabled() 75 Context context, PhoneAccountHandle phoneAccountHandle) { in isVoicemailTranscriptionAvailable() 108 public void showConfigUi(@NonNull Context context) {} in showConfigUi() 111 public PersistableBundle getConfig( in getConfig() 117 public void onBoot(@NonNull Context context) {} in onBoot() 120 public void onShutdown(@NonNull Context context) {} in onShutdown() [all …]
|
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/netfirewall/src/ |
H A D | net_firewall_exec.cpp | 39 bool ExecSetNetFirewallPolicy(SetNetFirewallPolicyContext *context) in ExecSetNetFirewallPolicy() 57 napi_value SetNetFirewallPolicyCallback(SetNetFirewallPolicyContext *context) in SetNetFirewallPolicyCallback() 65 bool ExecGetNetFirewallPolicy(GetNetFirewallPolicyContext *context) in ExecGetNetFirewallPolicy() 98 bool ExecAddNetFirewallRule(AddNetFirewallRuleContext *context) in ExecAddNetFirewallRule() 116 napi_value AddNetFirewallRuleCallback(AddNetFirewallRuleContext *context) in AddNetFirewallRuleCallback() 125 bool ExecUpdateNetFirewallRule(UpdateNetFirewallRuleContext *context) in ExecUpdateNetFirewallRule() 151 bool ExecDeleteNetFirewallRule(DeleteNetFirewallRuleContext *context) in ExecDeleteNetFirewallRule() 178 bool ExecGetNetFirewallRules(GetNetFirewallRulesContext *context) in ExecGetNetFirewallRules() 219 bool ExecGetNetFirewallRule(GetNetFirewallRuleContext *context) in ExecGetNetFirewallRule() 237 napi_value GetNetFirewallRuleCallback(GetNetFirewallRuleContext *context) in GetNetFirewallRuleCallback() [all …]
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/ |
H A D | rs_surface_node_command_test.cpp | 45 RSContext context; variable 61 RSContext context; variable 78 RSContext context; variable 95 RSContext context; variable 112 RSContext context; variable 130 RSContext context; variable 146 RSContext context; variable 162 RSContext context; variable 179 RSContext context; variable 196 RSContext context; variable [all …]
|
H A D | rs_node_command_test.cpp | 44 RSContext context; variable 58 RSContext context; variable 72 RSContext context; variable 85 RSContext context; variable 99 RSContext context; variable 113 RSContext context; variable 128 RSContext context; variable 146 RSContext context; variable 165 RSContext context; variable 191 RSContext context; variable [all …]
|
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/sharing/src/ |
H A D | netshare_exec.cpp | 28 bool NetShareExec::ExecIsSharingSupported(IsSharingSupportedContext *context) in ExecIsSharingSupported() 46 bool NetShareExec::ExecIsSharing(NetShareIsSharingContext *context) in ExecIsSharing() 59 napi_value NetShareExec::IsSharingCallback(NetShareIsSharingContext *context) in IsSharingCallback() 64 bool NetShareExec::ExecStartSharing(NetShareStartSharingContext *context) in ExecStartSharing() 81 bool NetShareExec::ExecStopSharing(StopSharingContext *context) in ExecStopSharing() 93 napi_value NetShareExec::StopSharingCallback(StopSharingContext *context) in StopSharingCallback() 98 bool NetShareExec::ExecGetSharingIfaces(GetSharingIfacesContext *context) in ExecGetSharingIfaces() 123 bool NetShareExec::ExecGetSharingState(GetSharingStateContext *context) in ExecGetSharingState() 143 bool NetShareExec::ExecGetSharableRegexes(GetSharableRegexesContext *context) in ExecGetSharableRegexes() 168 bool NetShareExec::ExecGetStatsRxBytes(GetStatsRxBytesContext *context) in ExecGetStatsRxBytes() [all …]
|
/ohos5.0/drivers/peripheral/user_auth/test/unittest/user_auth_test/ |
H A D | context_manager_test.cpp | 93 UserAuthContext context = {}; variable 106 UserAuthContext context = {}; variable 116 UserAuthContext context = {}; variable 130 UserAuthContext context = {}; variable 151 UserAuthContext context = {}; variable 184 UserAuthContext context = {}; variable 194 UserAuthContext context = {}; variable 208 UserAuthContext context = {}; variable 217 UserAuthContext context = {}; variable 227 UserAuthContext context = {}; variable [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/voicemail/ |
H A D | VoicemailClient.java | 95 Context context, StringBuilder where, List<String> selectionArgs); in appendOmtpVoicemailSelectionClause() 106 Context context, StringBuilder where, List<String> selectionArgs); in appendOmtpVoicemailStatusSelectionClause() 115 boolean isVoicemailArchiveAvailable(Context context); in isVoicemailArchiveAvailable() 118 Context context, PhoneAccountHandle phoneAccountHandle, boolean value); in setVoicemailArchiveEnabled() 137 Context context, PhoneAccountHandle phoneAccountHandle, boolean enabled); in setVoicemailTranscriptionEnabled() 148 boolean isActivated(Context context, PhoneAccountHandle phoneAccountHandle); in isActivated() 155 void showConfigUi(@NonNull Context context); in showConfigUi() 158 PersistableBundle getConfig( in getConfig() 162 void onBoot(@NonNull Context context); in onBoot() 165 void onShutdown(@NonNull Context context); in onShutdown() [all …]
|
/aosp12/packages/apps/Dialer/java/com/android/voicemail/impl/ |
H A D | VoicemailClientImpl.java | 92 Context context, PhoneAccountHandle phoneAccountHandle, boolean enabled) { in setVoicemailEnabled() 102 public boolean isVoicemailArchiveAvailable(Context context) { in isVoicemailArchiveAvailable() 123 Context context, PhoneAccountHandle phoneAccountHandle, boolean value) { in setVoicemailArchiveEnabled() 129 Context context, PhoneAccountHandle phoneAccountHandle) { in isVoicemailTranscriptionAvailable() 173 Context context, PhoneAccountHandle phoneAccountHandle) { in isVoicemailDonationAvailable() 235 public void showConfigUi(@NonNull Context context) { in showConfigUi() 248 public void onBoot(@NonNull Context context) { in onBoot() 255 public void onShutdown(@NonNull Context context) { in onShutdown() 277 Context context, StringBuilder where, List<String> selectionArgs) { in appendOmtpVoicemailSelectionClause() 309 Context context, StringBuilder where, List<String> selectionArgs) { in appendOmtpVoicemailStatusSelectionClause() [all …]
|