Searched defs:id (Results 251 - 275 of 563) sorted by relevance

<<11121314151617181920>>

/frameworks/base/media/java/android/media/
H A DFocusRequester.java71 * @param id
78 IAudioFocusDispatcher afl, IBinder source, String id, AudioFocusDeathHandler hdlr,
83 mClientId = id;
77 FocusRequester(AudioAttributes aa, int focusRequest, int grantFlags, IAudioFocusDispatcher afl, IBinder source, String id, AudioFocusDeathHandler hdlr, String pn, int uid, @NonNull MediaFocusControl ctlr) argument
/frameworks/base/media/java/android/media/tv/
H A DTvTrackInfo.java52 private TvTrackInfo(int type, String id, String language, int audioChannelCount, argument
56 mId = id;
217 * @param id The ID of the track that uniquely identifies the current track among all the
220 public Builder(int type, String id) { argument
226 if (id == null) {
227 throw new IllegalArgumentException("id cannot be null");
230 mId = id;
/frameworks/base/media/java/android/service/media/
H A DMediaBrowserService.java224 public void addSubscription(final String id, final IMediaBrowserServiceCallbacks callbacks) { argument
233 Log.w(TAG, "addSubscription for callback that isn't registered id="
234 + id);
238 MediaBrowserService.this.addSubscription(id, connection);
244 public void removeSubscription(final String id, argument
253 Log.w(TAG, "removeSubscription for callback that isn't registered id="
254 + id);
257 if (!connection.subscriptions.remove(id)) {
258 Log.w(TAG, "removeSubscription called for " + id
289 * the root id; i
406 addSubscription(String id, ConnectionRecord connection) argument
[all...]
/frameworks/base/media/jni/soundpool/
H A Dandroid_media_SoundPool_SoundPoolImpl.cpp58 int id = ap->load(s, priority); local
60 return (jint) id;
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/
H A DRemoteDisplayProvider.java237 * @throws IllegalStateException if there is already a display with the same id.
274 * Finds the remote display with the specified id, returns null if not found.
276 * @param id Id of the remote display.
279 public RemoteDisplay findRemoteDisplay(String id) { argument
280 return mDisplays.get(id);
340 public void connect(String id) { argument
341 mHandler.obtainMessage(MSG_CONNECT, id).sendToTarget();
345 public void disconnect(String id) { argument
346 mHandler.obtainMessage(MSG_DISCONNECT, id).sendToTarget();
350 public void setVolume(String id, in argument
355 adjustVolume(String id, int delta) argument
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_util.h86 // coupled to Java objects. This is done by using an "id" field in the Java
115 const int id = next_id_; local
116 objects_[id] = object;
117 owns_[id] = owns;
119 return id;
142 const int id = RegisterObject(c_object, owns); local
145 env->SetIntField(j_object, id_field, id);
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp204 const int id = ++max_surface_id_; local
205 surfaces_[id] = SurfaceWindowPair(surface, window_handle);
206 return id;
273 const int id = contexts_.size(); local
274 contexts_[id] = context;
275 return id;
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTask.java70 public final int id; field in class:Task.TaskKey
76 public TaskKey(int id, Intent intent, int userId, long firstActiveTime, long lastActiveTime) { argument
78 this.id = id;
95 return id == ((TaskKey) o).id
101 return (id << 5) + userId;
106 return "Task.Key: " + id + ", "
139 boolean isInAffiliationGroup = (taskAffiliation != key.id);
203 // Check that the id matche
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DUsbStorageActivity.java122 mIcon = (ImageView) findViewById(com.android.internal.R.id.icon);
123 mBanner = (TextView) findViewById(com.android.internal.R.id.banner);
124 mMessage = (TextView) findViewById(com.android.internal.R.id.message);
126 mMountButton = (Button) findViewById(com.android.internal.R.id.mount_button);
128 mUnmountButton = (Button) findViewById(com.android.internal.R.id.unmount_button);
130 mProgressBar = (ProgressBar) findViewById(com.android.internal.R.id.progress);
211 public Dialog onCreateDialog(int id, Bundle args) { argument
212 switch (id) {
235 private void scheduleShowDialog(final int id) { argument
240 removeDialog(id);
[all...]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DBasicTexture.java27 // If a BasicTexture is loaded into GL memory, it has a GL texture id.
57 protected BasicTexture(GLCanvas canvas, int id, int state) { argument
59 mId = id;
/frameworks/base/rs/java/android/renderscript/
H A DProgram.java52 TextureType(int id) { argument
53 mID = id;
64 ProgramParam(int id) { argument
65 mID = id;
77 Program(long id, RenderScript rs) { argument
78 super(id, rs);
153 long id = a != null ? a.getID(mRS) : 0;
154 mRS.nProgramBindConstants(getID(mRS), slot, id);
175 long id = va != null ? va.getID(mRS) : 0;
176 mRS.nProgramBindTexture(getID(mRS), slot, id);
[all...]
H A DSampler.java40 Value(int id) { argument
41 mID = id;
52 Sampler(long id, RenderScript rs) { argument
53 super(id, rs);
339 long id = mRS.nSamplerCreate(mMag.mID, mMin.mID,
341 Sampler sampler = new Sampler(id, mRS);
H A DScriptGroup.java91 ScriptGroup(long id, RenderScript rs) { argument
92 super(id, rs);
446 long id = mRS.nScriptGroupCreate(kernels, src, dstk, dstf, types);
447 if (id == 0) {
451 ScriptGroup sg = new ScriptGroup(id, mRS);
H A DScriptIntrinsicBlend.java24 ScriptIntrinsicBlend(long id, RenderScript rs) { argument
25 super(id, rs);
38 long id = rs.nScriptIntrinsicCreate(7, e.getID(rs));
39 return new ScriptIntrinsicBlend(id, rs);
43 private void blend(int id, Allocation ain, Allocation aout, Script.LaunchOptions opt) { argument
50 forEach(id, ain, aout, null, opt);
H A DType.java71 CubemapFace(int id) { argument
72 mID = id;
187 Type(long id, RenderScript rs) { argument
188 super(id, rs);
227 long id = rs.nTypeCreate(e.getID(rs), dimX, 0, 0, false, false, 0);
228 Type t = new Type(id, rs);
251 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, 0, false, false, 0);
252 Type t = new Type(id, rs);
277 long id = rs.nTypeCreate(e.getID(rs), dimX, dimY, dimZ, false, false, 0);
278 Type t = new Type(id, r
[all...]
/frameworks/base/services/core/java/com/android/server/lights/
H A DLightsService.java40 private LightImpl(int id) { argument
41 mId = id;
184 public com.android.server.lights.Light getLight(int id) {
185 if (id < LIGHT_ID_COUNT) {
186 return mLights[id];
/frameworks/base/services/core/java/com/android/server/notification/
H A DNextAlarmConditionProvider.java140 private void notifyCondition(Uri id, AlarmClockInfo alarm, int state, String reason) { argument
144 notifyCondition(new Condition(id,
190 final Uri id = newConditionId(nextAlarm);
191 if (!conditions.contains(id)) {
193 conditions.add(id);
/frameworks/base/services/core/java/com/android/server/pm/
H A DKeySetManagerService.java92 long id = getIdByKeySetLPr(ks);
93 if (id == KEYSET_NOT_FOUND) {
96 return pkg.keySetData.packageIsSignedBy(id);
118 long id = getIdByKeySetLPr(ks);
119 return pkg.keySetData.getProperSigningKeySet() == id;
139 long id = getIdByKeySetLPr(ks);
140 pkg.keySetData.addDefinedKeySet(id, alias);
172 long id = getIdByKeySetLPr(ks);
173 ArraySet<Long> publicKeyIds = mKeySetMapping.get(id);
175 throw new NullPointerException("Got invalid KeySet id");
214 getKeySetByIdLPr(long id) argument
242 getPublicKeysFromKeySetLPr(long id) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java259 protected void cancelNotification(final int id, UserHandle user) { argument
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbHostManager.java170 private void addUsbConfiguration(int id, String name, int attributes, int maxPower) { argument
177 mNewConfiguration = new UsbConfiguration(id, name, attributes, maxPower);
184 private void addUsbInterface(int id, String name, int altSetting, argument
192 mNewInterface = new UsbInterface(id, altSetting, name, Class, subClass, protocol);
/frameworks/base/telecomm/java/android/telecom/
H A DConnectionServiceAdapter.java79 String id,
84 adapter.handleCreateConnectionComplete(id, request, connection);
78 handleCreateConnectionComplete( String id, ConnectionRequest request, ParcelableConnection connection) argument
H A DRemoteConference.java68 RemoteConference(String id, IConnectionService connectionService) { argument
69 mId = id;
/frameworks/base/telephony/java/android/telephony/
H A DSubscriptionInfo.java114 public SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, argument
117 this.mId = id;
289 int id = source.readInt();
303 return new SubscriptionInfo(id, iccId, simSlotIndex, displayName, carrierName,
337 return "{id=" + mId + ", iccId=" + mIccId + " simSlotIndex=" + mSimSlotIndex
/frameworks/base/test-runner/src/android/test/mock/
H A DMockResources.java51 public CharSequence getText(int id) throws NotFoundException { argument
56 public CharSequence getQuantityText(int id, int quantity) throws NotFoundException { argument
61 public String getString(int id) throws NotFoundException { argument
66 public String getString(int id, Object... formatArgs) throws NotFoundException { argument
71 public String getQuantityString(int id, int quantity, Object... formatArgs) argument
77 public String getQuantityString(int id, int quantity) throws NotFoundException { argument
82 public CharSequence getText(int id, CharSequence def) { argument
87 public CharSequence[] getTextArray(int id) throws NotFoundException { argument
92 public String[] getStringArray(int id) throws NotFoundException { argument
97 public int[] getIntArray(int id) throw argument
102 obtainTypedArray(int id) argument
107 getDimension(int id) argument
112 getDimensionPixelOffset(int id) argument
117 getDimensionPixelSize(int id) argument
122 getDrawable(int id) argument
127 getMovie(int id) argument
132 getColor(int id) argument
137 getColorStateList(int id) argument
142 getInteger(int id) argument
147 getLayout(int id) argument
152 getAnimation(int id) argument
157 getXml(int id) argument
162 openRawResource(int id) argument
167 openRawResourceFd(int id) argument
172 getValue(int id, TypedValue outValue, boolean resolveRefs) argument
[all...]
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/
H A DTorusTest.java231 private Allocation loadTextureRGB(int id) { argument
232 return Allocation.createFromBitmapResource(mRS, mRes, id,

Completed in 6135 milliseconds

<<11121314151617181920>>