Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/content/
DComponentName.java35 private final String mClass; field in ComponentName
49 mClass = cls; in ComponentName()
63 mClass = cls; in ComponentName()
76 mClass = cls.getName(); in ComponentName()
80 return new ComponentName(mPackage, mClass); in clone()
94 return mClass; in getClassName()
102 if (mClass.startsWith(mPackage)) { in getShortClassName()
104 int CN = mClass.length(); in getShortClassName()
105 if (CN > PN && mClass.charAt(PN) == '.') { in getShortClassName()
106 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/cmds/app_process/
Dapp_main.cpp34 , mClass(NULL) in AppRuntime()
73 mClass = env->FindClass(slashClassName); in onVmCreated()
74 if (mClass == NULL) { in onVmCreated()
79 mClass = reinterpret_cast<jclass>(env->NewGlobalRef(mClass)); in onVmCreated()
89 ar->callMain(mClassName, mClass, mArgC, mArgV); in onStarted()
114 jclass mClass; member in android::AppRuntime
/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.java39 private final int mClass; field in UsbInterface
51 mClass = Class; in UsbInterface()
74 return mClass; in getInterfaceClass()
115 return "UsbInterface[mId=" + mId + ",mClass=" + mClass + in toString()
142 parcel.writeInt(mClass); in writeToParcel()
DUsbDevice.java51 private final int mClass; field in UsbDevice
65 mClass = Class; in UsbDevice()
119 return mClass; in getDeviceClass()
177 ",mProductId=" + mProductId + ",mClass=" + mClass + in toString()
208 parcel.writeInt(mClass); in writeToParcel()
/frameworks/base/core/jni/
Dandroid_util_Binder.cpp67 jclass mClass; member
80 jclass mClass; member
90 jclass mClass; member
99 jclass mClass; member
106 jclass mClass; member
114 jclass mClass; member
135 jclass mClass; member
141 jclass mClass; member
147 jclass mClass; member
165 env->CallStaticVoidMethod(gBinderInternalOffsets.mClass, in incRefsCreated()
[all …]
/frameworks/base/services/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.cpp39 jclass mClass; member
98 return env->NewObject(gParcelFileDescriptorOffsets.mClass, in android_server_UsbDeviceManager_openAccessory()
147 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz); in register_android_server_UsbDeviceManager()
Dcom_android_server_UsbHostManager.cpp39 jclass mClass; member
164 return env->NewObject(gParcelFileDescriptorOffsets.mClass, in android_server_UsbHostManager_openDevice()
194 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz); in register_android_server_UsbHostManager()
/frameworks/compile/slang/
Dslang_rs_spec_table.cpp62 } mClass; member in RSDataTypeSpec
71 mClass(DT_PrimitiveClass) { in RSDataTypeSpec()
78 inline bool isRSMatrix() const { return (mClass == DT_RSMatrixClass); } in isRSMatrix()
79 inline bool isRSObject() const { return (mClass == DT_RSObjectClass); } in isRSObject()
93 mClass = DT_RSMatrixClass; in RSMatrixDataTypeSpec()
105 mClass = DT_RSObjectClass; in RSObjectDataTypeSpec()
Dslang_rs_export_type.h104 ExportClass mClass;
171 inline ExportClass getClass() const { return mClass; } in getClass()
/frameworks/base/services/java/com/android/server/usb/
DUsbSettingsManager.java96 public final int mClass; field in UsbSettingsManager.DeviceFilter
105 mClass = clasz; in DeviceFilter()
113 mClass = device.getDeviceClass(); in DeviceFilter()
156 if (mClass != -1) { in write()
157 serializer.attribute(null, "class", Integer.toString(mClass)); in write()
169 return ((mClass == -1 || clasz == mClass) && in matches()
198 return matches(f.mClass, f.mSubclass, f.mProtocol); in matches()
205 mClass == -1 || mSubclass == -1 || mProtocol == -1) { in equals()
212 filter.mClass == mClass && in equals()
220 device.getDeviceClass() == mClass && in equals()
[all …]
/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/media/jni/
Dandroid_media_MediaRecorder.cpp69 jclass mClass; // Reference to MediaRecorder class member in JNIMediaRecorderListener
84 mClass = (jclass)env->NewGlobalRef(clazz); in JNIMediaRecorderListener()
96 env->DeleteGlobalRef(mClass); in ~JNIMediaRecorderListener()
104 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, msg, ext1, ext2, 0); in notify()
Dandroid_media_MediaExtractor.h64 jclass mClass;
Dandroid_media_MediaExtractor.cpp50 : mClass(NULL), in JMediaExtractor()
55 mClass = (jclass)env->NewGlobalRef(clazz); in JMediaExtractor()
66 env->DeleteGlobalRef(mClass); in ~JMediaExtractor()
67 mClass = NULL; in ~JMediaExtractor()
Dandroid_media_MediaCodec.h90 jclass mClass;
Dandroid_media_MediaPlayer.cpp73 jclass mClass; // Reference to MediaPlayer class member in JNIMediaPlayerListener
89 mClass = (jclass)env->NewGlobalRef(clazz); in JNIMediaPlayerListener()
102 env->DeleteGlobalRef(mClass); in ~JNIMediaPlayerListener()
115 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, in notify()
119 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, in notify()
Dandroid_media_MediaCodec.cpp71 : mClass(NULL), in JMediaCodec()
76 mClass = (jclass)env->NewGlobalRef(clazz); in JMediaCodec()
105 env->DeleteGlobalRef(mClass); in ~JMediaCodec()
106 mClass = NULL; in ~JMediaCodec()
/frameworks/base/core/java/android/app/
DInstrumentation.java418 private final String mClass; field in Instrumentation.ActivityMonitor
445 mClass = null; in ActivityMonitor()
466 mClass = cls; in ActivityMonitor()
565 if (mClass != null) { in match()
572 if (cls == null || !mClass.equals(cls)) { in match()
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp143 jclass mClass; member in JNIOnInfoListener
155 mClass = (jclass)env->NewGlobalRef(clazz); in JNIOnInfoListener()
162 env->DeleteGlobalRef(mClass); in ~JNIOnInfoListener()
173 mClass, in onInfo()
174 env->GetStaticMethodID(mClass, "notify", "(Ljava/lang/Object;IILjava/lang/String;)V"), in onInfo()
/frameworks/wilhelm/src/
Dsles.c34 const ClassTable *clazz = thiz->mClass; in IsInterfaceInitialized()
58 const ClassTable *clazz = thiz->mClass; in IObjectToObjectID()
519 thiz->mClass = clazz; in construct()
Ditfstruct.h28 const ClassTable *mClass; // const member

12