/frameworks/support/compat/java/android/support/v4/content/ |
D | ContextCompat.java | 84 public static boolean startActivities(Context context, Intent[] intents) { in startActivities() 115 public static boolean startActivities(Context context, Intent[] intents, Bundle options) { in startActivities() 141 public static void startActivity(Context context, Intent intent, @Nullable Bundle options) { in startActivity() 164 public static File getDataDir(Context context) { in getDataDir() 216 public static File[] getObbDirs(Context context) { in getObbDirs() 268 public static File[] getExternalFilesDirs(Context context, String type) { in getExternalFilesDirs() 320 public static File[] getExternalCacheDirs(Context context) { in getExternalCacheDirs() 351 public static final Drawable getDrawable(Context context, @DrawableRes int id) { in getDrawable() 387 public static final ColorStateList getColorStateList(Context context, @ColorRes int id) { in getColorStateList() 409 public static final int getColor(Context context, @ColorRes int id) { in getColor() [all …]
|
/frameworks/support/core-utils/kitkat/android/support/v4/provider/ |
D | DocumentsContractApi19.java | 37 public static boolean isDocumentUri(Context context, Uri self) { in isDocumentUri() 41 public static boolean isVirtual(Context context, Uri self) { in isVirtual() 49 public static String getName(Context context, Uri self) { in getName() 53 private static String getRawType(Context context, Uri self) { in getRawType() 57 public static String getType(Context context, Uri self) { in getType() 66 public static long getFlags(Context context, Uri self) { in getFlags() 70 public static boolean isDirectory(Context context, Uri self) { in isDirectory() 74 public static boolean isFile(Context context, Uri self) { in isFile() 83 public static long lastModified(Context context, Uri self) { in lastModified() 87 public static long length(Context context, Uri self) { in length() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/ |
D | LeanbackTransitionHelper.java | 31 Object loadTitleInTransition(Context context); in loadTitleInTransition() 32 Object loadTitleOutTransition(Context context); in loadTitleOutTransition() 42 public Object loadTitleInTransition(Context context) { in loadTitleInTransition() 47 public Object loadTitleOutTransition(Context context) { in loadTitleOutTransition() 58 public Object loadTitleInTransition(Context context) { in loadTitleInTransition() 63 public Object loadTitleOutTransition(Context context) { in loadTitleOutTransition() 81 static public Object loadTitleInTransition(Context context) { in loadTitleInTransition() 85 static public Object loadTitleOutTransition(Context context) { in loadTitleOutTransition()
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminReceiver.java | 449 public DevicePolicyManager getManager(Context context) { in getManager() 463 public ComponentName getWho(Context context) { in getWho() 484 public void onEnabled(Context context, Intent intent) { in onEnabled() 498 public CharSequence onDisableRequested(Context context, Intent intent) { in onDisableRequested() 510 public void onDisabled(Context context, Intent intent) { in onDisabled() 525 public void onPasswordChanged(Context context, Intent intent) { in onPasswordChanged() 539 public void onPasswordChanged(Context context, Intent intent, UserHandle user) { in onPasswordChanged() 555 public void onPasswordFailed(Context context, Intent intent) { in onPasswordFailed() 569 public void onPasswordFailed(Context context, Intent intent, UserHandle user) { in onPasswordFailed() 585 public void onPasswordSucceeded(Context context, Intent intent) { in onPasswordSucceeded() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Prefs.java | 73 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 …]
|
D | SystemUIFactory.java | 55 public static void createFromConfig(Context context) { in createFromConfig() 73 public StatusBarKeyguardViewManager createStatusBarKeyguardViewManager(Context context, in createStatusBarKeyguardViewManager() 78 public KeyguardBouncer createKeyguardBouncer(Context context, ViewMediatorCallback callback, in createKeyguardBouncer() 91 public NotificationIconAreaController createNotificationIconAreaController(Context context, in createNotificationIconAreaController() 96 public KeyguardIndicationController createKeyguardIndicationController(Context context, in createKeyguardIndicationController() 101 public QSTileHost createQSTileHost(Context context, StatusBar statusBar, in createQSTileHost() 111 Context context) { } in injectDependencies()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | RotationPolicy.java | 57 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/ml/bordeaux/service/src/android/bordeaux/services/ |
D | BordeauxManagerService.java | 55 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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | FrameworkFacade.java | 46 public boolean setIntegerSetting(Context context, String name, int def) { in setIntegerSetting() 50 public int getIntegerSetting(Context context, String name, int def) { in getIntegerSetting() 54 public long getLongSetting(Context context, String name, long def) { in getLongSetting() 58 public boolean setStringSetting(Context context, String name, String def) { in setStringSetting() 62 public String getStringSetting(Context context, String name) { in getStringSetting() 75 public void registerContentObserver(Context context, Uri uri, in registerContentObserver() 93 public PendingIntent getBroadcast(Context context, int requestCode, Intent intent, int flags) { in getBroadcast() 97 public SupplicantStateTracker makeSupplicantStateTracker(Context context, in makeSupplicantStateTracker() 102 public boolean getConfigWiFiDisableInECBM(Context context) { in getConfigWiFiDisableInECBM() 119 public WifiApConfigStore makeApConfigStore(Context context, in makeApConfigStore() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawer/ |
D | CategoryManager.java | 55 public static CategoryManager get(Context context) { in get() 59 public static CategoryManager get(Context context, String action) { in get() 66 CategoryManager(Context context, String action) { in CategoryManager() 74 public synchronized DashboardCategory getTilesByCategory(Context context, String categoryKey) { in getTilesByCategory() 78 public synchronized DashboardCategory getTilesByCategory(Context context, String categoryKey, in getTilesByCategory() 85 public synchronized List<DashboardCategory> getCategories(Context context) { in getCategories() 89 public synchronized List<DashboardCategory> getCategories(Context context, String settingPkg) { in getCategories() 94 public synchronized void reloadAllCategories(Context context, String settingPkg) { in reloadAllCategories() 116 private synchronized void tryInitCategories(Context context, String settingPkg) { in tryInitCategories() 122 private synchronized void tryInitCategories(Context context, boolean forceClearCache, in tryInitCategories() [all …]
|
/frameworks/support/v7/mediarouter/src/android/support/v7/app/ |
D | MediaRouterThemeHelper.java | 57 public static Context createThemedContext(Context context, int style) { in createThemedContext() 82 public static int getThemeResource(Context context, int attr) { in getThemeResource() 87 public static float getDisabledAlpha(Context context) { in getDisabledAlpha() 93 public static @ControllerColorType int getControllerColor(Context context, int style) { in getControllerColor() 103 public static int getButtonTextColor(Context context) { in getButtonTextColor() 116 Context context, View mainControls, View groupControls, boolean hasGroup) { in setMediaControlsBackgroundColor() 136 Context context, MediaRouteVolumeSlider volumeSlider, View backgroundView) { in setVolumeSliderColor() 148 public static int getAlertDialogResolvedTheme(Context context, int themeResId) { in getAlertDialogResolvedTheme() 159 private static boolean isLightTheme(Context context) { in isLightTheme() 166 private static int getThemeColor(Context context, int style, int attr) { in getThemeColor()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | DefaultDialerManager.java | 50 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/core/java/android/service/dreams/ |
D | Sandman.java | 54 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/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtils.java | 57 public static Drawable getRestrictedPadlock(Context context) { in getRestrictedPadlock() 76 public static EnforcedAdmin checkIfRestrictionEnforced(Context context, in checkIfRestrictionEnforced() 121 public static boolean hasBaseUserRestriction(Context context, in hasBaseUserRestriction() 142 public static EnforcedAdmin checkIfKeyguardFeaturesDisabled(Context context, in checkIfKeyguardFeaturesDisabled() 192 public static EnforcedAdmin checkIfUninstallBlocked(Context context, in checkIfUninstallBlocked() 221 public static EnforcedAdmin checkIfApplicationIsSuspended(Context context, String packageName, in checkIfApplicationIsSuspended() 234 public static EnforcedAdmin checkIfInputMethodDisallowed(Context context, in checkIfInputMethodDisallowed() 269 public static EnforcedAdmin checkIfRemoteContactSearchDisallowed(Context context, int userId) { in checkIfRemoteContactSearchDisallowed() 287 public static EnforcedAdmin checkIfAccessibilityServiceDisallowed(Context context, in checkIfAccessibilityServiceDisallowed() 317 private static int getManagedProfileId(Context context, int userId) { in getManagedProfileId() [all …]
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | XmlConfigTests.java | 59 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 …]
|
/frameworks/rs/ |
D | rsHidlAdaptation.cpp | 190 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/ |
D | AppWidgetProvider.java | 57 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/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CarrierActionUtils.java | 53 public static void applyCarrierAction(int actionIdx, Intent intent, Context context) { in applyCarrierAction() 81 private static void onDisableAllMeteredApns(Intent intent, Context context) { in onDisableAllMeteredApns() 89 private static void onEnableAllMeteredApns(Intent intent, Context context) { in onEnableAllMeteredApns() 97 private static void onDisableRadio(Intent intent, Context context) { in onDisableRadio() 105 private static void onEnableRadio(Intent intent, Context context) { in onEnableRadio() 113 private static void onShowCaptivePortalNotification(Intent intent, Context context) { in onShowCaptivePortalNotification() 131 private static void onShowNoDataServiceNotification(Context context) { in onShowNoDataServiceNotification() 143 private static void onCancelAllNotifications(Context context) { in onCancelAllNotifications() 148 private static Notification getNotification(Context context, int titleId, int textId, in getNotification() 182 static void createNotificationChannels(Context context) { in createNotificationChannels()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/ |
D | AccessibilityUtils.java | 49 public static Set<ComponentName> getEnabledServicesFromSettings(Context context) { in getEnabledServicesFromSettings() 57 public static Set<ComponentName> getEnabledServicesFromSettings(Context context, int userId) { in getEnabledServicesFromSettings() 84 public static CharSequence getTextForLocale(Context context, Locale locale, int resId) { in getTextForLocale() 95 public static void setAccessibilityServiceState(Context context, ComponentName toggledService, in setAccessibilityServiceState() 103 public static void setAccessibilityServiceState(Context context, ComponentName toggledService, in setAccessibilityServiceState() 162 Context context, int userId) { in getShortcutTargetServiceComponentNameString() 180 public static boolean isShortcutEnabled(Context context, int userId) { in isShortcutEnabled() 185 private static Set<ComponentName> getInstalledServices(Context context) { in getInstalledServices()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AppCompatDrawableManager.java | 69 Drawable createFromXmlInner(@NonNull Context context, @NonNull XmlPullParser parser, in createFromXmlInner() 187 public Drawable getDrawable(@NonNull Context context, @DrawableRes int resId) { in getDrawable() 191 Drawable getDrawable(@NonNull Context context, @DrawableRes int resId, in getDrawable() 214 public void onConfigurationChanged(@NonNull Context context) { in onConfigurationChanged() 228 private Drawable createDrawableIfNeeded(@NonNull Context context, in createDrawableIfNeeded() 260 private Drawable tintDrawable(@NonNull Context context, @DrawableRes int resId, in tintDrawable() 306 private Drawable loadDrawableFromDelegates(@NonNull Context context, @DrawableRes int resId) { in loadDrawableFromDelegates() 391 private Drawable getCachedDrawable(@NonNull final Context context, final long key) { in getCachedDrawable() 414 private boolean addDrawableToCache(@NonNull final Context context, final long key, in addDrawableToCache() 431 Drawable onDrawableLoadedFromResources(@NonNull Context context, in onDrawableLoadedFromResources() [all …]
|
/frameworks/opt/telephony/src/java/com/google/android/mms/util/ |
D | SqliteWrapper.java | 41 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/services/core/java/com/android/server/webkit/ |
D | SystemInterface.java | 41 public String getUserChosenWebViewProvider(Context context); in getUserChosenWebViewProvider() 42 public void updateUserSetting(Context context, String newProviderName); in updateUserSetting() 48 public void uninstallAndDisablePackageForAllUsers(Context context, String packageName); in uninstallAndDisablePackageForAllUsers() 49 public void enablePackageForAllUsers(Context context, String packageName, boolean enable); in enablePackageForAllUsers() 61 public List<UserPackage> getPackageInfoForProviderAllUsers(Context context, in getPackageInfoForProviderAllUsers() 64 public int getMultiProcessSetting(Context context); in getMultiProcessSetting() 65 public void setMultiProcessSetting(Context context, int value); in setMultiProcessSetting()
|
/frameworks/support/samples/SupportEmojiDemos/src/com/example/android/support/text/emoji/ |
D | ConfigLayout.java | 37 public ConfigLayout(Context context) { in ConfigLayout() 42 public ConfigLayout(Context context, AttributeSet attrs) { in ConfigLayout() 48 public ConfigLayout(Context context, AttributeSet attrs, in ConfigLayout() 55 public ConfigLayout(Context context, AttributeSet attrs, in ConfigLayout() 61 private void init(Context context) { in init()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | VoicemailNotificationSettingsUtil.java | 47 public static void setVibrationEnabled(Context context, boolean isEnabled) { in setVibrationEnabled() 54 public static boolean isVibrationEnabled(Context context) { in isVibrationEnabled() 60 public static boolean getVibrationPreference(Context context) { in getVibrationPreference() 66 public static void setRingtoneUri(Context context, Uri ringtoneUri) { in setRingtoneUri() 75 public static Uri getRingtoneUri(Context context) { in getRingtoneUri() 81 public static Uri getRingTonePreference(Context context) { in getRingTonePreference() 97 Context context, SharedPreferences prefs) { in migrateVoicemailVibrationSettingsIfNeeded() 136 Context context, SharedPreferences prefs) { in migrateVoicemailRingtoneSettingsIfNeeded()
|
/frameworks/base/core/java/android/widget/ |
D | ResourceCursorAdapter.java | 54 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()
|