/frameworks/rs/ |
D | rsRuntime.h | 30 void rsrAllocationSyncAll(Context *, Script *, Allocation *); 33 void rsrBindTexture(Context *, ProgramFragment *, uint32_t slot, Allocation *); 34 void rsrBindConstant(Context *, ProgramFragment *, uint32_t slot, Allocation *); 35 void rsrBindConstant(Context *, ProgramVertex*, uint32_t slot, Allocation *); 36 void rsrBindSampler(Context *, ProgramFragment *, uint32_t slot, Sampler *); 37 void rsrBindProgramStore(Context *, ProgramStore *); 38 void rsrBindProgramFragment(Context *, ProgramFragment *); 39 void rsrBindProgramVertex(Context *, ProgramVertex *); 40 void rsrBindProgramRaster(Context *, ProgramRaster *); 41 void rsrBindFrameBufferObjectColorTarget(Context *, Allocation *, uint32_t slot); [all …]
|
D | rs_hal.h | 76 class Context; variable 142 int (*initGraphics)(const Context *); 143 void (*shutdownGraphics)(const Context *); 144 bool (*setSurface)(const Context *, uint32_t w, uint32_t h, RsNativeWindow); 145 void (*swap)(const Context *); 147 void (*shutdownDriver)(Context *); 148 void (*setPriority)(const Context *, int32_t priority); 154 bool (*init)(const Context *rsc, ScriptC *s, 160 bool (*initIntrinsic)(const Context *rsc, Script *s, 164 void (*invokeFunction)(const Context *rsc, Script *s, [all …]
|
D | rsContext.cpp | 45 pthread_mutex_t Context::gInitMutex = PTHREAD_MUTEX_INITIALIZER; 46 pthread_mutex_t Context::gMessageMutex = PTHREAD_MUTEX_INITIALIZER; 47 pthread_mutex_t Context::gLibMutex = PTHREAD_MUTEX_INITIALIZER; 49 bool Context::initGLThread() { in initGLThread() 64 void Context::deinitEGL() { in deinitEGL() 70 Context::PushState::PushState(Context *con) { in PushState() 83 Context::PushState::~PushState() { in ~PushState() 96 uint32_t Context::runScript(Script *s) { in runScript() 103 uint32_t Context::runRootScript() { in runRootScript() 115 uint64_t Context::getTime() const { in getTime() [all …]
|
D | rsScriptC_LibGL.cpp | 45 void rsrBindTexture(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindTexture() 51 void rsrBindConstant(Context *rsc, ProgramFragment *pf, uint32_t slot, Allocation *a) { in rsrBindConstant() 57 void rsrBindConstant(Context *rsc, ProgramVertex *pv, uint32_t slot, Allocation *a) { in rsrBindConstant() 63 void rsrBindSampler(Context *rsc, ProgramFragment *pf, uint32_t slot, Sampler *s) { in rsrBindSampler() 69 void rsrBindProgramStore(Context *rsc, ProgramStore *ps) { in rsrBindProgramStore() 74 void rsrBindProgramFragment(Context *rsc, ProgramFragment *pf) { in rsrBindProgramFragment() 79 void rsrBindProgramVertex(Context *rsc, ProgramVertex *pv) { in rsrBindProgramVertex() 84 void rsrBindProgramRaster(Context *rsc, ProgramRaster *pr) { in rsrBindProgramRaster() 89 void rsrBindFrameBufferObjectColorTarget(Context *rsc, Allocation *a, uint32_t slot) { in rsrBindFrameBufferObjectColorTarget() 95 void rsrBindFrameBufferObjectDepthTarget(Context *rsc, Allocation *a) { in rsrBindFrameBufferObjectDepthTarget() [all …]
|
D | rsAllocation.h | 111 static Allocation * createAllocation(Context *rsc, const Type *, uint32_t usages, 114 static Allocation * createAllocationStrided(Context *rsc, const Type *, uint32_t usages, 117 static Allocation * createAdapter(Context *rsc, const Allocation *alloc, const Type *type); 125 void syncAll(Context *rsc, RsAllocationUsageType src); 127 …void copyRange1D(Context *rsc, const Allocation *src, int32_t srcOff, int32_t destOff, int32_t len… 129 void resize1D(Context *rsc, uint32_t dimX); 130 void resize2D(Context *rsc, uint32_t dimX, uint32_t dimY); 132 …void data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t size… 133 … void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t lod, RsAllocationCubemapFace face, 135 void data(Context *rsc, uint32_t xoff, uint32_t yoff, uint32_t zoff, uint32_t lod, [all …]
|
D | rsProgramVertex.h | 30 ProgramVertex(Context *,const char * shaderText, size_t shaderLength, 35 virtual void setup(Context *rsc, ProgramVertexState *state); 37 void setProjectionMatrix(Context *, const rsc_Matrix *) const; 38 void getProjectionMatrix(Context *, rsc_Matrix *) const; 39 void setModelviewMatrix(Context *, const rsc_Matrix *) const; 40 void setTextureMatrix(Context *, const rsc_Matrix *) const; 42 void transformToScreen(Context *, float *v4out, const float *v3in) const; 44 virtual void serialize(Context *rsc, OStream *stream) const; 46 static ProgramVertex *createFromStream(Context *rsc, IStream *stream); 54 void init(Context *rsc); [all …]
|
D | rsFBOCache.h | 33 void init(Context *rsc); 34 void deinit(Context *rsc); 36 void bindColorTarget(Context *rsc, Allocation *a, uint32_t slot); 37 void bindDepthTarget(Context *, Allocation *a); 38 void resetAll(Context *); 40 void setup(Context *); 59 void checkError(Context *); 60 void setColorAttachment(Context *rsc); 61 void setDepthAttachment(Context *rsc);
|
D | rsScriptC.h | 34 explicit ScriptC(Context *); 37 void Invoke(Context *rsc, uint32_t slot, const void *data, size_t len) override; 39 virtual uint32_t run(Context *); 41 void runForEach(Context *rsc, 50 void runReduce(Context *rsc, uint32_t slot, 54 virtual void serialize(Context *rsc, OStream *stream) const { } in serialize() 56 static Type *createFromStream(Context *rsc, IStream *stream) { return nullptr; } in createFromStream() 58 bool runCompiler(Context *rsc, const char *resName, const char *cacheDir, 62 void setupScript(Context *); 63 void setupGLState(Context *);
|
D | rsScriptC_Lib.cpp | 78 time_t rsrTime(Context *rsc, time_t *timer) { in rsrTime() 82 tm* rsrLocalTime(Context *rsc, tm *local, time_t *timer) { in rsrLocalTime() 96 int64_t rsrUptimeMillis(Context *rsc) { in rsrUptimeMillis() 100 int64_t rsrUptimeNanos(Context *rsc) { in rsrUptimeNanos() 104 float rsrGetDt(Context *rsc, const Script *sc) { in rsrGetDt() 114 static void SetObjectRef(const Context *rsc, const ObjectBase *dst, const ObjectBase *src) { in SetObjectRef() 127 void rsrClearObject(const Context *rsc, void *dst) { in rsrClearObject() 151 void rsrClearObject(const Context *rsc, rs_object_base *dst) { in rsrClearObject() 156 void rsrSetObject(const Context *rsc, void *dst, ObjectBase *src) { in rsrSetObject() 170 void rsrSetObject(const Context *rsc, rs_object_base *dst, const ObjectBase *src) { in rsrSetObject() [all …]
|
/frameworks/compile/slang/ |
D | slang_rs_export_foreach.cpp | 55 RSContext *Context, const clang::FunctionDecl *FD) { in validateAndConstructParams() argument 56 slangAssert(Context && FD); in validateAndConstructParams() 61 if (Context->getTargetAPI() < SLANG_JB_TARGET_API) { in validateAndConstructParams() 64 Context->ReportError(FD->getLocation(), in validateAndConstructParams() 77 valid &= validateAndConstructKernelParams(Context, FD); in validateAndConstructParams() 79 valid &= validateAndConstructOldStyleParams(Context, FD); in validateAndConstructParams() 82 valid &= setSignatureMetadata(Context, FD); in validateAndConstructParams() 87 RSContext *Context, const clang::FunctionDecl *FD) { in validateAndConstructOldStyleParams() argument 88 slangAssert(Context && FD); in validateAndConstructOldStyleParams() 95 clang::ASTContext &C = Context->getASTContext(); in validateAndConstructOldStyleParams() [all …]
|
D | slang_rs_export_type.cpp | 183 slang::RSContext *Context, 189 static void ReportTypeError(slang::RSContext *Context, in ReportTypeError() argument 198 Context->ReportError(TopLevelRecord->getLocation(), Message) in ReportTypeError() 201 Context->ReportError(ND->getLocation(), Message) << ND->getName() in ReportTypeError() 211 slang::RSContext *Context, in ConstantArrayTypeExportableHelper() argument 218 ReportTypeError(Context, VD, TopLevelRecord, in ConstantArrayTypeExportableHelper() 228 ReportTypeError(Context, VD, TopLevelRecord, in ConstantArrayTypeExportableHelper() 234 ReportTypeError(Context, VD, TopLevelRecord, in ConstantArrayTypeExportableHelper() 240 if (TypeExportableHelper(ElementType, SPS, Context, VD, in ConstantArrayTypeExportableHelper() 260 slang::RSContext *Context, in TypeExportableHelper() argument [all …]
|
D | slang_rs_export_var.cpp | 29 RSExportVar::RSExportVar(RSContext *Context, in RSExportVar() argument 32 : RSExportable(Context, RSExportable::EX_VAR, VD->getLocation()), in RSExportVar() 45 Initializer->EvaluateAsRValue(mInit, Context->getASTContext()); in RSExportVar() 49 if (Initializer->isNullPointerConstant(Context->getASTContext(), in RSExportVar() 53 if (!Initializer->EvaluateAsRValue(mInit, Context->getASTContext())) { in RSExportVar() 54 Context->ReportError(Initializer->getExprLoc(), in RSExportVar() 64 Context->ReportError(VD->getLocation(), in RSExportVar() 75 Context->getASTContext())) { in RSExportVar() 76 Context->ReportError(IList->getInit(i)->getExprLoc(), in RSExportVar() 85 Context->ReportError( in RSExportVar() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ConnectionRecord.java | 23 import android.content.Context; 53 Context.BIND_AUTO_CREATE, 54 Context.BIND_DEBUG_UNBIND, 55 Context.BIND_NOT_FOREGROUND, 56 Context.BIND_IMPORTANT_BACKGROUND, 57 Context.BIND_ABOVE_CLIENT, 58 Context.BIND_ALLOW_OOM_MANAGEMENT, 59 Context.BIND_WAIVE_PRIORITY, 60 Context.BIND_IMPORTANT, 61 Context.BIND_ADJUST_WITH_ACTIVITY, [all …]
|
/frameworks/base/core/java/android/app/ |
D | SystemServiceRegistry.java | 49 import android.content.Context; 230 registerService(Context.ACCESSIBILITY_SERVICE, AccessibilityManager.class, in registerService() 237 registerService(Context.CAPTIONING_SERVICE, CaptioningManager.class, in registerService() 244 registerService(Context.ACCOUNT_SERVICE, AccountManager.class, in registerService() 248 IBinder b = ServiceManager.getServiceOrThrow(Context.ACCOUNT_SERVICE); in registerService() 253 registerService(Context.ACTIVITY_SERVICE, ActivityManager.class, in registerService() 260 registerService(Context.ACTIVITY_TASK_SERVICE, ActivityTaskManager.class, in registerService() 268 registerService(Context.URI_GRANTS_SERVICE, UriGrantsManager.class, in registerService() 276 registerService(Context.ALARM_SERVICE, AlarmManager.class, in registerService() 280 IBinder b = ServiceManager.getServiceOrThrow(Context.ALARM_SERVICE); in registerService() [all …]
|
/frameworks/rs/driver/ |
D | rsdBcc.h | 23 bool rsdScriptInit(const android::renderscript::Context *, android::renderscript::ScriptC *, 26 bool rsdInitIntrinsic(const android::renderscript::Context *rsc, 31 void rsdScriptInvokeFunction(const android::renderscript::Context *dc, 37 void rsdScriptInvokeForEach(const android::renderscript::Context *rsc, 46 void rsdScriptInvokeReduce(const android::renderscript::Context *rsc, 54 void rsdScriptInvokeForEachMulti(const android::renderscript::Context *rsc, 64 int rsdScriptInvokeRoot(const android::renderscript::Context *dc, 66 void rsdScriptInvokeInit(const android::renderscript::Context *dc, 68 void rsdScriptInvokeFreeChildren(const android::renderscript::Context *dc, 71 void rsdScriptSetGlobalVar(const android::renderscript::Context *, [all …]
|
D | rsdAllocation.h | 80 uint32_t rsdAllocationGrallocBits(const android::renderscript::Context *rsc, 82 bool rsdAllocationInit(const android::renderscript::Context *rsc, 86 bool rsdAllocationInitStrided(const android::renderscript::Context *rsc, 90 bool rsdAllocationAdapterInit(const android::renderscript::Context *rsc, 92 void rsdAllocationDestroy(const android::renderscript::Context *rsc, 95 void rsdAllocationResize(const android::renderscript::Context *rsc, 98 void rsdAllocationSyncAll(const android::renderscript::Context *rsc, 101 void rsdAllocationMarkDirty(const android::renderscript::Context *rsc, 103 void rsdAllocationSetSurface(const android::renderscript::Context *rsc, 105 void rsdAllocationIoSend(const android::renderscript::Context *rsc, [all …]
|
D | rsdGL.h | 74 bool rsdGLSetInternalSurface(const android::renderscript::Context *rsc, 76 int32_t rsdGLInit(const android::renderscript::Context *rsc); 77 void rsdGLShutdown(const android::renderscript::Context *rsc); 78 bool rsdGLSetSurface(const android::renderscript::Context *rsc, 80 void rsdGLSwap(const android::renderscript::Context *rsc); 81 void rsdGLCheckError(const android::renderscript::Context *rsc, 83 void rsdGLSetPriority(const android::renderscript::Context *rsc, 85 void rsdGLClearColor(const android::renderscript::Context *rsc, 87 void rsdGLClearDepth(const android::renderscript::Context *rsc, float v); 88 void rsdGLFinish(const android::renderscript::Context *rsc); [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | FrameworkFacade.java | 24 import android.content.Context; 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() [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminReceiver.java | 30 import android.content.Context; 519 public @NonNull DevicePolicyManager getManager(@NonNull Context context) { in getManager() 524 Context.DEVICE_POLICY_SERVICE); 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() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Prefs.java | 20 import android.content.Context; 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() [all …]
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorContext.java | 21 import android.content.Context; 47 private WeakReference<Context> mActivityContext; 50 public DecorContext(Context context, Context activityContext) { in DecorContext() 63 if (Context.WINDOW_SERVICE.equals(name)) { in getSystemService() 66 (WindowManagerImpl) super.getSystemService(Context.WINDOW_SERVICE); in getSystemService() 71 if (Context.CONTENT_CAPTURE_MANAGER_SERVICE.equals(name)) { in getSystemService() 73 Context activityContext = mActivityContext.get(); in getSystemService() 86 Context activityContext = mActivityContext.get(); in getResources() 103 Context activityContext = mActivityContext.get(); in getAutofillOptions() 112 Context activityContext = mActivityContext.get(); in getContentCaptureOptions()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedLockUtilsInternal.java | 28 import android.content.Context; 61 public static Drawable getRestrictedPadlock(Context context) { in getRestrictedPadlock() 86 public static EnforcedAdmin checkIfRestrictionEnforced(Context context, in checkIfRestrictionEnforced() 89 Context.DEVICE_POLICY_SERVICE); in checkIfRestrictionEnforced() 131 public static boolean hasBaseUserRestriction(Context context, in hasBaseUserRestriction() 133 final UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); in hasBaseUserRestriction() 152 public static EnforcedAdmin checkIfKeyguardFeaturesDisabled(Context context, in checkIfKeyguardFeaturesDisabled() 163 (DevicePolicyManager) context.getSystemService(Context.DEVICE_POLICY_SERVICE); in checkIfKeyguardFeaturesDisabled() 215 public static EnforcedAdmin checkIfUninstallBlocked(Context context, in checkIfUninstallBlocked() 244 public static EnforcedAdmin checkIfApplicationIsSuspended(Context context, String packageName, in checkIfApplicationIsSuspended() [all …]
|
/frameworks/base/tools/aapt2/ |
D | StringPool.h | 55 class Context { 65 Context() = default; 66 Context(uint32_t p, const android::ConfigDescription& c) : priority(p), config(c) {} in Context() function 67 explicit Context(uint32_t p) : priority(p) {} in Context() function 68 explicit Context(const android::ConfigDescription& c) : priority(kNormalPriority), config(c) { in Context() function 87 const Context& GetContext() const; 112 const Context& GetContext() const; 125 Context context; 145 Context context; 169 Ref MakeRef(const android::StringPiece& str, const Context& context); [all …]
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | TelephonyPermissions.java | 24 import android.content.Context; 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() 159 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); 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() 212 AppOpsManager appOps = (AppOpsManager) context.getSystemService(Context.APP_OPS_SERVICE); in checkReadPhoneStateOnAnyActiveSub() 234 public static boolean checkCallingOrSelfReadDeviceIdentifiers(Context context, in checkCallingOrSelfReadDeviceIdentifiers() 258 public static boolean checkCallingOrSelfReadDeviceIdentifiers(Context context, int subId, in checkCallingOrSelfReadDeviceIdentifiers() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ResourceCursorAdapter.java | 19 import android.content.Context; 54 public ResourceCursorAdapter(Context context, int layout, Cursor c) { in ResourceCursorAdapter() 57 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter() 77 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) { in ResourceCursorAdapter() 80 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter() 95 public ResourceCursorAdapter(Context context, int layout, Cursor c, int flags) { in ResourceCursorAdapter() 98 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter() 122 final Context context = new ContextThemeWrapper(mContext, theme); in setDropDownViewTheme() 134 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView() 139 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { in newDropDownView()
|