/frameworks/base/core/jni/ |
D | android_media_ToneGenerator.cpp | 39 static fields_t fields; variable 45 fields.context); in android_media_ToneGenerator_startTone() 58 fields.context); in android_media_ToneGenerator_stopTone() 70 fields.context); in android_media_ToneGenerator_getAudioSessionId() 80 fields.context); in android_media_ToneGenerator_release() 83 env->SetLongField(thiz, fields.context, 0); in android_media_ToneGenerator_release() 92 env->SetLongField(thiz, fields.context, 0); in android_media_ToneGenerator_native_setup() 106 env->SetLongField(thiz, fields.context, (jlong)lpToneGen); in android_media_ToneGenerator_native_setup() 108 ALOGV("ToneGenerator fields.context: %p", (void*) env->GetLongField(thiz, fields.context)); in android_media_ToneGenerator_native_setup() 116 fields.context); in android_media_ToneGenerator_native_finalize() [all …]
|
D | android_hardware_Camera.cpp | 60 static fields_t fields; variable 122 …JNICameraContext* context = reinterpret_cast<JNICameraContext*>(env->GetLongField(thiz, fields.con… in get_native_camera() 198 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, in notify() 276 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, in copyAndPost() 307 env->CallStaticVoidMethod(mCameraJClass, fields.post_event, in postData() 347 jobject face = env->NewObject(mFaceClass, fields.face_constructor); in postMetadata() 350 jobject rect = env->NewObject(mRectClass, fields.rect_constructor); in postMetadata() 351 env->SetIntField(rect, fields.rect_left, metadata->faces[i].rect[0]); in postMetadata() 352 env->SetIntField(rect, fields.rect_top, metadata->faces[i].rect[1]); in postMetadata() 353 env->SetIntField(rect, fields.rect_right, metadata->faces[i].rect[2]); in postMetadata() [all …]
|
D | android_hardware_camera2_CameraMetadata.cpp | 62 static fields_t fields; variable 78 fields.metadata_ptr)); in CameraMetadata_getNativeMetadata() 162 return reinterpret_cast<CameraMetadata*>(env->GetLongField(thiz, fields.metadata_ptr)); in CameraMetadata_getPointerNoThrow() 246 env->SetLongField(thiz, fields.metadata_ptr, 0); in CameraMetadata_close() 574 static int find_fields(JNIEnv *env, field *fields, int count) in find_fields() argument 577 field *f = &fields[i]; in find_fields() 612 { CAMERA_METADATA_CLASS_NAME, "mMetadataPtr", "J", &fields.metadata_ptr }, in CameraMetadata_classInit()
|
/frameworks/base/media/jni/ |
D | android_media_MediaMetadataRetriever.cpp | 49 static fields_t fields; variable 73 …MediaMetadataRetriever* retriever = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.conte… in getRetriever() 80 MediaMetadataRetriever *old = (MediaMetadataRetriever*) env->GetLongField(thiz, fields.context); in setRetriever() 81 env->SetLongField(thiz, fields.context, (jlong) retriever); in setRetriever() 256 fields.configClazz, in android_media_MediaMetadataRetriever_getFrameAtTime() 257 fields.createConfigMethod, in android_media_MediaMetadataRetriever_getFrameAtTime() 272 fields.bitmapClazz, in android_media_MediaMetadataRetriever_getFrameAtTime() 273 fields.createBitmapMethod, in android_media_MediaMetadataRetriever_getFrameAtTime() 286 (SkBitmap *) env->GetLongField(jBitmap, fields.nativeBitmap); in android_media_MediaMetadataRetriever_getFrameAtTime() 306 jobject scaledBitmap = env->CallStaticObjectMethod(fields.bitmapClazz, in android_media_MediaMetadataRetriever_getFrameAtTime() [all …]
|
D | android_media_MediaRecorder.cpp | 56 static fields_t fields; variable 105 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, msg, ext1, ext2, 0); in notify() 133 MediaRecorder* const p = (MediaRecorder*)env->GetLongField(thiz, fields.context); in getMediaRecorder() 140 sp<MediaRecorder> old = (MediaRecorder*)env->GetLongField(thiz, fields.context); in setMediaRecorder() 147 env->SetLongField(thiz, fields.context, (jlong)recorder.get()); in setMediaRecorder() 323 jobject surface = env->GetObjectField(thiz, fields.surface); in android_media_MediaRecorder_prepare() 421 fields.context = env->GetFieldID(clazz, "mNativeContext", "J"); in android_media_MediaRecorder_native_init() 422 if (fields.context == NULL) { in android_media_MediaRecorder_native_init() 426 fields.surface = env->GetFieldID(clazz, "mSurface", "Landroid/view/Surface;"); in android_media_MediaRecorder_native_init() 427 if (fields.surface == NULL) { in android_media_MediaRecorder_native_init() [all …]
|
D | android_media_MediaPlayer.cpp | 66 static fields_t fields; variable 118 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, in notify() 123 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, in notify() 138 MediaPlayer* const p = (MediaPlayer*)env->GetLongField(thiz, fields.context); in getMediaPlayer() 145 sp<MediaPlayer> old = (MediaPlayer*)env->GetLongField(thiz, fields.context); in setMediaPlayer() 152 env->SetLongField(thiz, fields.context, (jlong)player.get()); in setMediaPlayer() 256 …IGraphicBufferProducer * const p = (IGraphicBufferProducer*)env->GetLongField(thiz, fields.surface… in getVideoSurfaceTexture() 305 env->SetLongField(thiz, fields.surface_texture, (jlong)new_st.get()); in setVideoSurface() 654 fields.context = env->GetFieldID(clazz, "mNativeContext", "J"); in android_media_MediaPlayer_native_init() 655 if (fields.context == NULL) { in android_media_MediaPlayer_native_init() [all …]
|
D | android_media_MediaScanner.cpp | 49 static fields_t fields; variable 230 return (MediaScanner *) env->GetLongField(thiz, fields.context); in getNativeScanner_l() 235 env->SetLongField(thiz, fields.context, (jlong)s); in setNativeScanner_l() 384 fields.context = env->GetFieldID(clazz, "mNativeContext", "J"); in android_media_MediaScanner_native_init() 385 if (fields.context == NULL) { in android_media_MediaScanner_native_init() 401 env->SetLongField(thiz, fields.context, (jlong)mp); in android_media_MediaScanner_native_setup()
|
/frameworks/base/media/jni/audioeffect/ |
D | android_media_Visualizer.cpp | 58 static fields_t fields; variable 196 fields.midPostNativeEvent, in captureCallback() 217 fields.midPostNativeEvent, in captureCallback() 235 thiz, fields.fidNativeVisualizer); in getVisualizer() 253 fields.clazzEffect = NULL; in android_media_visualizer_native_init() 262 fields.clazzEffect = (jclass)env->NewGlobalRef(clazz); in android_media_visualizer_native_init() 273 fields.midPostNativeEvent = env->GetStaticMethodID( in android_media_visualizer_native_init() 274 fields.clazzEffect, in android_media_visualizer_native_init() 276 if (fields.midPostNativeEvent == NULL) { in android_media_visualizer_native_init() 283 fields.fidNativeVisualizer = env->GetFieldID( in android_media_visualizer_native_init() [all …]
|
D | android_media_AudioEffect.cpp | 51 static fields_t fields; variable 168 fields.midPostNativeEvent, in effectCallback() 192 fields.clazzEffect = NULL; in android_media_AudioEffect_native_init() 193 fields.clazzDesc = NULL; in android_media_AudioEffect_native_init() 202 fields.clazzEffect = (jclass)env->NewGlobalRef(clazz); in android_media_AudioEffect_native_init() 205 fields.midPostNativeEvent = env->GetStaticMethodID( in android_media_AudioEffect_native_init() 206 fields.clazzEffect, in android_media_AudioEffect_native_init() 208 if (fields.midPostNativeEvent == NULL) { in android_media_AudioEffect_native_init() 215 fields.fidNativeAudioEffect = env->GetFieldID( in android_media_AudioEffect_native_init() 216 fields.clazzEffect, in android_media_AudioEffect_native_init() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | SurfaceTexture.cpp | 50 static fields_t fields; variable 58 (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_setSurfaceTexture() 65 env->SetLongField(thiz, fields.surfaceTexture, (jlong)surfaceTexture.get()); in SurfaceTexture_setSurfaceTexture() 72 (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_setProducer() 79 env->SetLongField(thiz, fields.producer, (jlong)producer.get()); in SurfaceTexture_setProducer() 87 env->GetLongField(thiz, fields.frameAvailableListener); in SurfaceTexture_setFrameAvailableListener() 94 env->SetLongField(thiz, fields.frameAvailableListener, (jlong)listener.get()); in SurfaceTexture_setFrameAvailableListener() 98 return (GLConsumer*)env->GetLongField(thiz, fields.surfaceTexture); in SurfaceTexture_getSurfaceTexture() 102 return (IGraphicBufferProducer*)env->GetLongField(thiz, fields.producer); in SurfaceTexture_getProducer() 185 env->CallStaticVoidMethod(mClazz, fields.postEvent, mWeakThiz); in onFrameAvailable() [all …]
|
/frameworks/base/media/mca/ |
D | structgen.py | 188 self.fields = [] 236 self.fields.append(fieldtype) 265 cfields = [f.cString() for f in self.fields] 271 jgetters = [f.javaGetter() for f in self.fields] 272 jsetters = [f.javaSetter() for f in self.fields] 273 jnativesetters = [f.javaNativeSetter() for f in self.fields] 274 jnativegetters = [f.javaNativeGetter() for f in self.fields] 304 jnigetters = [f.jniGetterDefString() for f in self.fields] 305 jnisetters = [f.jniSetterDefString() for f in self.fields] 309 jnigetters = [f.jniGetterImplString() for f in self.fields] [all …]
|
/frameworks/base/media/jni/soundpool/ |
D | android_media_SoundPool_SoundPoolImpl.cpp | 34 } fields; variable 36 return (SoundPool*)env->GetLongField(thiz, fields.mNativeContext); in MusterSoundPool() 182 …env->CallStaticVoidMethod(fields.mSoundPoolClass, fields.mPostEvent, user, event.mMsg, event.mArg1… in android_media_callback() 215 env->SetLongField(thiz, fields.mNativeContext, (jlong) ap); in android_media_SoundPool_SoundPoolImpl_native_setup() 242 env->SetLongField(thiz, fields.mNativeContext, 0); in android_media_SoundPool_SoundPoolImpl_release() 333 fields.mNativeContext = env->GetFieldID(clazz, "mNativeContext", "J"); in JNI_OnLoad() 334 if (fields.mNativeContext == NULL) { in JNI_OnLoad() 339 fields.mPostEvent = env->GetStaticMethodID(clazz, "postEventFromNative", in JNI_OnLoad() 341 if (fields.mPostEvent == NULL) { in JNI_OnLoad() 348 fields.mSoundPoolClass = (jclass) env->NewGlobalRef(clazz); in JNI_OnLoad()
|
/frameworks/rs/scriptc/ |
D | rs_types.rsh | 211 * Provides two float fields packed into a single 64 bit field with 64 bit 216 * Vector version of the basic float type. Provides three float fields packed 222 * Provides four float fields packed into a single 128 bit field with 128 bit 228 * Vector version of the basic double type. Provides two double fields packed 233 * Vector version of the basic double type. Provides three double fields packed 238 * Vector version of the basic double type. Provides four double fields packed 244 * Vector version of the basic uchar type. Provides two uchar fields packed 249 * Vector version of the basic uchar type. Provides three uchar fields packed 254 * Vector version of the basic uchar type. Provides four uchar fields packed 260 * Vector version of the basic ushort type. Provides two ushort fields packed [all …]
|
/frameworks/base/docs/html/design/building-blocks/ |
D | text-fields.jd | 12 <p itemprop="description">Text fields allow the user to type text into your app. They can be either… 14 typing, text fields allow for a variety of other activities, such as text selection (cut, copy, 27 <p>Single-line fields automatically scroll their content to the left as the text input cursor reach… 28 the right edge of the input field. Multi-line text fields automatically break to a new line for 37 <p>Text fields can have different types, such as number, message, or email address. The type determ… 44 <h4>Auto-complete text fields</h4> 45 <p>Use auto-complete text fields to present real-time completions or search results in popups, so u…
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BinderThreadPriorityTest.java | 102 String fields[] = line.trim().split(":"); in getSchedulerGroup() local 103 if (fields.length == 3 && fields[1].equals("cpu")) return fields[2]; in getSchedulerGroup()
|
/frameworks/base/core/java/android/net/ |
D | INetworkStatsSession.aidl | 29 NetworkStatsHistory getHistoryForNetwork(in NetworkTemplate template, int fields); in getHistoryForNetwork() argument 34 …kStatsHistory getHistoryForUid(in NetworkTemplate template, int uid, int set, int tag, int fields); in getHistoryForUid() argument
|
D | NetworkStatsHistory.java | 102 public NetworkStatsHistory(long bucketDuration, int initialSize, int fields) { in NetworkStatsHistory() argument 105 if ((fields & FIELD_ACTIVE_TIME) != 0) activeTime = new long[initialSize]; in NetworkStatsHistory() 106 if ((fields & FIELD_RX_BYTES) != 0) rxBytes = new long[initialSize]; in NetworkStatsHistory() 107 if ((fields & FIELD_RX_PACKETS) != 0) rxPackets = new long[initialSize]; in NetworkStatsHistory() 108 if ((fields & FIELD_TX_BYTES) != 0) txBytes = new long[initialSize]; in NetworkStatsHistory() 109 if ((fields & FIELD_TX_PACKETS) != 0) txPackets = new long[initialSize]; in NetworkStatsHistory() 110 if ((fields & FIELD_OPERATIONS) != 0) operations = new long[initialSize]; in NetworkStatsHistory()
|
/frameworks/base/tools/apilint/ |
D | apilint.py | 118 self.fields = [] 182 clazz.fields.append(Field(clazz, raw, blame)) 218 for f in clazz.fields: 303 for f in clazz.fields: 336 for f in clazz.fields: 368 creator = [ i for i in clazz.fields if i.name == "CREATOR" ] 381 for f in clazz.fields: 404 for f in clazz.fields: 489 for f in clazz.fields: 507 for f in clazz.fields: [all …]
|
/frameworks/base/core/java/android/view/ |
D | ViewDebug.java | 1003 Field[] fields = map.get(klass); in getExportedPropertyFields() local 1004 if (fields != null) { in getExportedPropertyFields() 1005 return fields; in getExportedPropertyFields() 1009 fields = klass.getDeclaredFields(); in getExportedPropertyFields() 1011 int count = fields.length; in getExportedPropertyFields() 1013 final Field field = fields[i]; in getExportedPropertyFields() 1021 fields = foundFields.toArray(new Field[foundFields.size()]); in getExportedPropertyFields() 1022 map.put(klass, fields); in getExportedPropertyFields() 1024 return fields; in getExportedPropertyFields() 1217 final Field[] fields = getExportedPropertyFields(klass); in exportFields() local [all …]
|
/frameworks/base/test-runner/src/android/test/ |
D | ActivityTestCase.java | 63 final Field[] fields = getClass().getDeclaredFields(); in scrubClass() local 64 for (Field field : fields) { in scrubClass()
|
D | InstrumentationCoreTestRunner.java | 173 Field[] fields = clazz.getDeclaredFields(); in getAndroidTestRunner() 174 for (int i = 0; i < fields.length; i++) { in getAndroidTestRunner() 175 Field f = fields[i]; in getAndroidTestRunner()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZoneData.java | 334 String[] fields = line.split("\t+"); in loadTzsInZoneTab() local 335 String newTzId = fields[1]; in loadTzsInZoneTab() 336 String oldTzId = fields[fields.length - 1]; in loadTzsInZoneTab() 384 final String[] fields = line.split("\t"); in loadTzsInZoneTab() local 385 final String timeZoneId = fields[2]; in loadTzsInZoneTab() 386 final String countryCode = fields[0]; in loadTzsInZoneTab()
|
/frameworks/base/core/java/android/test/ |
D | AndroidTestCase.java | 158 final Field[] fields = getClass().getDeclaredFields(); in scrubClass() local 159 for (Field field : fields) { in scrubClass()
|
/frameworks/compile/slang/tests/F_struct_bitfield/ |
D | stderr.txt.expect | 1 struct_bitfield.rs:5:9: error: bit fields are not able to be exported: 's.x'
|
/frameworks/base/libs/hwui/ |
D | RenderNode.h | 144 void setPropertyFieldsDirty(uint32_t fields) { in setPropertyFieldsDirty() argument 145 mDirtyPropertyFields |= fields; in setPropertyFieldsDirty()
|