Home
last modified time | relevance | path

Searched refs:mClass (Results 1 – 25 of 29) 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.cpp38 , mClass(NULL) in AppRuntime()
77 mClass = env->FindClass(slashClassName); in onVmCreated()
78 if (mClass == NULL) { in onVmCreated()
83 mClass = reinterpret_cast<jclass>(env->NewGlobalRef(mClass)); in onVmCreated()
93 ar->callMain(mClassName, mClass, mArgC, mArgV); in onStarted()
121 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
98 jclass mClass; member
106 jclass mClass; member
127 jclass mClass; member
133 jclass mClass; member
139 jclass mClass; member
157 env->CallStaticVoidMethod(gBinderInternalOffsets.mClass, in incRefsCreated()
191 gLogOffsets.mClass, gLogOffsets.mLogE, tagstr, msgstr, excep); in report_exception()
[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;
180 inline ExportClass getClass() const { return mClass; } in getClass()
/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/java/com/android/server/usb/
DUsbSettingsManager.java106 public final int mClass; field in UsbSettingsManager.DeviceFilter
115 mClass = clasz; in DeviceFilter()
123 mClass = device.getDeviceClass(); in DeviceFilter()
166 if (mClass != -1) { in write()
167 serializer.attribute(null, "class", Integer.toString(mClass)); in write()
179 return ((mClass == -1 || clasz == mClass) && in matches()
208 return matches(f.mClass, f.mSubclass, f.mProtocol); in matches()
215 mClass == -1 || mSubclass == -1 || mProtocol == -1) { in equals()
222 filter.mClass == mClass && in equals()
230 device.getDeviceClass() == mClass && in equals()
[all …]
/frameworks/base/media/jni/
Dandroid_media_MediaRecorder.cpp68 jclass mClass; // Reference to MediaRecorder class member in JNIMediaRecorderListener
83 mClass = (jclass)env->NewGlobalRef(clazz); in JNIMediaRecorderListener()
95 env->DeleteGlobalRef(mClass); in ~JNIMediaRecorderListener()
103 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, msg, ext1, ext2, 0); in notify()
Dandroid_media_MediaExtractor.h68 jclass mClass;
Dandroid_media_MediaCodec.h96 jclass mClass;
Dandroid_media_MediaPlayer.cpp73 jclass mClass; // Reference to MediaPlayer class member in JNIMediaPlayerListener
88 mClass = (jclass)env->NewGlobalRef(clazz); in JNIMediaPlayerListener()
100 env->DeleteGlobalRef(mClass); in ~JNIMediaPlayerListener()
111 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, in notify()
115 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, in notify()
Dandroid_media_MediaExtractor.cpp116 : mClass(NULL), in JMediaExtractor()
121 mClass = (jclass)env->NewGlobalRef(clazz); in JMediaExtractor()
132 env->DeleteGlobalRef(mClass); in ~JMediaExtractor()
133 mClass = NULL; in ~JMediaExtractor()
Dandroid_media_MediaCodec.cpp70 : mClass(NULL), in JMediaCodec()
75 mClass = (jclass)env->NewGlobalRef(clazz); in JMediaCodec()
107 env->DeleteGlobalRef(mClass); in ~JMediaCodec()
108 mClass = NULL; in ~JMediaCodec()
Dandroid_media_MediaDrm.cpp126 jclass mClass; // Reference to MediaDrm class member in android::JNIDrmListener
141 mClass = (jclass)env->NewGlobalRef(clazz); in JNIDrmListener()
153 env->DeleteGlobalRef(mClass); in ~JNIDrmListener()
186 env->CallStaticVoidMethod(mClass, gFields.post_event, mObject, in notify()
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp144 jclass mClass; member in JNIOnInfoListener
156 mClass = (jclass)env->NewGlobalRef(clazz); in JNIOnInfoListener()
163 env->DeleteGlobalRef(mClass); in ~JNIOnInfoListener()
174 mClass, in onInfo()
175 env->GetStaticMethodID(mClass, "notify", "(Ljava/lang/Object;IILjava/lang/String;)V"), in onInfo()
/frameworks/base/core/java/android/app/
DInstrumentation.java426 private final String mClass; field in Instrumentation.ActivityMonitor
453 mClass = null; in ActivityMonitor()
474 mClass = cls; in ActivityMonitor()
573 if (mClass != null) { in match()
580 if (cls == null || !mClass.equals(cls)) { in match()
/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()

12