Home
last modified time | relevance | path

Searched defs:context (Results 1 – 25 of 3351) sorted by relevance

12345678910>>...135

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/
DRubyMap.java105 public IRubyObject initialize(ThreadContext context, IRubyObject[] args) { in initialize()
150 public IRubyObject indexSet(ThreadContext context, IRubyObject key, IRubyObject value) { in indexSet()
171 public IRubyObject index(ThreadContext context, IRubyObject key) { in index()
191 public IRubyObject eq(ThreadContext context, IRubyObject _other) { in eq()
227 public IRubyObject hash(ThreadContext context) { in hash()
247 public IRubyObject keys(ThreadContext context) { in keys()
258 public IRubyObject values(ThreadContext context) { in values()
269 public IRubyObject clear(ThreadContext context) { in clear()
283 public IRubyObject each(ThreadContext context, Block block) { in each()
298 public IRubyObject delete(ThreadContext context, IRubyObject key) { in delete()
[all …]
DRubyRepeatedField.java72 public IRubyObject initialize(ThreadContext context, IRubyObject[] args) { in initialize()
111 public IRubyObject indexSet(ThreadContext context, IRubyObject index, IRubyObject value) { in indexSet()
129 public IRubyObject index(ThreadContext context, IRubyObject[] args) { in index()
166 public IRubyObject push(ThreadContext context, IRubyObject value) { in push()
179 public IRubyObject pop_one(ThreadContext context) { in pop_one()
192 public IRubyObject replace(ThreadContext context, IRubyObject list) { in replace()
206 public IRubyObject clear(ThreadContext context) { in clear()
218 public IRubyObject length(ThreadContext context) { in length()
231 public IRubyObject plus(ThreadContext context, IRubyObject list) { in plus()
253 public IRubyObject concat(ThreadContext context, IRubyObject list) { in concat()
[all …]
DRubyFieldDescriptor.java69 public IRubyObject initialize(ThreadContext context) { in initialize()
81 public IRubyObject getLabel(ThreadContext context) { in getLabel()
93 public IRubyObject setLabel(ThreadContext context, IRubyObject value) { in setLabel()
108 public IRubyObject getName(ThreadContext context) { in getName()
120 public IRubyObject setName(ThreadContext context, IRubyObject value) { in setName()
129 public IRubyObject getSubType(ThreadContext context) { in getSubType()
144 public IRubyObject getType(ThreadContext context) { in getType()
156 public IRubyObject setType(ThreadContext context, IRubyObject value) { in setType()
169 public IRubyObject getnumber(ThreadContext context) { in getnumber()
181 public IRubyObject setNumber(ThreadContext context, IRubyObject value) { in setNumber()
[all …]
DRubyDescriptor.java77 public IRubyObject initialize(ThreadContext context) { in initialize()
92 public IRubyObject getName(ThreadContext context) { in getName()
104 public IRubyObject setName(ThreadContext context, IRubyObject name) { in setName()
120 public IRubyObject addField(ThreadContext context, IRubyObject obj) { in addField()
135 public IRubyObject lookup(ThreadContext context, IRubyObject fieldName) { in lookup()
147 public IRubyObject msgclass(ThreadContext context) { in msgclass()
161 public IRubyObject each(ThreadContext context, Block block) { in each()
180 public IRubyObject addOneof(ThreadContext context, IRubyObject obj) { in addOneof()
198 public IRubyObject eachOneof(ThreadContext context, Block block) { in eachOneof()
213 public IRubyObject lookupOneof(ThreadContext context, IRubyObject name) { in lookupOneof()
[all …]
DRubyMessage.java66 public IRubyObject initialize(final ThreadContext context, IRubyObject[] args) { in initialize()
121 public IRubyObject indexSet(ThreadContext context, IRubyObject fieldName, IRubyObject value) { in indexSet()
134 public IRubyObject index(ThreadContext context, IRubyObject fieldName) { in index()
166 public IRubyObject hash(ThreadContext context) { in hash()
181 public IRubyObject eq(ThreadContext context, IRubyObject other) { in eq()
215 public IRubyObject methodMissing(ThreadContext context, IRubyObject[] args) { in methodMissing()
253 public IRubyObject dup(ThreadContext context) { in dup()
279 public static IRubyObject getDescriptor(ThreadContext context, IRubyObject recv) { in getDescriptor()
291 public static IRubyObject encode(ThreadContext context, IRubyObject recv, IRubyObject value) { in encode()
305 public static IRubyObject decode(ThreadContext context, IRubyObject recv, IRubyObject data) { in decode()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSystemUIFactory.java91 public static void createFromConfig(Context context) { in createFromConfig()
110 protected void init(Context context) { in init()
122 public StatusBarKeyguardViewManager createStatusBarKeyguardViewManager(Context context, in createStatusBarKeyguardViewManager()
127 public KeyguardBouncer createKeyguardBouncer(Context context, ViewMediatorCallback callback, in createKeyguardBouncer()
146 public NotificationIconAreaController createNotificationIconAreaController(Context context, in createNotificationIconAreaController()
152 public KeyguardIndicationController createKeyguardIndicationController(Context context, in createKeyguardIndicationController()
157 public VolumeDialogComponent createVolumeDialogComponent(SystemUI systemUi, Context context) { in createVolumeDialogComponent()
163 public NotificationData.KeyguardEnvironment provideKeyguardEnvironment(Context context) { in provideKeyguardEnvironment()
170 Context context) { in provideNotificationLockscreenUserManager()
177 Context context) { in provideAssistManager()
[all …]
DPrefs.java108 public static boolean getBoolean(Context context, @Key String key, boolean defaultValue) { in getBoolean()
112 public static void putBoolean(Context context, @Key String key, boolean value) { in putBoolean()
116 public static int getInt(Context context, @Key String key, int defaultValue) { in getInt()
120 public static void putInt(Context context, @Key String key, int value) { in putInt()
124 public static long getLong(Context context, @Key String key, long defaultValue) { in getLong()
128 public static void putLong(Context context, @Key String key, long value) { in putLong()
132 public static String getString(Context context, @Key String key, String defaultValue) { in getString()
136 public static void putString(Context context, @Key String key, String value) { in putString()
140 public static void putStringSet(Context context, @Key String key, Set<String> value) { in putStringSet()
145 Context context, @Key String key, Set<String> defaultValue) { in getStringSet()
[all …]
/frameworks/ml/nn/common/operations/
DComparisons.cpp68 bool executeLessTyped(IOperationExecutionContext* context) { in executeLessTyped()
77 bool executeLessEqualTyped(IOperationExecutionContext* context) { in executeLessEqualTyped()
86 bool executeEqualTyped(IOperationExecutionContext* context) { in executeEqualTyped()
95 bool executeNotEqualTyped(IOperationExecutionContext* context) { in executeNotEqualTyped()
104 bool executeGreaterEqualTyped(IOperationExecutionContext* context) { in executeGreaterEqualTyped()
113 bool executeGreaterTyped(IOperationExecutionContext* context) { in executeGreaterTyped()
123 bool validate(const IOperationValidationContext* context) { in validate()
137 bool prepare(IOperationExecutionContext* context) { in prepare()
145 bool executeLess(IOperationExecutionContext* context) { in executeLess()
162 bool executeLessEqual(IOperationExecutionContext* context) { in executeLessEqual()
[all …]
DElementwise.cpp47 bool execute(IOperationExecutionContext* context, float func(float)) { in execute()
64 bool validate(const IOperationValidationContext* context) { in validate()
76 bool prepare(IOperationExecutionContext* context) { in prepare()
83 bool executeAbs(IOperationExecutionContext* context) { in executeAbs()
87 bool executeExp(IOperationExecutionContext* context) { in executeExp()
91 bool executeLog(IOperationExecutionContext* context) { in executeLog()
95 bool executeRsqrt(IOperationExecutionContext* context) { in executeRsqrt()
99 bool executeSin(IOperationExecutionContext* context) { in executeSin()
103 bool executeSqrt(IOperationExecutionContext* context) { in executeSqrt()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminReceiver.java519 public @NonNull DevicePolicyManager getManager(@NonNull Context context) { in getManager()
533 public @NonNull ComponentName getWho(@NonNull Context context) { in getWho()
554 public void onEnabled(@NonNull Context context, @NonNull Intent intent) { in onEnabled()
568 public @Nullable CharSequence onDisableRequested(@NonNull Context context, in onDisableRequested()
581 public void onDisabled(@NonNull Context context, @NonNull Intent intent) { in onDisabled()
596 public void onPasswordChanged(@NonNull Context context, @NonNull Intent intent) { in onPasswordChanged()
610 public void onPasswordChanged(@NonNull Context context, @NonNull Intent intent, in onPasswordChanged()
627 public void onPasswordFailed(@NonNull Context context, @NonNull Intent intent) { in onPasswordFailed()
641 public void onPasswordFailed(@NonNull Context context, @NonNull Intent intent, in onPasswordFailed()
658 public void onPasswordSucceeded(@NonNull Context context, @NonNull Intent intent) { in onPasswordSucceeded()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java51 public boolean setIntegerSetting(Context context, String name, int def) { in setIntegerSetting()
55 public int getIntegerSetting(Context context, String name, int def) { in getIntegerSetting()
59 public long getLongSetting(Context context, String name, long def) { in getLongSetting()
63 public boolean setStringSetting(Context context, String name, String def) { in setStringSetting()
67 public String getStringSetting(Context context, String name) { in getStringSetting()
74 public int getSecureIntegerSetting(Context context, String name, int def) { in getSecureIntegerSetting()
81 public String getSecureStringSetting(Context context, String name) { in getSecureStringSetting()
94 public void registerContentObserver(Context context, Uri uri, in registerContentObserver()
107 public void unregisterContentObserver(Context context, ContentObserver contentObserver) { in unregisterContentObserver()
123 public PendingIntent getBroadcast(Context context, int requestCode, Intent intent, int flags) { in getBroadcast()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java58 public static boolean isRotationSupported(Context context) { in isRotationSupported()
75 public static int getRotationLockOrientation(Context context) { in getRotationLockOrientation()
97 public static boolean isRotationLockToggleVisible(Context context) { in isRotationLockToggleVisible()
107 public static boolean isRotationLocked(Context context) { in isRotationLocked()
115 public static void setRotationLock(Context context, final boolean enabled) { in setRotationLock()
123 public static void setRotationLockAtAngle(Context context, final boolean enabled, in setRotationLockAtAngle()
137 public static void setRotationLockForAccessibility(Context context, final boolean enabled) { in setRotationLockForAccessibility()
145 private static boolean areAllRotationsAllowed(Context context) { in areAllRotationsAllowed()
170 public static void registerRotationPolicyListener(Context context, in registerRotationPolicyListener()
179 public static void registerRotationPolicyListener(Context context, in registerRotationPolicyListener()
[all …]
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DCarrierActionUtils.java61 public static void applyCarrierAction(int actionIdx, Intent intent, Context context) { in applyCarrierAction()
104 private static void onDisableAllMeteredApns(Intent intent, Context context) { in onDisableAllMeteredApns()
112 private static void onEnableAllMeteredApns(Intent intent, Context context) { in onEnableAllMeteredApns()
120 private static void onEnableDefaultURLHandler(Context context) { in onEnableDefaultURLHandler()
128 private static void onDisableDefaultURLHandler(Context context) { in onDisableDefaultURLHandler()
136 private static void onRegisterDefaultNetworkAvail(Intent intent, Context context) { in onRegisterDefaultNetworkAvail()
144 private static void onDeregisterDefaultNetworkAvail(Intent intent, Context context) { in onDeregisterDefaultNetworkAvail()
152 private static void onDisableRadio(Intent intent, Context context) { in onDisableRadio()
160 private static void onEnableRadio(Intent intent, Context context) { in onEnableRadio()
168 private static void onShowCaptivePortalNotification(Intent intent, Context context) { in onShowCaptivePortalNotification()
[all …]
/frameworks/base/telecomm/java/android/telecom/
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()
/frameworks/base/core/java/android/view/textclassifier/intent/
DLegacyClassificationIntentFactory.java58 public List<LabeledIntent> create(Context context, String text, boolean foreignText, in create()
106 private static List<LabeledIntent> createForEmail(Context context, String text) { in createForEmail()
129 private static List<LabeledIntent> createForPhone(Context context, String text) { in createForPhone()
167 private static List<LabeledIntent> createForAddress(Context context, String text) { in createForAddress()
186 private static List<LabeledIntent> createForUrl(Context context, String text) { in createForUrl()
205 Context context, String type, @Nullable Instant referenceTime, in createForDatetime()
221 private static List<LabeledIntent> createForFlight(Context context, String text) { in createForFlight()
235 private static LabeledIntent createCalendarViewIntent(Context context, Instant parsedTime) { in createCalendarViewIntent()
250 Context context, Instant parsedTime, @TextClassifier.EntityType String type) { in createCalendarCreateEventIntent()
268 private static List<LabeledIntent> createForDictionary(Context context, String text) { in createForDictionary()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java61 public static Drawable getRestrictedPadlock(Context context) { in getRestrictedPadlock()
86 public static EnforcedAdmin checkIfRestrictionEnforced(Context context, in checkIfRestrictionEnforced()
131 public static boolean hasBaseUserRestriction(Context context, in hasBaseUserRestriction()
152 public static EnforcedAdmin checkIfKeyguardFeaturesDisabled(Context context, in checkIfKeyguardFeaturesDisabled()
215 public static EnforcedAdmin checkIfUninstallBlocked(Context context, in checkIfUninstallBlocked()
244 public static EnforcedAdmin checkIfApplicationIsSuspended(Context context, String packageName, in checkIfApplicationIsSuspended()
257 public static EnforcedAdmin checkIfInputMethodDisallowed(Context context, in checkIfInputMethodDisallowed()
293 public static EnforcedAdmin checkIfRemoteContactSearchDisallowed(Context context, int userId) { in checkIfRemoteContactSearchDisallowed()
311 public static EnforcedAdmin checkIfAccessibilityServiceDisallowed(Context context, in checkIfAccessibilityServiceDisallowed()
342 private static int getManagedProfileId(Context context, int userId) { in getManagedProfileId()
[all …]
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/
DCarSystemUIFactory.java47 protected void init(Context context) { in init()
58 public StatusBarKeyguardViewManager createStatusBarKeyguardViewManager(Context context, in createStatusBarKeyguardViewManager()
63 public VolumeDialogComponent createVolumeDialogComponent(SystemUI systemUi, Context context) { in createVolumeDialogComponent()
69 Context context) { in provideNotificationInterruptionStateProvider()
82 public ContextHolder(Context context) { in ContextHolder()
102 public NotificationEntryManager provideNotificationEntryManager(Context context) { in provideNotificationEntryManager()
/frameworks/base/core/java/android/service/dreams/
DSandman.java54 public static boolean shouldStartDockApp(Context context, Intent intent) { in shouldStartDockApp()
62 public static void startDreamByUserRequest(Context context) { in startDreamByUserRequest()
70 public static void startDreamWhenDockedIfAppropriate(Context context) { in startDreamWhenDockedIfAppropriate()
80 private static void startDream(Context context, boolean docked) { in startDream()
110 private static boolean isScreenSaverEnabled(Context context) { in isScreenSaverEnabled()
118 private static boolean isScreenSaverActivatedOnDock(Context context) { in isScreenSaverActivatedOnDock()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DThemableWidget.java10 public ThemableWidget(Context context) { in ThemableWidget()
16 public ThemableWidget(Context context, AttributeSet attrs) { in ThemableWidget()
22 public ThemableWidget(Context context, AttributeSet attrs, int defStyleAttr) { in ThemableWidget()
28 public ThemableWidget(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ThemableWidget()
35 … ContextThemeWrapper context = new ContextThemeWrapper(getContext(), getContext().getTheme()); in init() local
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallEventReceiver.java36 @NonNull private static EventResultPersister getReceiver(@NonNull Context context) { in getReceiver()
48 public void onReceive(Context context, Intent intent) { in onReceive()
61 static int addObserver(@NonNull Context context, int id, in addObserver()
73 static void removeObserver(@NonNull Context context, int id) { in removeObserver()
82 static int getNewId(@NonNull Context context) throws EventResultPersister.OutOfIdsException { in getNewId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DInstallCarrierAppUtils.java52 static void showNotification(Context context, String pkgName) { in showNotification()
93 static void hideAllNotifications(Context context) { in hideAllNotifications()
108 static void hideNotification(Context context, String pkgName) { in hideNotification()
121 static void showNotificationIfNotInstalledDelayed(Context context, in showNotificationIfNotInstalledDelayed()
135 static void registerPackageInstallReceiver(Context context) { in registerPackageInstallReceiver()
145 static void unregisterPackageInstallReceiver(Context context) { in unregisterPackageInstallReceiver()
154 static boolean isPackageInstallNotificationActive(Context context) { in isPackageInstallNotificationActive()
166 static String getAppNameFromPackageName(Context context, String packageName) { in getAppNameFromPackageName()
206 private static NotificationManager getNotificationManager(Context context) { in getNotificationManager()
/frameworks/base/core/java/android/content/
DPermissionChecker.java123 public static int checkPermissionForDataDelivery(@NonNull Context context, in checkPermissionForDataDelivery()
160 public static int checkPermissionForPreflight(@NonNull Context context, in checkPermissionForPreflight()
194 public static int checkSelfPermissionForDataDelivery(@NonNull Context context, in checkSelfPermissionForDataDelivery()
229 public static int checkSelfPermissionForPreflight(@NonNull Context context, in checkSelfPermissionForPreflight()
262 public static int checkCallingPermissionForDataDelivery(@NonNull Context context, in checkCallingPermissionForDataDelivery()
300 public static int checkCallingPermissionForPreflight(@NonNull Context context, in checkCallingPermissionForPreflight()
334 public static int checkCallingOrSelfPermissionForDataDelivery(@NonNull Context context, in checkCallingOrSelfPermissionForDataDelivery()
369 public static int checkCallingOrSelfPermissionForPreflight(@NonNull Context context, in checkCallingOrSelfPermissionForPreflight()
377 private static int checkPermissionCommon(@NonNull Context context, @NonNull String permission, in checkPermissionCommon()
/frameworks/rs/
DrsHidlAdaptation.cpp190 IContext *RsHidlAdaptation::GetIContextHandle(RsContext context) { in GetIContextHandle()
197 sp<IContext> context = mHidl->contextCreate(sdkVersion, (ContextType)ct, flags); in ContextCreate() local
205 void RsHidlAdaptation::ContextDestroy (RsContext context) in ContextDestroy()
214 const void* RsHidlAdaptation::AllocationGetType(RsContext context, RsAllocation allocation) in AllocationGetType()
223 void RsHidlAdaptation::TypeGetNativeData(RsContext context, RsType type, uintptr_t *typedata, uint3… in TypeGetNativeData()
236 void RsHidlAdaptation::ElementGetNativeData(RsContext context, RsElement element, uint32_t *elemDat… in ElementGetNativeData()
248 void RsHidlAdaptation::ElementGetSubElements(RsContext context, RsElement element, uintptr_t *ids, … in ElementGetSubElements()
266 void RsHidlAdaptation::GetName(RsContext context, void * obj, const char **name) { in GetName()
272 RsClosure RsHidlAdaptation::ClosureCreate(RsContext context, RsScriptKernelID kernelID, in ClosureCreate()
314 RsClosure RsHidlAdaptation::InvokeClosureCreate(RsContext context, RsScriptInvokeID invokeID, in InvokeClosureCreate()
[all …]
/frameworks/base/core/java/android/appwidget/
DAppWidgetProvider.java57 public void onReceive(Context context, Intent intent) { in onReceive()
120 public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { in onUpdate()
138 public void onAppWidgetOptionsChanged(Context context, AppWidgetManager appWidgetManager, in onAppWidgetOptionsChanged()
155 public void onDeleted(Context context, int[] appWidgetIds) { in onDeleted()
174 public void onEnabled(Context context) { in onEnabled()
189 public void onDisabled(Context context) { in onDisabled()
209 public void onRestored(Context context, int[] oldWidgetIds, int[] newWidgetIds) { in onRestored()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DTestUtil.java38 Context context, NetworkInfo.DetailedState detailedState) { in sendNetworkStateChanged()
50 Context context, NetworkInfo nwInfo, WifiInfo wifiInfo) { in sendNetworkStateChanged()
61 Context context) { in sendScanResultsAvailable()
70 Context context, int scanAvailable) { in sendWifiScanAvailable()
80 Context context, int wifiState) { in sendWifiStateChanged()
90 Context context, int apState, int previousState, int error, String ifaceName, in sendWifiApStateChanged()
108 Context context, ArrayList<String> available, ArrayList<String> active) { in sendTetherStateChanged()
115 public static void sendIdleModeChanged(BroadcastReceiver broadcastReceiver, Context context) { in sendIdleModeChanged()

12345678910>>...135