Home
last modified time | relevance | path

Searched defs:context (Results 51 – 75 of 5640) sorted by relevance

12345678910>>...226

/aosp14/frameworks/base/telephony/common/com/android/internal/telephony/
H A DTelephonyPermissions.java136 Context context, String message) { in checkCallingOrSelfReadNonDangerousPhoneStateNoThrow()
170 Context context, int subId, int pid, int uid, String callingPackage, in checkReadPhoneState()
270 public static boolean checkCallingOrSelfReadDeviceIdentifiers(Context context, in checkCallingOrSelfReadDeviceIdentifiers()
505 Context context, int subId, int pid, int uid, String callingPackage, in checkReadCallLog()
549 Context context, int subId, int pid, int uid, in checkReadPhoneNumber()
585 Context context, int subId, String message) { in enforceCallingOrSelfModifyPermissionOrCarrierPrivilege()
613 Context context, int subId, String message) { in enforceCallingOrSelfReadPhoneStatePermissionOrCarrierPrivilege()
633 Context context, int subId, String message) { in enforceCallingOrSelfReadPrivilegedPhoneStatePermissionOrCarrierPrivilege()
655 Context context, int subId, String message) { in enforceCallingOrSelfReadPrecisePhoneStatePermissionOrCarrierPrivilege()
680 Context context, int subId, String message) { in enforceCallingOrSelfCarrierPrivilege()
[all …]
/aosp14/frameworks/base/telecomm/java/android/telecom/
H A DDefaultDialerManager.java61 public static boolean setDefaultDialerApplication(Context context, String packageName) { in setDefaultDialerApplication()
75 public static boolean setDefaultDialerApplication(Context context, String packageName, in setDefaultDialerApplication()
113 public static String getDefaultDialerApplication(Context context) { in getDefaultDialerApplication()
130 public static String getDefaultDialerApplication(Context context, int user) { in getDefaultDialerApplication()
151 public static List<String> getInstalledDialerApplications(Context context, int userId) { in getInstalledDialerApplications()
176 public static List<String> getInstalledDialerApplications(Context context) { in getInstalledDialerApplications()
192 public static boolean isDefaultOrSystemDialer(Context context, String packageName) { in isDefaultOrSystemDialer()
210 private static List<String> filterByIntent(Context context, List<String> packageNames, in filterByIntent()
232 private static TelecomManager getTelecomManager(Context context) { in getTelecomManager()
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/idl_client/idl_interface/
H A Di_wifi_supplicant_iface.c44 Context *context = client->context; in StartSupplicant() local
62 Context *context = client->context; in StopSupplicant() local
80 Context *context = client->context; in ConnectSupplicant() local
98 Context *context = client->context; in DisconnectSupplicant() local
116 Context *context = client->context; in RequestToSupplicant() local
140 Context *context = client->context; in RegisterSupplicantEventCallback() local
174 Context *context = client->context; in Connect() local
193 Context *context = client->context; in Reconnect() local
211 Context *context = client->context; in Reassociate() local
229 Context *context = client->context; in Disconnect() local
[all …]
H A Di_wifi_chip.c45 Context *context = client->context; in GetChipId() local
68 Context *context = client->context; in CreateIface() local
96 Context *context = client->context; in GetIface() local
124 Context *context = client->context; in GetIfaceNames() local
149 Context *context = client->context; in RemoveIface() local
168 Context *context = client->context; in GetCapabilities() local
191 Context *context = client->context; in GetSupportedComboModes() local
222 Context *context = client->context; in ConfigComboModes() local
241 Context *context = client->context; in GetComboModes() local
271 Context *context = client->context; in RegisterEventCallback() local
[all …]
/ohos5.0/foundation/multimodalinput/input/intention/stationary/server/src/
H A Dstationary_server.cpp39 int32_t StationaryServer::Enable(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Enable()
45 int32_t StationaryServer::Disable(CallingContext &context, MessageParcel &data, MessageParcel &repl… in Disable()
51 int32_t StationaryServer::Start(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Start()
57 int32_t StationaryServer::Stop(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Stop()
63 int32_t StationaryServer::AddWatch(CallingContext &context, uint32_t id, MessageParcel &data, Messa… in AddWatch()
95 int32_t StationaryServer::SetParam(CallingContext &context, uint32_t id, MessageParcel &data, Messa… in SetParam()
121 int32_t StationaryServer::Control(CallingContext &context, uint32_t id, MessageParcel &data, Messag… in Control()
127 void StationaryServer::Subscribe(CallingContext &context, Type type, ActivityEvent event, in Subscribe()
146 void StationaryServer::Unsubscribe(CallingContext &context, Type type, in Unsubscribe()
165 Data StationaryServer::GetCache(CallingContext &context, const Type &type) in GetCache()
[all …]
/ohos5.0/base/msdp/device_status/intention/stationary/server/src/
H A Dstationary_server.cpp39 int32_t StationaryServer::Enable(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Enable()
45 int32_t StationaryServer::Disable(CallingContext &context, MessageParcel &data, MessageParcel &repl… in Disable()
51 int32_t StationaryServer::Start(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Start()
57 int32_t StationaryServer::Stop(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Stop()
63 int32_t StationaryServer::AddWatch(CallingContext &context, uint32_t id, MessageParcel &data, Messa… in AddWatch()
95 int32_t StationaryServer::SetParam(CallingContext &context, uint32_t id, MessageParcel &data, Messa… in SetParam()
121 int32_t StationaryServer::Control(CallingContext &context, uint32_t id, MessageParcel &data, Messag… in Control()
127 void StationaryServer::Subscribe(CallingContext &context, Type type, ActivityEvent event, in Subscribe()
146 void StationaryServer::Unsubscribe(CallingContext &context, Type type, in Unsubscribe()
165 Data StationaryServer::GetCache(CallingContext &context, const Type &type) in GetCache()
[all …]
/ohos5.0/foundation/communication/netstack/test/fuzztest/socket/fuzztest/socketexec_fuzzer/
H A Dsocket_exec_fuzzer.cpp91 BindContext context(env, &eventManager); in ExecUdpBindFuzzTest() local
104 BindContext context(env, &eventManager); in ExecTcpBindFuzzTest() local
117 UdpSendContext context(env, &eventManager); in ExecUdpSendFuzzTest() local
130 TcpSendContext context(env, &eventManager); in ExecTcpSendFuzzTest() local
143 ConnectContext context(env, &eventManager); in ExecConnectFuzzTest() local
156 CloseContext context(env, &eventManager); in ExecCloseFuzzTest() local
169 GetStateContext context(env, &eventManager); in ExecGetStateFuzzTest() local
182 GetRemoteAddressContext context(env, &eventManager); in ExecGetRemoteAddressFuzzTest() local
221 TcpServerListenContext context(env, &eventManager); in ExecTcpServerListenFuzzTest() local
260 TcpServerSendContext context(env, &eventManager); in ExecTcpConnectionSendFuzzTest() local
[all …]
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Dmock_single_ver_data_sync.h25 int CallRequestStart(SingleVerSyncTaskContext *context, int mode) in CallRequestStart()
30 int CallPullRequestStart(SingleVerSyncTaskContext *context) in CallPullRequestStart()
35 void CallUpdateSendInfo(SyncTimeRange dataTimeRange, SingleVerSyncTaskContext *context) in CallUpdateSendInfo()
40 int CallRemoveDeviceDataIfNeed(SingleVerSyncTaskContext *context) in CallRemoveDeviceDataIfNeed()
45 …int CallDoAbilitySyncIfNeed(SingleVerSyncTaskContext *context, const Message *message, bool isCont… in CallDoAbilitySyncIfNeed()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/command/
H A Drs_canvas_node_command_test.cpp45 RSContext context; variable
60 RSContext context; variable
73 RSContext context; variable
86 RSContext context; variable
99 RSContext context; variable
131 RSContext context; variable
155 RSContext context; variable
/ohos5.0/foundation/communication/wifi/wifi/relation_services/wifi_hal_service/
H A Dwifi_hal_crpc_supplicant.c21 int RpcStartSupplicant(RpcServer *server, Context *context) in RpcStartSupplicant()
33 int RpcStopSupplicant(RpcServer *server, Context *context) in RpcStopSupplicant()
45 int RpcConnectSupplicant(RpcServer *server, Context *context) in RpcConnectSupplicant()
57 int RpcDisconnectSupplicant(RpcServer *server, Context *context) in RpcDisconnectSupplicant()
69 int RpcRequestToSupplicant(RpcServer *server, Context *context) in RpcRequestToSupplicant()
97 int RpcSetPowerSave(RpcServer *server, Context *context) in RpcSetPowerSave()
114 int RpcWpaSetCountryCode(RpcServer *server, Context *context) in RpcWpaSetCountryCode()
130 int RpcWpaGetCountryCode(RpcServer *server, Context *context) in RpcWpaGetCountryCode()
/ohos5.0/foundation/multimodalinput/input/intention/ipc/socket/src/
H A Dsocket_server.cpp30 SocketServer::SocketServer(IContext *context) in SocketServer()
34 int32_t SocketServer::Enable(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Enable()
40 int32_t SocketServer::Disable(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Disable()
46 int32_t SocketServer::Start(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Start()
52 int32_t SocketServer::Stop(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Stop()
58 int32_t SocketServer::AddWatch(CallingContext &context, uint32_t id, MessageParcel &data, MessagePa… in AddWatch()
64 int32_t SocketServer::RemoveWatch(CallingContext &context, uint32_t id, MessageParcel &data, Messag… in RemoveWatch()
70 int32_t SocketServer::SetParam(CallingContext &context, uint32_t id, MessageParcel &data, MessagePa… in SetParam()
76 int32_t SocketServer::GetParam(CallingContext &context, uint32_t id, MessageParcel &data, MessagePa… in GetParam()
82 int32_t SocketServer::Control(CallingContext &context, uint32_t id, MessageParcel &data, MessagePar… in Control()
/ohos5.0/base/msdp/device_status/intention/ipc/socket/src/
H A Dsocket_server.cpp30 SocketServer::SocketServer(IContext *context) in SocketServer()
34 int32_t SocketServer::Enable(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Enable()
40 int32_t SocketServer::Disable(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Disable()
46 int32_t SocketServer::Start(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Start()
52 int32_t SocketServer::Stop(CallingContext &context, MessageParcel &data, MessageParcel &reply) in Stop()
58 int32_t SocketServer::AddWatch(CallingContext &context, uint32_t id, MessageParcel &data, MessagePa… in AddWatch()
64 int32_t SocketServer::RemoveWatch(CallingContext &context, uint32_t id, MessageParcel &data, Messag… in RemoveWatch()
70 int32_t SocketServer::SetParam(CallingContext &context, uint32_t id, MessageParcel &data, MessagePa… in SetParam()
76 int32_t SocketServer::GetParam(CallingContext &context, uint32_t id, MessageParcel &data, MessagePa… in GetParam()
82 int32_t SocketServer::Control(CallingContext &context, uint32_t id, MessageParcel &data, MessagePar… in Control()
/aosp14/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
H A DCarrierActionUtils.java103 private static void onDisableAllMeteredApns(Intent intent, Context context) { in onDisableAllMeteredApns()
111 private static void onEnableAllMeteredApns(Intent intent, Context context) { in onEnableAllMeteredApns()
119 private static void onEnableDefaultURLHandler(Context context) { in onEnableDefaultURLHandler()
127 private static void onDisableDefaultURLHandler(Context context) { in onDisableDefaultURLHandler()
135 private static void onRegisterDefaultNetworkAvail(Intent intent, Context context) { in onRegisterDefaultNetworkAvail()
151 private static void onDisableRadio(Intent intent, Context context) { in onDisableRadio()
159 private static void onEnableRadio(Intent intent, Context context) { in onEnableRadio()
185 private static void onShowNoDataServiceNotification(Context context) { in onShowNoDataServiceNotification()
197 private static void onCancelAllNotifications(Context context) { in onCancelAllNotifications()
202 private static void onResetAllCarrierActions(Intent intent, Context context) { in onResetAllCarrierActions()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DPrefs.java128 public static void putBoolean(Context context, @Key String key, boolean value) { in putBoolean()
132 public static int getInt(Context context, @Key String key, int defaultValue) { in getInt()
136 public static void putInt(Context context, @Key String key, int value) { in putInt()
144 public static void putLong(Context context, @Key String key, long value) { in putLong()
152 public static void putString(Context context, @Key String key, String value) { in putString()
161 Context context, @Key String key, Set<String> defaultValue) { in getStringSet()
165 public static Map<String, ?> getAll(Context context) { in getAll()
169 public static void remove(Context context, @Key String key) { in remove()
173 public static void registerListener(Context context, in registerListener()
178 public static void unregisterListener(Context context, in unregisterListener()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ability_test/
H A Ddata_ability_helper_module_test.cpp74 std::shared_ptr<Context> context = std::make_shared<AbilityContext>(); variable
100 std::shared_ptr<Context> context = std::make_shared<AbilityContext>(); variable
125 std::shared_ptr<Context> context = std::make_shared<AbilityContext>(); variable
149 std::shared_ptr<Context> context = std::make_shared<AbilityContext>(); variable
173 std::shared_ptr<Context> context = std::make_shared<AbilityContext>(); variable
203 std::shared_ptr<Context> context = std::make_shared<AbilityContext>(); variable
233 std::shared_ptr<Context> context = std::make_shared<AbilityContext>(); variable
275 std::shared_ptr<Context> context = std::make_shared<AbilityContext>(); variable
317 std::shared_ptr<Context> context = std::make_shared<AbilityContext>(); variable
340 std::shared_ptr<Context> context = std::make_shared<AbilityContext>(); variable
[all …]
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/schedule/
H A Dsystem_ability_state_machine.cpp42 …AbilityStateMachine::AbilityStateTransitionLocked(const std::shared_ptr<SystemAbilityContext>& con… in AbilityStateTransitionLocked()
80 bool SystemAbilityStateMachine::UpdateStateCount(const std::shared_ptr<SystemProcessContext>& conte… in UpdateStateCount()
103 …AbilityStateMachine::ProcessStateTransitionLocked(const std::shared_ptr<SystemProcessContext>& con… in ProcessStateTransitionLocked()
142 void NotLoadedStateHandler::OnEnter(const std::shared_ptr<SystemAbilityContext>& context) in OnEnter()
157 void LoadingStateHandler::OnEnter(const std::shared_ptr<SystemAbilityContext>& context) in OnEnter()
177 void LoadedStateHandler::OnEnter(const std::shared_ptr<SystemAbilityContext>& context) in OnEnter()
192 void UnloadableStateHandler::OnEnter(const std::shared_ptr<SystemAbilityContext>& context) in OnEnter()
207 void UnloadingStateHandler::OnEnter(const std::shared_ptr<SystemAbilityContext>& context) in OnEnter()
222 void NotStartedStateHandler::OnEnter(const std::shared_ptr<SystemProcessContext>& context) in OnEnter()
237 void StartedStateHandler::OnEnter(const std::shared_ptr<SystemProcessContext>& context) in OnEnter()
[all …]
H A Dsystem_ability_event_handler.cpp41 …stemAbilityEventHandler::HandleAbilityEventLocked(const std::shared_ptr<SystemAbilityContext>& con… in HandleAbilityEventLocked()
61 …stemAbilityEventHandler::HandleProcessEventLocked(const std::shared_ptr<SystemProcessContext>& con… in HandleProcessEventLocked()
83 const std::shared_ptr<SystemAbilityContext>& context) in HandleAbilityLoadFailedEventLocked()
105 const std::shared_ptr<SystemAbilityContext>& context) in HandleAbilityLoadSuccessEventLocked()
124 const std::shared_ptr<SystemAbilityContext>& context) in HandleAbilityUnLoadSuccessEventLocked()
151 const std::shared_ptr<SystemProcessContext>& context, const ProcessInfo& processInfo) in HandleProcessStartedEventLocked()
171 const std::shared_ptr<SystemProcessContext>& context, const ProcessInfo& processInfo) in HandleProcessStoppedEventLocked()
/ohos5.0/foundation/communication/wifi/wifi/base/cRPC/src/
H A Dcontext.c31 Context *context = (Context *)calloc(1, sizeof(Context)); in CreateContext() local
55 void ReleaseContext(Context *context) in ReleaseContext()
73 static int ExpandReadCache(Context *context, int len) in ExpandReadCache()
114 static int ExpandWriteCache(Context *context, int len) in ExpandWriteCache()
160 static int ContextAppendRead(Context *context, const char *buf, int len) in ContextAppendRead()
187 int ContextAppendWrite(Context *context, const char *buf, int len) in ContextAppendWrite()
214 char *ContextGetReadRecord(Context *context) in ContextGetReadRecord()
260 int ContextReadNet(Context *context) in ContextReadNet()
278 int ContextWriteNet(Context *context) in ContextWriteNet()
/aosp14/frameworks/base/core/java/android/service/dreams/
H A DSandman.java48 public static boolean shouldStartDockApp(Context context, Intent intent) { in shouldStartDockApp()
59 public static void startDreamByUserRequest(Context context) { in startDreamByUserRequest()
67 public static void startDreamWhenDockedIfAppropriate(Context context) { in startDreamWhenDockedIfAppropriate()
77 private static void startDream(Context context, boolean docked) { in startDream()
107 private static boolean isScreenSaverEnabled(Context context) { in isScreenSaverEnabled()
115 private static boolean isScreenSaverActivatedOnDock(Context context) { in isScreenSaverActivatedOnDock()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/
H A DDisplayUtils.java33 public static int convertDpToPx(float dp, Context context) { in convertDpToPx()
48 public static int getWidth(Context context) { in getWidth()
68 public static int getHeight(Context context) { in getHeight()
86 public static int getCornerRadiusBottom(Context context) { in getCornerRadiusBottom()
101 public static int getCornerRadiusTop(Context context) { in getCornerRadiusTop()
112 private static int getCornerRadiusDefault(Context context) { in getCornerRadiusDefault()
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DUninstallEventReceiver.java37 @NonNull private static EventResultPersister getReceiver(@NonNull Context context) { in getReceiver()
49 public void onReceive(Context context, Intent intent) { in onReceive()
62 public static int addObserver(@NonNull Context context, int id, in addObserver()
74 static void removeObserver(@NonNull Context context, int id) { in removeObserver()
83 static int getNewId(@NonNull Context context) throws EventResultPersister.OutOfIdsException { in getNewId()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_interactive_implict_animator.cpp22 …InteractiveImplictAnimatorId id, const std::weak_ptr<RSContext>& context) : id_(id), context_(cont… in RSRenderInteractiveImplictAnimator()
27 auto context = context_.lock(); in AddAnimations() local
47 auto context = context_.lock(); in PauseAnimator() local
66 auto context = context_.lock(); in ContinueAnimator() local
87 auto context = context_.lock(); in FinishAnimator() local
106 auto context = context_.lock(); in ReverseAnimator() local
126 auto context = context_.lock(); in SetFractionAnimator() local
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/loader/
H A Dshader_state_loader_util.cpp167 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::RasterizationState>& context) in FromJson()
184 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::StencilOpState>& context) in FromJson()
195 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::DepthStencilState>& context) in FromJson()
226 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::ColorBlendState::Attachment>&… in FromJson()
240 void FromJson(const json::value& jsonData, JsonContext<GraphicsState::ColorBlendState>& context) in FromJson()
275 JsonContext<GraphicsState::InputAssembly> context; in ParseSingleState() local
286 JsonContext<GraphicsState::RasterizationState> context; in ParseSingleState() local
297 JsonContext<GraphicsState::DepthStencilState> context; in ParseSingleState() local
308 JsonContext<GraphicsState::ColorBlendState> context; in ParseSingleState() local
/ohos5.0/base/msdp/device_status/test/unittest/intention/drag/src/
H A Ddrag_server_test.cpp319 CallingContext context { variable
340 CallingContext context { variable
363 CallingContext context { variable
384 CallingContext context { variable
405 CallingContext context { variable
432 CallingContext context { variable
459 CallingContext context { variable
489 CallingContext context { variable
530 CallingContext context { variable
558 CallingContext context { variable
[all …]
/ohos5.0/foundation/communication/netmanager_ext/frameworks/js/napi/ethernet/
H A Dethernet_exec.cpp53 bool ExecGetMacAddress(GetMacAddressContext *context) in ExecGetMacAddress()
64 napi_value GetMacAddressCallback(GetMacAddressContext *context) in GetMacAddressCallback()
79 bool ExecGetIfaceConfig(GetIfaceConfigContext *context) in ExecGetIfaceConfig()
90 napi_value GetIfaceConfigCallback(GetIfaceConfigContext *context) in GetIfaceConfigCallback()
115 bool ExecSetIfaceConfig(SetIfaceConfigContext *context) in ExecSetIfaceConfig()
126 napi_value SetIfaceConfigCallback(SetIfaceConfigContext *context) in SetIfaceConfigCallback()
131 bool ExecIsIfaceActive(IsIfaceActiveContext *context) in ExecIsIfaceActive()
143 napi_value IsIfaceActiveCallback(IsIfaceActiveContext *context) in IsIfaceActiveCallback()
148 bool ExecGetAllActiveIfaces(GetAllActiveIfacesContext *context) in ExecGetAllActiveIfaces()
159 napi_value GetAllActiveIfacesCallback(GetAllActiveIfacesContext *context) in GetAllActiveIfacesCallback()

12345678910>>...226