Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/
DComponentName.java37 private final String mClass; field in ComponentName
51 mClass = cls; in ComponentName()
65 mClass = cls; in ComponentName()
78 mClass = cls.getName(); in ComponentName()
82 return new ComponentName(mPackage, mClass); in clone()
96 return mClass; in getClassName()
104 if (mClass.startsWith(mPackage)) { in getShortClassName()
106 int CN = mClass.length(); in getShortClassName()
107 if (CN > PN && mClass.charAt(PN) == '.') { in getShortClassName()
108 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/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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DDelegateManager.java73 private final Class<T> mClass; field in DelegateManager
84 mClass = theClass; in DelegateManager()
103 System.out.println("Unknown " + mClass.getSimpleName() + " with int " + in getDelegate()
126 System.out.println("New " + mClass.getSimpleName() + " with int " + native_object); in addNewDelegate()
140 System.out.println("Removing main Java ref on " + mClass.getSimpleName() + in removeJavaReferenceFor()
/frameworks/base/core/java/android/hardware/usb/
DUsbInterface.java40 private final int mClass; field in UsbInterface
54 mClass = Class; in UsbInterface()
99 return mClass; in getInterfaceClass()
150 ",mName=" + mName + ",mClass=" + mClass + in toString()
189 parcel.writeInt(mClass); in writeToParcel()
DUsbDevice.java50 private final int mClass; field in UsbDevice
68 mClass = Class; in UsbDevice()
151 return mClass; in getDeviceClass()
263 ",mClass=" + mClass + ",mSubclass=" + mSubclass + ",mProtocol=" + mProtocol + in toString()
306 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()
113 jclass mClass; member in android::AppRuntime
/frameworks/base/core/java/android/app/usage/
DUsageEvents.java78 public String mClass; field in UsageEvents.Event
108 return mClass; in getClassName()
258 if (event.mClass != null) { in writeEventToParcel()
259 classIndex = findStringIndex(event.mClass); in writeEventToParcel()
286 eventOut.mClass = mStringPool[classIndex]; in readEventFromParcel()
288 eventOut.mClass = null; in readEventFromParcel()
/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
99 return env->NewObject(gParcelFileDescriptorOffsets.mClass, in android_server_UsbDeviceManager_openAccessory()
148 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz); in register_android_server_UsbDeviceManager()
Dcom_android_server_UsbHostManager.cpp39 jclass mClass; member
183 return env->NewObject(gParcelFileDescriptorOffsets.mClass, in android_server_UsbHostManager_openDevice()
237 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz); in register_android_server_UsbHostManager()
/frameworks/base/core/jni/
Dandroid_util_Binder.cpp68 jclass mClass; member
81 jclass mClass; member
91 jclass mClass; member
99 jclass mClass; member
107 jclass mClass; member
128 jclass mClass; member
134 jclass mClass; member
140 jclass mClass; member
158 env->CallStaticVoidMethod(gBinderInternalOffsets.mClass, in incRefsCreated()
195 gLogOffsets.mClass, gLogOffsets.mLogE, tagstr, msgstr, excep); in report_exception()
[all …]
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/
DMarshalQueryableArray.java48 private final Class<T> mClass; field in MarshalQueryableArray.MarshalerArray
56 mClass = (Class<T>)typeReference.getRawType(); in MarshalerArray()
91 arraySize, elementSize, remaining, mClass)); in unmarshal()
115 + mClass); in unmarshal()
118 return mClass.cast(array); in unmarshal()
DMarshalQueryableParcelable.java46 private final Class<T> mClass; field in MarshalQueryableParcelable.MarshalerParcelable
54 mClass = (Class<T>)typeReference.getRawType(); in MarshalerParcelable()
57 creatorField = mClass.getDeclaredField(FIELD_CREATOR); in MarshalerParcelable()
153 return mClass.cast(value); in unmarshal()
DMarshalQueryableRange.java41 private final Class<? super Range<T>> mClass; field in MarshalQueryableRange.MarshalerRange
51 mClass = typeReference.getRawType(); in MarshalerRange()
71 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()
DMarshalQueryablePrimitive.java55 private final Class<T> mClass; field in MarshalQueryablePrimitive.MarshalerPrimitive
62 mClass = wrapClassIfPrimitive((Class<T>)typeReference.getRawType()); in MarshalerPrimitive()
67 return mClass.cast(unmarshalObject(buffer)); in unmarshal()
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()
Dandroid_media_MediaHTTPConnection.h45 jclass mClass;
Dandroid_media_MediaRecorder.cpp70 jclass mClass; // Reference to MediaRecorder class member in JNIMediaRecorderListener
85 mClass = (jclass)env->NewGlobalRef(clazz); in JNIMediaRecorderListener()
97 env->DeleteGlobalRef(mClass); in ~JNIMediaRecorderListener()
105 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, msg, ext1, ext2, 0); in notify()
Dandroid_media_MediaExtractor.h70 jclass mClass;
/frameworks/wilhelm/src/itf/
DIObject.c31 const ClassTable *clazz = thiz->mClass; in HandleRealize()
90 const ClassTable *clazz = thiz->mClass; in IObject_Realize()
174 const ClassTable *clazz = thiz->mClass; in HandleResume()
232 const ClassTable *clazz = thiz->mClass; in IObject_Resume()
337 const ClassTable *clazz = thiz->mClass; in IObject_GetInterface()
409 const ClassTable *clazz = thiz->mClass; in Abort_internal()
525 const ClassTable *clazz = thiz->mClass; in IObject_Destroy()
699 const ClassTable *clazz = thiz->mClass; in IObject_SetLossOfControlInterfaces()
DIDynamicInterfaceManagement.c34 const ClassTable *clazz = thisObject->mClass; in HandleAdd()
116 const ClassTable *clazz = thisObject->mClass; in IDynamicInterfaceManagement_AddInterface()
212 const ClassTable *clazz = thisObject->mClass; in IDynamicInterfaceManagement_RemoveInterface()
290 const ClassTable *clazz = thisObject->mClass; in HandleResume()
364 const ClassTable *clazz = thisObject->mClass; in IDynamicInterfaceManagement_ResumeInterface()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbSettingsManager.java108 public final int mClass; field in UsbSettingsManager.DeviceFilter
124 mClass = clasz; in DeviceFilter()
135 mClass = device.getDeviceClass(); in DeviceFilter()
206 if (mClass != -1) { in write()
207 serializer.attribute(null, "class", Integer.toString(mClass)); in write()
228 return ((mClass == -1 || clasz == mClass) && in matches()
275 return matches(f.mClass, f.mSubclass, f.mProtocol); in matches()
282 mClass == -1 || mSubclass == -1 || mProtocol == -1) { in equals()
290 filter.mClass != mClass || in equals()
326 device.getDeviceClass() != mClass || in equals()
[all …]

12