Home
last modified time | relevance | path

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

12345678910>>...98

/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/
DLeanbackTransitionHelper.java33 public Object loadTitleInTransition(Context context); in loadTitleInTransition()
35 public Object loadTitleOutTransition(Context context); in loadTitleOutTransition()
45 public Object loadTitleInTransition(Context context) { in loadTitleInTransition()
50 public Object loadTitleOutTransition(Context context) { in loadTitleOutTransition()
61 public Object loadTitleInTransition(Context context) { in loadTitleInTransition()
66 public Object loadTitleOutTransition(Context context) { in loadTitleOutTransition()
84 static public Object loadTitleInTransition(Context context) { in loadTitleInTransition()
88 static public Object loadTitleOutTransition(Context context) { in loadTitleOutTransition()
/frameworks/support/v4/kitkat/android/support/v4/provider/
DDocumentsContractApi19.java32 public static boolean isDocumentUri(Context context, Uri self) { in isDocumentUri()
36 public static String getName(Context context, Uri self) { in getName()
40 private static String getRawType(Context context, Uri self) { in getRawType()
44 public static String getType(Context context, Uri self) { in getType()
53 public static boolean isDirectory(Context context, Uri self) { in isDirectory()
57 public static boolean isFile(Context context, Uri self) { in isFile()
66 public static long lastModified(Context context, Uri self) { in lastModified()
70 public static long length(Context context, Uri self) { in length()
74 public static boolean canRead(Context context, Uri self) { in canRead()
89 public static boolean canWrite(Context context, Uri self) { in canWrite()
[all …]
/frameworks/support/v4/java/android/support/v4/content/
DContextCompat.java79 public static boolean startActivities(Context context, Intent[] intents) { in startActivities()
110 public static boolean startActivities(Context context, Intent[] intents, in startActivities()
138 public static File getDataDir(Context context) { in getDataDir()
190 public static File[] getObbDirs(Context context) { in getObbDirs()
250 public static File[] getExternalFilesDirs(Context context, String type) { in getExternalFilesDirs()
310 public static File[] getExternalCacheDirs(Context context) { in getExternalCacheDirs()
349 public static final Drawable getDrawable(Context context, int id) { in getDrawable()
386 public static final ColorStateList getColorStateList(Context context, int id) { in getColorStateList()
408 public static final int getColor(Context context, int id) { in getColor()
427 public static int checkSelfPermission(@NonNull Context context, @NonNull String permission) { in checkSelfPermission()
[all …]
/frameworks/base/core/java/com/android/internal/logging/
DMetricsLogger.java34 public static void visible(Context context, int category) throws IllegalArgumentException { in visible()
41 public static void hidden(Context context, int category) throws IllegalArgumentException { in hidden()
48 public static void visibility(Context context, int category, boolean visibile) in visibility()
57 public static void visibility(Context context, int category, int vis) in visibility()
62 public static void action(Context context, int category) { in action()
66 public static void action(Context context, int category, int value) { in action()
70 public static void action(Context context, int category, boolean value) { in action()
74 public static void action(Context context, int category, String pkg) { in action()
82 public static void count(Context context, String name, int value) { in count()
87 public static void histogram(Context context, String name, int bucket) { in histogram()
/frameworks/base/core/java/android/app/admin/
DDeviceAdminReceiver.java373 public DevicePolicyManager getManager(Context context) { in getManager()
387 public ComponentName getWho(Context context) { in getWho()
408 public void onEnabled(Context context, Intent intent) { in onEnabled()
422 public CharSequence onDisableRequested(Context context, Intent intent) { in onDisableRequested()
434 public void onDisabled(Context context, Intent intent) { in onDisabled()
445 public void onPasswordChanged(Context context, Intent intent) { in onPasswordChanged()
456 public void onPasswordFailed(Context context, Intent intent) { in onPasswordFailed()
467 public void onPasswordSucceeded(Context context, Intent intent) { in onPasswordSucceeded()
488 public void onPasswordExpiring(Context context, Intent intent) { in onPasswordExpiring()
513 public void onProfileProvisioningComplete(Context context, Intent intent) { in onProfileProvisioningComplete()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPrefs.java73 public static boolean getBoolean(Context context, @Key String key, boolean defaultValue) { in getBoolean()
77 public static void putBoolean(Context context, @Key String key, boolean value) { in putBoolean()
81 public static int getInt(Context context, @Key String key, int defaultValue) { in getInt()
85 public static void putInt(Context context, @Key String key, int value) { in putInt()
89 public static long getLong(Context context, @Key String key, long defaultValue) { in getLong()
93 public static void putLong(Context context, @Key String key, long value) { in putLong()
97 public static String getString(Context context, @Key String key, String defaultValue) { in getString()
101 public static void putString(Context context, @Key String key, String value) { in putString()
105 public static Map<String, ?> getAll(Context context) { in getAll()
109 public static void remove(Context context, @Key String key) { in remove()
[all …]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DBordeauxManagerService.java55 static private synchronized void bindServices(Context context) { in bindServices()
63 static public synchronized void release(Context context) { in release()
71 static public synchronized IBordeauxService getService(Context context) { in getService()
76 static public synchronized IAggregatorManager getAggregatorManager(Context context) { in getAggregatorManager()
90 static public synchronized IPredictor getPredictor(Context context, String name) { in getPredictor()
104 getRanker(Context context, String name) { in getRanker()
120 getClassifier(Context context, String name) { in getClassifier()
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java57 public static boolean isRotationSupported(Context context) { in isRotationSupported()
74 public static int getRotationLockOrientation(Context context) { in getRotationLockOrientation()
92 public static boolean isRotationLockToggleVisible(Context context) { in isRotationLockToggleVisible()
102 public static boolean isRotationLocked(Context context) { in isRotationLocked()
110 public static void setRotationLock(Context context, final boolean enabled) { in setRotationLock()
124 public static void setRotationLockForAccessibility(Context context, final boolean enabled) { in setRotationLockForAccessibility()
132 private static boolean areAllRotationsAllowed(Context context) { in areAllRotationsAllowed()
157 public static void registerRotationPolicyListener(Context context, in registerRotationPolicyListener()
166 public static void registerRotationPolicyListener(Context context, in registerRotationPolicyListener()
179 public static void unregisterRotationPolicyListener(Context context, in unregisterRotationPolicyListener()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DFrameworkFacade.java56 public boolean setIntegerSetting(Context context, String name, int def) { in setIntegerSetting()
60 public int getIntegerSetting(Context context, String name, int def) { in getIntegerSetting()
64 public long getLongSetting(Context context, String name, long def) { in getLongSetting()
68 public boolean setStringSetting(Context context, String name, String def) { in setStringSetting()
72 public String getStringSetting(Context context, String name) { in getStringSetting()
80 public WifiScanner makeWifiScanner(Context context, Looper looper) { in makeWifiScanner()
85 public PendingIntent getBroadcast(Context context, int requestCode, Intent intent, int flags) { in getBroadcast()
89 public SupplicantStateTracker makeSupplicantStateTracker(Context context, in makeSupplicantStateTracker()
94 public boolean getConfigWiFiDisableInECBM(Context context) { in getConfigWiFiDisableInECBM()
111 public WifiApConfigStore makeApConfigStore(Context context, in makeApConfigStore()
[all …]
/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()
109 private static boolean isScreenSaverEnabled(Context context) { in isScreenSaverEnabled()
117 private static boolean isScreenSaverActivatedOnDock(Context context) { in isScreenSaverActivatedOnDock()
/frameworks/base/telecomm/java/android/telecom/
DDefaultDialerManager.java50 public static boolean setDefaultDialerApplication(Context context, String packageName) { in setDefaultDialerApplication()
64 public static boolean setDefaultDialerApplication(Context context, String packageName, in setDefaultDialerApplication()
100 public static String getDefaultDialerApplication(Context context) { in getDefaultDialerApplication()
117 public static String getDefaultDialerApplication(Context context, int user) { in getDefaultDialerApplication()
154 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()
209 private static List<String> filterByIntent(Context context, List<String> packageNames, in filterByIntent()
231 private static TelecomManager getTelecomManager(Context context) { in getTelecomManager()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtils.java50 public static Drawable getRestrictedPadlock(Context context) { in getRestrictedPadlock()
69 public static EnforcedAdmin checkIfRestrictionEnforced(Context context, in checkIfRestrictionEnforced()
103 public static boolean hasBaseUserRestriction(Context context, in hasBaseUserRestriction()
119 public static EnforcedAdmin checkIfKeyguardFeaturesDisabled(Context context, in checkIfKeyguardFeaturesDisabled()
188 public static EnforcedAdmin checkIfUninstallBlocked(Context context, in checkIfUninstallBlocked()
217 public static EnforcedAdmin checkIfApplicationIsSuspended(Context context, String packageName, in checkIfApplicationIsSuspended()
230 public static EnforcedAdmin checkIfInputMethodDisallowed(Context context, in checkIfInputMethodDisallowed()
265 public static EnforcedAdmin checkIfRemoteContactSearchDisallowed(Context context, int userId) { in checkIfRemoteContactSearchDisallowed()
283 public static EnforcedAdmin checkIfAccessibilityServiceDisallowed(Context context, in checkIfAccessibilityServiceDisallowed()
313 private static int getManagedProfileId(Context context, int userId) { in getManagedProfileId()
[all …]
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouterThemeHelper.java57 public static Context createThemedContext(Context context, int style) { in createThemedContext()
75 public static int getThemeResource(Context context, int attr) { in getThemeResource()
80 public static float getDisabledAlpha(Context context) { in getDisabledAlpha()
86 public static @ControllerColorType int getControllerColor(Context context, int style) { in getControllerColor()
96 public static int getButtonTextColor(Context context) { in getButtonTextColor()
109 Context context, View mainControls, View groupControls, boolean hasGroup) { in setMediaControlsBackgroundColor()
129 Context context, MediaRouteVolumeSlider volumeSlider, View backgroundView) { in setVolumeSliderColor()
140 private static boolean isLightTheme(Context context) { in isLightTheme()
147 private static int getThemeColor(Context context, int style, int attr) { in getThemeColor()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DLocalPreferences.java40 public static boolean getDisplayFileSize(Context context) { in getDisplayFileSize()
44 public static @ViewMode int getViewMode(Context context, RootInfo root, in getViewMode()
49 public static void setDisplayFileSize(Context context, boolean display) { in setDisplayFileSize()
53 public static boolean getShowDeviceRoot(Context context, @ActionType int action) { in getShowDeviceRoot()
58 Context context, @ActionType int action, boolean display) { in setShowDeviceRoot()
62 public static void setViewMode(Context context, RootInfo root, @ViewMode int viewMode) { in setViewMode()
67 private static SharedPreferences getPrefs(Context context) { in getPrefs()
99 static @PermissionStatus int getScopedAccessPermissionStatus(Context context, in getScopedAccessPermissionStatus()
105 static void setScopedAccessPermissionStatus(Context context, String packageName, in setScopedAccessPermissionStatus()
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
DXmlConfigTests.java59 SSLContext context = TestUtils.getSSLContext(source); in testEmptyConfigFile() local
77 SSLContext context = TestUtils.getSSLContext(source); in testEmptyAnchors() local
103 SSLContext context = TestUtils.getSSLContext(source); in testBasicDomainConfig() local
128 SSLContext context = TestUtils.getSSLContext(source); in testBasicPinning() local
143 SSLContext context = TestUtils.getSSLContext(source); in testExpiredPin() local
157 SSLContext context = TestUtils.getSSLContext(source); in testOverridesPins() local
171 SSLContext context = TestUtils.getSSLContext(source); in testBadPin() local
191 SSLContext context = TestUtils.getSSLContext(source); in testMultipleDomains() local
207 SSLContext context = TestUtils.getSSLContext(source); in testMultipleDomainConfigs() local
218 SSLContext context = TestUtils.getSSLContext(source); in testIncludeSubdomains() local
[all …]
DNetworkSecurityConfigTests.java128 SSLContext context = TestUtils.getSSLContext(testSource); in testEmptyConfig() local
138 … SSLContext context = TestUtils.getSSLContext(new TestConfigSource(domainMap, defaultConfig)); in testEmptyPerNetworkSecurityConfig() local
155 SSLContext context in testBadPin() local
173 SSLContext context in testGoodPin() local
192 SSLContext context in testOverridePins() local
204 SSLContext context in testMostSpecificNetworkSecurityConfig() local
216 SSLContext context in testSubdomainIncluded() local
258 SSLContext context in testWithUrlConnection() local
/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/telephony/src/java/com/google/android/mms/util/
DSqliteWrapper.java41 private static boolean isLowMemory(Context context) { in isLowMemory()
59 public static void checkSQLiteException(Context context, SQLiteException e) { in checkSQLiteException()
68 public static Cursor query(Context context, ContentResolver resolver, Uri uri, in query()
79 public static boolean requery(Context context, Cursor cursor) { in requery()
88 public static int update(Context context, ContentResolver resolver, Uri uri, in update()
99 public static int delete(Context context, ContentResolver resolver, Uri uri, in delete()
110 public static Uri insert(Context context, ContentResolver resolver, in insert()
/frameworks/base/core/java/android/widget/
DResourceCursorAdapter.java54 public ResourceCursorAdapter(Context context, int layout, Cursor c) { in ResourceCursorAdapter()
77 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) { in ResourceCursorAdapter()
95 public ResourceCursorAdapter(Context context, int layout, Cursor c, int flags) { in ResourceCursorAdapter()
122 final Context context = new ContextThemeWrapper(mContext, theme); in setDropDownViewTheme() local
134 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView()
139 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { in newDropDownView()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DSimpleImageFilter.java63 public void process(FilterContext context) { in process()
72 updateProgramWithTarget(inputFormat.getTarget(), context); in process() local
84 protected void updateProgramWithTarget(int target, FilterContext context) { in updateProgramWithTarget()
107 protected abstract Program getNativeProgram(FilterContext context); in getNativeProgram()
109 protected abstract Program getShaderProgram(FilterContext context); in getShaderProgram()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
DSurfaceTextureTarget.java132 public void prepare(FilterContext context) { in prepare()
153 public synchronized void open(FilterContext context) { in open()
175 public synchronized void close(FilterContext context) { in close()
185 public synchronized void disconnect(FilterContext context) { in disconnect()
204 public synchronized void process(FilterContext context) { in process()
254 public void fieldPortValueUpdated(String name, FilterContext context) { in fieldPortValueUpdated()
260 public void tearDown(FilterContext context) { in tearDown()
/frameworks/base/core/java/android/inputmethodservice/
DExtractButton.java27 public ExtractButton(Context context) { in ExtractButton()
31 public ExtractButton(Context context, AttributeSet attrs) { in ExtractButton()
35 public ExtractButton(Context context, AttributeSet attrs, int defStyleAttr) { in ExtractButton()
39 public ExtractButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in ExtractButton()
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
DCustomDate.java8 public CustomDate(Context context) { in CustomDate()
13 public CustomDate(Context context, AttributeSet attrs) { in CustomDate()
18 public CustomDate(Context context, AttributeSet attrs, int defStyleAttr) { in CustomDate()
23 public CustomDate(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in CustomDate()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DAlphaOptimizedLinearLayout.java29 public AlphaOptimizedLinearLayout(Context context) { in AlphaOptimizedLinearLayout()
33 public AlphaOptimizedLinearLayout(Context context, AttributeSet attrs) { in AlphaOptimizedLinearLayout()
37 public AlphaOptimizedLinearLayout(Context context, AttributeSet attrs, int defStyleAttr) { in AlphaOptimizedLinearLayout()
41 public AlphaOptimizedLinearLayout(Context context, AttributeSet attrs, int defStyleAttr, in AlphaOptimizedLinearLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DAlphaImageView.java28 public AlphaImageView(Context context) { in AlphaImageView()
32 public AlphaImageView(Context context, AttributeSet attrs) { in AlphaImageView()
36 public AlphaImageView(Context context, AttributeSet attrs, int defStyleAttr) { in AlphaImageView()
40 public AlphaImageView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { in AlphaImageView()

12345678910>>...98