Home
last modified time | relevance | path

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

/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.java33 private final int mClass; field in UsbInterface
45 mClass = Class; in UsbInterface()
68 return mClass; in getInterfaceClass()
109 return "UsbInterface[mId=" + mId + ",mClass=" + mClass + in toString()
136 parcel.writeInt(mClass); in writeToParcel()
DUsbDevice.java45 private final int mClass; field in UsbDevice
59 mClass = Class; in UsbDevice()
113 return mClass; in getDeviceClass()
171 ",mProductId=" + mProductId + ",mClass=" + mClass + in toString()
202 parcel.writeInt(mClass); in writeToParcel()
/frameworks/base/services/jni/
Dcom_android_server_UsbDeviceManager.cpp39 jclass mClass; member
98 return env->NewObject(gParcelFileDescriptorOffsets.mClass, in android_server_UsbDeviceManager_openAccessory()
134 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/base/core/jni/
Dandroid_util_Binder.cpp64 jclass mClass; member
77 jclass mClass; member
87 jclass mClass; member
96 jclass mClass; member
103 jclass mClass; member
111 jclass mClass; member
138 jclass mClass; member
144 jclass mClass; member
150 jclass mClass; member
168 env->CallStaticVoidMethod(gBinderInternalOffsets.mClass, in incRefsCreated()
[all …]
/frameworks/compile/slang/
Dslang_rs_spec_table.cpp68 } mClass; member in RSDataTypeSpec
77 mClass(DT_PrimitiveClass) { in RSDataTypeSpec()
84 inline bool isRSMatrix() const { return (mClass == DT_RSMatrixClass); } in isRSMatrix()
85 inline bool isRSObject() const { return (mClass == DT_RSObjectClass); } in isRSObject()
99 mClass = DT_RSMatrixClass; in RSMatrixDataTypeSpec()
111 mClass = DT_RSObjectClass; in RSObjectDataTypeSpec()
Dslang_rs_export_type.h76 ExportClass mClass;
143 inline ExportClass getClass() const { return mClass; } in getClass()
Dslang_rs_export_type.cpp651 mClass(Class), in RSExportType()
/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/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_MediaPlayer.cpp72 jclass mClass; // Reference to MediaPlayer class member in JNIMediaPlayerListener
87 mClass = (jclass)env->NewGlobalRef(clazz); in JNIMediaPlayerListener()
99 env->DeleteGlobalRef(mClass); in ~JNIMediaPlayerListener()
111 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, in notify()
116 env->CallStaticVoidMethod(mClass, fields.post_event, mObject, in notify()
/frameworks/base/core/java/android/app/
DInstrumentation.java417 private final String mClass; field in Instrumentation.ActivityMonitor
444 mClass = null; in ActivityMonitor()
465 mClass = cls; in ActivityMonitor()
564 if (mClass != null) { in match()
571 if (cls == null || !mClass.equals(cls)) { in match()
/frameworks/base/drm/jni/
Dandroid_drm_DrmManagerClient.cpp164 jclass mClass; member in JNIOnInfoListener
176 mClass = (jclass)env->NewGlobalRef(clazz); in JNIOnInfoListener()
183 env->DeleteGlobalRef(mClass); in ~JNIOnInfoListener()
194 mClass, in onInfo()
195 env->GetStaticMethodID(mClass, "notify", "(Ljava/lang/Object;IILjava/lang/String;)V"), in onInfo()
/frameworks/base/core/java/android/os/
DStrictMode.java2116 final Class mClass; field in StrictMode.InstanceCountViolation
2128 mClass = klass; in InstanceCountViolation()