Searched defs:ident (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/native/services/sensorservice/
H A DCorrectedGyroSensor.cpp59 status_t CorrectedGyroSensor::activate(void* ident, bool enabled) { argument
64 status_t CorrectedGyroSensor::setDelay(void* ident, int handle, int64_t ns) { argument
H A DOrientationSensor.cpp65 status_t OrientationSensor::activate(void* ident, bool enabled) { argument
69 status_t OrientationSensor::setDelay(void* ident, int handle, int64_t ns) { argument
H A DRotationVectorSensor.cpp55 status_t RotationVectorSensor::activate(void* ident, bool enabled) { argument
59 status_t RotationVectorSensor::setDelay(void* ident, int handle, int64_t ns) { argument
104 status_t GyroDriftSensor::activate(void* ident, bool enabled) { argument
108 status_t GyroDriftSensor::setDelay(void* ident, int handle, int64_t ns) { argument
H A DGravitySensor.cpp69 status_t GravitySensor::activate(void* ident, bool enabled) { argument
73 status_t GravitySensor::setDelay(void* ident, int handle, int64_t ns) { argument
H A DLinearAccelerationSensor.cpp53 status_t LinearAccelerationSensor::activate(void* ident, bool enabled) { argument
57 status_t LinearAccelerationSensor::setDelay(void* ident, int handle, int64_t ns) { argument
H A DSensorInterface.cpp49 status_t HardwareSensor::activate(void* ident, bool enabled) { argument
50 return mSensorDevice.activate(ident, mSensor.getHandle(), enabled);
53 status_t HardwareSensor::setDelay(void* ident, int handle, int64_t ns) { argument
54 return mSensorDevice.setDelay(ident, handle, ns);
H A DSensorDevice.cpp114 status_t SensorDevice::activate(void* ident, int handle, int enabled) argument
124 "SensorDevice::activate: ident=%p, handle=0x%08x, enabled=%d, count=%d",
125 ident, handle, enabled, info.rates.size());
130 info.rates.indexOfKey(ident));
132 if (info.rates.indexOfKey(ident) < 0) {
133 info.rates.add(ident, DEFAULT_EVENTS_PERIOD);
138 // sensor was already activated for this ident
143 info.rates.indexOfKey(ident));
145 ssize_t idx = info.rates.removeItem(ident);
151 // sensor wasn't enabled for this ident
173 setDelay(void* ident, int handle, int64_t ns) argument
186 setDelayForIdent(void* ident, int64_t ns) argument
[all...]
H A DSensorFusion.cpp77 status_t SensorFusion::activate(void* ident, bool enabled) { argument
80 "SensorFusion::activate(ident=%p, enabled=%d)",
81 ident, enabled);
83 const ssize_t idx = mClients.indexOf(ident);
86 mClients.add(ident);
94 mSensorDevice.activate(ident, mAcc.getHandle(), enabled);
95 mSensorDevice.activate(ident, mMag.getHandle(), enabled);
96 mSensorDevice.activate(ident, mGyro.getHandle(), enabled);
109 status_t SensorFusion::setDelay(void* ident, int64_t ns) { argument
110 mSensorDevice.setDelay(ident, mAc
[all...]
/frameworks/base/native/android/
H A Dlooper.cpp70 int ALooper_addFd(ALooper* looper, int fd, int ident, int events, argument
72 return static_cast<Looper*>(looper)->addFd(fd, ident, events, callback, data);
H A Dsensor.cpp63 ALooper* looper, int ident, ALooper_callbackFunc callback, void* data)
68 ALooper_addFd(looper, queue->getFd(), ident, ALOOPER_EVENT_INPUT, callback, data);
62 ASensorManager_createEventQueue(ASensorManager* manager, ALooper* looper, int ident, ALooper_callbackFunc callback, void* data) argument
H A Dinput.cpp271 int ident, ALooper_callbackFunc callback, void* data) {
272 queue->attachLooper(looper, ident, callback, data);
270 AInputQueue_attachLooper(AInputQueue* queue, ALooper* looper, int ident, ALooper_callbackFunc callback, void* data) argument
/frameworks/base/services/java/com/android/server/
H A DPreferredComponent.java204 public void dump(PrintWriter out, String prefix, Object ident) { argument
206 Integer.toHexString(System.identityHashCode(ident)));
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerFactory.cpp183 long ident = *((long*)buf); local
186 if (ident == 0x5367674f) // 'OggS'
/frameworks/base/core/java/android/app/admin/
H A DDeviceAdminInfo.java151 public final int ident; field in class:DeviceAdminInfo.PolicyInfo
157 ident = identIn;
203 sRevKnownPolicies.put(pi.ident, pi);
204 sKnownPolicies.put(pi.tag, pi.ident);
412 if (usesPolicy(pi.ident)) {
/frameworks/base/core/java/android/net/
H A DNetworkTemplate.java206 public boolean matches(NetworkIdentity ident) { argument
209 return matchesMobile(ident);
211 return matchesMobile3gLower(ident);
213 return matchesMobile4g(ident);
215 return matchesWifi(ident);
217 return matchesEthernet(ident);
219 return matchesMobileWildcard(ident);
221 return matchesWifiWildcard(ident);
230 private boolean matchesMobile(NetworkIdentity ident) { argument
231 if (ident
243 matchesMobile3gLower(NetworkIdentity ident) argument
261 matchesMobile4g(NetworkIdentity ident) argument
278 matchesWifi(NetworkIdentity ident) argument
290 matchesEthernet(NetworkIdentity ident) argument
297 matchesMobileWildcard(NetworkIdentity ident) argument
305 matchesWifiWildcard(NetworkIdentity ident) argument
[all...]
/frameworks/native/include/utils/
H A DLooper.h202 * "ident" is an identifier for this event, which is returned from pollOnce().
212 * appropriately reading from the file descriptor. The 'ident' is ignored in this case.
214 * (2) If "callback" is NULL, the 'ident' will be returned by ALooper_pollOnce
228 int addFd(int fd, int ident, int events, ALooper_callbackFunc callback, void* data);
229 int addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data);
325 int ident; member in struct:android::Looper::Request
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsCollection.java152 && templateMatches(template, key.ident)) {
175 if (templateMatches(template, key.ident)) {
201 public void recordData(NetworkIdentitySet ident, int uid, int set, int tag, long start, argument
203 final NetworkStatsHistory history = findOrCreateHistory(ident, uid, set, tag);
234 NetworkIdentitySet ident, int uid, int set, int tag) {
235 final Key key = new Key(ident, uid, set, tag);
272 final NetworkIdentitySet ident = new NetworkIdentitySet(in);
280 final Key key = new Key(ident, uid, set, tag);
294 // cluster key lists grouped by ident
297 ArrayList<Key> keys = keysByIdent.get(key.ident);
233 findOrCreateHistory( NetworkIdentitySet ident, int uid, int set, int tag) argument
499 public final NetworkIdentitySet ident; field in class:NetworkStatsCollection.Key
506 Key(NetworkIdentitySet ident, int uid, int set, int tag) argument
[all...]
/frameworks/native/libs/utils/
H A DLooper.cpp162 int ident = response.request.ident; local
163 if (ident >= 0) {
170 this, ident, fd, events, data);
175 return ident;
313 if (response.request.ident == ALOOPER_POLL_CALLBACK) {
396 int Looper::addFd(int fd, int ident, int events, ALooper_callbackFunc callback, void* data) { argument
397 return addFd(fd, ident, events, callback ? new SimpleLooperCallback(callback) : NULL, data);
400 int Looper::addFd(int fd, int ident, int events, const sp<LooperCallback>& callback, void* data) { argument
402 ALOGD("%p ~ addFd - fd=%d, ident
[all...]
/frameworks/base/core/java/android/app/
H A DApplicationThreadNative.java133 int ident = data.readInt();
146 scheduleLaunchActivity(intent, b, ident, info, curConfig, compatInfo, state, ri, pi,
681 public final void scheduleLaunchActivity(Intent intent, IBinder token, int ident, argument
691 data.writeInt(ident);
H A DIApplicationThread.java55 void scheduleLaunchActivity(Intent intent, IBinder token, int ident, argument
/frameworks/base/tools/aapt/
H A DResourceTable.h118 const uint32_t ident);
404 Public() : sourcePos(), ident(0) { }
409 comment(_comment), ident(_ident) { }
411 comment(o.comment), ident(o.ident) { }
417 ident = o.ident;
423 uint32_t ident; member in class:ResourceTable::Public
435 const uint32_t ident);
/frameworks/base/core/java/android/content/
H A DSyncStorageEngine.java192 final int ident; field in class:SyncStorageEngine.AuthorityInfo
210 ident = toCopy.ident;
223 AuthorityInfo(Account account, int userId, String authority, int ident) { argument
227 this.ident = ident;
593 getOrCreateAuthorityLocked(account, userId, providerName, -1 /* ident */,
649 account, userId, providerName, -1 /* ident */, true);
708 SyncStatusInfo status = getOrCreateSyncStatusLocked(authority.ident);
713 SyncStatusInfo status = mSyncStatus.get(authority.ident);
1379 getOrCreateAuthorityLocked(Account accountName, int userId, String authorityName, int ident, boolean doWrite) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java148 /*package*/ final CharSequence getResourceText(int ident) { argument
151 int block = loadResourceValue(ident, (short) 0, tmpValue, true);
166 /*package*/ final CharSequence getResourceBagText(int ident, int bagEntryId) { argument
169 int block = loadResourceBagValue(ident, bagEntryId, tmpValue, true);
191 /*package*/ final boolean getResourceValue(int ident, argument
196 int block = loadResourceValue(ident, (short) density, outValue, resolveRefs);
227 /*package*/ final boolean getThemeValue(int theme, int ident, argument
229 int block = loadThemeAttributeValue(theme, ident, outValue, resolveRefs);
686 private native final int loadResourceValue(int ident, short density, TypedValue outValue, argument
690 private native final int loadResourceBagValue(int ident, in argument
733 loadThemeAttributeValue(int theme, int ident, TypedValue outValue, boolean resolve) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_app_NativeActivity.cpp133 void AInputQueue::attachLooper(ALooper* looper, int ident, argument
137 ident, ALOOPER_EVENT_INPUT, callback, data);
139 ident, ALOOPER_EVENT_INPUT, callback, data);
H A Dandroid_util_AssetManager.cpp574 jint ident = am->getResources().identifierForName( local
584 return ident;
683 jint ident,
697 ssize_t block = res.getResource(ident, &value, false, density, &typeSpecFlags, &config);
704 uint32_t ref = ident;
718 jint ident, jint bagEntryId,
735 ssize_t entryCount = res.getBagLocked(ident, &entry, &typeSpecFlags);
738 if (((uint32_t)bagEntryId) == entry->map.name.ident) {
751 uint32_t ref = ident;
833 JNIEnv* env, jobject clazz, jint themeInt, jint ident, jobjec
682 android_content_AssetManager_loadResourceValue(JNIEnv* env, jobject clazz, jint ident, jshort density, jobject outValue, jboolean resolve) argument
717 android_content_AssetManager_loadResourceBagValue(JNIEnv* env, jobject clazz, jint ident, jint bagEntryId, jobject outValue, jboolean resolve) argument
832 android_content_AssetManager_loadThemeAttributeValue( JNIEnv* env, jobject clazz, jint themeInt, jint ident, jobject outValue, jboolean resolve) argument
[all...]

Completed in 4338 milliseconds

12