/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | SystemServicesModule.java | 86 static AccessibilityManager provideAccessibilityManager(Context context) { in provideAccessibilityManager() 92 static ActivityManager provideActivityManager(Context context) { in provideActivityManager() 98 static AlarmManager provideAlarmManager(Context context) { in provideAlarmManager() 104 static AudioManager provideAudioManager(Context context) { in provideAudioManager() 110 static ConnectivityManager provideConnectivityManagager(Context context) { in provideConnectivityManagager() 116 static ContentResolver provideContentResolver(Context context) { in provideContentResolver() 122 static DevicePolicyManager provideDevicePolicyManager(Context context) { in provideDevicePolicyManager() 128 static int provideDisplayId(Context context) { in provideDisplayId() 134 static DisplayManager provideDisplayManager(Context context) { in provideDisplayManager() 192 static KeyguardManager provideKeyguardManager(Context context) { in provideKeyguardManager() [all …]
|
D | DependencyProvider.java | 95 public SharedPreferences provideSharePreferences(Context context) { in provideSharePreferences() 101 public AmbientDisplayConfiguration provideAmbientDisplayConfiguration(Context context) { in provideAmbientDisplayConfiguration() 113 public DisplayMetrics provideDisplayMetrics(Context context, WindowManager windowManager) { in provideDisplayMetrics() 130 public LayoutInflater providerLayoutInflater(Context context) { in providerLayoutInflater() 149 public NightDisplayListener provideNightDisplayListener(Context context, in provideNightDisplayListener() 156 public PluginManager providePluginManager(Context context) { in providePluginManager() 162 public NavigationBarController provideNavigationBarController(Context context, in provideNavigationBarController() 169 public ConfigurationController provideConfigurationController(Context context) { in provideConfigurationController() 176 public AutoHideController provideAutoHideController(Context context, in provideAutoHideController() 191 Context context, in providesBroadcastDispatcher() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | FrameworkFacade.java | 53 private ContentResolver getContentResolver(Context context) { in getContentResolver() 60 private CarrierConfigManager getCarrierConfigManager(Context context) { in getCarrierConfigManager() 68 private ActivityManager getActivityManager(Context context) { in getActivityManager() 90 public boolean setIntegerSetting(Context context, String name, int def) { in setIntegerSetting() 94 public int getIntegerSetting(Context context, String name, int def) { in getIntegerSetting() 98 public long getLongSetting(Context context, String name, long def) { in getLongSetting() 102 public boolean setStringSetting(Context context, String name, String def) { in setStringSetting() 106 public String getStringSetting(Context context, String name) { in getStringSetting() 113 public int getSecureIntegerSetting(Context context, String name, int def) { in getSecureIntegerSetting() 120 public String getSecureStringSetting(Context context, String name) { in getSecureStringSetting() [all …]
|
/frameworks/ml/nn/common/operations/ |
D | Elementwise.cpp | 50 bool execute(IOperationExecutionContext* context, float func(float)) { in execute() 67 bool executeAbs(IOperationExecutionContext* context) { in executeAbs() 88 bool validate(const IOperationValidationContext* context) { in validate() 100 bool validateAbs(const IOperationValidationContext* context) { in validateAbs() 113 bool validateFloor(const IOperationValidationContext* context) { in validateFloor() 134 bool prepare(IOperationExecutionContext* context) { in prepare() 141 bool prepareFloor(IOperationExecutionContext* context) { in prepareFloor() 149 bool executeExp(IOperationExecutionContext* context) { in executeExp() 153 bool executeFloor(IOperationExecutionContext* context) { in executeFloor() 157 bool executeLog(IOperationExecutionContext* context) { in executeLog() [all …]
|
D | Comparisons.cpp | 74 bool executeLessTyped(IOperationExecutionContext* context) { in executeLessTyped() 83 bool executeLessEqualTyped(IOperationExecutionContext* context) { in executeLessEqualTyped() 92 bool executeEqualTyped(IOperationExecutionContext* context) { in executeEqualTyped() 101 bool executeNotEqualTyped(IOperationExecutionContext* context) { in executeNotEqualTyped() 110 bool executeGreaterEqualTyped(IOperationExecutionContext* context) { in executeGreaterEqualTyped() 119 bool executeGreaterTyped(IOperationExecutionContext* context) { in executeGreaterTyped() 129 bool validate(const IOperationValidationContext* context) { in validate() 148 bool prepare(IOperationExecutionContext* context) { in prepare() 156 bool executeLess(IOperationExecutionContext* context) { in executeLess() 175 bool executeLessEqual(IOperationExecutionContext* context) { in executeLessEqual() [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminReceiver.java | 519 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/base/core/java/com/android/internal/view/ |
D | RotationPolicy.java | 58 public static boolean isRotationSupported(Context context) { in isRotationSupported() 75 public static int getRotationLockOrientation(Context context) { in getRotationLockOrientation() 94 public static boolean isRotationLockToggleVisible(Context context) { in isRotationLockToggleVisible() 104 public static boolean isRotationLocked(Context context) { in isRotationLocked() 112 public static void setRotationLock(Context context, final boolean enabled) { in setRotationLock() 120 public static void setRotationLockAtAngle(Context context, final boolean enabled, in setRotationLockAtAngle() 134 public static void setRotationLockForAccessibility(Context context, final boolean enabled) { in setRotationLockForAccessibility() 142 private static boolean areAllRotationsAllowed(Context context) { in areAllRotationsAllowed() 167 public static void registerRotationPolicyListener(Context context, in registerRotationPolicyListener() 176 public static void registerRotationPolicyListener(Context context, in registerRotationPolicyListener() [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | DefaultDialerManager.java | 61 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/packages/SystemUI/src/com/android/systemui/ |
D | Prefs.java | 132 public static boolean getBoolean(Context context, @Key String key, boolean defaultValue) { in getBoolean() 136 public static void putBoolean(Context context, @Key String key, boolean value) { in putBoolean() 140 public static int getInt(Context context, @Key String key, int defaultValue) { in getInt() 144 public static void putInt(Context context, @Key String key, int value) { in putInt() 148 public static long getLong(Context context, @Key String key, long defaultValue) { in getLong() 152 public static void putLong(Context context, @Key String key, long value) { in putLong() 156 public static String getString(Context context, @Key String key, String defaultValue) { in getString() 160 public static void putString(Context context, @Key String key, String value) { in putString() 164 public static void putStringSet(Context context, @Key String key, Set<String> value) { in putStringSet() 169 Context context, @Key String key, Set<String> defaultValue) { in getStringSet() [all …]
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | CarrierActionUtils.java | 60 public static void applyCarrierAction(int actionIdx, Intent intent, Context context) { in applyCarrierAction() 103 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() 143 private static void onDeregisterDefaultNetworkAvail(Intent intent, Context context) { in onDeregisterDefaultNetworkAvail() 151 private static void onDisableRadio(Intent intent, Context context) { in onDisableRadio() 159 private static void onEnableRadio(Intent intent, Context context) { in onEnableRadio() 167 private static void onShowCaptivePortalNotification(Intent intent, Context context) { in onShowCaptivePortalNotification() [all …]
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 91 Context context, int subId, String callingPackage, @Nullable String callingFeatureId, in checkCallingOrSelfReadPhoneState() 99 Context context, int subId, String callingPackage, @Nullable String callingFeatureId, in checkCallingOrSelfReadPhoneStateNoThrow() 131 Context context, int subId, int pid, int uid, String callingPackage, in checkReadPhoneState() 165 public static boolean checkCarrierPrivilegeForSubId(Context context, int subId) { in checkCarrierPrivilegeForSubId() 188 public static boolean checkReadPhoneStateOnAnyActiveSub(Context context, int pid, int uid, in checkReadPhoneStateOnAnyActiveSub() 231 public static boolean checkCallingOrSelfReadDeviceIdentifiers(Context context, in checkCallingOrSelfReadDeviceIdentifiers() 255 public static boolean checkCallingOrSelfReadDeviceIdentifiers(Context context, int subId, in checkCallingOrSelfReadDeviceIdentifiers() 277 public static boolean checkCallingOrSelfReadSubscriberIdentifiers(Context context, int subId, in checkCallingOrSelfReadSubscriberIdentifiers() 302 Context context, int subId, String callingPackage, @Nullable String callingFeatureId, in checkPrivilegedReadPermissionOrCarrierPrivilegePermission() 337 private static boolean reportAccessDeniedToReadIdentifiers(Context context, int subId, int pid, in reportAccessDeniedToReadIdentifiers() [all …]
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorContext.java | 58 final Context context = phoneWindow.getContext(); in setPhoneWindow() local 68 final Context context = mContext.get(); in getSystemService() local 89 Context context = mContext.get(); in getResources() local 106 Context context = mContext.get(); in getAutofillOptions() local 115 Context context = mContext.get(); in getContentCaptureOptions() local 124 Context context = mContext.get(); in isUiContext() local
|
/frameworks/base/core/java/android/service/dreams/ |
D | Sandman.java | 48 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()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | UninstallEventReceiver.java | 36 @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/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/ |
D | ThemableWidget.java | 10 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/services/core/java/com/android/server/am/ |
D | BugReportHandlerUtil.java | 60 static boolean isBugReportHandlerEnabled(Context context) { in isBugReportHandlerEnabled() 77 static boolean launchBugReportHandlerApp(Context context) { in launchBugReportHandlerApp() 145 private static void launchBugReportHandlerApp(Context context, String handlerApp, in launchBugReportHandlerApp() 167 private static String getCustomBugReportHandlerApp(Context context) { in getCustomBugReportHandlerApp() 173 private static int getCustomBugReportHandlerUser(Context context) { in getCustomBugReportHandlerUser() 193 private static List<ResolveInfo> getBugReportHandlerAppReceivers(Context context, in getBugReportHandlerAppReceivers() 204 private static List<ResolveInfo> getBugReportHandlerAppResponseReceivers(Context context, in getBugReportHandlerAppResponseReceivers() 214 private static String getDefaultBugReportHandlerApp(Context context) { in getDefaultBugReportHandlerApp() 219 private static void resetCustomBugreportHandlerAppAndUser(Context context) { in resetCustomBugreportHandlerAppAndUser() 242 public void onReceive(Context context, Intent intent) { in onReceive()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | InstallCarrierAppUtils.java | 52 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/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 61 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 …]
|
D | Utils.java | 75 public static void updateLocationEnabled(Context context, boolean enabled, int userId, in updateLocationEnabled() 118 public static String getUserLabel(Context context, UserInfo info) { in getUserLabel() 137 public static Drawable getUserIcon(Context context, UserManager um, UserInfo user) { in getUserIcon() 190 public static String getBatteryStatus(Context context, Intent batteryChangedIntent) { in getBatteryStatus() 224 public static ColorStateList getColorAccent(Context context) { in getColorAccent() 228 public static ColorStateList getColorError(Context context) { in getColorError() 233 public static int getColorAccentDefaultColor(Context context) { in getColorAccentDefaultColor() 238 public static int getColorErrorDefaultColor(Context context) { in getColorErrorDefaultColor() 243 public static int getColorStateListDefaultColor(Context context, int resId) { in getColorStateListDefaultColor() 257 public static int getDisabled(Context context, int inputColor) { in getDisabled() [all …]
|
/frameworks/base/packages/SettingsLib/SettingsSpinner/src/com/android/settingslib/widget/settingsspinner/ |
D | SettingsSpinner.java | 40 public SettingsSpinner(Context context) { in SettingsSpinner() 59 public SettingsSpinner(Context context, int mode) { in SettingsSpinner() 73 public SettingsSpinner(Context context, AttributeSet attrs) { in SettingsSpinner() 91 public SettingsSpinner(Context context, AttributeSet attrs, int defStyleAttr) { in SettingsSpinner() 120 public SettingsSpinner(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes, in SettingsSpinner()
|
/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() 212 public void onRestored(Context context, int[] oldWidgetIds, int[] newWidgetIds) { in onRestored()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/ui/ |
D | DisplayUtils.java | 31 public static int convertDpToPx(float dp, Context context) { in convertDpToPx() 46 public static int getWidth(Context context) { in getWidth() 66 public static int getHeight(Context context) { in getHeight() 84 public static int getCornerRadiusBottom(Context context) { in getCornerRadiusBottom() 103 public static int getCornerRadiusTop(Context context) { in getCornerRadiusTop() 118 private static int getCornerRadiusDefault(Context context) { in getCornerRadiusDefault()
|
/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/services/core/java/com/android/server/biometrics/ |
D | BiometricUtils.java | 29 List<T> getBiometricsForUser(Context context, int userId); in getBiometricsForUser() 30 void addBiometricForUser(Context context, int userId, T identifier); in addBiometricForUser() 31 void removeBiometricForUser(Context context, int userId, int biometricId); in removeBiometricForUser() 32 void renameBiometricForUser(Context context, int userId, int biometricId, CharSequence name); in renameBiometricForUser() 33 CharSequence getUniqueName(Context context, int userId); in getUniqueName()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtils.java | 90 public Parameters(Context context) { in Parameters() 115 public static synchronized boolean setPowerSaveMode(Context context, in setPowerSaveMode() 167 public static boolean maybeShowBatterySaverConfirmation(Context context, Bundle extras) { in maybeShowBatterySaverConfirmation() 177 private static void showAutoBatterySaverSuggestion(Context context, Bundle extras) { in showAutoBatterySaverSuggestion() 189 private static void setBatterySaverConfirmationAcknowledged(Context context) { in setBatterySaverConfirmationAcknowledged() 197 public static void suppressAutoBatterySaver(Context context) { in suppressAutoBatterySaver() 205 public static void setAutoBatterySaverTriggerLevel(Context context, int level) { in setAutoBatterySaverTriggerLevel() 216 public static void ensureAutoBatterySaver(Context context, int level) { in ensureAutoBatterySaver() 228 public static void revertScheduleToNoneIfNeeded(Context context) { in revertScheduleToNoneIfNeeded()
|