Home
last modified time | relevance | path

Searched defs:context (Results 126 – 150 of 12852) sorted by relevance

12345678910>>...515

/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/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()
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/util/
H A DPermissionUtils.java81 public static boolean checkPermissionManager(@NonNull Context context, int pid, in checkPermissionManager()
139 public static boolean checkIsLegacyStorageGranted(@NonNull Context context, int uid, in checkIsLegacyStorageGranted()
253 static boolean checkNoIsolatedStorageGranted(@NonNull Context context, int uid, in checkNoIsolatedStorageGranted()
277 private static boolean checkPermissionAllowingNonLegacy(@NonNull Context context, in checkPermissionAllowingNonLegacy()
292 private static boolean checkAppOp(@NonNull Context context, in checkAppOp()
313 private static boolean checkAppOpAllowingLegacy(@NonNull Context context, in checkAppOpAllowingLegacy()
364 private static boolean checkPermissionForPreflight(@NonNull Context context, in checkPermissionForPreflight()
401 private static boolean checkPermissionForDataDelivery(@NonNull Context context, in checkPermissionForDataDelivery()
408 private static boolean checkPermissionCommon(@NonNull Context context, in checkPermissionCommon()
448 private static boolean checkAppOpPermission(@NonNull Context context, in checkAppOpPermission()
[all …]
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DImportantNoticeUtils.java60 static boolean isInSystemSetupWizard(final Context context) { in isInSystemSetupWizard()
73 static SharedPreferences getImportantNoticePreferences(final Context context) { in getImportantNoticePreferences()
78 static boolean hasContactsNoticeShown(final Context context) { in hasContactsNoticeShown()
83 public static boolean shouldShowImportantNotice(final Context context, in shouldShowImportantNotice()
114 public static String getSuggestContactsNoticeTitle(final Context context) { in getSuggestContactsNoticeTitle()
120 final Context context, final long currentTimeInMillis) { in hasContactsNoticeTimeoutPassed()
133 public static void updateContactsNoticeShown(final Context context) { in updateContactsNoticeShown()
/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
/aosp12/system/chre/chpp/clients/
H A Ddiscovery.c78 struct ChppAppState *context, const struct ChppServiceDescriptor *service) { in chppFindMatchingClient()
100 static void chppDiscoveryProcessDiscoverAll(struct ChppAppState *context, in chppDiscoveryProcessDiscoverAll()
233 struct ChppAppState *context, uint8_t index) { in chppGetClientMatchNotifierFunction()
241 void chppDiscoveryInit(struct ChppAppState *context) { in chppDiscoveryInit()
258 void chppDiscoveryDeinit(struct ChppAppState *context) { in chppDiscoveryDeinit()
266 bool chppWaitForDiscoveryComplete(struct ChppAppState *context, in chppWaitForDiscoveryComplete()
294 bool chppDispatchDiscoveryServiceResponse(struct ChppAppState *context, in chppDispatchDiscoveryServiceResponse()
312 void chppInitiateDiscovery(struct ChppAppState *context) { in chppInitiateDiscovery()
333 bool chppAreAllClientsMatched(struct ChppAppState *context) { in chppAreAllClientsMatched()
H A Dtimesync.c53 void chppTimesyncClientInit(struct ChppAppState *context) { in chppTimesyncClientInit()
71 void chppTimesyncClientDeinit(struct ChppAppState *context) { in chppTimesyncClientDeinit()
79 void chppTimesyncClientReset(struct ChppAppState *context) { in chppTimesyncClientReset()
90 bool chppDispatchTimesyncServiceResponse(struct ChppAppState *context, in chppDispatchTimesyncServiceResponse()
155 bool chppTimesyncMeasureOffset(struct ChppAppState *context) { in chppTimesyncMeasureOffset()
187 int64_t chppTimesyncGetOffset(struct ChppAppState *context, in chppTimesyncGetOffset()
209 struct ChppAppState *context) { in chppTimesyncGetResult()
/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()
/aosp12/packages/apps/EmergencyInfo/src/com/android/emergency/util/
H A DPreferenceUtils.java38 public static boolean hasAtLeastOnePreferenceSet(Context context) { in hasAtLeastOnePreferenceSet()
49 public static boolean hasAtLeastOneEmergencyContact(Context context) { in hasAtLeastOneEmergencyContact()
73 public static void updateSettingsSuggestionState(Context context) { in updateSettingsSuggestionState()
81 public static void enableSettingsSuggestion(Context context) { in enableSettingsSuggestion()
85 private static boolean hasAtLeastOnePreferenceOrContactSet(Context context) { in hasAtLeastOnePreferenceOrContactSet()
89 private static void setSettingsSuggestionState(Context context, int state) { in setSettingsSuggestionState()
/aosp12/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/fcm/
H A DFcmTokenStore.java37 public static String getToken(Context context, int subId) { in getToken()
42 public static boolean hasToken(Context context, int subId) { in hasToken()
48 public static boolean setToken(Context context, int subId, String token) { in setToken()
64 Context context, OnSharedPreferenceChangeListener listener) { in registerTokenUpdateListener()
73 Context context, OnSharedPreferenceChangeListener listener) { in unregisterTokenUpdateListener()
80 private static SharedPreferences getFcmTokenFile(Context context) { in getFcmTokenFile()
/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 …]
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
H A DFakeFeatureFactory.java99 final Context context = mock(Context.class, Answers.RETURNS_DEEP_STUBS); in setupForTest() local
148 public SuggestionFeatureProvider getSuggestionFeatureProvider(Context context) { in getSuggestionFeatureProvider()
153 public SupportFeatureProvider getSupportFeatureProvider(Context context) { in getSupportFeatureProvider()
163 public BatteryStatusFeatureProvider getBatteryStatusFeatureProvider(Context context) { in getBatteryStatusFeatureProvider()
173 public PowerUsageFeatureProvider getPowerUsageFeatureProvider(Context context) { in getPowerUsageFeatureProvider()
178 public DashboardFeatureProvider getDashboardFeatureProvider(Context context) { in getDashboardFeatureProvider()
188 public ApplicationFeatureProvider getApplicationFeatureProvider(Context context) { in getApplicationFeatureProvider()
208 public SurveyFeatureProvider getSurveyFeatureProvider(Context context) { in getSurveyFeatureProvider()
218 public UserFeatureProvider getUserFeatureProvider(Context context) { in getUserFeatureProvider()
243 public ContextualCardFeatureProvider getContextualCardFeatureProvider(Context context) { in getContextualCardFeatureProvider()
[all …]
/aosp12/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/
H A DSettingsManager.java50 public static void generateAndSetId(Context context) { in generateAndSetId()
67 public static int getId(Context context) { in getId()
85 public static boolean setDeviceConfig(Context context, int extraKeys, in setDeviceConfig()
114 public static int getExtraSignedKeysAvailable(Context context) { in getExtraSignedKeysAvailable()
123 public static Duration getExpiringBy(Context context) { in getExpiringBy()
133 public static String getUrl(Context context) { in getUrl()
146 public static int incrementFailureCounter(Context context) { in incrementFailureCounter()
159 public static int getFailureCounter(Context context) { in getFailureCounter()
168 public static void clearFailureCounter(Context context) { in clearFailureCounter()
181 public static void clearPreferences(Context context) { in clearPreferences()
/aosp12/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/utils/
H A DTelephonyUtils.java41 public TelephonyUtils(Context context) { in TelephonyUtils()
45 public TelephonyUtils(Context context, int subId) { in TelephonyUtils()
110 public static boolean isActivedSubId(Context context, int subId) { in isActivedSubId()
122 public static int getSlotId(Context context, int subId) { in getSlotId()
135 private static PersistableBundle getConfigForSubId(Context context, int subId) { in getConfigForSubId()
149 public static String getFcmSenderId(Context context, int subId) { in getFcmSenderId()
160 public static String getEntitlementServerUrl(Context context, int subId) { in getEntitlementServerUrl()
171 public static boolean isImsProvisioningRequired(Context context, int subId) { in isImsProvisioningRequired()
179 public static ImmutableSet<Integer> getSubIdsWithFcmSupported(Context context) { in getSubIdsWithFcmSupported()
197 private static boolean isFcmPushNotificationSupported(Context context, int subId) { in isFcmPushNotificationSupported()
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DTransactionContextTest.java33 TransactionContext context = new TransactionContext(false); in testClearExceptSearchIndexUpdates_returnsNewSets() local
55 TransactionContext context = new TransactionContext(false); in testMarkDirtyAndChanged_onlyUpdatesChanged() local
64 TransactionContext context = new TransactionContext(false); in testMarkDirtyAndChanged_onlyUpdatesDirtyAndChanged() local
73 TransactionContext context = new TransactionContext(false); in testRawContactInserted_affectsChangedContacts() local
86 TransactionContext context = new TransactionContext(false); in testMarkRawContactChangedOrDeletedOrInserted_affectsChangedContacts() local
/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/interfaces/kits/napi/graphic/webgl/src/
H A Dwebgl2_rendering_context_base.cpp55 WebGL2RenderingContext* context = GetWebGL2RenderingContext(env, funcArg.GetThisVar()); in DrawBuffers() local
85 WebGL2RenderingContext* context = GetWebGL2RenderingContext(env, funcArg.GetThisVar()); in ClearBufferfv() local
116 WebGL2RenderingContext* context = GetWebGL2RenderingContext(env, funcArg.GetThisVar()); in ClearBufferiv() local
147 WebGL2RenderingContext* context = GetWebGL2RenderingContext(env, funcArg.GetThisVar()); in ClearBufferuiv() local
181 WebGL2RenderingContext* context = GetWebGL2RenderingContext(env, funcArg.GetThisVar()); in ClearBufferfi() local
192 WebGL2RenderingContext* context = GetWebGL2RenderingContext(env, funcArg.GetThisVar()); in CreateQuery() local
204 WebGL2RenderingContext* context = GetWebGL2RenderingContext(env, funcArg.GetThisVar()); in DeleteQuery() local
216 WebGL2RenderingContext* context = GetWebGL2RenderingContext(env, funcArg.GetThisVar()); in IsQuery() local
234 WebGL2RenderingContext* context = GetWebGL2RenderingContext(env, funcArg.GetThisVar()); in BeginQuery() local
252 WebGL2RenderingContext* context = GetWebGL2RenderingContext(env, funcArg.GetThisVar()); in EndQuery() local
[all …]
/aosp12/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()
/aosp12/packages/apps/Contacts/src/com/android/contacts/util/
H A DPhoneCapabilityTester.java48 public static boolean isIntentRegistered(Context context, Intent intent) { in isIntentRegistered()
58 public static boolean isPhone(Context context) { in isPhone()
64 private static void initialize(Context context) { in initialize()
74 public static boolean isSipPhone(Context context) { in isSipPhone()
82 public static ComponentName getSmsComponent(Context context) { in getSmsComponent()
101 public static boolean isCameraIntentRegistered(Context context) { in isCameraIntentRegistered()
/aosp12/frameworks/base/telephony/common/com/android/internal/telephony/
H A DTelephonyPermissions.java133 Context context, int subId, int pid, int uid, String callingPackage, in checkReadPhoneState()
167 public static boolean checkCarrierPrivilegeForSubId(Context context, int subId) { in checkCarrierPrivilegeForSubId()
233 public static boolean checkCallingOrSelfReadDeviceIdentifiers(Context context, in checkCallingOrSelfReadDeviceIdentifiers()
468 Context context, int subId, int pid, int uid, String callingPackage, in checkReadCallLog()
512 Context context, int subId, int pid, int uid, in checkReadPhoneNumber()
548 Context context, int subId, String message) { in enforceCallingOrSelfModifyPermissionOrCarrierPrivilege()
565 Context context, int subId, String message) { in enforceCallingOrSelfReadPhoneStatePermissionOrCarrierPrivilege()
585 Context context, int subId, String message) { in enforceCallingOrSelfReadPrivilegedPhoneStatePermissionOrCarrierPrivilege()
607 Context context, int subId, String message) { in enforceCallingOrSelfReadPrecisePhoneStatePermissionOrCarrierPrivilege()
632 Context context, int subId, String message) { in enforceCallingOrSelfCarrierPrivilege()
[all …]
/ohos5.0/foundation/ability/ability_runtime/test/unittest/continuation_test/remote_register_service_test/continuation_register_manager_proxy_test/
H A Dcontinuation_register_manager_proxy_test.cpp130 std::shared_ptr<Context> context; variable
152 std::shared_ptr<Context> context; variable
190 std::shared_ptr<Context> context; variable
209 std::shared_ptr<Context> context; variable
250 std::shared_ptr<Context> context; variable
272 std::shared_ptr<Context> context; variable
311 std::shared_ptr<Context> context; variable
332 std::shared_ptr<Context> context; variable
351 std::weak_ptr<Context> context ; variable
368 std::shared_ptr<Context> context; variable
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/accessibility/
H A DAccessibilityGestureNavigationTutorial.java98 public static void showGestureNavigationTutorialDialog(Context context, in showGestureNavigationTutorialDialog()
112 static AlertDialog showAccessibilityButtonTutorialDialog(Context context) { in showAccessibilityButtonTutorialDialog()
123 static AlertDialog showAccessibilityGestureTutorialDialog(Context context) { in showAccessibilityGestureTutorialDialog()
182 private static AlertDialog createDialog(Context context, int dialogType) { in createDialog()
271 private static ImageView createImageView(Context context, int imageRes) { in createImageView()
301 private static View inflateAndInitIllustrationFrame(Context context) { in inflateAndInitIllustrationFrame()
345 private static View makeTitleView(Context context) { in makeTitleView()
354 private static View makeInstructionView(Context context) { in makeInstructionView()
419 private static View createSoftwareImage(Context context) { in createSoftwareImage()
433 private static CharSequence getSoftwareTitle(Context context) { in getSoftwareTitle()
[all …]
/aosp12/packages/services/Telephony/src/com/android/phone/vvm/
H A DVvmSimStateTracker.java80 public ServiceStateListener(Context context, PhoneAccountHandle phoneAccountHandle) { in ServiceStateListener()
115 public void onReceive(Context context, Intent intent) { in onReceive()
160 private void onBootCompleted(Context context) { in onBootCompleted()
176 private void sendConnected(Context context, PhoneAccountHandle phoneAccountHandle) { in sendConnected()
181 private void checkRemovedSim(Context context) { in checkRemovedSim()
212 private void sendSimRemoved(Context context, PhoneAccountHandle phoneAccountHandle) { in sendSimRemoved()
217 private void onCarrierConfigChanged(Context context, PhoneAccountHandle phoneAccountHandle) { in onCarrierConfigChanged()
243 private void listenToAccount(Context context, PhoneAccountHandle phoneAccountHandle) { in listenToAccount()
250 private static TelephonyManager getTelephonyManager(Context context, in getTelephonyManager()
/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

12345678910>>...515