Searched refs:fn (Results 1 - 25 of 31) sorted by relevance

12

/frameworks/opt/net/wifi/service/lib/
H A Dwifi_hal.cpp4 wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn) { argument
/frameworks/base/data/sounds/
H A DAudioPackage12.mk18 PRODUCT_COPY_FILES += $(foreach fn,$(ALARM_FILES),\
19 $(LOCAL_PATH)/alarms/ogg/$(fn).ogg:system/media/audio/alarms/$(fn).ogg)
21 PRODUCT_COPY_FILES += $(foreach fn,$(NOTIFICATION_FILES),\
22 $(LOCAL_PATH)/notifications/ogg/$(fn).ogg:system/media/audio/notifications/$(fn).ogg)
24 PRODUCT_COPY_FILES += $(foreach fn,$(RINGTONE_FILES),\
25 $(LOCAL_PATH)/ringtones/ogg/$(fn).ogg:system/media/audio/ringtones/$(fn).ogg)
27 PRODUCT_COPY_FILES += $(foreach fn,
[all...]
H A DAudioPackage12_48.mk19 PRODUCT_COPY_FILES += $(foreach fn,$(ALARM_FILES),\
20 $(LOCAL_PATH)/alarms/ogg/$(fn).ogg:system/media/audio/alarms/$(fn).ogg)
22 PRODUCT_COPY_FILES += $(foreach fn,$(NOTIFICATION_FILES),\
23 $(LOCAL_PATH)/notifications/ogg/$(fn)_48k.ogg:system/media/audio/notifications/$(fn).ogg)
25 PRODUCT_COPY_FILES += $(foreach fn,$(RINGTONE_FILES),\
26 $(LOCAL_PATH)/ringtones/ogg/$(fn)_48k.ogg:system/media/audio/ringtones/$(fn).ogg)
28 PRODUCT_COPY_FILES += $(foreach fn,
[all...]
H A DAudioPackage13.mk19 PRODUCT_COPY_FILES += $(foreach fn,$(ALARM_FILES),\
20 $(LOCAL_PATH)/alarms/material/ogg/$(fn).ogg:system/media/audio/alarms/$(fn).ogg)
22 PRODUCT_COPY_FILES += $(foreach fn,$(NOTIFICATION_FILES),\
23 $(LOCAL_PATH)/notifications/material/ogg/$(fn).ogg:system/media/audio/notifications/$(fn).ogg)
25 PRODUCT_COPY_FILES += $(foreach fn,$(RINGTONE_FILES),\
26 $(LOCAL_PATH)/ringtones/material/ogg/$(fn).ogg:system/media/audio/ringtones/$(fn).ogg)
28 PRODUCT_COPY_FILES += $(foreach fn,
[all...]
H A DAudioPackage13_48.mk19 PRODUCT_COPY_FILES += $(foreach fn,$(ALARM_FILES),\
20 $(LOCAL_PATH)/alarms/material/ogg/$(fn)_48k.ogg:system/media/audio/alarms/$(fn).ogg)
22 PRODUCT_COPY_FILES += $(foreach fn,$(NOTIFICATION_FILES),\
23 $(LOCAL_PATH)/notifications/material/ogg/$(fn)_48k.ogg:system/media/audio/notifications/$(fn).ogg)
25 PRODUCT_COPY_FILES += $(foreach fn,$(RINGTONE_FILES),\
26 $(LOCAL_PATH)/ringtones/material/ogg/$(fn)_48k.ogg:system/media/audio/ringtones/$(fn).ogg)
28 PRODUCT_COPY_FILES += $(foreach fn,
[all...]
/frameworks/rs/
H A DrsDriverLoader.cpp59 static bool LoadHalTable(Context *rsc, HalQueryHal fn, bool loadGraphics) { argument
62 ret &= fn(RS_HAL_CORE_SHUTDOWN, (void **)&rsc->mHal.funcs.shutdownDriver);
63 ret &= fn(RS_HAL_CORE_SET_PRIORITY, (void **)&rsc->mHal.funcs.setPriority);
64 ret &= fn(RS_HAL_CORE_ALLOC_RUNTIME_MEM, (void **)&rsc->mHal.funcs.allocRuntimeMem);
65 ret &= fn(RS_HAL_CORE_FREE_RUNTIME_MEM, (void **)&rsc->mHal.funcs.freeRuntimeMem);
66 ret &= fn(RS_HAL_CORE_FINISH, (void **)&rsc->mHal.funcs.finish);
68 ret &= fn(RS_HAL_SCRIPT_INIT, (void **)&rsc->mHal.funcs.script.init);
69 ret &= fn(RS_HAL_SCRIPT_INIT_INTRINSIC, (void **)&rsc->mHal.funcs.script.initIntrinsic);
70 ret &= fn(RS_HAL_SCRIPT_INVOKE_FUNCTION, (void **)&rsc->mHal.funcs.script.invokeFunction);
71 ret &= fn(RS_HAL_SCRIPT_INVOKE_ROO
[all...]
/frameworks/minikin/app/
H A DHyphTool.cpp12 Hyphenator* loadHybFile(const char* fn) { argument
14 int status = stat(fn, &statbuf);
16 fprintf(stderr, "error opening %s\n", fn);
20 FILE* f = fopen(fn, "rb");
22 fprintf(stderr, "error opening %s\n", fn);
28 fprintf(stderr, "error reading %s\n", fn);
/frameworks/minikin/sample/
H A Dexample.cpp53 const char *fn = fns[i]; local
54 printf("adding %s\n", fn);
55 error = FT_New_Face(library, fn, 0, &face);
57 printf("error loading %s, %d\n", fn, error);
66 const char *fn = "/system/fonts/DroidSansDevanagari-Regular.ttf"; local
67 error = FT_New_Face(library, fn, 0, &face);
H A Dexample_skia.cpp59 const char *fn = fns[i]; local
60 SkTypeface *skFace = SkTypeface::CreateFromFile(fn);
68 const char *fn = "/system/fonts/DroidSansDevanagari-Regular.ttf"; local
69 SkTypeface *skFace = SkTypeface::CreateFromFile(fn);
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp111 const char* fn = NULL; local
115 fn = argv[0];
116 fd = open(fn, O_WRONLY | O_CREAT | O_TRUNC, 0664);
118 fprintf(stderr, "Error opening file: %s (%s)\n", fn, strerror(errno));
121 const int len = strlen(fn);
122 if (len >= 4 && 0 == strcmp(fn+len-4, ".png")) {
185 if (fn != NULL) {
186 notifyMediaScanner(fn);
/frameworks/minikin/tests/
H A DICUTestBase.h32 const char* fn = "/system/usr/icu/" U_ICUDATA_NAME ".dat"; variable
33 int fd = open(fn, O_RDONLY);
/frameworks/compile/libbcc/include/bcc/Renderscript/
H A DRSScript.h96 void setLinkRuntimeCallback(RSLinkRuntimeCallback fn){ argument
97 mLinkRuntimeCallback = fn;
/frameworks/native/opengl/libs/EGL/
H A DgetProcAddress.cpp86 register void** fn; \
88 "mov %%gs:0, %[fn]\n" \
89 "mov %P[tls](%[fn]), %[fn]\n" \
90 "test %[fn], %[fn]\n" \
91 "cmovne %P[api](%[fn]), %[fn]\n" \
92 "test %[fn], %[fn]\
[all...]
/frameworks/native/opengl/libs/GLES2/
H A Dgl2.cpp88 register void** fn; \
90 "mov %%gs:0, %[fn]\n" \
91 "mov %P[tls](%[fn]), %[fn]\n" \
92 "test %[fn], %[fn]\n" \
94 "jmp *%P[api](%[fn])\n" \
96 : [fn] "=r" (fn) \
107 register void** fn; \
[all...]
/frameworks/native/opengl/libs/GLES_CM/
H A Dgl.cpp144 register void* fn; \
146 "mov %%gs:0, %[fn]\n" \
147 "mov %P[tls](%[fn]), %[fn]\n" \
148 "test %[fn], %[fn]\n" \
150 "jmp *%P[api](%[fn])\n" \
152 : [fn] "=r" (fn) \
163 register void** fn; \
[all...]
/frameworks/rs/driver/runtime/
H A Drs_cl.c1577 #define THUNK_NATIVE_F(fn) \
1578 float __attribute__((overloadable)) native_##fn(float v) { return fn(v);} \
1579 float2 __attribute__((overloadable)) native_##fn(float2 v) { return fn(v);} \
1580 float3 __attribute__((overloadable)) native_##fn(float3 v) { return fn(v);} \
1581 float4 __attribute__((overloadable)) native_##fn(float4 v) { return fn(v);}
1583 #define THUNK_NATIVE_F_F(fn) \
[all...]
/frameworks/base/libs/hwui/hwui/
H A DTypeface.cpp65 const char *fn = fns[i]; local
66 ALOGD("makeFontCollection adding %s", fn);
67 SkTypeface *skFace = SkTypeface::CreateFromFile(fn);
76 ALOGE("failed to create font %s", fn);
/frameworks/opt/net/wifi/tests/wifitests/jni/
H A Dwifi_nan_hal_mock.cpp549 int init_wifi_nan_hal_func_table_mock(wifi_hal_fn *fn) { argument
550 if (fn == NULL) {
554 fn->wifi_nan_enable_request = wifi_nan_enable_request_mock;
555 fn->wifi_nan_disable_request = wifi_nan_disable_request_mock;
556 fn->wifi_nan_publish_request = wifi_nan_publish_request_mock;
557 fn->wifi_nan_publish_cancel_request =
559 fn->wifi_nan_subscribe_request = wifi_nan_subscribe_request_mock;
560 fn->wifi_nan_subscribe_cancel_request =
562 fn->wifi_nan_transmit_followup_request =
564 fn
[all...]
H A Dwifi_hal_mock.cpp173 int init_wifi_hal_func_table_mock(wifi_hal_fn *fn) { argument
174 if (fn == NULL) {
/frameworks/base/core/tests/coretests/src/android/os/
H A DBinderThreadPriorityTest.java98 String fn = "/proc/" + Process.myPid() + "/task/" + Process.myTid() + "/cgroup";
100 String cgroup = FileUtils.readTextFile(new File(fn), 1024, null);
106 Log.e(TAG, "Can't read: " + fn, e);
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DToastTest.java57 private static String readFile(String fn) { argument
63 f = new FileReader(fn);
/frameworks/minikin/tools/
H A Dmk_hyb_file.py270 def load(fn):
272 with io.open(fn, encoding='UTF-8') as f:
280 def load_chr(fn):
282 with io.open(fn, encoding='UTF-8') as f:
296 def load_hyp(hyph, fn):
297 with io.open(fn, encoding='UTF-8') as f:
418 def verify_file_sorted(lines, fn):
419 file_lines = [l.strip() for l in io.open(fn, encoding='UTF-8')]
/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp397 ForEachFunc_t fn = mtls->kernel; local
415 fn(&fep, mtls->start.x, mtls->end.x, mtls->fep.outStride[0]);
424 ForEachFunc_t fn = mtls->kernel; local
440 fn(&fep, mtls->start.x, mtls->end.x, fep.outStride[0]);
449 ForEachFunc_t fn = mtls->kernel; local
464 fn(&fep, xStart, xEnd, fep.outStride[0]);
546 const ReduceAccumulatorFunc_t fn = mtls->accumFunc; local
559 fn(&redp, xStart, xEnd, accumPtr);
585 const ReduceAccumulatorFunc_t fn = mtls->accumFunc; local
599 fn(
624 const ReduceAccumulatorFunc_t fn = mtls->accumFunc; local
694 const ReduceAccumulatorFunc_t fn = mtls->accumFunc; local
900 ForEachFunc_t fn = mtls->kernel; local
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp47 #define CLOG_ERROR_IF(cond, fn, err, fmt, ...) \
48 ALOGE_IF(cond, #fn "(%x:%s, " fmt ") ERROR: %s(%#x)", \
50 #define CLOG_ERROR(fn, err, fmt, ...) CLOG_ERROR_IF(true, fn, err, fmt, ##__VA_ARGS__)
51 #define CLOG_IF_ERROR(fn, err, fmt, ...) \
52 CLOG_ERROR_IF((err) != OMX_ErrorNone, fn, err, fmt, ##__VA_ARGS__)
54 #define CLOGI_(level, fn, fmt, ...) \
55 ALOGI_IF(DEBUG >= (level), #fn "(%x:%s, " fmt ")", mNodeID, mName, ##__VA_ARGS__)
56 #define CLOGD_(level, fn, fmt, ...) \
57 ALOGD_IF(DEBUG >= (level), #fn "(
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp802 BootAnimation::Animation* BootAnimation::loadAnimation(const String8& fn) argument
804 if (mLoadedFiles.indexOf(fn) >= 0) {
806 fn.string());
809 ZipFileRO *zip = ZipFileRO::open(fn);
812 fn.string(), strerror(errno));
817 animation->fileName = fn;
824 mLoadedFiles.remove(fn);

Completed in 166 milliseconds

12