Searched refs:def (Results 1 - 25 of 142) sorted by relevance

123456

/frameworks/data-binding/developmentPlugins/localizeMavenPlugin/src/main/groovy/android/databinding/
H A DLocalizePluginExtension.groovy20 def File localRepoDir;
21 def List<String> otherRepoDirs;
/frameworks/compile/slang/
H A DRSCCOptions.td30 def target_api : Separate<["-"], "target-api">,
32 def target_api_EQ : Joined<["-"], "target-api=">, Alias<target_api>;
38 def I : JoinedOrSeparate<["-"], "I">, MetaVarName<"<directory>">,
40 def _I : Separate<["-", "--"], "include-path">, MetaVarName<"<directory>">, Alias<I>;
46 def o : Separate<["-"], "o">, MetaVarName<"<directory>">,
49 def Output_Type_Group : OptionGroup<"<output type group>">;
52 def emit_asm : Flag<["-"], "emit-asm">,
54 def _emit_asm : Flag<["-"], "S">, Alias<emit_asm>;
55 def emit_llvm : Flag<["-"], "emit-llvm">,
57 def emit_b
[all...]
/frameworks/native/headers/media_plugin/media/openmax/
H A DOMX_AsString.h31 inline static const char *asString(OMX_AUDIO_CODINGTYPE i, const char *def = "??") {
62 default: return def;
66 inline static const char *asString(OMX_AUDIO_PCMMODETYPE i, const char *def = "??") {
71 default: return def;
75 inline static const char *asString(OMX_AUDIO_CHANNELTYPE i, const char *def = "??") {
87 default: return def;
91 inline static const char *asString(OMX_AUDIO_CHANNELMODETYPE i, const char *def = "??") {
97 default: return def;
101 inline static const char *asString(OMX_AUDIO_AACPROFILETYPE i, const char *def = "??") {
114 default: return def;
[all...]
/frameworks/native/include/media/openmax/
H A DOMX_AsString.h31 inline static const char *asString(OMX_AUDIO_CODINGTYPE i, const char *def = "??") {
62 default: return def;
66 inline static const char *asString(OMX_AUDIO_PCMMODETYPE i, const char *def = "??") {
71 default: return def;
75 inline static const char *asString(OMX_AUDIO_CHANNELTYPE i, const char *def = "??") {
87 default: return def;
91 inline static const char *asString(OMX_AUDIO_CHANNELMODETYPE i, const char *def = "??") {
97 default: return def;
101 inline static const char *asString(OMX_AUDIO_AACPROFILETYPE i, const char *def = "??") {
114 default: return def;
[all...]
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DMockableSystemProperties.java27 public int getInt(String key, int def) { argument
28 return SystemProperties.getInt(key, def);
31 public boolean getBoolean(String key, boolean def) { argument
32 return SystemProperties.getBoolean(key, def);
/frameworks/av/media/libstagefright/codecs/raw/
H A DSoftRaw.cpp56 OMX_PARAM_PORTDEFINITIONTYPE def; local
57 InitOMXParams(&def);
59 def.nPortIndex = 0;
60 def.eDir = OMX_DirInput;
61 def.nBufferCountMin = kNumBuffers;
62 def.nBufferCountActual = def.nBufferCountMin;
63 def.nBufferSize = 64 * 1024;
64 def.bEnabled = OMX_TRUE;
65 def
[all...]
/frameworks/base/core/java/android/util/
H A DKeyValueListParser.java71 * @param def The value to return if the key was not found, or the value was not a long.
74 public int getInt(String key, int def) { argument
83 return def;
89 * @param def The value to return if the key was not found, or the value was not a long.
92 public long getLong(String key, long def) { argument
101 return def;
107 * @param def The value to return if the key was not found, or the value was not a float.
110 public float getFloat(String key, float def) { argument
119 return def;
125 * @param def Th
128 getString(String key, String def) argument
142 getBoolean(String key, boolean def) argument
163 getIntArray(String key, int[] def) argument
200 getDurationMillis(String key, long def) argument
[all...]
/frameworks/layoutlib/bridge/src/android/os/
H A DSystemProperties_Delegate.java42 /*package*/ static String native_get(String key, String def) { argument
49 return def;
52 /*package*/ static int native_get_int(String key, int def) { argument
59 return def;
63 /*package*/ static long native_get_long(String key, long def) { argument
70 return def;
78 /*package*/ static boolean native_get_boolean(String key, boolean def) { argument
92 return def;
96 /*package*/ static void native_set(String key, String def) { argument
98 properties.put(key, def);
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
H A DSoftAMRNBEncoder.cpp67 OMX_PARAM_PORTDEFINITIONTYPE def; local
68 InitOMXParams(&def);
70 def.nPortIndex = 0;
71 def.eDir = OMX_DirInput;
72 def.nBufferCountMin = kNumBuffers;
73 def.nBufferCountActual = def.nBufferCountMin;
74 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t);
75 def.bEnabled = OMX_TRUE;
76 def
[all...]
/frameworks/av/media/libstagefright/codecs/g711/dec/
H A DSoftG711.cpp60 OMX_PARAM_PORTDEFINITIONTYPE def; local
61 InitOMXParams(&def);
63 def.nPortIndex = 0;
64 def.eDir = OMX_DirInput;
65 def.nBufferCountMin = kNumBuffers;
66 def.nBufferCountActual = def.nBufferCountMin;
67 def.nBufferSize = 8192;
68 def.bEnabled = OMX_TRUE;
69 def
[all...]
/frameworks/av/media/libstagefright/codecs/gsm/dec/
H A DSoftGSM.cpp63 OMX_PARAM_PORTDEFINITIONTYPE def; local
64 InitOMXParams(&def);
66 def.nPortIndex = 0;
67 def.eDir = OMX_DirInput;
68 def.nBufferCountMin = kNumBuffers;
69 def.nBufferCountActual = def.nBufferCountMin;
70 def.nBufferSize = 1024 / kMSGSMFrameSize * kMSGSMFrameSize;
71 def.bEnabled = OMX_TRUE;
72 def
[all...]
/frameworks/opt/setupwizard/tools/gradle/
H A Ddist-unit-tests.gradle17 def task = tasks.findByName('test' + variant.name.capitalize())
24 def junitReport = task.reports.junitXml
27 def zipTask = tasks.create("zipResultsOf${task.name.capitalize()}", Zip) {
57 def coverageTask = tasks.findByName('coverage') ?: tasks.create('coverage') {
63 def testTaskName = "test${variant.name.capitalize()}"
64 def testTask = tasks.findByName(testTaskName)
68 def jacocoTask = tasks.create("${testTaskName}Coverage", JacocoReport) {
92 def zipTask = tasks.create("zipResultsOf${jacocoTask.name.capitalize()}", Zip) {
/frameworks/support/app-toolkit/buildSrc/
H A Djetify.gradle16 def standaloneProject = project(":jetifier-standalone")
17 def jetifierBin = file("${standaloneProject.buildDir}/install/jetifier-standalone/bin/jetifier-standalone")
H A Drepos.gradle25 def supportRoot = ext.supportRootFolder
33 def checkoutRoot = "${ext.supportRootFolder}/../.."
57 def addMavenRepositories(RepositoryHandler handler) {
71 def androidPluginRepoOverride = System.getenv("GRADLE_PLUGIN_REPO")
H A Dbuild_dependencies.gradle17 def build_versions = [:]
24 def build_libs = [:]
26 def androidPluginVersionOverride = System.getenv("GRADLE_PLUGIN_VERSION")
H A Dinit.gradle28 def supportRoot = ext.supportRootFolder
33 def init = new Properties()
43 def enableDoclavaAndJDiff(p, dacOptions, rules = []) {
62 def getFullSdkPath() {
112 def setSdkInLocalPropertiesFile() {
125 def setupRepoOutAndBuildNumber() {
161 def configureBuildOnServer() {
162 def buildOnServerTask = rootProject.tasks.create("buildOnServer")
172 def docsProject = rootProject.findProject(":docs-fake")
189 def createJacocoAntUberJarTas
[all...]
/frameworks/support/buildSrc/
H A Djetify.gradle16 def standaloneProject = project(":jetifier-standalone")
17 def jetifierBin = file("${standaloneProject.buildDir}/install/jetifier-standalone/bin/jetifier-standalone")
H A Drepos.gradle25 def supportRoot = ext.supportRootFolder
33 def checkoutRoot = "${ext.supportRootFolder}/../.."
57 def addMavenRepositories(RepositoryHandler handler) {
71 def androidPluginRepoOverride = System.getenv("GRADLE_PLUGIN_REPO")
H A Dbuild_dependencies.gradle17 def build_versions = [:]
24 def build_libs = [:]
26 def androidPluginVersionOverride = System.getenv("GRADLE_PLUGIN_VERSION")
H A Dinit.gradle28 def supportRoot = ext.supportRootFolder
33 def init = new Properties()
43 def enableDoclavaAndJDiff(p, dacOptions, rules = []) {
62 def getFullSdkPath() {
112 def setSdkInLocalPropertiesFile() {
125 def setupRepoOutAndBuildNumber() {
161 def configureBuildOnServer() {
162 def buildOnServerTask = rootProject.tasks.create("buildOnServer")
172 def docsProject = rootProject.findProject(":docs-fake")
189 def createJacocoAntUberJarTas
[all...]
/frameworks/base/core/java/android/os/
H A DSystemProperties.java82 private static native String native_get(String key, String def); argument
83 private static native int native_get_int(String key, int def); argument
84 private static native long native_get_long(String key, long def); argument
85 private static native boolean native_get_boolean(String key, boolean def); argument
86 private static native void native_set(String key, String def); argument
108 * @param def the default value in case the property is not set or empty
109 * @return if the {@code key} isn't found, return {@code def} if it isn't null, or an empty
116 public static String get(@NonNull String key, @Nullable String def) { argument
118 return native_get(key, def);
125 * @param def
131 getInt(@onNull String key, int def) argument
146 getLong(@onNull String key, long def) argument
166 getBoolean(@onNull String key, boolean def) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DSoftVideoEncoderOMXComponent.cpp86 OMX_PARAM_PORTDEFINITIONTYPE def; local
91 InitOMXParams(&def);
93 def.nPortIndex = kInputPortIndex;
94 def.eDir = OMX_DirInput;
95 def.nBufferCountMin = numInputBuffers;
96 def.nBufferCountActual = def.nBufferCountMin;
97 def.bEnabled = OMX_TRUE;
98 def.bPopulated = OMX_FALSE;
99 def
[all...]
H A DSoftVideoDecoderOMXComponent.cpp102 OMX_PARAM_PORTDEFINITIONTYPE def; local
103 InitOMXParams(&def);
105 def.nPortIndex = kInputPortIndex;
106 def.eDir = OMX_DirInput;
107 def.nBufferCountMin = numMinInputBuffers;
108 def.nBufferCountActual = numInputBuffers;
109 def.nBufferSize = inputBufferSize;
110 def.bEnabled = OMX_TRUE;
111 def.bPopulated = OMX_FALSE;
112 def
206 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef; local
247 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(kOutputPortIndex)->mDef; local
495 OMX_PARAM_PORTDEFINITIONTYPE *def = &editPortInfo(newParams->nPortIndex)->mDef; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.cpp78 OMX_PARAM_PORTDEFINITIONTYPE def; local
79 InitOMXParams(&def);
81 def.nPortIndex = 0;
82 def.eDir = OMX_DirInput;
83 def.nBufferCountMin = kNumBuffers;
84 def.nBufferCountActual = def.nBufferCountMin;
85 def.nBufferSize = 8192;
86 def.bEnabled = OMX_TRUE;
87 def
[all...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/
H A DSoftAMRWBEncoder.cpp74 OMX_PARAM_PORTDEFINITIONTYPE def; local
75 InitOMXParams(&def);
77 def.nPortIndex = 0;
78 def.eDir = OMX_DirInput;
79 def.nBufferCountMin = kNumBuffers;
80 def.nBufferCountActual = def.nBufferCountMin;
81 def.nBufferSize = kNumSamplesPerFrame * sizeof(int16_t);
82 def.bEnabled = OMX_TRUE;
83 def
[all...]

Completed in 393 milliseconds

123456