Home
last modified time | relevance | path

Searched refs:get (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Ddashboard.py79 def get(self): member in ContactInsertPage
101 def get(self): member in ContactEditPage
102 id = int(self.request.get('id'))
103 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
108 id = int(self.request.get('id'))
109 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
124 def get(self): member in ContactDeletePage
125 id = int(self.request.get('id'))
126 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
141 def get(self): member in AvatarEditPage
[all …]
Dweb_services.py67 self.username = self.request.get('username')
68 self.password = self.request.get('password')
95 self.username = self.request.get('username')
96 self.authtoken = self.request.get('authtoken')
121 def get(self): member in Authenticate
134 def get(self): member in SyncContacts
150 client_buffer = self.request.get('contacts')
156 client_state = self.request.get('syncstate')
238 contact = datastore.Contact.get(db.Key.from_path('Contact', id))
309 def get(self): member in ResetDatabase
/development/samples/ApiDemos/src/com/example/android/mmslib/pdu/
DPduPart.java223 return (byte[]) mPartHeader.get(P_CONTENT_ID); in getContentId()
241 Integer charset = (Integer) mPartHeader.get(P_CHARSET); in getCharset()
272 return (byte[]) mPartHeader.get(P_CONTENT_LOCATION); in getContentLocation()
298 return (byte[]) mPartHeader.get(P_CONTENT_DISPOSITION); in getContentDisposition()
321 return (byte[]) mPartHeader.get(P_CONTENT_TYPE); in getContentType()
344 return (byte[]) mPartHeader.get(P_CONTENT_TRANSFER_ENCODING); in getContentTransferEncoding()
367 return (byte[]) mPartHeader.get(P_NAME); in getName()
390 return (byte[]) mPartHeader.get(P_FILENAME); in getFilename()
397 byte[] location = (byte[]) mPartHeader.get(P_NAME); in generateLocation()
399 location = (byte[]) mPartHeader.get(P_FILENAME); in generateLocation()
[all …]
DPduBody.java129 return mParts.get(index); in getPart()
158 return mPartMapByContentId.get(cid); in getPartByContentId()
169 return mPartMapByContentLocation.get(contentLocation); in getPartByContentLocation()
179 return mPartMapByName.get(name); in getPartByName()
189 return mPartMapByFileName.get(filename); in getPartByFileName()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetworkVars.java45 public String get(); in get() method
55 public String get() { in get() method in MonkeySourceNetworkVars.StaticVarGetter
97 public String get() {
102 public String get() {
110 public String get() {
118 public String get() {
126 public String get() {
134 public String get() {
148 public String get() {
153 public String get() {
[all …]
DMonkeySourceNetwork.java116 String direction = command.get(1); in translateCommand()
140 String actionName = command.get(1); in translateCommand()
144 x = Integer.parseInt(command.get(2)); in translateCommand()
145 y = Integer.parseInt(command.get(3)); in translateCommand()
187 dx = Integer.parseInt(command.get(1)); in translateCommand()
188 dy = Integer.parseInt(command.get(2)); in translateCommand()
213 int keyCode = getKeyCode(command.get(2)); in translateCommand()
216 Log.e(TAG, "Can't find keyname: " + command.get(2)); in translateCommand()
221 if ("down".equals(command.get(1))) { in translateCommand()
223 } else if ("up".equals(command.get(1))) { in translateCommand()
[all …]
DMonkeySourceNetworkViews.java126 Class<?> klass = sClassMap.get(packageName); in getIdClass()
153 return (!infos.isEmpty()) ? infos.get(0) : null; in getNodeByViewId()
201 String idType = command.get(1); in translateCommand()
207 node = getNodeByViewId(command.get(2)); in translateCommand()
208 viewQuery = command.get(3); in translateCommand()
215 node = getNodeByAccessibilityIds(command.get(2), command.get(3)); in translateCommand()
216 viewQuery = command.get(4); in translateCommand()
227 ViewIntrospectionCommand getter = COMMAND_MAP.get(viewQuery); in translateCommand()
261 String text = command.get(1); in translateCommand()
400 if (Boolean.valueOf(args.get(0))) { in query()
[all …]
/development/scripts/
Darchitecture.py34 self.options = OPTIONS.get(name, {})
38 return [symbol.ToolPath(ASSEMBLE)] + self.options.get(ASSEMBLE, []) + args
42 return [symbol.ToolPath(LINK)] + self.options.get(LINK, []) + args
46 return ([symbol.ToolPath(DISASSEMBLE)] + self.options.get(DISASSEMBLE, []) +
58 return self.options.get(UNPACK, UnpackLittleEndian)(word)
/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/
DGLFace.java55 GLVertex vertex = mVertexList.get(last); in setColor()
62 vertex = mVertexList.get(last); in setColor()
79 GLVertex v0 = mVertexList.get(0); in putIndices()
80 GLVertex vn = mVertexList.get(last); in putIndices()
84 GLVertex v1 = mVertexList.get(i); in putIndices()
/development/samples/SampleSyncAdapter/samplesyncadapter_server/model/
Ddatastore.py41 return query.get()
48 return query.get().updated
55 return query.get().key().id()
62 return query.get().status
/development/vndk/tools/sourcedr/blueprint/
Dvndk.py44 return kwargs.get('default', None)
87 shared_libs -= set(target_vendor.get('exclude_shared_libs', []))
88 static_libs -= set(target_vendor.get('exclude_static_libs', []))
89 header_libs -= set(target_vendor.get('exclude_header_libs', []))
118 prev_module = self.all_libs.get(name)
144 name = attrs.get('name')
148 namespace = attrs.get('_namespace')
/development/samples/devbytes/animation/CardFlip/src/com/example/android/cardflip/
DCardFlip.java118 view.updateTranslation(mStackCards.get(stack).size()); in addNewCard()
127 mStackCards.get(stack).add(view); in addNewCard()
149 ArrayList<CardView> cardStack = mStackCards.get(stack);
152 rotateCardView(cardStack.get(size - 1), stack, v, v2);
177 ArrayList<CardView>leftStack = mStackCards.get(LEFT_STACK); in rotateCardView()
178 ArrayList<CardView>rightStack = mStackCards.get(RIGHT_STACK); in rotateCardView()
246 ArrayList <CardView> cards = mStackCards.get(stack); in rotateCards()
249 CardView cardView = cards.get(i); in rotateCards()
277 ArrayList <CardView> cards = mStackCards.get(stack); in rotateCardsFullRotation()
279 CardView cardView = cards.get(i); in rotateCardsFullRotation()
/development/samples/ApiDemos/src/com/example/android/apis/animation/
DAnimationLoading.java94 anim.setTarget(balls.get(0)); in createAnimation()
100 balls.get(1).setAlpha((Float) animation.getAnimatedValue()); in createAnimation()
107 seq.setTarget(balls.get(2)); in createAnimation()
111 colorizer.setTarget(balls.get(3)); in createAnimation()
115 animPvh.setTarget(balls.get(4)); in createAnimation()
120 animPvhKf.setTarget(balls.get(5)); in createAnimation()
126 balls.get(6).setAlpha((Float) animation.getAnimatedValue()); in createAnimation()
138 animPvhKfInterpolated.setTarget(balls.get(7)); in createAnimation()
194 ShapeHolder ball = balls.get(0); in onAnimationUpdate()
DAnimationCloning.java80 ObjectAnimator anim1 = ObjectAnimator.ofFloat(balls.get(0), "y", in createAnimation()
81 0f, getHeight() - balls.get(0).getHeight()).setDuration(500); in createAnimation()
83 anim2.setTarget(balls.get(1)); in createAnimation()
86 ShapeHolder ball2 = balls.get(2); in createAnimation()
98 s2.setTarget(balls.get(3)); in createAnimation()
130 ShapeHolder shapeHolder = balls.get(i); in onDraw()
/development/samples/browseable/SpeedTracker/Shared/src/com.example.android.wearable.speedtracker.common/
DUtils.java32 return day.get(Calendar.YEAR) + "-" + day.get(Calendar.DAY_OF_YEAR); in getHashedDay()
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/
DNonsenseGenerator.java79 words.set(0, String.valueOf(Character.toUpperCase(words.get(0).charAt(0))) + in makeSentence()
80 words.get(0).substring(1)); in makeSentence()
165 sb.append(words.get(0)); in joinWords()
167 if (!words.get(i).startsWith(",")) { in joinWords()
170 sb.append(words.get(i)); in joinWords()
/development/samples/browseable/WearDrawers/src/com.example.android.wearable.wear.weardrawers/
DMainActivity.java71 int imageId = getResources().getIdentifier(mSolarSystem.get(mSelectedPlanet).getImage(), in onCreate()
144 toastMessage = mSolarSystem.get(mSelectedPlanet).getName(); in onMenuItemClick()
147 toastMessage = mSolarSystem.get(mSelectedPlanet).getMoons(); in onMenuItemClick()
150 toastMessage = mSolarSystem.get(mSelectedPlanet).getVolume(); in onMenuItemClick()
153 toastMessage = mSolarSystem.get(mSelectedPlanet).getSurfaceArea(); in onMenuItemClick()
190 String selectedPlanetImage = mSolarSystem.get(mSelectedPlanet).getImage(); in onItemSelected()
198 return mSolarSystem.get(pos).getName(); in getItemText()
203 String navigationIcon = mSolarSystem.get(pos).getNavigationIcon(); in getItemDrawable()
/development/tools/bugreport/src/com/android/bugreport/inspector/
DInspector.java135 ProcessInfo pi = mBugreport.allKnownProcesses.get(pid); in makeProcessInfo()
152 ThreadInfo ti = pi.threads.get(tid); in makeThreadInfo()
179 mBugreport.anr = anrs.get(0); in findAnr()
207 final LockSnapshot prev = thread.locks.get(lock.address); in combineLocks()
242 frame = thread.frames.get(i); in markOutgoingBinderThread()
262 frame = thread.frames.get(i); in markOutgoingBinderThread()
278 frame = thread.frames.get(i); in markOutgoingBinderThread()
299 frame = thread.frames.get(i); in markIncomingBinderThread()
319 frame = thread.frames.get(i); in markIncomingBinderThread()
333 frame = thread.frames.get(i); in markIncomingBinderThread()
[all …]
/development/gsi/gsi_util/gsi_util/utils/
Dcmd_utils.py33 if kwargs.get('shell', False):
81 assert kwargs.get('stdout') in [None, PIPE]
84 assert kwargs.get('stderr') in [None, PIPE]
95 if kwargs.get('shell'):
/development/samples/ApiDemos/src/com/example/android/apis/view/
DDateWidgets1.java71 mYear = c.get(Calendar.YEAR); in onCreate()
72 mMonth = c.get(Calendar.MONTH); in onCreate()
73 mDay = c.get(Calendar.DAY_OF_MONTH); in onCreate()
74 mHour = c.get(Calendar.HOUR_OF_DAY); in onCreate()
75 mMinute = c.get(Calendar.MINUTE); in onCreate()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardStreamFragment.java103 Card card = mVisibleCards.get(tag); in removeCard()
134 final Card card = mHiddenCards.get(tag); in showCard()
155 final Card card = mVisibleCards.get(tag); in hideCard()
169 final Card card = mVisibleCards.get(tag); in dismissCard()
199 final Card card = mVisibleCards.get(tag); in getCard()
203 return mHiddenCards.get(tag); in getCard()
214 final Card card = mVisibleCards.get(tag); in setFirstVisibleCard()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DAsyncTask.java321 postResultIfNotInvoked(get()); in AsyncTask()
335 final boolean wasTaskInvoked = mTaskInvoked.get(); in postResultIfNotInvoked()
459 return mCancelled.get(); in isCancelled()
507 public final Result get() throws InterruptedException, ExecutionException { in get() method in AsyncTask
508 return mFuture.get(); in get()
526 public final Result get(long timeout, TimeUnit unit) throws InterruptedException, in get() method in AsyncTask
528 return mFuture.get(timeout, unit); in get()
/development/tools/repo_diff/service/repodiff/remote_scripts/
Dgce_startup.sh15 apt-get update
16 apt-get -qq -y --force-yes install docker.io
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java445 Integer afState = result.get(CaptureResult.CONTROL_AF_STATE);
460 Integer aeState = result.get(CaptureResult.CONTROL_AE_STATE);
461 Integer awbState = result.get(CaptureResult.CONTROL_AWB_STATE);
529 jpegBuilder = mJpegResultQueue.get(requestId);
530 rawBuilder = mRawResultQueue.get(requestId);
547 jpegBuilder = mJpegResultQueue.get(requestId);
548 rawBuilder = mRawResultQueue.get(requestId);
710 if (!contains(characteristics.get( in setUpCameraOutputs()
716 StreamConfigurationMap map = characteristics.get( in setUpCameraOutputs()
737 mJpegImageReader.get().setOnImageAvailableListener( in setUpCameraOutputs()
[all …]
/development/tools/logblame/
Dps.py82 result = self._processes.get(pid)
85 result = self._processes.get(pid)
88 uid = self._uids.get(uid)
94 result = self._uids.get(uid)
97 result = self._uids.get(uid)

12345678910>>...13