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

12

/frameworks/opt/net/wifi/libwifi_hal/
H A Dwifi_hal_fallback.cpp19 wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn) { argument
/frameworks/av/media/libstagefright/codec2/vndk/include/util/
H A D_C2MacroUtils.h79 // macros that convert _1, _2, _3, ... to fn(_1, arg), fn(_2, arg), fn(_3, arg), ...
80 #define _C2_MAP_64(fn, arg, head, ...) fn(head, arg), _C2_MAP_63(fn, arg, ##__VA_ARGS__)
81 #define _C2_MAP_63(fn, arg, head, ...) fn(head, arg), _C2_MAP_62(fn, arg, ##__VA_ARGS__)
82 #define _C2_MAP_62(fn, ar
[all...]
/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.cpp51 static bool LoadHalTable(Context *rsc, HalQueryHal fn, bool loadGraphics) { argument
54 ret &= fn(RS_HAL_CORE_SHUTDOWN, (void **)&rsc->mHal.funcs.shutdownDriver);
55 ret &= fn(RS_HAL_CORE_SET_PRIORITY, (void **)&rsc->mHal.funcs.setPriority);
56 ret &= fn(RS_HAL_CORE_ALLOC_RUNTIME_MEM, (void **)&rsc->mHal.funcs.allocRuntimeMem);
57 ret &= fn(RS_HAL_CORE_FREE_RUNTIME_MEM, (void **)&rsc->mHal.funcs.freeRuntimeMem);
58 ret &= fn(RS_HAL_CORE_FINISH, (void **)&rsc->mHal.funcs.finish);
60 ret &= fn(RS_HAL_SCRIPT_INIT, (void **)&rsc->mHal.funcs.script.init);
61 ret &= fn(RS_HAL_SCRIPT_INIT_INTRINSIC, (void **)&rsc->mHal.funcs.script.initIntrinsic);
62 ret &= fn(RS_HAL_SCRIPT_INVOKE_FUNCTION, (void **)&rsc->mHal.funcs.script.invokeFunction);
63 ret &= fn(RS_HAL_SCRIPT_INVOKE_ROO
[all...]
/frameworks/minikin/app/
H A DHyphTool.cpp14 Hyphenator* loadHybFile(const char* fn, int minPrefix, int minSuffix) { argument
16 int status = stat(fn, &statbuf);
18 fprintf(stderr, "error opening %s\n", fn);
22 FILE* f = fopen(fn, "rb");
24 fprintf(stderr, "error opening %s\n", fn);
31 fprintf(stderr, "error reading %s\n", fn);
/frameworks/minikin/tests/perftests/
H A Dmain.cpp28 const char* fn = "/system/usr/icu/" U_ICUDATA_NAME ".dat"; local
29 int fd = open(fn, O_RDONLY);
/frameworks/minikin/tests/unittest/
H A DICUTestBase.h34 const char* fn = "/system/usr/icu/" U_ICUDATA_NAME ".dat"; variable
35 int fd = open(fn, O_RDONLY);
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp116 const char* fn = NULL; local
120 fn = argv[0];
121 fd = open(fn, O_WRONLY | O_CREAT | O_TRUNC, 0664);
123 fprintf(stderr, "Error opening file: %s (%s)\n", fn, strerror(errno));
126 const int len = strlen(fn);
127 if (len >= 4 && 0 == strcmp(fn+len-4, ".png")) {
199 if (fn != NULL) {
200 notifyMediaScanner(fn);
/frameworks/compile/libbcc/include/bcc/
H A DScript.h82 void setLinkRuntimeCallback(RSLinkRuntimeCallback fn) { argument
83 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/rs/driver/runtime/
H A Drs_cl.c1580 #define THUNK_NATIVE_F(fn) \
1581 float __attribute__((overloadable)) native_##fn(float v) { return fn(v);} \
1582 float2 __attribute__((overloadable)) native_##fn(float2 v) { return fn(v);} \
1583 float3 __attribute__((overloadable)) native_##fn(float3 v) { return fn(v);} \
1584 float4 __attribute__((overloadable)) native_##fn(float4 v) { return fn(v);}
1586 #define THUNK_NATIVE_F_F(fn) \
[all...]
/frameworks/base/libs/hwui/
H A DTexture.cpp324 SkColorSpaceTransferFn fn; local
325 if (!colorSpace->isNumericalTransferFn(&fn)) {
332 {fn.fG, fn.fA, fn.fB, fn.fC, fn.fD, fn.fE, fn.fF};
/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/base/core/tests/coretests/src/android/util/
H A DTokenBucketTest.java171 void assertThrow(Fn fn) { argument
173 fn.call();
/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.cpp395 ForEachFunc_t fn = mtls->kernel; local
413 fn(&fep, mtls->start.x, mtls->end.x, mtls->fep.outStride[0]);
422 ForEachFunc_t fn = mtls->kernel; local
438 fn(&fep, mtls->start.x, mtls->end.x, fep.outStride[0]);
447 ForEachFunc_t fn = mtls->kernel; local
462 fn(&fep, xStart, xEnd, fep.outStride[0]);
544 const ReduceAccumulatorFunc_t fn = mtls->accumFunc; local
557 fn(&redp, xStart, xEnd, accumPtr);
583 const ReduceAccumulatorFunc_t fn = mtls->accumFunc; local
597 fn(
622 const ReduceAccumulatorFunc_t fn = mtls->accumFunc; local
692 const ReduceAccumulatorFunc_t fn = mtls->accumFunc; local
898 ForEachFunc_t fn = mtls->kernel; local
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMXNodeInstance.cpp53 #define CLOG_ERROR_IF(cond, fn, err, fmt, ...) \
54 ALOGE_IF(cond, #fn "(%p:%s, " fmt ") ERROR: %s(%#x)", \
56 #define CLOG_ERROR(fn, err, fmt, ...) CLOG_ERROR_IF(true, fn, err, fmt, ##__VA_ARGS__)
57 #define CLOG_IF_ERROR(fn, err, fmt, ...) \
58 CLOG_ERROR_IF((err) != OMX_ErrorNone, fn, err, fmt, ##__VA_ARGS__)
60 #define CLOGI_(level, fn, fmt, ...) \
61 ALOGI_IF(DEBUG >= (level), #fn "(%p:%s, " fmt ")", mHandle, mName, ##__VA_ARGS__)
62 #define CLOGD_(level, fn, fmt, ...) \
63 ALOGD_IF(DEBUG >= (level), #fn "(
[all...]
/frameworks/base/tools/bit/
H A Dmake.cpp195 string fn = module.installed[i]; local
196 if (!starts_with(fn, buildOut + "/target/")) {
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
H A DRecurrenceProcessorTest.java100 String fn = "/tmp/trace/" + this.getClass().getName().replace('$', '_');
101 String df = fn + ".data";
102 String kf = fn + ".key";
103 Debug.startMethodTracing(fn, 8 * 1024 * 1024);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp1035 BootAnimation::Animation* BootAnimation::loadAnimation(const String8& fn) argument
1037 if (mLoadedFiles.indexOf(fn) >= 0) {
1039 fn.string());
1042 ZipFileRO *zip = ZipFileRO::open(fn);
1045 fn.string(), strerror(errno));
1050 animation->fileName = fn;
1061 mLoadedFiles.remove(fn);
/frameworks/base/telephony/java/android/telephony/ims/
H A DImsService.java461 private void enforceReadPhoneStatePermission(String fn) { argument
464 enforceCallingOrSelfPermission(READ_PHONE_STATE, fn);

Completed in 2048 milliseconds

12