/frameworks/support/v4/java/android/support/v4/content/ |
H A D | ContextCompat.java | 313 * @param id The desired resource identifier, as generated by the aapt tool. 318 public static final Drawable getDrawable(Context context, int id) { argument 321 return ContextCompatApi21.getDrawable(context, id); 323 return context.getResources().getDrawable(id); 333 * @param id The desired resource identifier, as generated by the aapt 341 public static final ColorStateList getColorStateList(Context context, int id) { argument 344 return ContextCompatApi23.getColorStateList(context, id); 346 return context.getResources().getColorStateList(id); 356 * @param id The desired resource identifier, as generated by the aapt 363 public static final int getColor(Context context, int id) { argument [all...] |
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
H A D | ScriptIntrinsicColorMatrix.java | 37 protected ScriptIntrinsicColorMatrix(long id, RenderScript rs) { argument 38 super(id, rs); 56 long id; 60 id = rs.nScriptIntrinsicCreate(2, e.getID(rs), mUseIncSupp); 62 ScriptIntrinsicColorMatrix si = new ScriptIntrinsicColorMatrix(id, rs);
|
/frameworks/wilhelm/src/itf/ |
H A D | IEngineCapabilities.c | 119 *pLEDDeviceID = id_descriptor->id; 128 SLuint32 id = *pLEDDeviceID; local 131 if (id == id_descriptor->id) { 161 *pVibraDeviceID = id_descriptor->id; 170 SLuint32 id = *pVibraDeviceID; local 173 if (id == id_descriptor->id) {
|
/frameworks/wilhelm/src/ |
H A D | locks.c | 270 unsigned id = thiz->mInstanceID; local 271 if (0 != id) { 272 --id; 273 assert(MAX_INSTANCE > id); 277 thisEngine->mChangedMask |= 1 << id;
|
/frameworks/av/include/media/ |
H A D | AudioEffect.h | 296 int32_t id() const { return mId; } function in class:android::AudioEffect
|
/frameworks/av/media/common_time/ |
H A D | ICommonClock.cpp | 167 virtual status_t getTimelineID(uint64_t* id) { argument 174 *id = static_cast<uint64_t>(reply.readInt64()); 336 uint64_t id; local 337 status_t status = getTimelineID(&id); 340 reply->writeInt64(static_cast<int64_t>(id));
|
H A D | ICommonTimeConfig.cpp | 124 virtual status_t getMasterElectionGroupId(uint64_t *id) { argument 134 *id = static_cast<uint64_t>(reply.readInt64()); 141 virtual status_t setMasterElectionGroupId(uint64_t id) { argument 144 data.writeInt64(id); 385 uint64_t id; local 386 status_t status = getMasterElectionGroupId(&id); 389 reply->writeInt64(id); 396 uint64_t id = static_cast<uint64_t>(data.readInt64()); local 397 status_t status = setMasterElectionGroupId(id);
|
/frameworks/av/media/libstagefright/ |
H A D | TimedEventQueue.cpp | 150 TimedEventQueue::event_id *id = local 153 if (event->eventID() != *id) { 157 *id = 0; 162 bool TimedEventQueue::cancelEvent(event_id id) { argument 163 if (id == 0) { 167 cancelEvents(&MatchesEventID, &id, true /* stopAfterFirstMatch */); 169 // if MatchesEventID found a match, it will have set id to 0 172 return id == 0; 283 // The event w/ this id may have been cancelled while we're 303 event_id id, boo 302 removeEventFromQueue_l( event_id id, bool *wakeLocked) argument [all...] |
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraFlashlight.cpp | 166 String8 id = String8::format("%d", i); local 168 res = createFlashlightControl(id); 171 id.string()); 173 res = mFlashControl->hasFlashUnit(id, &hasFlash); 177 id.string()); 181 " (%d)", __FUNCTION__, id.string(), strerror(-res), 187 mHasFlashlightMap.add(id, hasFlash);
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraModule.cpp | 219 int CameraModule::open(const char* id, struct hw_device_t** device) { argument 220 return filterOpenErrorCode(mModule->common.methods->open(&mModule->common, id, device)); 224 const char* id, uint32_t halVersion, struct hw_device_t** device) { 225 return mModule->open_legacy(&mModule->common, id, halVersion, device); 223 openLegacy( const char* id, uint32_t halVersion, struct hw_device_t** device) argument
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3OutputStream.cpp | 34 Camera3OutputStream::Camera3OutputStream(int id, argument 38 Camera3IOStreamBase(id, CAMERA3_STREAM_OUTPUT, width, height, 50 Camera3OutputStream::Camera3OutputStream(int id, argument 54 Camera3IOStreamBase(id, CAMERA3_STREAM_OUTPUT, width, height, maxSize, 72 Camera3OutputStream::Camera3OutputStream(int id, camera3_stream_type_t type, argument 77 Camera3IOStreamBase(id, type, width, height,
|
H A D | Camera3ZslStream.cpp | 113 Camera3ZslStream::Camera3ZslStream(int id, uint32_t width, uint32_t height, argument 115 Camera3OutputStream(id, CAMERA3_STREAM_BIDIRECTIONAL,
|
/frameworks/base/cmds/bootanimation/ |
H A D | AudioPlayer.cpp | 43 uint32_t id; member in struct:chunk_header 246 switch (chunkHeader->id) {
|
/frameworks/base/cmds/hid/jni/ |
H A D | com_android_commands_hid_Device.cpp | 85 Device* Device::open(int32_t id, const char* name, int32_t vid, int32_t pid, argument 123 return new Device(id, fd, std::move(callback), looper); 126 Device::Device(int32_t id, int fd, std::unique_ptr<DeviceCallback> callback, sp<Looper> looper) : argument 127 mId(id), mFd(fd), mDeviceCallback(std::move(callback)), mLooper(looper) { 186 static jlong openDevice(JNIEnv* env, jclass clazz, jstring rawName, jint id, jint vid, jint pid, argument 200 id, reinterpret_cast<const char*>(name.c_str()), vid, pid,
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
H A D | Device.java | 55 private static native long nativeOpenDevice(String name, int id, int vid, int pid, argument 60 public Device(int id, String name, int vid, int pid, byte[] descriptor, byte[] report) { argument 61 mId = id; 66 args.argi1 = id; 72 args.arg1 = id + ":" + vid + ":" + pid;
|
H A D | Event.java | 77 return "Event{id=" + mId 95 public void setId(int id) { argument 96 mEvent.mId = id; 129 throw new IllegalStateException("No event id"); 167 case "id":
|
/frameworks/base/core/java/android/app/ |
H A D | FragmentHostCallback.java | 160 public View onFindViewById(int id) { argument
|
H A D | LocalActivityManager.java | 50 id = _id; 54 final String id; // Unique name of this record. field in class:LocalActivityManager.LocalActivityRecord 77 /** id -> record of all known activities. */ 123 instanceObj = lastNonConfigurationInstances.get(r.id); 132 if (localLOGV) Log.v(TAG, r.id + ": starting " + r.intent); 137 mParent, r.id, r.intent, r.activityInfo, r, r.instanceState, instance); 146 if (localLOGV) Log.v(TAG, r.id + ": resuming"); 163 if (localLOGV) Log.v(TAG, r.id + ": restarting"); 168 if (localLOGV) Log.v(TAG, r.id + ": restarting and resuming"); 178 if (localLOGV) Log.v(TAG, r.id 261 startActivity(String id, Intent intent) argument 386 destroyActivity(String id, boolean finish) argument 433 getActivity(String id) argument [all...] |
H A D | Service.java | 644 * @param id The identifier for this notification as per 651 public final void startForeground(int id, Notification notification) { argument 654 new ComponentName(this, mClassName), mToken, id,
|
/frameworks/base/core/java/android/content/ |
H A D | Loader.java | 181 public void registerListener(int id, OnLoadCompleteListener<D> listener) { argument 186 mId = id; 525 sb.append(" id=");
|
/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraCaptureSessionImpl.java | 89 CameraCaptureSessionImpl(int id, Surface input, List<Surface> outputs, argument 99 mId = id;
|
H A D | CameraConstrainedHighSpeedCaptureSessionImpl.java | 60 CameraConstrainedHighSpeedCaptureSessionImpl(int id, List<Surface> outputs, argument 67 mSessionImpl = new CameraCaptureSessionImpl(id, /*input*/null, outputs, wrapperCallback,
|
/frameworks/base/core/java/android/hardware/usb/ |
H A D | UsbDevice.java | 333 public static String getDeviceName(int id) { argument 334 return native_get_device_name(id); 338 private static native String native_get_device_name(int id); argument
|
/frameworks/base/core/java/android/nfc/ |
H A D | Tag.java | 126 public Tag(byte[] id, int[] techList, Bundle[] techListExtras, int serviceHandle, argument 131 mId = id; 147 * @param id The tag identifier, can be null 152 public static Tag createMockTag(byte[] id, int[] techList, Bundle[] techListExtras) { argument 154 return new Tag(id, techList, techListExtras, 0, null); 427 byte[] id = Tag.readBytesWithNull(in); 440 return new Tag(id, techList, techExtras, serviceHandle, tagService);
|
/frameworks/base/core/java/android/os/ |
H A D | BatteryManager.java | 220 private long queryProperty(int id) { argument 230 if (mBatteryPropertiesRegistrar.getProperty(id, prop) == 0) 246 * @param id identifier of the requested property 250 public int getIntProperty(int id) { argument 251 return (int)queryProperty(id); 259 * @param id identifier of the requested property 263 public long getLongProperty(int id) { argument 264 return queryProperty(id);
|