/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 | 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 | 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 | 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), 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/core/java/android/app/ |
D | SystemServiceRegistry.java | 36 import android.content.Context; 170 registerService(Context.ACCESSIBILITY_SERVICE, AccessibilityManager.class, in registerService() 177 registerService(Context.CAPTIONING_SERVICE, CaptioningManager.class, in registerService() 184 registerService(Context.ACCOUNT_SERVICE, AccountManager.class, in registerService() 188 IBinder b = ServiceManager.getServiceOrThrow(Context.ACCOUNT_SERVICE); in registerService() 193 registerService(Context.ACTIVITY_SERVICE, ActivityManager.class, in registerService() 200 registerService(Context.ALARM_SERVICE, AlarmManager.class, in registerService() 204 IBinder b = ServiceManager.getServiceOrThrow(Context.ALARM_SERVICE); in registerService() 209 registerService(Context.AUDIO_SERVICE, AudioManager.class, in registerService() 216 registerService(Context.MEDIA_ROUTER_SERVICE, MediaRouter.class, in registerService() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ConnectionRecord.java | 21 import android.content.Context; 68 if ((flags&Context.BIND_AUTO_CREATE) != 0) { in toString() 71 if ((flags&Context.BIND_DEBUG_UNBIND) != 0) { in toString() 74 if ((flags&Context.BIND_NOT_FOREGROUND) != 0) { in toString() 77 if ((flags&Context.BIND_IMPORTANT_BACKGROUND) != 0) { in toString() 80 if ((flags&Context.BIND_ABOVE_CLIENT) != 0) { in toString() 83 if ((flags&Context.BIND_ALLOW_OOM_MANAGEMENT) != 0) { in toString() 86 if ((flags&Context.BIND_WAIVE_PRIORITY) != 0) { in toString() 89 if ((flags&Context.BIND_IMPORTANT) != 0) { in toString() 92 if ((flags&Context.BIND_ADJUST_WITH_ACTIVITY) != 0) { in toString() [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/rs/rsov/driver/ |
D | rsovAllocation.h | 30 class Context; variable 81 extern bool rsovAllocationInit(const android::renderscript::Context *rsc, 85 extern void rsovAllocationDestroy(const android::renderscript::Context *rsc, 88 extern void rsovAllocationData1D(const android::renderscript::Context *rsc, 93 extern void rsovAllocationData2D(const android::renderscript::Context *rsc, 100 extern void rsovAllocationData3D(const android::renderscript::Context *rsc, 107 extern void rsovAllocationRead1D(const android::renderscript::Context *rsc, 112 extern void rsovAllocationRead2D(const android::renderscript::Context *rsc, 119 extern void rsovAllocationRead3D(const android::renderscript::Context *rsc, 127 const android::renderscript::Context *rsc, [all …]
|
/frameworks/base/core/java/android/app/admin/ |
D | DeviceAdminReceiver.java | 28 import android.content.Context; 449 public DevicePolicyManager getManager(Context context) { in getManager() 454 Context.DEVICE_POLICY_SERVICE); 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() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | Prefs.java | 20 import android.content.Context; 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() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothManager.java | 19 import android.content.Context; 34 private final Context mContext; 37 private Context mForegroundActivity; 49 public static synchronized LocalBluetoothManager getInstance(Context context, in getInstance() 57 Context appContext = context.getApplicationContext(); in getInstance() 67 private LocalBluetoothManager(LocalBluetoothAdapter adapter, Context context) { in LocalBluetoothManager() 82 public Context getContext() { in getContext() 86 public Context getForegroundActivity() { in getForegroundActivity() 94 public synchronized void setForegroundActivity(Context context) { in setForegroundActivity() 119 void onBluetoothManagerInitialized(Context appContext, in onBluetoothManagerInitialized()
|
/frameworks/support/core-utils/kitkat/android/support/v4/provider/ |
D | DocumentsContractApi19.java | 20 import android.content.Context; 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() [all …]
|
/frameworks/support/compat/java/android/support/v4/content/ |
D | ContextCompat.java | 19 import android.content.Context; 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() [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/transition/ |
D | LeanbackTransitionHelper.java | 18 import android.content.Context; 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/support/core-ui/java/android/support/v4/widget/ |
D | ResourceCursorAdapter.java | 19 import android.content.Context; 53 public ResourceCursorAdapter(Context context, int layout, Cursor c) { in ResourceCursorAdapter() 56 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter() 81 public ResourceCursorAdapter(Context context, int layout, Cursor c, boolean autoRequery) { in ResourceCursorAdapter() 84 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter() 98 public ResourceCursorAdapter(Context context, int layout, Cursor c, int flags) { in ResourceCursorAdapter() 101 mInflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE); in ResourceCursorAdapter() 111 public View newView(Context context, Cursor cursor, ViewGroup parent) { in newView() 116 public View newDropDownView(Context context, Cursor cursor, ViewGroup parent) { in newDropDownView()
|