Home
last modified time | relevance | path

Searched refs:mClass (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
DJavaClass.java26 public final Class mClass; field in JavaClass
29 mClass = clazz; in JavaClass()
34 return toJavaCode(mClass); in toJavaCode()
48 return mClass.isArray(); in isArray()
53 if (mClass.isArray()) { in getComponentType()
54 return new JavaClass(mClass.getComponentType()); in getComponentType()
64 return Object.class.isAssignableFrom(mClass); in isNullable()
69 return mClass.isPrimitive(); in isPrimitive()
74 return boolean.class.equals(mClass); in isBoolean()
79 return char.class.equals(mClass); in isChar()
[all …]
/frameworks/base/core/java/android/content/
DComponentName.java40 private final String mClass; field in ComponentName
104 mClass = cls; in ComponentName()
118 mClass = cls; in ComponentName()
131 mClass = cls.getName(); in ComponentName()
135 return new ComponentName(mPackage, mClass); in clone()
149 return mClass; in getClassName()
157 if (mClass.startsWith(mPackage)) { in getShortClassName()
159 int CN = mClass.length(); in getShortClassName()
160 if (CN > PN && mClass.charAt(PN) == '.') { in getShortClassName()
161 return mClass.substring(PN, CN); in getShortClassName()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothClass.java58 private final int mClass; field in BluetoothClass
62 mClass = classInt; in BluetoothClass()
68 return mClass == ((BluetoothClass)o).mClass; in equals()
75 return mClass; in hashCode()
80 return Integer.toHexString(mClass); in toString()
98 out.writeInt(mClass); in writeToParcel()
130 return ((mClass & Service.BITMASK & service) != 0); in hasService()
258 return (mClass & Device.Major.BITMASK); in getMajorDeviceClass()
271 return (mClass & Device.BITMASK); in getDeviceClass()
/frameworks/base/packages/Osu/src/com/android/hotspot2/asn1/
DAsn1Object.java8 private final Asn1Class mClass; field in Asn1Object
20 mClass = asn1Class; in Asn1Object()
31 return mClass; in getAsn1Class()
68 return mTag == id.getTag() && mClass == id.getAsn1Class(); in matches()
72 Asn1Tag tag = mClass == Asn1Class.Universal ? Asn1Decoder.mapTag(mTag) : null; in toSimpleString()
75 } else if (mClass == Asn1Class.Universal) { in toSimpleString()
78 return String.format("[%s %d]", mClass, mTag); in toSimpleString()
DAsn1ID.java5 private final Asn1Class mClass; field in Asn1ID
9 mClass = asn1Class; in Asn1ID()
17 return mClass; in getAsn1Class()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrameType.java110 private final Class<?> mClass; field in FrameType
196 return FrameType.fetchType(mClass, 0); in asSingle()
209 return FrameType.fetchType(mClass, 1); in asArray()
218 return mClass; in getContentClass()
284 && mAccessHints == type.mAccessHints && mClass == type.mClass; in equals()
291 return mElementId ^ mDimensions ^ mAccessHints ^ mClass.hashCode(); in hashCode()
296 String result = elementToString(mElementId, mClass) + "[" + mDimensions + "]"; in toString()
319 return keyValueForType(mElementId, mDimensions, mAccessHints, mClass); in keyString()
338 Class<?> mergedClass = mergeClasses(writer.mClass, reader.mClass); in tryMergeObjectTypes()
339 boolean success = mergedClass != null || writer.mClass == null; in tryMergeObjectTypes()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DPluginInflateContainer.java56 private Class<?> mClass; field in PluginInflateContainer
64 mClass = Class.forName(viewType); in PluginInflateContainer()
67 mClass = null; in PluginInflateContainer()
74 if (mClass != null) { in onAttachedToWindow()
75 Dependency.get(PluginManager.class).addPluginListener(this, mClass); in onAttachedToWindow()
82 if (mClass != null) { in onDetachedFromWindow()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/
DSpannableBuilderTest.java57 private Class mClass; field in SpannableBuilderTest
62 mClass = mWatcher.getClass(); in setup()
67 new SpannableBuilder(mClass); in testConstructor()
69 new SpannableBuilder(mClass, "abc"); in testConstructor()
71 new SpannableBuilder(mClass, "abc", 0, 3); in testConstructor()
78 final SpannableBuilder spannable = new SpannableBuilder(mClass, "abc"); in testSubSequence()
95 final SpannableBuilder spannable = new SpannableBuilder(mClass, "abcde"); in testSetAndGetSpan()
99 Object[] spans = spannable.getSpans(0, spannable.length(), mClass); in testSetAndGetSpan()
118 final SpannableBuilder spannable = new SpannableBuilder(mClass, "abcde"); in testNextSpanTransition()
120 final int start = spannable.nextSpanTransition(0, spannable.length(), mClass); in testNextSpanTransition()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDelegateManager.java77 private final Class<T> mClass; field in DelegateManager
88 mClass = theClass; in DelegateManager()
111 System.err.println("Unknown " + mClass.getSimpleName() + " with int " + in getDelegate()
138 "New " + mClass.getSimpleName() + " " + in addNewDelegate()
155 System.out.println("Removing main Java ref on " + mClass.getSimpleName() + in removeJavaReferenceFor()
/frameworks/base/core/java/android/app/usage/
DUsageEvents.java122 public String mClass; field in UsageEvents.Event
178 mClass = orig.mClass; in Event()
201 return mClass; in getClassName()
248 ret.mClass = INSTANT_APP_CLASS_NAME; in getObfuscatedIfInstantApp()
375 if (event.mClass != null) { in writeEventToParcel()
376 classIndex = findStringIndex(event.mClass); in writeEventToParcel()
413 eventOut.mClass = mStringPool[classIndex]; in readEventFromParcel()
415 eventOut.mClass = null; in readEventFromParcel()
/frameworks/base/core/java/android/hardware/usb/
DUsbInterface.java42 private final int mClass; field in UsbInterface
58 mClass = Class; in UsbInterface()
103 return mClass; in getInterfaceClass()
154 ",mName=" + mName + ",mClass=" + mClass + in toString()
193 parcel.writeInt(mClass); in writeToParcel()
DUsbDevice.java55 private final int mClass; field in UsbDevice
75 mClass = Class; in UsbDevice()
168 return mClass; in getDeviceClass()
280 ",mClass=" + mClass + ",mSubclass=" + mSubclass + ",mProtocol=" + mProtocol + in toString()
324 parcel.writeInt(mClass); in writeToParcel()
/frameworks/base/cmds/app_process/
Dapp_main.cpp38 , mClass(NULL) in AppRuntime()
69 mClass = env->FindClass(slashClassName); in onVmCreated()
70 if (mClass == NULL) { in onVmCreated()
75 mClass = reinterpret_cast<jclass>(env->NewGlobalRef(mClass)); in onVmCreated()
85 ar->callMain(mClassName, mClass, mArgs); in onStarted()
112 jclass mClass; member in android::AppRuntime
/frameworks/base/core/jni/
Dandroid_media_DeviceCallback.cpp44 mClass = (jclass)env->NewGlobalRef(clazz); in JNIDeviceCallback()
61 env->DeleteGlobalRef(mClass); in ~JNIDeviceCallback()
73 env->CallStaticVoidMethod(mClass, in onAudioDeviceUpdate()
Dandroid_util_Binder.cpp69 jclass mClass; member
82 jclass mClass; member
91 jclass mClass; member
99 jclass mClass; member
120 jclass mClass; member
126 jclass mClass; member
132 jclass mClass; member
150 env->CallStaticVoidMethod(gBinderInternalOffsets.mClass, in incRefsCreated()
187 gLogOffsets.mClass, gLogOffsets.mLogE, tagstr, msgstr, excep); in report_exception()
194 if (env->IsInstanceOf(excep, gErrorOffsets.mClass)) { in report_exception()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_SerialService.cpp33 jclass mClass; member
53 return env->NewObject(gParcelFileDescriptorOffsets.mClass, in android_server_SerialService_open()
73 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz); in register_android_server_SerialService()
Dcom_android_server_UsbDeviceManager.cpp40 jclass mClass; member
92 return env->NewObject(gParcelFileDescriptorOffsets.mClass, in android_server_UsbDeviceManager_openAccessory()
142 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz); in register_android_server_UsbDeviceManager()
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableArray.java45 private final Class<T> mClass; field in MarshalQueryableArray.MarshalerArray
53 mClass = (Class<T>)typeReference.getRawType(); in MarshalerArray()
88 arraySize, elementSize, remaining, mClass)); in unmarshal()
112 + mClass); in unmarshal()
115 return mClass.cast(array); in unmarshal()
DMarshalQueryableParcelable.java43 private final Class<T> mClass; field in MarshalQueryableParcelable.MarshalerParcelable
51 mClass = (Class<T>)typeReference.getRawType(); in MarshalerParcelable()
54 creatorField = mClass.getDeclaredField(FIELD_CREATOR); in MarshalerParcelable()
150 return mClass.cast(value); in unmarshal()
DMarshalQueryableRange.java38 private final Class<? super Range<T>> mClass; field in MarshalQueryableRange.MarshalerRange
48 mClass = typeReference.getRawType(); in MarshalerRange()
68 mConstructor = (Constructor<Range<T>>)mClass.getConstructor( in MarshalerRange()
DMarshalQueryablePair.java37 private final Class<? super Pair<T1, T2>> mClass; field in MarshalQueryablePair.MarshalerPair
49 mClass = typeReference.getRawType(); in MarshalerPair()
83 mConstructor = (Constructor<Pair<T1, T2>>)mClass.getConstructor( in MarshalerPair()
DMarshalQueryableEnum.java49 private final Class<T> mClass; field in MarshalQueryableEnum.MarshalerEnum
55 mClass = (Class<T>)typeReference.getRawType(); in MarshalerEnum()
92 return getEnumFromValue(mClass, enumValue); in unmarshal()
/frameworks/base/media/jni/
Dandroid_media_MediaHTTPConnection.cpp35 : mClass(NULL), in JMediaHTTPConnection()
41 mClass = (jclass)env->NewGlobalRef(clazz); in JMediaHTTPConnection()
60 env->DeleteGlobalRef(mClass); in ~JMediaHTTPConnection()
61 mClass = NULL; in ~JMediaHTTPConnection()
/frameworks/base/services/core/java/com/android/server/am/
DActiveInstrumentation.java34 ComponentName mClass; field in ActiveInstrumentation
83 sb.append(mClass.toShortString()); in toString()
95 pw.print(prefix); pw.print("mClass="); pw.print(mClass); in dump()
/frameworks/base/core/jni/android/graphics/
DGraphicBuffer.cpp59 jclass mClass; member
272 jobject obj = env->NewObject(gGraphicBufferClassInfo.mClass, in createJavaGraphicBuffer()
305 gGraphicBufferClassInfo.mClass = MakeGlobalRefOrDie(env, FindClassOrDie(env, kClassPathName)); in register_android_graphics_GraphicBuffer()
306 gGraphicBufferClassInfo.mNativeObject = GetFieldIDOrDie(env, gGraphicBufferClassInfo.mClass, in register_android_graphics_GraphicBuffer()
308 gGraphicBufferClassInfo.mConstructorMethodID = env->GetMethodID(gGraphicBufferClassInfo.mClass, in register_android_graphics_GraphicBuffer()

123