/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
addinterface.cpp | 106 int id, tmp; local 116 id = -1; 142 if (tmp > id) 143 id = tmp; 146 id += 1; 149 wsprintf(name, L"%04d", id); 151 os_snprintf(name, sizeof(name), "%04d", id);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_storage.c | 131 u32 id; local 139 id = pSeqParamSet->seqParameterSetId; 141 /* seq parameter set with id not used before -> allocate memory */ 142 if (pStorage->sps[id] == NULL) 144 ALLOCATE(pStorage->sps[id], 1, seqParamSet_t); 145 if (pStorage->sps[id] == NULL) 148 /* sequence parameter set with id equal to id of active sps */ 149 else if (id == pStorage->activeSpsId) 159 FREE(pStorage->sps[id]->offsetForRefFrame) 214 u32 id; local [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
StatusTracker.cpp | 47 int id; local 51 id = mNextComponentId++; 52 ALOGV("%s: Adding new component %d", __FUNCTION__, id); 54 err = mStates.add(id, IDLE); 56 __FUNCTION__, id, strerror(-err), err); 65 return err < 0 ? err : id; 68 void StatusTracker::removeComponent(int id) { 72 ALOGV("%s: Removing component %d", __FUNCTION__, id); 73 idx = mStates.removeItem(id); 86 void StatusTracker::markComponentIdle(int id, const sp<Fence>& componentFence) [all...] |
StatusTracker.h | 51 // An always-invalid component ID 54 // Add a component to track; returns non-negative unique ID for the new 60 void removeComponent(int id); 66 void markComponentIdle(int id, const sp<Fence>& componentFence); 69 void markComponentActive(int id); 82 void markComponent(int id, ComponentState state, 91 int id; member in struct:android::camera3::StatusTracker::StateChange
|
/frameworks/base/core/java/android/content/pm/ |
UserInfo.java | 66 public int id; field in class:UserInfo 77 public UserInfo(int id, String name, int flags) { 78 this(id, name, null, flags); 81 public UserInfo(int id, String name, String iconPath, int flags) { 82 this.id = id; 110 id = orig.id; 119 return new UserHandle(id); 124 return "UserInfo{" + id + ":" + name + ":" + Integer.toHexString(flags) + "}" [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
Path.java | 33 Primitive(int id) { 34 mID = id; 44 Path(int id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) { 45 super(id, rs); 70 int id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality); local 71 Path newPath = new Path(id, rs, p, null, null, quality);
|
ProgramRaster.java | 49 CullMode(int id) { 50 mID = id; 57 ProgramRaster(int id, RenderScript rs) { 58 super(id, rs); 157 int id = mRS.nProgramRasterCreate(mPointSprite, mCullMode.mID); local 158 ProgramRaster programRaster = new ProgramRaster(id, mRS);
|
ScriptC.java | 42 * @param id 45 protected ScriptC(int id, RenderScript rs) { 46 super(id, rs); 59 int id = internalCreate(rs, resources, resourceID); local 60 if (id == 0) { 63 setID(id);
|
/frameworks/base/libs/hwui/ |
Texture.h | 55 * Convenience method to call glDeleteTextures() on this texture's id. 62 GLuint id; member in class:android::uirenderer::Texture
|
/frameworks/base/media/java/android/media/ |
MediaRouterClientState.java | 38 * The id of the current globally selected route, or null if none. 53 public RouteInfo getRoute(String id) { 57 if (route.id.equals(id)) { 95 public String id; field in class:MediaRouterClientState.RouteInfo 108 public RouteInfo(String id) { 109 this.id = id; 119 id = other.id; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/util/ |
BridgeXmlPullAttributes.java | 268 Integer id = null; local 270 id = Bridge.getResourceId(resource.getResourceType(), resource.getName()); 272 id = mContext.getProjectCallback().getResourceId( 276 if (id != null) { 277 return id;
|
/frameworks/base/tools/preload/ |
Proc.java | 34 /** Process ID. */ 35 final int id; field in class:Proc 46 /** Maps thread ID to operation stack. */ 60 Proc(Proc parent, int id) { 62 this.id = id; 158 System.out.println(prefix + "id=" + id + ", name=" + name);
|
/frameworks/opt/photoviewer/sample/src/com/example/photoviewersample/ |
SampleProvider.java | 153 final int id = Integer.parseInt(pathSegments.get(1)); local 155 switch (id) {
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
ExportTestProvider.java | 106 final int id = Integer.parseInt(selectionArgs[0]); local 107 TestCase.assertTrue(id >= 0); 108 TestCase.assertTrue(id < mContactEntryList.size()); 110 return new MockEntityIterator(mContactEntryList.get(id).getList());
|
/frameworks/rs/cpp/ |
Type.cpp | 69 Type::Type(void *id, sp<RS> rs) : BaseObj(id, rs) { 103 void * id = RS::dispatch->TypeCreate(rs->getContext(), e->getID(), dimX, dimY, dimZ, false, false, 0); local 104 Type *t = new Type(id, rs); 203 void * id = RS::dispatch->TypeCreate(mRS->getContext(), mElement->getID(), mDimX, mDimY, mDimZ, local 205 Type *t = new Type(id, mRS);
|
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
ScriptC.java | 42 * @param id 45 protected ScriptC(int id, RenderScript rs) { 46 super(id, rs); 67 int id = internalCreate(rs, resources, resourceID); local 68 if (id == 0) { 71 setID(id);
|
ScriptIntrinsicColorMatrix.java | 34 protected ScriptIntrinsicColorMatrix(int id, RenderScript rs) { 35 super(id, rs); 58 int id = rs.nScriptIntrinsicCreate(2, e.getID(rs)); local 59 return new ScriptIntrinsicColorMatrix(id, rs);
|
ScriptIntrinsicLUT.java | 33 protected ScriptIntrinsicLUT(int id, RenderScript rs) { 34 super(id, rs); 53 int id = rs.nScriptIntrinsicCreate(3, e.getID(rs)); local 55 ScriptIntrinsicLUT si = new ScriptIntrinsicLUT(id, rs);
|
/hardware/akm/AK8975_FS/libsensors/ |
AkmSensor.cpp | 78 int id = handle2id(handle); local 82 switch (id) { 100 if (mEnabled[id] <= 0) { 102 } else if (mEnabled[id] == 1) { 123 (mEnabled[id])++; 124 if (mEnabled[id] > 32767) mEnabled[id] = 32767; 126 (mEnabled[id])--; 127 if (mEnabled[id] < 0) mEnabled[id] = 0 136 int id = handle2id(handle); local 176 int id = handle2id(handle); local 186 int id = handle2id(handle); local [all...] |
/libcore/crypto/src/main/java/org/conscrypt/ |
OpenSSLEngine.java | 43 throw new IllegalArgumentException("Unknown ENGINE id: " + engine); 61 public PrivateKey getPrivateKeyById(String id) throws InvalidKeyException { 62 if (id == null) { 63 throw new NullPointerException("id == null"); 66 final long keyRef = NativeCrypto.ENGINE_load_private_key(ctx, id); 71 OpenSSLKey pkey = new OpenSSLKey(keyRef, this, id); 79 public SecretKey getSecretKeyById(String id, String algorithm) throws InvalidKeyException { 80 if (id == null) { 81 throw new NullPointerException("id == null"); 84 final long keyRef = NativeCrypto.ENGINE_load_private_key(ctx, id); 127 final String id = NativeCrypto.ENGINE_get_id(ctx); local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1Type.java | 37 public final int id; field in class:ASN1Type 73 this.id = tagClass + tagNumber; 78 this.constrId = this.id + PC_CONSTRUCTED; 168 return getClass().getName() + "(tag: 0x" + Integer.toHexString(0xff & this.id) + ")";
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
mutex.cpp | 163 pthread_t id = pthread_self(); local 165 if (pthread_equal(id, __id_)) 175 __id_ = id; 181 pthread_t id = pthread_self(); variable 183 if (lk.owns_lock() && (__count_ == 0 || pthread_equal(id, __id_))) 188 __id_ = id;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/algorithms/alg.modifying.operations/alg.unique/ |
unique.pass.cpp | 49 int id[] = {0, 0, 1}; local 50 const unsigned sd = sizeof(id)/sizeof(id[0]); 51 r = std::unique(Iter(id), Iter(id+sd)); 52 assert(base(r) == id + 2); 53 assert(id[0] == 0); 54 assert(id[1] == 1); 122 Ptr id[3]; local 123 id[2].reset(&one) [all...] |
unique_copy.pass.cpp | 51 const int id[] = {0, 0, 1}; local 52 const unsigned sd = sizeof(id)/sizeof(id[0]); 54 r = std::unique_copy(InIter(id), InIter(id+sd), OutIter(jd));
|
unique_pred.pass.cpp | 65 int id[] = {0, 0, 1}; local 66 const unsigned sd = sizeof(id)/sizeof(id[0]); 68 r = std::unique(Iter(id), Iter(id+sd), count_equal()); 69 assert(base(r) == id + 2); 70 assert(id[0] == 0); 71 assert(id[1] == 1); 154 Ptr id[3]; local 155 id[2].reset(&one) [all...] |