Home
last modified time | relevance | path

Searched refs:self (Results 1 – 25 of 343) sorted by relevance

12345678910>>...14

/frameworks/base/tools/orientationplot/
Dorientationplot.py40 def __init__(self, stream): argument
42 self.stream = stream
43 self.buffer = ''
44 self.pos = 0
46 def readline(self): argument
48 index = self.buffer.find('\n', self.pos)
50 result = self.buffer[self.pos:index]
51 self.pos = index + 1
54 self.buffer = self.buffer[self.pos:]
55 self.pos = 0
[all …]
/frameworks/base/tools/velocityplot/
Dvelocityplot.py44 def __init__(self, stream): argument
46 self.stream = stream
47 self.buffer = ''
48 self.pos = 0
50 def readline(self): argument
52 index = self.buffer.find('\n', self.pos)
54 result = self.buffer[self.pos:index]
55 self.pos = index + 1
58 self.buffer = self.buffer[self.pos:]
59 self.pos = 0
[all …]
/frameworks/compile/libbcc/gdb_plugin/
Dandroid-commands.py70 def __init__(self): argument
71 self.name = None
72 self.intent = None
74 def get_name(self): argument
75 return self.name
77 def get_intent(self): argument
78 return self.intent
80 def get_data_directory(self): argument
81 return self.data_directory
83 def get_gdbserver_path(self): argument
[all …]
/frameworks/native/opengl/tools/glgen2/registry/
Dreg.py100 def __init__(self, elem): argument
101 self.required = False
102 self.declared = False
103 self.elem = elem
104 def resetState(self): argument
105 self.required = False
106 self.declared = False
112 def __init__(self, elem): argument
113 BaseInfo.__init__(self, elem)
119 def __init__(self, elem): argument
[all …]
/frameworks/base/media/mca/
Dstructgen.py99 def __init__(self, lineno, message): argument
100 self.lineno = lineno
101 self.message = message
103 def __str__(self): argument
104 return "On line %d: %s" % (self.lineno, self.message)
107 def __init__(self, name, structname, jclassname, package, javatype, ctype, jtype, defval): argument
108 self.name = name
109 self.structname = structname
110 self.jclassname = jclassname
111 self.package = package
[all …]
/frameworks/base/tools/apilint/
Ddeprecated_at_birth.py58 def __init__(self, clazz, line, raw, blame): argument
59 self.clazz = clazz
60 self.line = line
61 self.raw = raw.strip(" {;")
62 self.blame = blame
65 self.split = list(raw)
71 self.typ = raw[0]
72 self.name = raw[1].strip(";")
74 self.value = raw[3].strip(';"')
76 self.value = None
[all …]
/frameworks/base/tools/aapt2/tools/consumers/
Dpositional_arguments.py13 def matches(self, file_path): argument
18 def consume(self, xml_path, input): argument
40 def __init__(self, start, number): argument
41 self.start = start
42 self.number = number
49 def __init__(self, parser): argument
50 self.arguments = []
51 self._parser = parser
52 self._depth = 0
53 self._within_string = False
[all …]
Dduplicates.py9 def matches(self, file_path): argument
14 def consume(self, xml_path, input): argument
81 def __init__(self, name, product, depth, start, end): argument
82 self.name = name
83 self.product = product
84 self.depth = depth
85 self.start = start
86 self.end = end
92 def __init__(self, parser): argument
93 self.resource_definitions = {}
[all …]
/frameworks/ex/common/tools/
Dmake-iana-tld-pattern.py34 def __init__(self): argument
35 self.buffer = TAB
36 self.lineLength = len(TAB)
38 def __iadd__(self, other): argument
39 self.buffer += other
40 self.lineLength += len(other)
41 return self
43 def addPipe(self): argument
44 if self.lineLength > 90:
45 self.buffer += '"\n'
[all …]
/frameworks/wilhelm/include/SLES/
DOpenSLES.h403 SLObjectItf self,
407 SLObjectItf self,
411 SLObjectItf self,
415 SLObjectItf self,
420 SLObjectItf self,
425 SLObjectItf self
428 SLObjectItf self
431 SLObjectItf self,
436 SLObjectItf self,
441 SLObjectItf self,
[all …]
DOpenSLES_Android.h94 SLresult (*CreateEffect) (SLAndroidEffectItf self,
97 SLresult (*ReleaseEffect) (SLAndroidEffectItf self,
100 SLresult (*SetEnabled) (SLAndroidEffectItf self,
104 SLresult (*IsEnabled) (SLAndroidEffectItf self,
108 SLresult (*SendCommand) (SLAndroidEffectItf self,
131 SLAndroidEffectSendItf self,
137 SLAndroidEffectSendItf self,
142 SLAndroidEffectSendItf self,
146 SLAndroidEffectSendItf self,
150 SLAndroidEffectSendItf self,
[all …]
/frameworks/base/api/
Dapi_versions_trimmer_unittests.py64 def setUp(self): argument
66 self.maxDiff = None
68 def test_read_classes(self): argument
75 self.assertEqual({"a/b/C", "a/b/D"}, res)
77 def test_read_classes_ignore_dex(self): argument
86 self.assertEqual({"a/b/C", "a/b/D"}, res)
88 def test_read_classes_ignore_manifest(self): argument
96 self.assertEqual({"a/b/C", "a/b/D"}, res)
98 def test_filter_method_signature(self): argument
106 self.assertEqual(expected, method.get("name"))
[all …]
/frameworks/wilhelm/include/OMXAL/
DOpenMAXAL.h166 XAObjectItf self,
170 XAObjectItf self,
174 XAObjectItf self,
178 XAObjectItf self,
183 XAObjectItf self,
188 XAObjectItf self
191 XAObjectItf self
194 XAObjectItf self,
199 XAObjectItf self,
204 XAObjectItf self,
[all …]
/frameworks/av/media/tests/benchmark/src/native/common/
DBenchmarkCommon.cpp33 CallBackHandle *self = (CallBackHandle *)userdata; in OnInputAvailableCB() local
34 self->getStats()->addInputTime(); in OnInputAvailableCB()
35 self->mIOQueue.push([self, codec, index]() { self->onInputAvailable(codec, index); }); in OnInputAvailableCB()
42 CallBackHandle *self = (CallBackHandle *)userdata; in OnOutputAvailableCB() local
43 self->getStats()->addOutputTime(); in OnOutputAvailableCB()
45 self->mIOQueue.push([self, codec, index, bufferInfoCopy]() { in OnOutputAvailableCB()
47 self->onOutputAvailable(codec, index, &bc); in OnOutputAvailableCB()
53 CallBackHandle *self = (CallBackHandle *)userdata; in OnFormatChangedCB() local
54 self->mIOQueue.push([self, codec, format]() { self->onFormatChanged(codec, format); }); in OnFormatChangedCB()
61 CallBackHandle *self = (CallBackHandle *)userdata; in OnErrorCB() local
[all …]
/frameworks/native/opengl/tools/glgen2/
Dglgen.py116 def __init__(self): argument
117 reg.OutputGenerator.__init__(self, sys.stderr, sys.stderr, None)
119 def genCmd(self, cmd, name): argument
122 reg.OutputGenerator.genCmd(self, cmd, name)
130 % (rtype, overrideSymbolName(fname, self.genOpts.apiname),
134 file=self.outFile)
141 def __init__(self): argument
142 reg.OutputGenerator.__init__(self, sys.stderr, sys.stderr, None)
143 self.cmds = []
144 self.enums = collections.OrderedDict()
[all …]
/frameworks/wilhelm/src/itf/
DI3DSource.cpp22 static SLresult I3DSource_SetHeadRelative(SL3DSourceItf self, SLboolean headRelative) in I3DSource_SetHeadRelative() argument
26 I3DSource *thiz = (I3DSource *) self; in I3DSource_SetHeadRelative()
36 static SLresult I3DSource_GetHeadRelative(SL3DSourceItf self, SLboolean *pHeadRelative) in I3DSource_GetHeadRelative() argument
43 I3DSource *thiz = (I3DSource *) self; in I3DSource_GetHeadRelative()
55 static SLresult I3DSource_SetRolloffDistances(SL3DSourceItf self, in I3DSource_SetRolloffDistances() argument
64 I3DSource *thiz = (I3DSource *) self; in I3DSource_SetRolloffDistances()
76 static SLresult I3DSource_GetRolloffDistances(SL3DSourceItf self, in I3DSource_GetRolloffDistances() argument
84 I3DSource *thiz = (I3DSource *) self; interface_lock_shared(thiz); in I3DSource_GetRolloffDistances()
97 static SLresult I3DSource_SetRolloffMaxDistanceMute(SL3DSourceItf self, SLboolean mute) in I3DSource_SetRolloffMaxDistanceMute() argument
101 I3DSource *thiz = (I3DSource *) self; in I3DSource_SetRolloffMaxDistanceMute()
[all …]
DIRecord.cpp22 static SLresult IRecord_SetRecordState(SLRecordItf self, SLuint32 state) in IRecord_SetRecordState() argument
31 IRecord *thiz = (IRecord *) self; in IRecord_SetRecordState()
50 static SLresult IRecord_GetRecordState(SLRecordItf self, SLuint32 *pState) in IRecord_GetRecordState() argument
54 IRecord *thiz = (IRecord *) self; in IRecord_GetRecordState()
69 static SLresult IRecord_SetDurationLimit(SLRecordItf self, SLmillisecond msec) in IRecord_SetDurationLimit() argument
73 IRecord *thiz = (IRecord *) self; in IRecord_SetDurationLimit()
87 static SLresult IRecord_GetPosition(SLRecordItf self, SLmillisecond *pMsec) in IRecord_GetPosition() argument
94 IRecord *thiz = (IRecord *) self; in IRecord_GetPosition()
116 static SLresult IRecord_RegisterCallback(SLRecordItf self, slRecordCallback callback, in IRecord_RegisterCallback() argument
121 IRecord *thiz = (IRecord *) self; in IRecord_RegisterCallback()
[all …]
DIEnvironmentalReverb.cpp41 static SLresult IEnvironmentalReverb_SetRoomLevel(SLEnvironmentalReverbItf self, SLmillibel room) in IEnvironmentalReverb_SetRoomLevel() argument
50 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; in IEnvironmentalReverb_SetRoomLevel()
71 static SLresult IEnvironmentalReverb_GetRoomLevel(SLEnvironmentalReverbItf self, SLmillibel *pRoom) in IEnvironmentalReverb_GetRoomLevel() argument
78 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; in IEnvironmentalReverb_GetRoomLevel()
102 SLEnvironmentalReverbItf self, SLmillibel roomHF) in IEnvironmentalReverb_SetRoomHFLevel() argument
111 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; in IEnvironmentalReverb_SetRoomHFLevel()
133 SLEnvironmentalReverbItf self, SLmillibel *pRoomHF) in IEnvironmentalReverb_GetRoomHFLevel() argument
140 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; in IEnvironmentalReverb_GetRoomHFLevel()
163 SLEnvironmentalReverbItf self, SLmillisecond decayTime) in IEnvironmentalReverb_SetDecayTime() argument
170 IEnvironmentalReverb *thiz = (IEnvironmentalReverb *) self; in IEnvironmentalReverb_SetDecayTime()
[all …]
DIVolume.cpp22 static SLresult IVolume_SetVolumeLevel(SLVolumeItf self, SLmillibel level_) in IVolume_SetVolumeLevel() argument
30 IVolume *thiz = (IVolume *) self; in IVolume_SetVolumeLevel()
46 static SLresult IVolume_GetVolumeLevel(SLVolumeItf self, SLmillibel *pLevel) in IVolume_GetVolumeLevel() argument
53 IVolume *thiz = (IVolume *) self; in IVolume_GetVolumeLevel()
65 static SLresult IVolume_GetMaxVolumeLevel(SLVolumeItf self, SLmillibel *pMaxLevel) in IVolume_GetMaxVolumeLevel() argument
80 static SLresult IVolume_SetMute(SLVolumeItf self, SLboolean mute) in IVolume_SetMute() argument
84 IVolume *thiz = (IVolume *) self; in IVolume_SetMute()
100 static SLresult IVolume_GetMute(SLVolumeItf self, SLboolean *pMute) in IVolume_GetMute() argument
107 IVolume *thiz = (IVolume *) self; in IVolume_GetMute()
119 static SLresult IVolume_EnableStereoPosition(SLVolumeItf self, SLboolean enable) in IVolume_EnableStereoPosition() argument
[all …]
DIMIDIMuteSolo.cpp22 static SLresult IMIDIMuteSolo_SetChannelMute(SLMIDIMuteSoloItf self, SLuint8 channel, in IMIDIMuteSolo_SetChannelMute() argument
30 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_SetChannelMute()
45 static SLresult IMIDIMuteSolo_GetChannelMute(SLMIDIMuteSoloItf self, SLuint8 channel, in IMIDIMuteSolo_GetChannelMute() argument
53 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_GetChannelMute()
65 static SLresult IMIDIMuteSolo_SetChannelSolo(SLMIDIMuteSoloItf self, SLuint8 channel, in IMIDIMuteSolo_SetChannelSolo() argument
73 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_SetChannelSolo()
88 static SLresult IMIDIMuteSolo_GetChannelSolo(SLMIDIMuteSoloItf self, SLuint8 channel, in IMIDIMuteSolo_GetChannelSolo() argument
96 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_GetChannelSolo()
108 static SLresult IMIDIMuteSolo_GetTrackCount(SLMIDIMuteSoloItf self, SLuint16 *pCount) in IMIDIMuteSolo_GetTrackCount() argument
115 IMIDIMuteSolo *thiz = (IMIDIMuteSolo *) self; in IMIDIMuteSolo_GetTrackCount()
[all …]
DIAndroidEffect.cpp23 static SLresult IAndroidEffect_CreateEffect(SLAndroidEffectItf self, in IAndroidEffect_CreateEffect() argument
28 IAndroidEffect *thiz = (IAndroidEffect *) self; in IAndroidEffect_CreateEffect()
49 static SLresult IAndroidEffect_ReleaseEffect(SLAndroidEffectItf self, in IAndroidEffect_ReleaseEffect() argument
54 IAndroidEffect *thiz = (IAndroidEffect *) self; in IAndroidEffect_ReleaseEffect()
61 static SLresult IAndroidEffect_SetEnabled(SLAndroidEffectItf self, in IAndroidEffect_SetEnabled() argument
66 IAndroidEffect *thiz = (IAndroidEffect *) self; in IAndroidEffect_SetEnabled()
73 static SLresult IAndroidEffect_IsEnabled(SLAndroidEffectItf self, in IAndroidEffect_IsEnabled() argument
78 IAndroidEffect *thiz = (IAndroidEffect *) self; in IAndroidEffect_IsEnabled()
85 static SLresult IAndroidEffect_SendCommand(SLAndroidEffectItf self, in IAndroidEffect_SendCommand() argument
91 IAndroidEffect *thiz = (IAndroidEffect *) self; in IAndroidEffect_SendCommand()
[all …]
/frameworks/minikin/tools/
Dmk_hyb_file.py55 def __init__(self): argument
56 self.succ = {}
57 self.res = None
58 self.fsm_pat = None
59 self.fail = None
65 def __init__(self): argument
66 self.first = None
67 self.last = None
68 self.pred = []
69 self.succ = []
[all …]
/frameworks/wilhelm/src/
Dsles_allinclusive.h114 typedef void (*VoidHook)(void *self);
116 typedef SLresult (*AsyncHook)(void *self, SLboolean async);
117 typedef bool (*BoolHook)(void *self);
118 typedef predestroy_t (*PreDestroyHook)(void *self);
306 extern void IObject_Destroy(SLObjectItf self);
335 extern predestroy_t C3DGroup_PreDestroy(void *self);
337 extern SLresult CAudioPlayer_Realize(void *self, SLboolean async);
338 extern SLresult CAudioPlayer_Resume(void *self, SLboolean async);
339 extern void CAudioPlayer_Destroy(void *self);
340 extern predestroy_t CAudioPlayer_PreDestroy(void *self);
[all …]
/frameworks/base/tools/aapt2/tools/
Dextract_unicode_properties.py16 def __init__(self, first_char, last_char, prop_type): argument
17 self.first_char = first_char
18 self.last_char = last_char
19 self.prop_type = prop_type
21 def key(self): argument
22 return self.first_char
24 def merge(self, other): argument
25 if self.last_char + 1 == other.first_char and self.prop_type == other.prop_type:
26 self.last_char = other.last_char
30 def __repr__(self): argument
[all …]
/frameworks/av/camera/ndk/ndk_vendor/impl/
Dutils.h138 const OutputConfiguration &self = mOutputConfiguration; member
139 return self.rotation == other.rotation && self.windowGroupId == other.windowGroupId &&
140 self.physicalCameraId == other.physicalCameraId && self.width == other.width &&
141 self.height == other.height && self.isDeferred == other.isDeferred &&
142 areWindowNativeHandlesEqual(self.windowHandles, other.windowHandles);
149 const OutputConfiguration &self = mOutputConfiguration; member
150 if (self.windowGroupId != other.windowGroupId) {
151 return self.windowGroupId < other.windowGroupId;
154 if (self.width != other.width) {
155 return self.width < other.width;
[all …]

12345678910>>...14