/frameworks/base/tools/orientationplot/ |
H A D | orientationplot.py | 40 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 D | velocityplot.py | 44 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 D | structgen.py | 99 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 D | LockScreenWidgetCallback.java | 27 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 D | reg.py | 100 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 D | android-commands.py | 70 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 D | CAudioRecorder.c | 24 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 D | C3DGroup.c | 24 predestroy_t C3DGroup_PreDestroy(void *self) argument 26 C3DGroup *thiz = (C3DGroup *) self;
|
H A D | CMediaPlayer.c | 27 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 D | COutputMix.c | 24 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/native/opengl/libs/GLES_trace/tools/ |
H A D | testgenapi.py | 25 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 D | genapi.py | 43 def __init__(self, name): 44 self.name = name 46 def __str__(self): 47 if self.name == "pointer": # pointers map to the INT64 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/ex/common/tools/ |
H A D | make-iana-tld-pattern.py | 30 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/base/core/tests/overlaytests/ |
H A D | testrunner.py | 51 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 D | IMIDITempo.c | 22 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 D | I3DCommit.c | 22 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 D | IAudioEncoder.c | 22 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 D | IDynamicSource.c | 22 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 D | IMIDIMessage.c | 22 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 D | IMetadataTraversal.c | 22 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 D | IPitch.c | 22 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 D | main_drmserver.cpp | 31 sp<ProcessState> proc(ProcessState::self()); 35 ProcessState::self()->startThreadPool(); 36 IPCThreadState::self()->joinThreadPool();
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES_Android.h | 70 SLresult (*CreateEffect) (SLAndroidEffectItf self, 73 SLresult (*ReleaseEffect) (SLAndroidEffectItf self, 76 SLresult (*SetEnabled) (SLAndroidEffectItf self, 80 SLresult (*IsEnabled) (SLAndroidEffectItf self, 84 SLresult (*SendCommand) (SLAndroidEffectItf self, 107 SLAndroidEffectSendItf self, 113 SLAndroidEffectSendItf self, 118 SLAndroidEffectSendItf self, 122 SLAndroidEffectSendItf self, 126 SLAndroidEffectSendItf self, [all...] |
/frameworks/support/v4/kitkat/android/support/v4/provider/ |
H A D | DocumentsContractApi19.java | 32 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 D | main.cpp | 37 ProcessState::self()->startThreadPool(); 40 IPCThreadState::self()->joinThreadPool();
|