/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/opt/net/wifi/service/java/com/android/server/wifi/ |
D | FrameworkFacade.java | 58 public boolean setIntegerSetting(Context context, String name, int def) { in setIntegerSetting() 62 public int getIntegerSetting(Context context, String name, int def) { in getIntegerSetting() 66 public long getLongSetting(Context context, String name, long def) { in getLongSetting() 70 public boolean setStringSetting(Context context, String name, String def) { in setStringSetting() 74 public String getStringSetting(Context context, String name) { in getStringSetting() 81 public int getSecureIntegerSetting(Context context, String name, int def) { in getSecureIntegerSetting() 88 public String getSecureStringSetting(Context context, String name) { in getSecureStringSetting() 95 public boolean isNiapModeOn(Context context) { in isNiapModeOn() 108 public void registerContentObserver(Context context, Uri uri, in registerContentObserver() 121 public void unregisterContentObserver(Context context, ContentObserver contentObserver) { in unregisterContentObserver() [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() 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/ |
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/packages/SystemUI/src/com/android/systemui/ |
D | Prefs.java | 108 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 …]
|
D | SystemUIFactory.java | 72 public static void createFromConfig(Context context) { in createFromConfig() 91 private void init(Context context) { in init() 99 protected SystemUIRootComponent buildSystemUIRootComponent(Context context) { in buildSystemUIRootComponent() 110 public StatusBarKeyguardViewManager createStatusBarKeyguardViewManager(Context context, in createStatusBarKeyguardViewManager() 120 createScreenshotNotificationSmartActionsProvider(Context context, in createScreenshotNotificationSmartActionsProvider() 126 public KeyguardBouncer createKeyguardBouncer(Context context, ViewMediatorCallback callback, in createKeyguardBouncer() 147 public NotificationIconAreaController createNotificationIconAreaController(Context context, in createNotificationIconAreaController() 157 public KeyguardIndicationController createKeyguardIndicationController(Context context, in createKeyguardIndicationController() 162 public VolumeDialogComponent createVolumeDialogComponent(SystemUI systemUi, Context context) { in createVolumeDialogComponent() 170 public ContextHolder(Context context) { in ContextHolder()
|
D | DependencyProvider.java | 111 public LocalBluetoothManager provideLocalBluetoothController(Context context, in provideLocalBluetoothController() 154 public SensorPrivacyManager provideSensorPrivacyManager(Context context) { in provideSensorPrivacyManager() 167 public NightDisplayListener provideNightDisplayListener(Context context, in provideNightDisplayListener() 174 public PluginManager providePluginManager(Context context) { in providePluginManager() 180 public NavigationBarController provideNavigationBarController(Context context, in provideNavigationBarController() 187 public ConfigurationController provideConfigurationController(Context context) { in provideConfigurationController() 193 public AutoHideController provideAutoHideController(Context context, in provideAutoHideController()
|
/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/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 93 Context context, int subId, String callingPackage, @Nullable String callingFeatureId, in checkCallingOrSelfReadPhoneState() 101 Context context, int subId, String callingPackage, @Nullable String callingFeatureId, in checkCallingOrSelfReadPhoneStateNoThrow() 134 Context context, int subId, int pid, int uid, String callingPackage, in checkReadPhoneState() 168 public static boolean checkCarrierPrivilegeForSubId(Context context, int subId) { in checkCarrierPrivilegeForSubId() 191 public static boolean checkReadPhoneStateOnAnyActiveSub(Context context, int pid, int uid, in checkReadPhoneStateOnAnyActiveSub() 234 public static boolean checkCallingOrSelfReadDeviceIdentifiers(Context context, in checkCallingOrSelfReadDeviceIdentifiers() 258 public static boolean checkCallingOrSelfReadDeviceIdentifiers(Context context, int subId, in checkCallingOrSelfReadDeviceIdentifiers() 280 public static boolean checkCallingOrSelfReadSubscriberIdentifiers(Context context, int subId, in checkCallingOrSelfReadSubscriberIdentifiers() 305 Context context, int subId, String callingPackage, @Nullable String callingFeatureId, in checkPrivilegedReadPermissionOrCarrierPrivilegePermission() 367 private static boolean reportAccessDeniedToReadIdentifiers(Context context, int subId, int pid, in reportAccessDeniedToReadIdentifiers() [all …]
|
/frameworks/base/core/java/android/view/textclassifier/intent/ |
D | LegacyClassificationIntentFactory.java | 58 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/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() 110 private static boolean isScreenSaverEnabled(Context context) { in isScreenSaverEnabled() 118 private static boolean isScreenSaverActivatedOnDock(Context context) { in isScreenSaverActivatedOnDock()
|
/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 …]
|
/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/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/base/core/java/android/content/ |
D | PermissionChecker.java | 123 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/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | InstallCarrierAppUtils.java | 52 static void showNotification(Context context, String pkgName) { in showNotification() 92 static void hideAllNotifications(Context context) { in hideAllNotifications() 107 static void hideNotification(Context context, String pkgName) { in hideNotification() 120 static void showNotificationIfNotInstalledDelayed(Context context, in showNotificationIfNotInstalledDelayed() 134 static void registerPackageInstallReceiver(Context context) { in registerPackageInstallReceiver() 144 static void unregisterPackageInstallReceiver(Context context) { in unregisterPackageInstallReceiver() 153 static boolean isPackageInstallNotificationActive(Context context) { in isPackageInstallNotificationActive() 165 static String getAppNameFromPackageName(Context context, String packageName) { in getAppNameFromPackageName() 205 private static NotificationManager getNotificationManager(Context context) { in getNotificationManager()
|
/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() 209 public void onRestored(Context context, int[] oldWidgetIds, int[] newWidgetIds) { in onRestored()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | TestUtil.java | 38 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()
|
/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/tests/ActivityManagerPerfTests/tests/src/com/android/frameworks/perftests/am/util/ |
D | TargetPackageUtils.java | 54 public static void killTargetPackage(Context context, ServiceConnection serviceConnection) { in killTargetPackage() 69 public static ServiceConnection startTargetPackage(Context context) { in startTargetPackage() 89 private static boolean targetPackageIsRunning(Context context) { in targetPackageIsRunning() 96 private static int getTestAppUid(Context context) { in getTestAppUid() 108 public static ServiceConnection bindAndWaitForConnectedService(Context context, Intent intent) { in bindAndWaitForConnectedService() 112 public static ServiceConnection bindAndWaitForConnectedService(Context context, Intent intent, in bindAndWaitForConnectedService() 142 public static void unbindFromService(Context context, ServiceConnection serviceConnection) { in unbindFromService()
|
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/ |
D | PartnerConfigHelper.java | 55 public static PartnerConfigHelper get(@NonNull Context context) { in get() 75 public int getColor(@NonNull Context context, PartnerConfig partnerConfig) { in getColor() 111 public Drawable getDrawable(@NonNull Context context, PartnerConfig partnerConfig) { in getDrawable() 154 public String getString(@NonNull Context context, PartnerConfig partnerConfig) { in getString() 186 public float getDimension(@NonNull Context context, PartnerConfig resourceConfig) { in getDimension() 199 public float getDimension( in getDimension() 235 public boolean getBoolean( in getBoolean() 262 private void getPartnerConfigBundle(Context context) { in getPartnerConfigBundle() 283 private Resources getResourcesByPackageName(Context context, String packageName) in getResourcesByPackageName() 296 private PartnerConfigHelper(Context context) { in PartnerConfigHelper()
|