Searched refs:fn (Results 1 - 25 of 36) 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/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/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
H A Dmath_fp16.rs29 #define TEST_HN_FUNC_HN(fn) \
30 h1 = fn(h1); \
31 h2 = fn(h2); \
32 h3 = fn(h3); \
33 h4 = fn(h4);
35 #define TEST_IN_FUNC_HN(fn) \
36 i1 = fn(h1); \
37 i2 = fn(h2); \
38 i3 = fn(h3); \
39 i4 = fn(h
[all...]
/frameworks/minikin/app/
H A DHyphTool.cpp14 Hyphenator* loadHybFile(const char* fn, int minPrefix, int minSuffix, const char* language) { 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.cpp26 const char* fn = "/system/usr/icu/" U_ICUDATA_NAME ".dat"; local
27 int fd = open(fn, O_RDONLY);
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp138 const char* fn = NULL; local
142 fn = argv[0];
143 fd = open(fn, O_WRONLY | O_CREAT | O_TRUNC, 0664);
145 fprintf(stderr, "Error opening file: %s (%s)\n", fn, strerror(errno));
148 const int len = strlen(fn);
149 if (len >= 4 && 0 == strcmp(fn+len-4, ".png")) {
239 if (fn != NULL) {
240 notifyMediaScanner(fn);
/frameworks/compile/libbcc/include/bcc/
H A DScript.h82 void setLinkRuntimeCallback(RSLinkRuntimeCallback fn) { argument
83 mLinkRuntimeCallback = fn;
/frameworks/minikin/tests/unittest/
H A DICUEnvironment.h40 const char* fn = "/system/usr/icu/" U_ICUDATA_NAME ".dat"; variable
41 int fd = open(fn, O_RDONLY);
/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.cpp321 SkColorSpaceTransferFn fn; local
322 if (!colorSpace->isNumericalTransferFn(&fn)) {
328 ColorSpace::TransferParameters p = {fn.fG, fn.fA, fn.fB, fn.fC,
329 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/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/services/core/jni/
H A Dcom_android_server_VibratorService.cpp59 Return<R> halCall(Return<R> (I::* fn)(Args0...), Args1&&... args1) {
77 : (*sHal.*fn)(std::forward<Args1>(args1)...);
/frameworks/base/tools/bit/
H A Dmake.cpp180 string fn = module.installed[i]; local
181 if (!starts_with(fn, buildOut + "/target/")) {
/frameworks/minikin/tools/
H A Dmk_hyb_file.py274 def load(fn):
276 with io.open(fn, encoding='UTF-8') as f:
284 def load_chr(fn):
286 with io.open(fn, encoding='UTF-8') as f:
304 def load_hyp(hyph, fn):
305 with io.open(fn, encoding='UTF-8') as f:
426 def verify_file_sorted(lines, fn):
427 file_lines = [l.strip() for l in io.open(fn, encoding='UTF-8')]
/frameworks/native/opengl/libs/EGL/
H A DgetProcAddress.cpp137 " move %[fn], $ra\n\t" \
141 "move %[fn], %[t0]\n\t" \
143 "jalr $0, %[fn]\n\t" \
146 : [fn] "=c"(_fn), \
170 " move %[fn], $ra\n\t" \
174 "move %[fn], %[t0]\n\t" \
176 "jalr $0, %[fn]\n\t" \
179 : [fn] "=c"(_fn), \
/frameworks/base/services/net/java/android/net/ip/
H A DIpClient.java1843 static <T> boolean any(Iterable<T> coll, Predicate<T> fn) { argument
1845 if (fn.test(t)) {
1852 static <T> boolean all(Iterable<T> coll, Predicate<T> fn) { argument
1853 return !any(coll, not(fn));
1856 static <T> Predicate<T> not(Predicate<T> fn) { argument
1857 return (t) -> !fn.test(t);
1864 static <T> T find(Iterable<T> coll, Predicate<T> fn) { argument
1866 if (fn.test(t)) {
1873 static <T> List<T> findAll(Collection<T> coll, Predicate<T> fn) { argument
1874 return coll.stream().filter(fn)
[all...]
/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);

Completed in 739 milliseconds

12