Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 711) sorted by relevance

12345678910>>...29

/aosp14/frameworks/base/media/java/android/mtp/
H A DMtpStorageManager.java502 if (obj == null || !obj.isDir()) in getByPath()
508 obj = obj.getChild(name); in getByPath()
665 mObjects.put(obj.getId(), obj); in addObjectToCache() local
804 if ((!obj.isDir()) && (obj.getSize() > 0)) in handleChangedObject()
866 if (!obj.isRoot() && mObjects.get(obj.getId()) != obj) { in checkConsistency()
881 if (obj.getParent().getChild(obj.getName()) != obj) { in checkConsistency()
981 obj.getParent().addChild(obj); in beginRenameObject()
1024 return !obj.isRoot() && !isSpecialSubDir(obj) in beginRemoveObject()
1079 obj.getParent().addChild(obj); in beginMoveObject()
1266 mObjects.put(obj.getId(), obj); in generalBeginCopyObject() local
[all …]
H A DMtpDatabase.java436 if (obj == null || !mManager.endSendObject(obj, succeeded)) { in endSendObject()
567 if (obj == null) { in renameFile()
646 if (obj == null || !mManager.endCopyObject(obj, success)) { in endCopyObject()
758 if (obj == null) { in getObjectInfo()
777 if (obj == null) { in getObjectFilePath()
821 if (obj == null) { in getObjectFormat()
855 if (obj == null) { in getThumbnailInfo()
904 if (obj == null) { in getThumbnailData()
943 if (obj == null) { in beginDeleteObject()
955 if (obj == null) { in endDeleteObject()
[all …]
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/wakeups/
H A DCpuWakeupStatsTest.java151 populateDefaultProcStates(obj); in irqAttributionAllCombinations()
195 populateDefaultProcStates(obj); in alarmIrqAttributionSolo()
228 populateDefaultProcStates(obj); in soundTriggerIrqAttributionSolo()
262 populateDefaultProcStates(obj); in wifiIrqAttributionSolo()
292 populateDefaultProcStates(obj); in alarmAndWifiIrqAttribution()
294 obj.noteWakeupTimeAndReason(wakeupTime, 4, in alarmAndWifiIrqAttribution()
368 populateDefaultProcStates(obj); in unknownAndWifiAttribution()
370 obj.noteWakeupTimeAndReason(wakeupTime, 24, in unknownAndWifiAttribution()
422 populateDefaultProcStates(obj); in abnormalAlarmAttribution()
490 obj.onUidRemoved(uids.get(i)); in uidProcStateBookkeeping()
[all …]
/aosp14/frameworks/base/libs/hwui/jni/
H A DCamera.cpp8 static void Camera_constructor(JNIEnv* env, jobject obj) { in Camera_constructor() argument
13 static void Camera_destructor(JNIEnv* env, jobject obj) { in Camera_destructor() argument
14 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_destructor()
19 static void Camera_save(JNIEnv* env, jobject obj) { in Camera_save() argument
20 jlong viewHandle = env->GetLongField(obj, gNativeInstanceFieldID); in Camera_save()
25 static void Camera_restore(JNIEnv* env, jobject obj) { in Camera_restore() argument
31 static void Camera_translate(JNIEnv* env, jobject obj, in Camera_translate() argument
70 static jfloat Camera_getLocationX(JNIEnv* env, jobject obj) { in Camera_getLocationX() argument
76 static jfloat Camera_getLocationY(JNIEnv* env, jobject obj) { in Camera_getLocationY() argument
82 static jfloat Camera_getLocationZ(JNIEnv* env, jobject obj) { in Camera_getLocationZ() argument
[all …]
H A Dandroid_graphics_Matrix.cpp34 delete obj; in finalizer()
45 *obj = *src; in create()
47 obj->reset(); in create()
154 obj->reset(); in reset()
160 *obj = *other; in set()
176 obj->setScale(sx, sy); in setScale__FF()
210 obj->setSkew(kx, ky); in setSkew__FF()
217 obj->setConcat(*a, *b); in setConcat()
233 obj->preScale(sx, sy); in preScale__FF()
255 obj->preSkew(kx, ky); in preSkew__FF()
[all …]
H A DPath.cpp38 delete obj; in finalizer()
75 obj->moveTo(x, y); in moveTo__FF()
80 obj->rMoveTo(dx, dy); in rMoveTo()
85 obj->lineTo(x, y); in lineTo__FF()
90 obj->rLineTo(dx, dy); in rLineTo()
139 obj->close(); in close()
199 obj->addPath(*src); in addPath__Path()
212 obj->offset(dx, dy); in offset__FF()
217 obj->setLastPt(dx, dy); in setLastPoint()
504 obj->reset(); in reset()
[all …]
H A DGraphics.cpp259 *L = env->GetIntField(obj, gRect_leftFieldID); in get_jrect()
260 *T = env->GetIntField(obj, gRect_topFieldID); in get_jrect()
261 *R = env->GetIntField(obj, gRect_rightFieldID); in get_jrect()
269 env->SetIntField(obj, gRect_leftFieldID, L); in set_jrect()
270 env->SetIntField(obj, gRect_topFieldID, T); in set_jrect()
271 env->SetIntField(obj, gRect_rightFieldID, R); in set_jrect()
272 env->SetIntField(obj, gRect_bottomFieldID, B); in set_jrect()
341 env->SetIntField(obj, gPoint_xFieldID, ir.fX); in ipoint_to_jpoint()
342 env->SetIntField(obj, gPoint_yFieldID, ir.fY); in ipoint_to_jpoint()
526 return obj; in createBitmapRegionDecoder()
[all …]
/aosp14/frameworks/base/
H A DCleanSpec.mk57 $(call add-clean-step, rm -f $(PRODUCT_OUT)/obj/lib/libequalizer.so)
58 $(call add-clean-step, rm -f $(PRODUCT_OUT)/obj/lib/libequalizertest.so)
59 $(call add-clean-step, rm -f $(PRODUCT_OUT)/obj/lib/libreverb.so)
60 $(call add-clean-step, rm -f $(PRODUCT_OUT)/obj/lib/libreverbtest.so)
72 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/lib/libandroid_runtime.so)
76 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/lib/libhwui.so)
88 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/Music2_intermediates)
96 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/RSTest_intermediates/)
122 $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/*/src/renderscript)
155 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/lib/librtp_jni.so)
[all …]
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
H A DObjectPrinter.java68 if (obj == null) { in print()
72 if (obj instanceof Boolean) { in print()
73 builder.append(obj); in print()
76 if (obj instanceof Number) { in print()
77 builder.append(obj); in print()
80 if (obj instanceof Character) { in print()
82 builder.append(obj); in print()
86 if (obj instanceof String) { in print()
88 builder.append(obj.toString()); in print()
93 Class cls = obj.getClass(); in print()
[all …]
/aosp14/frameworks/base/core/java/android/metrics/
H A DLogMaker.java288 return (Integer) obj; in getCategory()
298 return (Integer) obj; in getType()
308 return (Integer) obj; in getSubtype()
317 if (obj instanceof Long) { in getTimestamp()
318 return (Long) obj; in getTimestamp()
328 return (String) obj; in getPackageName()
338 return (Integer) obj; in getProcessId()
348 return (Integer) obj; in getUid()
358 return (String) obj; in getCounterName()
377 return obj instanceof Long; in isLongCounterBucket()
[all …]
/aosp14/frameworks/base/rs/java/android/renderscript/
H A DFieldPacker.java251 if (obj != null) { in addObj()
641 addI8((Byte)obj); in add()
646 addI16((Short)obj); in add()
656 addI64((Long)obj); in add()
671 addI8((Byte2)obj); in add()
676 addI8((Byte3)obj); in add()
681 addI8((Byte4)obj); in add()
701 addI32((Int2)obj); in add()
706 addI32((Int3)obj); in add()
711 addI32((Int4)obj); in add()
[all …]
H A DScriptGroup.java218 if (obj instanceof Future) { in retrieveValueAndDependenceInfo()
219 Future f = (Future)obj; in retrieveValueAndDependenceInfo()
220 obj = f.getValue(); in retrieveValueAndDependenceInfo()
229 if (obj instanceof Input) { in retrieveValueAndDependenceInfo()
276 obj = ((Future)obj).getValue(); in getGlobal()
287 obj = ((Future)obj).getValue(); in setArg()
289 mArgs[index] = obj; in setArg()
296 obj = ((Future)obj).getValue(); in setGlobal()
453 Object obj = inputs[i]; in execute() local
454 if (obj instanceof Future || obj instanceof Input) { in execute()
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/
H A DLeakCheckedTest.java100 Object obj = mLeakCheckers.get(cls); in getLeakChecker() local
101 if (obj == null) { in getLeakChecker()
110 obj = new FakeZenModeController(this); in getLeakChecker()
112 obj = new FakeCastController(this); in getLeakChecker()
114 obj = new FakeHotspotController(this); in getLeakChecker()
122 obj = new FakeBatteryController(this); in getLeakChecker()
130 obj = new FakeNetworkController(this); in getLeakChecker()
132 obj = new FakePluginManager(this); in getLeakChecker()
134 obj = new FakeTunerService(this); in getLeakChecker()
142 mLeakCheckers.put(cls, obj); in getLeakChecker()
[all …]
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifTag.java457 public boolean setValue(Object obj) { in setValue() argument
458 if (obj == null) { in setValue()
465 return setValue((int[]) obj); in setValue()
476 } else if (obj instanceof Long) { in setValue()
478 } else if (obj instanceof Byte) { in setValue()
482 Short[] arr = (Short[]) obj; in setValue()
498 Long[] arr = (Long[]) obj; in setValue()
506 Byte[] arr = (Byte[]) obj; in setValue()
962 public boolean equals(Object obj) { in equals() argument
963 if (obj == null) { in equals()
[all …]
/aosp14/frameworks/base/media/java/android/media/tv/interactive/
H A DITvInteractiveAppSessionWrapper.java155 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
209 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
219 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
225 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
235 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
245 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
275 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
290 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
312 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
318 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
[all …]
/aosp14/frameworks/base/tests/ProtoInputStreamTests/src/com/android/test/protoinputstream/
H A DProtoInputStreamObjectTest.java215 SimpleObject obj = null; in testObjectAndTwoChars() local
227 obj.parseProto(pi); in testObjectAndTwoChars()
240 assertNotNull(obj); in testObjectAndTwoChars()
241 assertEquals('b', obj.mChar); in testObjectAndTwoChars()
285 SimpleObject obj = null; in testComplexObject() local
310 assertNotNull(obj); in testComplexObject()
311 assertEquals('y', obj.mChar); in testComplexObject()
354 SimpleObject obj = null; in testDeepObjects() local
370 assertNotNull(obj); in testDeepObjects()
371 assertEquals('a', obj.mChar); in testDeepObjects()
[all …]
/aosp14/frameworks/base/core/jni/
H A Dandroid_hardware_input_InputWindowHandle.cpp111 jobject obj = env->NewLocalRef(mObjWeak); in updateInfo() local
112 if (!obj) { in updateInfo()
131 mInfo.frameLeft = env->GetIntField(obj, in updateInfo()
133 mInfo.frameTop = env->GetIntField(obj, in updateInfo()
135 mInfo.frameRight = env->GetIntField(obj, in updateInfo()
137 mInfo.frameBottom = env->GetIntField(obj, in updateInfo()
139 mInfo.surfaceInset = env->GetIntField(obj, in updateInfo()
141 mInfo.globalScaleFactor = env->GetFloatField(obj, in updateInfo()
144 jobject regionObj = env->GetObjectField(obj, in updateInfo()
170 mInfo.displayId = env->GetIntField(obj, in updateInfo()
[all …]
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
H A DDecimalFormatPerfTest.java58 public void formatWithGrouping(Object obj) { in formatWithGrouping() argument
63 DF.format(obj); in formatWithGrouping()
67 public void format(String pattern, Object obj) { in format() argument
71 PATTERN_INSTANCE.format(obj); in format()
75 public void format(Object obj) { in format() argument
78 DF.format(obj); in format()
85 DF.formatToCharacterIterator(obj); in formatToCharacterIterator()
90 public void formatCurrencyUS(Object obj) { in formatCurrencyUS() argument
93 DF_CURRENCY_US.format(obj); in formatCurrencyUS()
97 public void formatCurrencyFR(Object obj) { in formatCurrencyFR() argument
[all …]
/aosp14/frameworks/base/media/java/android/media/tv/
H A DITvInputSessionWrapper.java139 mTvInputSessionImpl.setMain((Boolean) msg.obj); in executeMessage()
147 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
157 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
171 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
177 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
188 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
206 mTvInputSessionImpl.timeShiftPlay((Uri) msg.obj); in executeMessage()
234 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
252 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
271 SomeArgs args = (SomeArgs) msg.obj; in executeMessage()
[all …]
H A DTvTrackInfo.java370 TvTrackInfo obj = (TvTrackInfo) o; in equals() local
372 if (!TextUtils.equals(mId, obj.mId) || mType != obj.mType in equals()
373 || !TextUtils.equals(mLanguage, obj.mLanguage) in equals()
375 || !TextUtils.equals(mEncoding, obj.mEncoding) in equals()
376 || mEncrypted != obj.mEncrypted) { in equals()
385 && mHardOfHearing == obj.mHardOfHearing in equals()
386 && mSpokenSubtitle == obj.mSpokenSubtitle; in equals()
389 return mVideoWidth == obj.mVideoWidth in equals()
390 && mVideoHeight == obj.mVideoHeight in equals()
391 && mVideoFrameRate == obj.mVideoFrameRate in equals()
[all …]
/aosp14/frameworks/base/media/java/android/media/
H A DAudioMetadata.java299 if (obj == this) { in createKey()
302 if (!(obj instanceof Key)) { in createKey()
305 Key<?> other = (Key<?>) obj; in createKey()
386 public boolean equals(Object obj) { in equals() argument
387 if (obj == this) { in equals()
393 BaseMap other = (BaseMap) obj; in equals()
647 output.putInt(obj);
660 output.putLong(obj);
673 output.putFloat(obj);
686 output.putDouble(obj);
[all …]
/aosp14/frameworks/base/media/tests/MtpTests/src/android/mtp/
H A DMtpStorageManagerTest.java219 Assert.assertTrue(obj.isDir()); in testMtpObjectIsDirTrue()
362 Assert.assertNotNull(obj); in testGetByPath()
374 Assert.assertNull(obj); in testGetByPathError()
384 Assert.assertNotNull(obj); in testGetObject()
386 Assert.assertEquals(manager.getObject(obj.getId()), obj); in testGetObject() local
709 Assert.assertNull(manager.getObject(obj.getId())); in testSendObjectSuccessDeleted()
790 Assert.assertTrue(manager.beginRemoveObject(obj)); in testRemoveObjectSuccess()
796 Assert.assertNull(manager.getObject(obj.getId())); in testRemoveObjectSuccess()
865 int id = obj.getId(); in testRemoveObjectSuccessAdded()
892 Assert.assertEquals(manager.getObject(obj.getId()), obj); in testRemoveObjectFailed() local
[all …]
/aosp14/frameworks/base/core/java/android/os/
H A DMessage.java69 public Object obj; field in Message
178 m.obj = orig.obj; in obtain()
245 m.obj = obj; in obtain()
282 int arg1, int arg2, Object obj) { in obtain() argument
288 m.obj = obj; in obtain()
331 obj = null; in recycleUnchecked()
359 this.obj = o.obj; in copyFrom()
561 if (obj != null) { in toString()
563 b.append(obj); in toString()
596 if (obj != null) { in dumpDebug()
[all …]
/aosp14/frameworks/base/telecomm/java/android/telecom/
H A DConnectionServiceAdapterServant.java98 SomeArgs args = (SomeArgs) msg.obj;
111 SomeArgs args = (SomeArgs) msg.obj;
136 SomeArgs args = (SomeArgs) msg.obj;
161 SomeArgs args = (SomeArgs) msg.obj;
171 SomeArgs args = (SomeArgs) msg.obj;
186 SomeArgs args = (SomeArgs) msg.obj;
196 SomeArgs args = (SomeArgs) msg.obj;
218 SomeArgs args = (SomeArgs) msg.obj;
232 SomeArgs args = (SomeArgs) msg.obj;
242 SomeArgs args = (SomeArgs) msg.obj;
[all …]
/aosp14/frameworks/base/core/tests/utiltests/jni/
H A Dregistration.cpp26 JNIEnv * env, jobject obj, jstring name, jint size);
28 JNIEnv * env, jobject obj, jint fd, jint size);
32 __attribute__((unused)) JNIEnv * env,__attribute__((unused)) jobject obj, in Java_android_util_MemoryIntArrayTest_nativeCreateAshmem() argument
35 return android_util_MemoryIntArrayTest_createAshmem(env, obj, name, size); in Java_android_util_MemoryIntArrayTest_nativeCreateAshmem()
39 __attribute__((unused)) JNIEnv * env,__attribute__((unused)) jobject obj, in Java_android_util_MemoryIntArrayTest_nativeSetAshmemSize() argument
42 android_util_MemoryIntArrayTest_setAshmemSize(env, obj, fd, size); in Java_android_util_MemoryIntArrayTest_nativeSetAshmemSize()

12345678910>>...29