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

123456789

/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/native/opengl/tools/glgen2/registry/
H A Dreg.py100 def __init__(self, elem):
101 self.required = False
102 self.declared = False
103 self.elem = elem
104 def resetState(self):
105 self.required = False
106 self.declared = False
112 def __init__(self, elem):
113 BaseInfo.__init__(self, elem)
119 def __init__(self, ele
[all...]
/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/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
62 CAudioRecorder *thiz = (CAudioRecorder *) self;
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.py31 def __init__(self):
32 self.buffer = TAB
33 self.lineLength = len(TAB)
35 def __iadd__(self, other):
36 self.buffer += other
37 self.lineLength += len(other)
38 return self
40 def addPipe(self):
41 if self.lineLength > 90:
42 self
[all...]
/frameworks/av/camera/cameraserver/
H A Dmain_cameraserver.cpp29 sp<ProcessState> proc(ProcessState::self());
33 ProcessState::self()->startThreadPool();
34 IPCThreadState::self()->joinThreadPool();
/frameworks/base/core/tests/overlaytests/
H A Dtestrunner.py51 def _print(self):
52 s = '\r' + self.text + '[' + '.' * self.i + ' ' * (4 - self.i) + ']'
55 self.i = (self.i + 1) % 5
57 def __init__(self, cond_var, text):
58 threading.Thread.__init__(self)
59 self.text = text
60 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;
/frameworks/av/drm/drmserver/
H A Dmain_drmserver.cpp33 sp<ProcessState> proc(ProcessState::self());
37 ProcessState::self()->startThreadPool();
38 IPCThreadState::self()->joinThreadPool();
/frameworks/native/services/inputflinger/host/
H A Dmain.cpp23 ProcessState::self()->setThreadPoolMaxThreadCount(4);
/frameworks/wilhelm/include/SLES/
H A DOpenSLES_Android.h93 SLresult (*CreateEffect) (SLAndroidEffectItf self,
96 SLresult (*ReleaseEffect) (SLAndroidEffectItf self,
99 SLresult (*SetEnabled) (SLAndroidEffectItf self,
103 SLresult (*IsEnabled) (SLAndroidEffectItf self,
107 SLresult (*SendCommand) (SLAndroidEffectItf self,
130 SLAndroidEffectSendItf self,
136 SLAndroidEffectSendItf self,
141 SLAndroidEffectSendItf self,
145 SLAndroidEffectSendItf self,
149 SLAndroidEffectSendItf self,
[all...]
/frameworks/support/v4/kitkat/android/support/v4/provider/
H A DDocumentsContractApi19.java32 public static boolean isDocumentUri(Context context, Uri self) { argument
33 return DocumentsContract.isDocumentUri(context, self);
36 public static String getName(Context context, Uri self) { argument
37 return queryForString(context, self, DocumentsContract.Document.COLUMN_DISPLAY_NAME, null);
40 private static String getRawType(Context context, Uri self) { argument
41 return queryForString(context, self, DocumentsContract.Document.COLUMN_MIME_TYPE, null);
44 public static String getType(Context context, Uri self) { argument
45 final String rawType = getRawType(context, self);
53 public static boolean isDirectory(Context context, Uri self) { argument
54 return DocumentsContract.Document.MIME_TYPE_DIR.equals(getRawType(context, self));
57 isFile(Context context, Uri self) argument
66 lastModified(Context context, Uri self) argument
70 length(Context context, Uri self) argument
74 canRead(Context context, Uri self) argument
89 canWrite(Context context, Uri self) argument
122 delete(Context context, Uri self) argument
126 exists(Context context, Uri self) argument
142 queryForString(Context context, Uri self, String column, String defaultValue) argument
162 queryForInt(Context context, Uri self, String column, int defaultValue) argument
167 queryForLong(Context context, Uri self, String column, long defaultValue) argument
[all...]
/frameworks/base/libs/common_time/
H A Dmain.cpp37 ProcessState::self()->startThreadPool();
40 IPCThreadState::self()->joinThreadPool();

Completed in 793 milliseconds

123456789