Home
last modified time | relevance | path

Searched refs:mObject (Results 1 – 25 of 59) sorted by relevance

123

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DSimpleFrame.java33 private Object mObject; field in SimpleFrame
53 mObject = new byte[count]; in initWithFormat()
56 mObject = new short[count]; in initWithFormat()
59 mObject = new int[count]; in initWithFormat()
62 mObject = new float[count]; in initWithFormat()
65 mObject = new double[count]; in initWithFormat()
68 mObject = null; in initWithFormat()
84 return mObject; in getObjectValue()
95 return (mObject instanceof int[]) ? (int[])mObject : null; in getInts()
106 return (mObject instanceof float[]) ? (float[])mObject : null; in getFloats()
[all …]
/frameworks/base/core/java/android/content/res/
DAssetManager.java104 @GuardedBy("this") private long mObject; field in AssetManager
148 AssetManager.nativeSetApkAssets(assetManager.mObject, apkAssets, in build()
169 mObject = nativeCreate(); in AssetManager()
185 mObject = nativeCreate(); in AssetManager()
328 nativeSetApkAssets(mObject, mApkAssets, invalidateCaches); in setApkAssets()
458 nativeSetApkAssets(mObject, mApkAssets, true); in addAssetPathInternal()
471 if (mObject == 0) { in ensureValidLocked()
507 mObject, resId, (short) densityDpi, outValue, resolveRefs); in getResourceValue()
554 final int cookie = nativeGetResourceBagValue(mObject, resId, bagEntryId, outValue); in getResourceBagText()
573 return nativeGetResourceArraySize(mObject, resId); in getResourceArraySize()
[all …]
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c41 SLObjectItf mObject; member
88 assert(NULL != p->mObject); in actionDestroy()
89 (*p->mObject)->Destroy(p->mObject); in actionDestroy()
90 p->mObject = NULL; in actionDestroy()
119 SLresult result = (*engineEngine)->CreateAudioPlayer(engineEngine, &p->mObject, &audioSrc, in actionCreate()
128 assert(NULL != p->mObject); in actionRealize()
130 SLresult result = (*p->mObject)->Realize(p->mObject, SL_BOOLEAN_FALSE); in actionRealize()
133 result = (*p->mObject)->GetInterface(p->mObject, SL_IID_PLAY, &p->mPlay); in actionRealize()
135 result = (*p->mObject)->GetInterface(p->mObject, SL_IID_SEEK, &p->mSeek); in actionRealize()
158 assert(NULL == p->mObject); in actionTerminateIfDone()
[all …]
/frameworks/wilhelm/src/
Dsync.cpp37 object_lock_exclusive(&thiz->mObject); in sync_start()
41 object_cond_broadcast(&thiz->mObject); in sync_start()
42 object_unlock_exclusive(&thiz->mObject); in sync_start()
49 object_cond_broadcast(&thiz->mObject); in sync_start()
55 object_unlock_exclusive(&thiz->mObject); in sync_start()
Dclasses.h30 IObject mObject; member
128 IObject mObject; member
172 IObject mObject; member
210 IObject mObject; member
221 IObject mObject; member
232 IObject mObject; member
245 IObject mObject; member
283 IObject mObject; member
311 IObject mObject; member
322 IObject mObject; member
Dentry.cpp100 object_lock_exclusive(&thiz->mObject); in liCreateEngine()
104 SLuint8 *interfaceStateP = thiz->mObject.mInterfaceStates; in liCreateEngine()
128 object_unlock_exclusive(&thiz->mObject); in liCreateEngine()
130 *pEngine = &thiz->mObject.mItf; in liCreateEngine()
156 thiz->mObject.mLossOfControlMask = lossOfControlGlobal ? ~0 : 0; in liCreateEngine()
159 IObject_Publish(&thiz->mObject); in liCreateEngine()
163 *pEngine = &thiz->mObject.mItf; in liCreateEngine()
Dclasses.cpp27 {MPH_OBJECT, INTERFACE_IMPLICIT_PREREALIZE, offsetof(C3DGroup, mObject)},
56 {MPH_OBJECT, INTERFACE_IMPLICIT_PREREALIZE, offsetof(CAudioPlayer, mObject)},
116 {MPH_OBJECT, INTERFACE_IMPLICIT_PREREALIZE, offsetof(CAudioRecorder, mObject)},
161 {MPH_OBJECT, INTERFACE_IMPLICIT_PREREALIZE, offsetof(CEngine, mObject)},
204 {MPH_OBJECT, INTERFACE_IMPLICIT_PREREALIZE, offsetof(CLEDDevice, mObject)},
232 {MPH_OBJECT, INTERFACE_IMPLICIT_PREREALIZE, offsetof(CListener, mObject)},
261 {MPH_OBJECT, INTERFACE_IMPLICIT_PREREALIZE, offsetof(CMetadataExtractor, mObject)},
291 {MPH_OBJECT, INTERFACE_IMPLICIT_PREREALIZE, offsetof(CMidiPlayer, mObject)},
344 {MPH_OBJECT, INTERFACE_IMPLICIT_PREREALIZE, offsetof(COutputMix, mObject)},
388 {MPH_OBJECT, INTERFACE_IMPLICIT_PREREALIZE, offsetof(CVibraDevice, mObject)},
[all …]
/frameworks/base/core/jni/
Dandroid_os_HwRemoteBinder.cpp74 : mVM(jnienv_to_javavm(env)), mObject(env->NewGlobalRef(object)), in HwBinderDeathRecipient()
84 if (mObject != NULL) { in binderDied()
87 …->CallStaticVoidMethod(gProxyOffsets.proxy_class, gProxyOffsets.sendDeathNotice, mObject, mCookie); in binderDied()
101 mObjectWeak = env->NewWeakGlobalRef(mObject); in binderDied()
102 env->DeleteGlobalRef(mObject); in binderDied()
103 mObject = NULL; in binderDied()
122 if (mObject != NULL) { in matches()
123 result = env->IsSameObject(obj, mObject); in matches()
133 if (mObject != NULL) { in warnIfStillLive()
137 ScopedLocalRef<jclass> objClassRef(env, env->GetObjectClass(mObject)); in warnIfStillLive()
[all …]
Dandroid_util_Binder.cpp78 jfieldID mObject; member
340 : mVM(jnienv_to_javavm(env)), mObject(env->NewGlobalRef(object)) in JavaBBinder()
354 return mObject; in object()
363 env->DeleteGlobalRef(mObject); in ~JavaBBinder()
371 …OGV("getInterfaceDescriptor() on %p calling object %p in env %p vm %p\n", this, mObject, env, mVM); in getInterfaceDescriptor()
373 …jstring descriptor = (jstring)env->CallObjectMethod(mObject, gBinderOffsets.mGetInterfaceDescripto… in getInterfaceDescriptor()
395 ALOGV("onTransact() on %p calling object %p in env %p vm %p\n", this, mObject, env, mVM); in onTransact()
403 jboolean res = env->CallBooleanMethod(mObject, gBinderOffsets.mExecTransact, in onTransact()
447 jobject const mObject; // GlobalRef to Java Binder member in JavaBBinder
547 : mVM(jnienv_to_javavm(env)), mObject(env->NewGlobalRef(object)), in JavaDeathRecipient()
[all …]
Dandroid_media_DeviceCallback.cpp47 mObject = env->NewGlobalRef(weak_thiz); in JNIDeviceCallback()
59 env->DeleteGlobalRef(mObject); in ~JNIDeviceCallback()
74 mObject, in onAudioDeviceUpdate()
Dandroid_media_AudioVolumeGroupCallback.cpp57 mObject = env->NewGlobalRef(weak_thiz); in JNIAudioVolumeGroupCallback()
67 env->DeleteGlobalRef(mObject); in ~JNIAudioVolumeGroupCallback()
80 mObject, in onAudioVolumeGroupChanged()
96 mObject, in onServiceDied()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DLeakDetectorTest.java50 private Object mObject; field in LeakDetectorTest
54 mObject = new Object(); in trackObjectWith()
55 CollectionWaiter collectionWaiter = ReferenceTestUtils.createCollectionWaiter(mObject); in trackObjectWith()
56 tracker.accept(mObject); in trackObjectWith()
80 mObject = null; in trackInstance_doesNotLeakTrackedObject()
95 mObject = null; in trackGarbage_doesNotLeakTrackedObject()
/frameworks/wilhelm/src/android/
DMediaPlayer_to_android.cpp64 object_lock_exclusive(&mp->mObject); in player_handleMediaPlayerEventNotifications()
79 if (IsInterfaceInitialized(&mp->mObject, MPH_XAPREFETCHSTATUS)) { in player_handleMediaPlayerEventNotifications()
91 object_unlock_exclusive(&mp->mObject); in player_handleMediaPlayerEventNotifications()
105 object_lock_exclusive(&mp->mObject); in player_handleMediaPlayerEventNotifications()
131 object_unlock_exclusive(&mp->mObject); in player_handleMediaPlayerEventNotifications()
158 object_lock_exclusive(&mp->mObject); in player_handleMediaPlayerEventNotifications()
168 object_unlock_exclusive(&mp->mObject); in player_handleMediaPlayerEventNotifications()
187 object_lock_exclusive(&mp->mObject); in player_handleMediaPlayerEventNotifications()
192 object_unlock_exclusive(&mp->mObject); in player_handleMediaPlayerEventNotifications()
198 if (!IsInterfaceInitialized(&mp->mObject, MPH_XAPREFETCHSTATUS)) { in player_handleMediaPlayerEventNotifications()
[all …]
DAudioPlayer_to_android.cpp53 if (ap->mObject.mEngine->mAudioManager != 0) { in audioManagerPlayerEvent()
54 ap->mObject.mEngine->mAudioManager->playerEvent(ap->mPIId, event); in audioManagerPlayerEvent()
158 object_lock_exclusive(&ap->mObject); in adecoder_writeToBufferQueue()
200 object_unlock_exclusive(&ap->mObject); in adecoder_writeToBufferQueue()
516 if (SL_OBJECT_STATE_UNREALIZED != ap->mObject.mState) { in audioPlayer_setStreamType()
553 if (SL_OBJECT_STATE_UNREALIZED != ap->mObject.mState) { in audioPlayer_setPerformanceMode()
788 object_lock_exclusive(&ap->mObject); in sfplayer_handlePrefetchEvent()
803 if (IsInterfaceInitialized(&ap->mObject, MPH_PREFETCHSTATUS)) { in sfplayer_handlePrefetchEvent()
815 object_unlock_exclusive(&ap->mObject); in sfplayer_handlePrefetchEvent()
826 if (!IsInterfaceInitialized(&ap->mObject, MPH_PREFETCHSTATUS)) { in sfplayer_handlePrefetchEvent()
[all …]
/frameworks/wilhelm/src/objects/
DCOutputMix.cpp63 if (0 == outputMix->mObject.mStrongRefCount) { in COutputMix_PreDestroy()
66 IEngine *thisEngine = &outputMix->mObject.mEngine->mEngine; in COutputMix_PreDestroy()
77 object_cond_wait(&outputMix->mObject); in COutputMix_PreDestroy()
89 outputMix->mObject.mStrongRefCount); in COutputMix_PreDestroy()
/frameworks/wilhelm/src/itf/
DI3DGrouping.cpp33 result = AcquireStrongRef(&newGroup->mObject, SL_OBJECTID_3DGROUP); in I3DGrouping_Set3DGroup()
49 IObject *oldGroupObject = &oldGroup->mObject; in I3DGrouping_Set3DGroup()
58 IObject *newGroupObject = &newGroup->mObject; in I3DGrouping_Set3DGroup()
85 *pGroup = (NULL != group) ? &group->mObject.mItf : NULL; in I3DGrouping_Get3DGroup()
112 IObject *groupObject = &group->mObject; in I3DGrouping_deinit()
DIEngine.cpp119 IObject_Publish(&thiz->mObject); in IEngine_CreateLEDDevice()
121 *pDevice = &thiz->mObject.mItf; in IEngine_CreateLEDDevice()
157 IObject_Publish(&thiz->mObject); in IEngine_CreateVibraDevice()
159 *pDevice = &thiz->mObject.mItf; in IEngine_CreateVibraDevice()
395 IObject_Destroy(&thiz->mObject.mItf); in IEngine_CreateAudioPlayer()
397 IObject_Publish(&thiz->mObject); in IEngine_CreateAudioPlayer()
399 *pPlayer = &thiz->mObject.mItf; in IEngine_CreateAudioPlayer()
534 IObject_Destroy(&thiz->mObject.mItf); in IEngine_CreateAudioRecorder()
536 IObject_Publish(&thiz->mObject); in IEngine_CreateAudioRecorder()
538 *pRecorder = &thiz->mObject.mItf; in IEngine_CreateAudioRecorder()
[all …]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
DObjectSource.java34 private Object mObject; field in ObjectSource
57 if (mObject == null) { in process()
60 FrameFormat outputFormat = ObjectFormat.fromObject(mObject, FrameFormat.TARGET_SIMPLE); in process()
62 mFrame.setObjectValue(mObject); in process()
/frameworks/wilhelm/src/desktop/
DSndFile.cpp29 object_lock_peek(&thisAP->mObject); in SndFile_Callback()
31 object_unlock_peek(&thisAP->mObject); in SndFile_Callback()
50 object_lock_exclusive(&thisAP->mObject); in SndFile_Callback()
76 object_unlock_exclusive(&thisAP->mObject); in SndFile_Callback()
88 object_unlock_exclusive_attributes(&thisAP->mObject, ATTR_TRANSPORT); in SndFile_Callback()
193 object_lock_exclusive(&audioPlayer->mObject); in audioPlayerTransportUpdate()
209 object_unlock_exclusive(&audioPlayer->mObject); in audioPlayerTransportUpdate()
/frameworks/base/services/core/java/com/android/server/display/
DRampAnimator.java28 private final T mObject; field in RampAnimator
45 mObject = object; in RampAnimator()
68 mProperty.setValue(mObject, target); in animateTo()
159 mProperty.setValue(mObject, mCurrentValue);
/frameworks/base/media/jni/
Dandroid_media_MediaHTTPConnection.cpp36 mObject(NULL), in JMediaHTTPConnection()
42 mObject = env->NewWeakGlobalRef(thiz); in JMediaHTTPConnection()
58 env->DeleteWeakGlobalRef(mObject); in ~JMediaHTTPConnection()
59 mObject = NULL; in ~JMediaHTTPConnection()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DNetworkCycleData.java45 private NetworkCycleData mObject = new NetworkCycleData(); field in NetworkCycleData.Builder
63 return mObject; in getObject()
DNetworkCycleDataForUid.java42 private NetworkCycleDataForUid mObject = new NetworkCycleDataForUid(); field in NetworkCycleDataForUid.Builder
56 return mObject; in getObject()
DNetworkCycleChartData.java38 private NetworkCycleChartData mObject = new NetworkCycleChartData(); field in NetworkCycleChartData.Builder
47 return mObject; in getObject()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DBackingStore.java416 private Object mObject = null; field in BackingStore.ObjectBacking
420 mObject = null; in allocate()
437 mObject = backing.lock(ACCESS_OBJECT); in syncTo()
441 mObject = backing.lock(ACCESS_BITMAP); in syncTo()
445 mObject = null; in syncTo()
452 return mObject; in lock()
472 mObject = null; in destroy()
482 mObject = data; in setData()

123