/development/vndk/tools/definition-tool/tests/ |
D | test_tagged_dict.py | 62 def _check_tag_visibility(self, d, from_tag, visible_tags): argument 64 self.assertTrue(d.is_tag_visible(from_tag, to_tag)) 66 self.assertEqual(d.is_tag_visible(from_tag, to_tag), 71 d = TaggedDict() 75 self._check_tag_visibility(d, 'll_ndk', visible_tags) 76 self._check_tag_visibility(d, 'll_ndk_private', visible_tags) 82 self._check_tag_visibility(d, 'vndk_sp', visible_tags) 83 self._check_tag_visibility(d, 'vndk_sp_private', visible_tags) 89 self._check_tag_visibility(d, 'vndk', visible_tags) 100 self._check_tag_visibility(d, 'system_only', visible_tags) [all …]
|
/development/tools/repo_diff/service/repodiff/mappers/ |
D | mappers.go | 74 func diffRowToDenormalizedCols(d e.AnalyzedDiffRow, rowIndex int) []interface{} { 77 d.Date, 78 d.DownstreamProject, 79 d.UpstreamProject, 80 constants.StatusToDisplay[d.DiffStatus], 81 d.FilesChanged, 82 d.LineInsertions, 83 d.LineDeletions, 84 d.LineChanges, 85 d.CommitsNotUpstreamed, [all …]
|
/development/vndk/tools/definition-tool/assets/visual/ |
D | dep-graph.js | 13 line.radius(function(d) { return d.y; }); argument 14 line.angle(function(d) { return d.x / 180 * Math.PI; }); argument 201 let root = tagHierarchy(depDumps).sum(function(d) { return 1; }); argument 209 .each(function(d) { d.source = d[0], d.target = d[d.length - 1]; }) argument 210 .attr("class", function(d) { return d.allow ? "link" : "link--violate" }) argument 217 function(d) { argument 218 return d.data.parent.parent.parent.key == "system" ? 219 (d.data.parent.parent.key == "system.public" ? 226 function(d) { argument 227 return "rotate(" + (d.x - 90) + ")translate(" + (d.y + 8) + ",0)" + [all …]
|
/development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
D | ChatConnection.java | 98 Log.d(TAG, "setSocket being called."); in setSocket() 100 Log.d(TAG, "Setting a null socket."); in setSocket() 149 Log.d(TAG, "ServerSocket Created, awaiting connection"); in run() 151 Log.d(TAG, "Connected."); in run() 178 Log.d(CLIENT_TAG, "Creating chatClient"); in ChatClient() 200 Log.d(CLIENT_TAG, "Client-side socket initialized."); in run() 203 Log.d(CLIENT_TAG, "Socket already initialized. skipping!"); in run() 210 Log.d(CLIENT_TAG, "Initializing socket failed, UHE", e); in run() 212 Log.d(CLIENT_TAG, "Initializing socket failed, IOE.", e); in run() 220 Log.d(CLIENT_TAG, "Message sending loop interrupted, exiting"); in run() [all …]
|
D | NsdChatActivity.java | 46 Log.d(TAG, "Creating chat activity"); in onCreate() 65 Log.d(TAG, "ServerSocket isn't bound."); in clickAdvertise() 76 Log.d(TAG, "Connecting."); in clickConnect() 80 Log.d(TAG, "No service to connect to!"); in clickConnect() 101 Log.d(TAG, "Starting."); in onStart() 112 Log.d(TAG, "Pausing."); in onPause() 121 Log.d(TAG, "Resuming."); in onResume() 141 Log.d(TAG, "Being stopped."); in onStop() 151 Log.d(TAG, "Being destroyed."); in onDestroy()
|
D | NsdHelper.java | 57 Log.d(TAG, "Service discovery started"); in initializeDiscoveryListener() 62 Log.d(TAG, "Service discovery success" + service); in initializeDiscoveryListener() 64 Log.d(TAG, "Unknown Service Type: " + service.getServiceType()); in initializeDiscoveryListener() 66 Log.d(TAG, "Same machine: " + mServiceName); in initializeDiscoveryListener() 110 Log.d(TAG, "Same IP."); in initializeResolveListener() 124 Log.d(TAG, "Service registered: " + mServiceName); in initializeRegistrationListener() 129 Log.d(TAG, "Service registration failed: " + arg1); in initializeRegistrationListener() 134 Log.d(TAG, "Service unregistered: " + arg0.getServiceName()); in initializeRegistrationListener() 139 Log.d(TAG, "Service unregistration failed: " + errorCode); in initializeRegistrationListener()
|
/development/samples/browseable/WearVerifyRemoteApp/Application/src/com.example.android.wearable.wear.wearverifyremoteapp/ |
D | MainMobileActivity.java | 97 Log.d(TAG, "onReceiveResult: " + resultCode); 130 Log.d(TAG, "onCreate()"); in onCreate() 156 Log.d(TAG, "onPause()"); in onPause() 172 Log.d(TAG, "onResume()"); in onResume() 181 Log.d(TAG, "onConnected()"); in onConnected() 201 Log.d(TAG, "onConnectionSuspended(): connection to location client suspended: " + i); in onConnectionSuspended() 213 Log.d(TAG, "onCapabilityChanged(): " + capabilityInfo); in onCapabilityChanged() 225 Log.d(TAG, "findWearDevicesWithApp()"); in findWearDevicesWithApp() 238 Log.d(TAG, "onResult(): " + getCapabilityResult); in findWearDevicesWithApp() 246 Log.d(TAG, "Failed CapabilityApi: " + getCapabilityResult.getStatus()); in findWearDevicesWithApp() [all …]
|
/development/samples/browseable/WearVerifyRemoteApp/Wearable/src/com.example.android.wearable.wear.wearverifyremoteapp/ |
D | MainWearActivity.java | 112 Log.d(TAG, "onCreate()"); in onCreate() 140 Log.d(TAG, "onPause()"); in onPause() 155 Log.d(TAG, "onResume()"); in onResume() 164 Log.d(TAG, "onConnected()"); in onConnected() 177 Log.d(TAG, "onConnectionSuspended(): connection to location client suspended: " + i); in onConnectionSuspended() 189 Log.d(TAG, "onCapabilityChanged(): " + capabilityInfo); in onCapabilityChanged() 196 Log.d(TAG, "checkIfPhoneHasApp()"); in checkIfPhoneHasApp() 208 Log.d(TAG, "onResult(): " + getCapabilityResult); in checkIfPhoneHasApp() 216 Log.d(TAG, "Failed CapabilityApi: " + getCapabilityResult.getStatus()); in checkIfPhoneHasApp() 231 Log.d(TAG, installMessage); in verifyNodeAndUpdateUI() [all …]
|
/development/samples/browseable/MultiWindowPlayground/src/com/android.multiwindowplayground/activities/ |
D | LoggingActivity.java | 46 Log.d(mLogTag, "onCreate"); in onCreate() 54 Log.d(mLogTag, "onPostCreate"); in onPostCreate() 60 Log.d(mLogTag, "onPause"); in onPause() 66 Log.d(mLogTag, "onDestroy"); in onDestroy() 72 Log.d(mLogTag, "onResume"); in onResume() 78 Log.d(mLogTag, "onConfigurationChanged: " + newConfig.toString()); in onConfigurationChanged() 84 Log.d(mLogTag, "onPostCreate"); in onPostCreate() 93 Log.d(mLogTag, "onStart"); in onStart() 102 Log.d(mLogTag, "onStop"); in onStop() 109 Log.d(mLogTag, "onMultiWindowModeChanged: " + isInMultiWindowMode); in onMultiWindowModeChanged()
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MusicService.java | 147 LogHelper.d(TAG, "onCreate"); in onCreate() 206 LogHelper.d(TAG, "onDestroy"); in onDestroy() 218 LogHelper.d(TAG, "OnGetRoot: clientPackageName=" + clientPackageName, in onGetRoot() 268 LogHelper.d(TAG, "OnLoadChildren: parentMediaId=", parentMediaId); in loadChildrenImpl() 273 LogHelper.d(TAG, "OnLoadChildren.ROOT"); in loadChildrenImpl() 285 LogHelper.d(TAG, "OnLoadChildren.GENRES"); in loadChildrenImpl() 299 LogHelper.d(TAG, "OnLoadChildren.SONGS_BY_GENRE genre=", genre); in loadChildrenImpl() 317 LogHelper.d(TAG, "OnLoadChildren sending ", mediaItems.size(), in loadChildrenImpl() 325 LogHelper.d(TAG, "play"); in onPlay() 342 LogHelper.d(TAG, "OnSkipToQueueItem:" + queueId); in onSkipToQueueItem() [all …]
|
D | QueueFragment.java | 58 LogHelper.d(TAG, "onConnected: session token ", mMediaBrowser.getSessionToken()); 84 LogHelper.d(TAG, "onConnectionFailed"); 89 LogHelper.d(TAG, "onConnectionSuspended"); 103 LogHelper.d(TAG, "Session destroyed. Need to fetch a new Media Session"); 111 LogHelper.d(TAG, "Received playback state change to state ", state.getState()); 118 LogHelper.d(TAG, "onQueueChanged ", queue); 190 LogHelper.d(TAG, "onPlaybackStateChanged ", state); in onPlaybackStateChanged() 228 LogHelper.d(TAG, statusBuilder.toString()); in onPlaybackStateChanged() 240 LogHelper.d(TAG, "Queue From MediaController *** Title " + in onPlaybackStateChanged() 252 LogHelper.d(TAG, "Play button pressed, in state " + state); [all …]
|
D | Playback.java | 85 LogHelper.d(TAG, "Headphones disconnected."); 218 LogHelper.d(TAG, "seekTo called with ", position); in seekTo() 242 LogHelper.d(TAG, "tryToGetAudioFocus"); in tryToGetAudioFocus() 256 LogHelper.d(TAG, "giveUpAudioFocus"); in giveUpAudioFocus() 275 LogHelper.d(TAG, "configMediaPlayerState. mAudioFocus=", mAudioFocus); in configMediaPlayerState() 292 LogHelper.d(TAG,"configMediaPlayerState startMediaPlayer. seeking to ", in configMediaPlayerState() 316 LogHelper.d(TAG, "onAudioFocusChange. focusChange=", focusChange); in onAudioFocusChange() 349 LogHelper.d(TAG, "onSeekComplete from MediaPlayer:", mp.getCurrentPosition()); in onSeekComplete() 367 LogHelper.d(TAG, "onCompletion from MediaPlayer"); in onCompletion() 382 LogHelper.d(TAG, "onPrepared from MediaPlayer"); in onPrepared() [all …]
|
D | MediaNotificationManager.java | 146 LogHelper.d(TAG, "Received intent with action " + action); in onReceive() 196 LogHelper.d(TAG, "Received new playback state", state); 211 LogHelper.d(TAG, "Received new metadata ", metadata); 221 LogHelper.d(TAG, "Session was destroyed, resetting to the new session token"); 227 LogHelper.d(TAG, "updateNotificationMetadata. mMetadata=" + mMetadata); in createNotification() 296 LogHelper.d(TAG, "updatePlayPauseAction"); in addPlayPauseAction() 313 LogHelper.d(TAG, "updateNotificationPlaybackState. mPlaybackState=" + mPlaybackState); in setNotificationPlaybackState() 315 LogHelper.d(TAG, "updateNotificationPlaybackState. cancelling notification!"); in setNotificationPlaybackState() 321 LogHelper.d(TAG, "updateNotificationPlaybackState. updating playback position to ", in setNotificationPlaybackState() 328 LogHelper.d(TAG, "updateNotificationPlaybackState. hiding playback position"); in setNotificationPlaybackState() [all …]
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
D | DensityActivity.java | 140 final BitmapDrawable d = new BitmapDrawable(getResources(), bitmap); in addBitmapDrawable() local 141 if (!scale) d.setTargetDensity(getResources().getDisplayMetrics()); in addBitmapDrawable() 142 view.setBackgroundDrawable(d); in addBitmapDrawable() 144 view.setLayoutParams(new LinearLayout.LayoutParams(d.getIntrinsicWidth(), in addBitmapDrawable() 145 d.getIntrinsicHeight())); in addBitmapDrawable() 152 final Drawable d = getResources().getDrawable(resource); in addResourceDrawable() local 153 view.setBackgroundDrawable(d); in addResourceDrawable() 155 view.setLayoutParams(new LinearLayout.LayoutParams(d.getIntrinsicWidth(), in addResourceDrawable() 156 d.getIntrinsicHeight())); in addResourceDrawable() 174 final Drawable d = getResources().getDrawable(resource); in addNinePatchResourceDrawable() local [all …]
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
D | ContactPhotoBinder.java | 67 Drawable d = mCache.get(id); in bind() local 69 if (d == null) { in bind() 80 d = new BitmapDrawable(mResources, bitmap); in bind() 82 d = mDefault; in bind() 85 d.setBounds(0, 0, mPhotoSize, mPhotoSize); in bind() 86 ((TextView) view).setCompoundDrawables(d, null, null, null); in bind() 89 mCache.put(id, d); in bind() 91 ((TextView) view).setCompoundDrawables(d, null, null, null); in bind()
|
/development/samples/BrokenKeyDerivation/src/com/example/android/brokenkeyderivation/ |
D | InsecureSHA1PRNGKeyDerivator.java | 442 int d = arrW[HASH_OFFSET +3]; 464 ( ( b & c) | ((~b) & d) ) + 466 e = d; 467 d = c; 474 temp = ((( a<<5 ) | ( a>>>27 ))) + (b ^ c ^ d) + (e + arrW[t] + 0x6ED9EBA1) ; 475 e = d; 476 d = c; 483 temp = (( a<<5 ) | ( a>>>27 )) + ((b & c) | (b & d) | (c & d)) + 485 e = d; 486 d = c; [all …]
|
/development/samples/browseable/RuntimePermissionsWear/Application/src/com.example.android.wearable.runtimepermissions/ |
D | MainPhoneActivity.java | 95 Log.d(TAG, "onCreate()"); in onCreate() 148 Log.d(TAG, "onPause()"); in onPause() 162 Log.d(TAG, "onResume()"); in onResume() 184 Log.d(TAG, "onActivityResult()"); in onActivityResult() 200 Log.d(TAG, "onConnected()"); in onConnected() 249 Log.d(TAG, "onConnectionSuspended(): connection to location client suspended"); in onConnectionSuspended() 259 Log.d(TAG, "onCapabilityChanged(): " + capabilityInfo); in onCapabilityChanged() 265 Log.d(TAG, "onMessageReceived(): " + messageEvent); in onMessageReceived() 307 Log.d(TAG, "Unrecognized communication type received."); in onMessageReceived() 315 Log.d(TAG, "Sending message failed, onResult: " + sendMessageResult); in onResult() [all …]
|
/development/samples/browseable/RuntimePermissionsWear/Wearable/src/com.example.android.wearable.runtimepermissions/ |
D | IncomingRequestWearService.java | 53 Log.d(TAG, "IncomingRequestWearService()"); in IncomingRequestWearService() 59 Log.d(TAG, "onCreate()"); in onCreate() 64 Log.d(TAG, "onMessageReceived(): " + messageEvent); in onMessageReceived() 83 Log.d(TAG, "promptUserForSensorPermission()"); in promptUserForSensorPermission() 104 Log.d(TAG, "respondWithSensorInformation()"); in respondWithSensorInformation() 134 Log.d(TAG, "sendMessage(): " + dataMap); in sendMessage() 145 Log.d(TAG, "Google API Client failed to connect."); in sendMessage() 161 Log.d(TAG, "CapabilityApi failed to return any results."); in sendMessage() 180 Log.d(TAG, "Sending message failed, onResult: " + sendMessageResult.getStatus()); in sendMessage() 182 Log.d(TAG, "Message sent successfully"); in sendMessage() [all …]
|
D | MainWearActivity.java | 95 Log.d(TAG, "onCreate()"); in onCreate() 175 Log.d(TAG, "onPause()"); in onPause() 189 Log.d(TAG, "onResume()"); in onResume() 208 Log.d(TAG, "onNewIntent()"); in onNewIntent() 222 Log.d(TAG, "onEnterAmbient() " + ambientDetails); in onEnterAmbient() 244 Log.d(TAG, "onExitAmbient()"); in onExitAmbient() 266 Log.d(TAG, "onConnected()"); in onConnected() 291 Log.d(TAG, "Failed CapabilityApi result: " in onConnected() 300 Log.d(TAG, "onConnectionSuspended(): connection to location client suspended"); in onConnectionSuspended() 309 Log.d(TAG, "onCapabilityChanged(): " + capabilityInfo); in onCapabilityChanged() [all …]
|
/development/samples/browseable/RuntimePermissionsBasic/src/com.example.android.basicpermissions/camera/ |
D | CameraPreview.java | 67 Log.d(TAG, "Camera preview started."); in surfaceCreated() 69 Log.d(TAG, "Error setting camera preview: " + e.getMessage()); in surfaceCreated() 83 Log.d(TAG, "Preview surface does not exist"); in surfaceChanged() 90 Log.d(TAG, "Preview stopped."); in surfaceChanged() 93 Log.d(TAG, "Error starting camera preview: " + e.getMessage()); in surfaceChanged() 102 Log.d(TAG, "Camera preview started."); in surfaceChanged() 104 Log.d(TAG, "Error starting camera preview: " + e.getMessage()); in surfaceChanged()
|
/development/tools/repo_diff/service/repodiff/repositories/ |
D | denormalizer_test.go | 52 d, err := repositories.NewScopedDenormalizerRepository(fakeTarget, fakeMappedTarget) 56 err = d.DenormalizeToRecentView(fixtures) 64 d, _ := repositories.NewScopedDenormalizerRepository(fakeTarget, fakeMappedTarget) 67 err := d.DenormalizeToChangesOverTime(fixtures) 74 d, _ := repositories.NewScopedDenormalizerRepository(fakeTarget, fakeMappedTarget) 88 err := d.DenormalizeToRecentCommits( 154 d, _ := repositories.NewGlobalDenormalizerRepository() 155 err = d.DenormalizeToTopCommitter() 215 d, _ := repositories.NewGlobalDenormalizerRepository() 216 err = d.DenormalizeToTopTechArea()
|
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/camera/ |
D | CameraPreview.java | 67 Log.d(TAG, "Camera preview started."); in surfaceCreated() 69 Log.d(TAG, "Error setting camera preview: " + e.getMessage()); in surfaceCreated() 83 Log.d(TAG, "Preview surface does not exist"); in surfaceChanged() 90 Log.d(TAG, "Preview stopped."); in surfaceChanged() 93 Log.d(TAG, "Error starting camera preview: " + e.getMessage()); in surfaceChanged() 102 Log.d(TAG, "Camera preview started."); in surfaceChanged() 104 Log.d(TAG, "Error starting camera preview: " + e.getMessage()); in surfaceChanged()
|
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
D | RemotePlayer.java | 85 Log.d(TAG, "onSessionChanged: sessionId=" + sessionId); 111 Log.d(TAG, "connected to: " + route in connect() 122 Log.d(TAG, "released."); in release() 130 Log.d(TAG, "play: item=" + item); in play() 170 Log.d(TAG, "getStatus: item=" + item + ", update=" + update); in getStatus() 208 Log.d(TAG, "pause"); in pause() 233 Log.d(TAG, "resume"); in resume() 258 Log.d(TAG, "stop"); in stop() 304 Log.d(TAG, "remove: itemId=" + itemId); in remove() 335 Log.d(TAG, "getStatistics: succeeded: data=" + data); in updateStatistics() [all …]
|
/development/samples/browseable/MultiWindowPlayground/src/com/android.multiwindowplayground/ |
D | MainActivity.java | 51 Log.d(mLogTag, "** starting UnresizableActivity"); in onStartUnresizableClick() 65 Log.d(mLogTag, "** starting MinimumSizeActivity"); in onStartMinimumSizeActivity() 71 Log.d(mLogTag, "** starting AdjacentActivity"); in onStartAdjacentActivity() 86 Log.d(mLogTag, "** starting LaunchBoundsActivity"); in onStartLaunchBoundsActivity() 102 Log.d(mLogTag, "** starting BasicActivity"); in onStartBasicActivity() 111 Log.d(mLogTag, "** starting CustomConfigurationChangeActivity"); in onStartCustomConfigurationActivity()
|
/development/apps/Development/src/com/android/development/ |
D | AccountsTester.java | 153 Log.d(TAG, "error getting the Package Context for " + packageName, e); in getView() 189 Log.d(TAG, "onAccountsUpdated: \n " + TextUtils.join("\n ", accounts)); in onAccountsUpdated() 273 Log.d(TAG, "removeAccount(" + account + ") = " + future.getResult()); in onContextItemSelected() 405 Log.d(TAG, "GetAccountsCallback: type " + mAccountType in run() 411 Log.d(TAG, "found " + accounts.length + " accounts"); in run() 413 Log.d(TAG, " " + account); in run() 416 Log.d(TAG, "failure", e); in run() 418 Log.d(TAG, "failure", e); in run() 420 Log.d(TAG, "failure", e); in run() 442 Log.d(TAG, "GetAuthTokenCallback: type " + mAccountType in run() [all …]
|