Searched refs:self (Results 1 - 25 of 167) sorted by relevance

1234567

/frameworks/base/tools/orientationplot/
H A Dorientationplot.py40 def __init__(self, stream):
42 self.stream = stream
43 self.buffer = ''
44 self.pos = 0
46 def readline(self):
48 index = self.buffer.find('\n', self.pos)
50 result = self.buffer[self.pos:index]
51 self
[all...]
/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py44 def __init__(self, stream):
46 self.stream = stream
47 self.buffer = ''
48 self.pos = 0
50 def readline(self):
52 index = self.buffer.find('\n', self.pos)
54 result = self.buffer[self.pos:index]
55 self
[all...]
/frameworks/base/media/mca/
H A Dstructgen.py99 def __init__(self, lineno, message):
100 self.lineno = lineno
101 self.message = message
103 def __str__(self):
104 return "On line %d: %s" % (self.lineno, self.message)
107 def __init__(self, name, structname, jclassname, package, javatype, ctype, jtype, defval):
108 self.name = name
109 self.structname = structname
110 self
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockScreenWidgetCallback.java27 public void requestShow(View self); argument
30 public void requestHide(View self); argument
33 public boolean isVisible(View self); argument
37 public void userActivity(View self); argument
/frameworks/compile/libbcc/gdb_plugin/
H A Dandroid-commands.py70 def __init__(self):
71 self.name = None
72 self.intent = None
74 def get_name(self):
75 return self.name
77 def get_intent(self):
78 return self.intent
80 def get_data_directory(self):
81 return self.data_directory
83 def get_gdbserver_path(self)
[all...]
/frameworks/compile/libbcc/tests/
H A Dtest.py174 def checkResult(self, out, err, stdErrResult, stdOutResult=""):
179 self.assertEqual(True, compareOuput(a1,a2,b1,b2))
181 def compileCheck(self, args, stdErrResult, stdOutResult="",
189 self.checkResult(out, err, stdErrResult, stdOutResult)
192 self.checkResult(out, "", stdErrResult, stdOutResult)
194 def compileCheckArm(self, args, result):
195 self.assertEqual(compileArm(args), result)
197 def testCompileReturnVal(self):
198 self.compileCheck(["data/returnval-ansi.bc"], "")
200 def testCompileOTCCANSII(self)
[all...]
/frameworks/native/opengl/libs/GLES_trace/tools/
H A Dtestgenapi.py25 def test_parsing(self):
33 self.assertEqual(api.func, "glCopyTexImage2D")
34 self.assertEqual(api.callsite, 'glCopyTexImage2D(target, level, internalformat, ' \
36 self.assertEqual(api.ret, 'void')
37 self.assertEqual(api.arglist, 'GLenum target, GLint level, ' \
41 def test_num_functions_parsed(self):
47 self.assertEqual(len(gl2_apis), 142)
48 self.assertEqual(len(gl2ext_apis), 121)
49 self.assertEqual(len(gl_apis), 145)
50 self
[all...]
H A Dgenapi.py43 def __init__(self, name):
44 self.name = name
46 def __str__(self):
47 if self.name == "pointer": # pointers map to the INT DataType
49 return self.name.upper()
51 def getProtobufCall(self):
52 if self.name == "void":
54 elif self.name == "char" or self.name == "byte" \
55 or self
[all...]
/frameworks/wilhelm/src/objects/
H A DCAudioRecorder.c24 SLresult CAudioRecorder_Realize(void *self, SLboolean async) argument
29 CAudioRecorder *thiz = (CAudioRecorder *) self;
39 SLresult CAudioRecorder_Resume(void *self, SLboolean async) argument
47 void CAudioRecorder_Destroy(void *self) argument
49 CAudioRecorder *thiz = (CAudioRecorder *) self;
60 predestroy_t CAudioRecorder_PreDestroy(void *self) argument
H A DC3DGroup.c24 predestroy_t C3DGroup_PreDestroy(void *self) argument
26 C3DGroup *thiz = (C3DGroup *) self;
H A DCMediaPlayer.c27 XAresult CMediaPlayer_Realize(void *self, XAboolean async) argument
32 CMediaPlayer *thiz = (CMediaPlayer *) self;
41 XAresult CMediaPlayer_Resume(void *self, XAboolean async) argument
49 void CMediaPlayer_Destroy(void *self) argument
51 CMediaPlayer *thiz = (CMediaPlayer *) self;
64 predestroy_t CMediaPlayer_PreDestroy(void *self) argument
67 CMediaPlayer *thiz = (CMediaPlayer *) self;
H A DCOutputMix.c24 SLresult COutputMix_Realize(void *self, SLboolean async) argument
29 COutputMix *thiz = (COutputMix *) self;
39 SLresult COutputMix_Resume(void *self, SLboolean async) argument
47 void COutputMix_Destroy(void *self) argument
50 COutputMix *thiz = (COutputMix *) self;
58 predestroy_t COutputMix_PreDestroy(void *self) argument
61 COutputMix *outputMix = (COutputMix *) self;
/frameworks/ex/common/tools/
H A Dmake-iana-tld-pattern.py30 def __init__(self, baseLetter):
31 self.base=baseLetter
32 self.words=[]
33 self.letters=[]
35 def dump(self, isWebUrl=False, isFirst=False, isLast=False):
36 if (len(self.words) == 0) and (len(self.letters) == 0):
39 self.words.sort()
40 self.letters.sort()
52 if len(self
[all...]
/frameworks/wilhelm/src/itf/
H A DIMIDITempo.c22 static SLresult IMIDITempo_SetTicksPerQuarterNote(SLMIDITempoItf self, SLuint32 tpqn) argument
29 IMIDITempo *thiz = (IMIDITempo *) self;
40 static SLresult IMIDITempo_GetTicksPerQuarterNote(SLMIDITempoItf self, SLuint32 *pTpqn) argument
47 IMIDITempo *thiz = (IMIDITempo *) self;
59 static SLresult IMIDITempo_SetMicrosecondsPerQuarterNote(SLMIDITempoItf self, SLmicrosecond uspqn) argument
67 IMIDITempo *thiz = (IMIDITempo *) self;
78 static SLresult IMIDITempo_GetMicrosecondsPerQuarterNote(SLMIDITempoItf self, SLmicrosecond *uspqn) argument
85 IMIDITempo *thiz = (IMIDITempo *) self;
104 void IMIDITempo_init(void *self) argument
106 IMIDITempo *thiz = (IMIDITempo *) self;
[all...]
H A DI3DCommit.c22 static SLresult I3DCommit_Commit(SL3DCommitItf self) argument
26 I3DCommit *thiz = (I3DCommit *) self;
43 static SLresult I3DCommit_SetDeferred(SL3DCommitItf self, SLboolean deferred) argument
47 I3DCommit *thiz = (I3DCommit *) self;
63 void I3DCommit_init(void *self) argument
65 I3DCommit *thiz = (I3DCommit *) self;
H A DIAudioEncoder.c22 static SLresult IAudioEncoder_SetEncoderSettings(SLAudioEncoderItf self, argument
30 IAudioEncoder *thiz = (IAudioEncoder *) self;
42 static SLresult IAudioEncoder_GetEncoderSettings(SLAudioEncoderItf self, argument
50 IAudioEncoder *thiz = (IAudioEncoder *) self;
67 void IAudioEncoder_init(void *self) argument
69 IAudioEncoder *thiz = (IAudioEncoder *) self;
H A DIDynamicSource.c22 static SLresult IDynamicSource_SetSource(SLDynamicSourceItf self, SLDataSource *pDataSource) argument
29 IDynamicSource *thiz = (IDynamicSource *) self;
54 void IDynamicSource_init(void *self) argument
56 IDynamicSource *thiz = (IDynamicSource *) self;
H A DIMIDIMessage.c22 static SLresult IMIDIMessage_SendMessage(SLMIDIMessageItf self, const SLuint8 *data, argument
30 //IMIDIMessage *thiz = (IMIDIMessage *) self;
38 static SLresult IMIDIMessage_RegisterMetaEventCallback(SLMIDIMessageItf self, argument
43 IMIDIMessage *thiz = (IMIDIMessage *) self;
54 static SLresult IMIDIMessage_RegisterMIDIMessageCallback(SLMIDIMessageItf self, argument
59 IMIDIMessage *thiz = (IMIDIMessage *) self;
70 static SLresult IMIDIMessage_AddMIDIMessageCallbackFilter(SLMIDIMessageItf self, argument
85 IMIDIMessage *thiz = (IMIDIMessage *) self;
101 static SLresult IMIDIMessage_ClearMIDIMessageCallbackFilter(SLMIDIMessageItf self) argument
105 IMIDIMessage *thiz = (IMIDIMessage *) self;
123 IMIDIMessage_init(void *self) argument
[all...]
H A DIMetadataTraversal.c22 static SLresult IMetadataTraversal_SetMode(SLMetadataTraversalItf self, SLuint32 mode) argument
30 IMetadataTraversal *thiz = (IMetadataTraversal *) self;
46 static SLresult IMetadataTraversal_GetChildCount(SLMetadataTraversalItf self, SLuint32 *pCount) argument
53 IMetadataTraversal *thiz = (IMetadataTraversal *) self;
66 SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize)
73 IMetadataTraversal *thiz = (IMetadataTraversal *) self;
85 static SLresult IMetadataTraversal_GetChildInfo(SLMetadataTraversalItf self, SLuint32 index, argument
90 //IMetadataTraversal *thiz = (IMetadataTraversal *) self;
97 static SLresult IMetadataTraversal_SetActiveNode(SLMetadataTraversalItf self, SLuint32 index) argument
104 IMetadataTraversal *thiz = (IMetadataTraversal *) self;
65 IMetadataTraversal_GetChildMIMETypeSize( SLMetadataTraversalItf self, SLuint32 index, SLuint32 *pSize) argument
120 IMetadataTraversal_init(void *self) argument
[all...]
H A DIPitch.c22 static SLresult IPitch_SetPitch(SLPitchItf self, SLpermille pitch) argument
26 IPitch *thiz = (IPitch *) self;
41 static SLresult IPitch_GetPitch(SLPitchItf self, SLpermille *pPitch) argument
48 IPitch *thiz = (IPitch *) self;
60 static SLresult IPitch_GetPitchCapabilities(SLPitchItf self, argument
70 IPitch *thiz = (IPitch *) self;
90 void IPitch_init(void *self) argument
92 IPitch *thiz = (IPitch *) self;
H A DIRatePitch.c22 static SLresult IRatePitch_SetRate(SLRatePitchItf self, SLpermille rate) argument
26 IRatePitch *thiz = (IRatePitch *) self;
40 static SLresult IRatePitch_GetRate(SLRatePitchItf self, SLpermille *pRate) argument
47 IRatePitch *thiz = (IRatePitch *) self;
59 static SLresult IRatePitch_GetRatePitchCapabilities(SLRatePitchItf self, argument
69 IRatePitch *thiz = (IRatePitch *) self;
89 void IRatePitch_init(void *self) argument
91 IRatePitch *thiz = (IRatePitch *) self;
H A DIThreadSync.c22 static SLresult IThreadSync_EnterCriticalSection(SLThreadSyncItf self) argument
26 IThreadSync *thiz = (IThreadSync *) self;
50 static SLresult IThreadSync_ExitCriticalSection(SLThreadSyncItf self) argument
54 IThreadSync *thiz = (IThreadSync *) self;
78 void IThreadSync_init(void *self) argument
80 IThreadSync *thiz = (IThreadSync *) self;
87 void IThreadSync_deinit(void *self) argument
89 IThreadSync *thiz = (IThreadSync *) self;
/frameworks/av/drm/drmserver/
H A Dmain_drmserver.cpp31 sp<ProcessState> proc(ProcessState::self());
35 ProcessState::self()->startThreadPool();
36 IPCThreadState::self()->joinThreadPool();
/frameworks/native/cmds/surfaceflinger/
H A Dmain_surfaceflinger.cpp26 ProcessState::self()->setThreadPoolMaxThreadCount(4);
/frameworks/base/services/common_time/
H A Dmain.cpp37 ProcessState::self()->startThreadPool();
40 IPCThreadState::self()->joinThreadPool();

Completed in 324 milliseconds

1234567