Searched refs:base (Results 1 - 25 of 517) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/content/
H A DMutableContextWrapper.java20 * Special version of {@link ContextWrapper} that allows the base context to
24 public MutableContextWrapper(Context base) { argument
25 super(base);
29 * Change the base context for this ContextWrapper. All calls will then be
30 * delegated to the base context. Unlike ContextWrapper, the base context
33 * @param base The new base context for this wrapper.
35 public void setBaseContext(Context base) { argument
36 mBase = base;
[all...]
/frameworks/base/tools/aapt2/util/
H A DFiles_test.cpp39 std::string base = "hello"; local
40 AppendPath(&base, "there");
41 EXPECT_EQ(expected_path_, base);
45 std::string base = "hello/"; local
46 AppendPath(&base, "there");
47 EXPECT_EQ(expected_path_, base);
49 base = "hello";
50 AppendPath(&base, "/there");
51 EXPECT_EQ(expected_path_, base);
53 base
[all...]
/frameworks/base/cmds/hid/
H A Dhid6 base=/system
7 export CLASSPATH=$base/framework/hid.jar
8 exec app_process $base/bin com.android.commands.hid.Hid "$@"
/frameworks/base/cmds/am/
H A Dam6 base=/system
7 export CLASSPATH=$base/framework/am.jar
8 exec app_process $base/bin com.android.commands.am.Am "$@"
/frameworks/native/services/vr/hardware_composer/aidl/android/dvr/
H A Dparcelable_unique_fd.h4 #include <android-base/unique_fd.h>
10 // Provide a wrapper to serialized base::unique_fd. The wrapper also handles the
16 ParcelableUniqueFd(const base::unique_fd& fence);
19 void set_fence(const base::unique_fd& fence) {
22 base::unique_fd fence() const { return base::unique_fd(dup(fence_.get())); }
28 base::unique_fd fence_;
/frameworks/multidex/library/src/android/support/multidex/
H A DMultiDexApplication.java29 protected void attachBaseContext(Context base) {<br>
30 super.attachBaseContext(base);<br>
37 protected void attachBaseContext(Context base) { argument
38 super.attachBaseContext(base);
/frameworks/av/drm/libdrmframework/plugins/common/util/
H A DAndroid.mk25 base := frameworks/av macro
28 $(base)/include \
29 $(base)/include/drm \
30 $(base)/include/drm/plugins \
/frameworks/av/media/libstagefright/omx/1.0/
H A DWProducerListener.cpp28 sp<BProducerListener> const& base):
29 mBase(base) {
43 sp<HProducerListener> const& base):
44 mBase(base) {
27 TWProducerListener( sp<BProducerListener> const& base) argument
42 LWProducerListener( sp<HProducerListener> const& base) argument
/frameworks/base/data/videos/
H A DVideoPackage1.mk19 LOCAL_PATH := frameworks/base/data/videos
H A DVideoPackage2.mk19 LOCAL_PATH := frameworks/base/data/videos
/frameworks/opt/net/wifi/libwifi_system/tests/
H A Dmain.cpp19 #include <android-base/logging.h>
24 android::base::InitLogging(argv, android::base::StderrLogger);
/frameworks/base/services/core/java/com/android/server/policy/
H A DLogDecelerateInterpolator.java27 public LogDecelerateInterpolator(int base, int drift) { argument
28 mBase = base;
34 private static float computeLog(float t, int base, int drift) { argument
35 return (float) -Math.pow(base, -t) + 1 + (drift * t);
/frameworks/support/v17/leanback/src/android/support/v17/leanback/animation/
H A DLogAccelerateInterpolator.java31 public LogAccelerateInterpolator(int base, int drift) { argument
32 mBase = base;
37 static float computeLog(float t, int base, int drift) { argument
38 return (float) -Math.pow(base, -t) + 1 + (drift * t);
H A DLogDecelerateInterpolator.java31 public LogDecelerateInterpolator(int base, int drift) { argument
32 mBase = base;
38 static float computeLog(float t, int base, int drift) { argument
39 return (float) -Math.pow(base, -t) + 1 + (drift * t);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/
H A DAndroid.mk23 base := frameworks/av macro
26 ifneq ($(shell grep -c 'off64_t offset' $(base)/drm/libdrmframework/plugins/common/include/IDrmEngine.h), 0)
55 $(base)/include/drm \
56 $(base)/drm/libdrmframework/plugins/common/include \
57 $(base)/drm/libdrmframework/plugins/common/util/include \
58 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/common \
59 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/converter \
60 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/decoder \
/frameworks/native/include/ui/
H A DANativeObjectBase.h79 static inline TYPE* getSelf(android_native_base_t* base) { argument
80 return getSelf(reinterpret_cast<NATIVE_TYPE*>(base));
82 static inline TYPE const * getSelf(android_native_base_t const* base) { argument
83 return getSelf(reinterpret_cast<NATIVE_TYPE const*>(base));
85 static void incRef(android_native_base_t* base) { argument
86 ANativeObjectBase* self = getSelf(base);
89 static void decRef(android_native_base_t* base) { argument
90 ANativeObjectBase* self = getSelf(base);
/frameworks/native/libs/gui/bufferqueue/1.0/
H A DB2HProducerListener.cpp28 sp<BProducerListener> const& base):
29 mBase(base) {
27 B2HProducerListener( sp<BProducerListener> const& base) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/internal/util/
H A DXmlUtils_Delegate.java45 int base = 10;
61 base = 16;
64 base = 8;
69 base = 16;
72 return ((int)Long.parseLong(nm.substring(index), base)) * sign;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
H A DSysuiTestableContext.java26 public SysuiTestableContext(Context base) { argument
27 super(base);
30 public SysuiTestableContext(Context base, LeakCheck check) { argument
31 super(base, check);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/recyclerview/test/
H A DSameActivityTestRule.java38 public Statement apply(final Statement base, Description description) { argument
39 return new ReUsedActivityStatement(base);
54 public ReUsedActivityStatement(Statement base) { argument
55 mBase = base;
/frameworks/av/services/minijail/
H A Dminijail.cpp20 #include <android-base/file.h>
21 #include <android-base/logging.h>
22 #include <android-base/unique_fd.h>
40 base::unique_fd write_end(pipefd[1]);
48 if (!base::WriteStringToFd(content, write_end.get())) {
66 if (!base::ReadFileToString(base_policy_path, &base_policy_content,
68 LOG(FATAL) << "Could not read base policy file '" << base_policy_path << "'";
72 !base::ReadFileToString(additional_policy_path, &additional_policy_content,
78 base::unique_fd policy_fd(WritePolicyToPipe(base_policy_content, additional_policy_content));
H A Dav_services_minijail_unittest.cpp17 #include <android-base/file.h>
18 #include <android-base/unique_fd.h>
43 android::base::unique_fd fd(android::WritePolicyToPipe(base_policy_, std::string()));
45 bool success = android::base::ReadFdToString(fd.get(), &final_string);
53 android::base::unique_fd fd(android::WritePolicyToPipe(base_policy_, additional_policy_));
55 bool success = android::base::ReadFdToString(fd.get(), &final_string);
/frameworks/base/libs/hwui/debug/
H A DGlesErrorCheckWrapper.h27 GlesErrorCheckWrapper(GlesDriver& base) : mBase(base) {} argument
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
H A DFallbackThemeWrapper.java25 * Same as {@link ContextThemeWrapper}, but the base context's theme attributes take precedence
35 * The specified theme will be applied as fallbacks to the base context's theme. Any attributes
36 * defined in the base context's theme will retain their original values. Otherwise values in
39 * @param base The base context.
42 public FallbackThemeWrapper(Context base, @StyleRes int themeResId) { argument
43 super(base, themeResId);
/frameworks/native/opengl/libagl/
H A Dmipmap.cpp33 const GGLSurface* base = &tex->surface; local
34 const GGLFormat& pixelFormat(c->rasterizer.formats[base->format]);
36 int w = base->width;
37 int h = base->height;
48 base->format, base->compressedFormat, bpr) != NO_ERROR) {
53 int bs = base->stride;
56 if (base->format == GGL_PIXEL_FORMAT_RGB_565)
58 uint16_t const * src = (uint16_t const *)base->data;
79 else if (base
[all...]

Completed in 3017 milliseconds

1234567891011>>