/frameworks/base/core/jni/ |
D | android_hardware_input_InputWindowHandle.cpp | 86 mInfo.touchableRegionCropHandle.clear(); in ~NativeInputWindowHandle() 102 mInfo.touchableRegion.clear(); in updateInfo() 106 mInfo.token = ibinderForJavaObject(env, tokenObj); in updateInfo() 109 mInfo.token.clear(); in updateInfo() 112 mInfo.name = getStringField(env, obj, gInputWindowHandleClassInfo.name, "<null>"); in updateInfo() 114 mInfo.layoutParamsFlags = env->GetIntField(obj, in updateInfo() 116 mInfo.layoutParamsType = env->GetIntField(obj, in updateInfo() 118 mInfo.dispatchingTimeout = env->GetLongField(obj, in updateInfo() 120 mInfo.frameLeft = env->GetIntField(obj, in updateInfo() 122 mInfo.frameTop = env->GetIntField(obj, in updateInfo() [all …]
|
D | android_hardware_input_InputApplicationHandle.cpp | 62 mInfo.name = getStringField(env, obj, gInputApplicationHandleClassInfo.name, "<null>"); in updateInfo() 64 mInfo.dispatchingTimeout = env->GetLongField(obj, in updateInfo() 70 mInfo.token = ibinderForJavaObject(env, tokenObj); in updateInfo() 73 mInfo.token.clear(); in updateInfo() 77 return mInfo.token.get() != nullptr; in updateInfo()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | VirtualDisplayAdapter.java | 210 private DisplayDeviceInfo mInfo; field in VirtualDisplayAdapter.VirtualDisplayDevice 298 mInfo = null; in setSurfaceLocked() 311 mInfo = null; in resizeLocked() 319 mInfo = null; in setDisplayState() 340 if (mInfo == null) { in getDisplayDeviceInfoLocked() 341 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked() 342 mInfo.name = mName; in getDisplayDeviceInfoLocked() 343 mInfo.uniqueId = getUniqueId(); in getDisplayDeviceInfoLocked() 344 mInfo.width = mWidth; in getDisplayDeviceInfoLocked() 345 mInfo.height = mHeight; in getDisplayDeviceInfoLocked() [all …]
|
D | LogicalDisplay.java | 80 private DisplayInfo mInfo; field in LogicalDisplay 141 if (mInfo == null) { in getDisplayInfoLocked() 142 mInfo = new DisplayInfo(); in getDisplayInfoLocked() 143 mInfo.copyFrom(mBaseDisplayInfo); in getDisplayInfoLocked() 145 mInfo.appWidth = mOverrideDisplayInfo.appWidth; in getDisplayInfoLocked() 146 mInfo.appHeight = mOverrideDisplayInfo.appHeight; in getDisplayInfoLocked() 147 mInfo.smallestNominalAppWidth = mOverrideDisplayInfo.smallestNominalAppWidth; in getDisplayInfoLocked() 148 mInfo.smallestNominalAppHeight = mOverrideDisplayInfo.smallestNominalAppHeight; in getDisplayInfoLocked() 149 mInfo.largestNominalAppWidth = mOverrideDisplayInfo.largestNominalAppWidth; in getDisplayInfoLocked() 150 mInfo.largestNominalAppHeight = mOverrideDisplayInfo.largestNominalAppHeight; in getDisplayInfoLocked() [all …]
|
D | LocalDisplayAdapter.java | 168 private DisplayDeviceInfo mInfo; field in LocalDisplayAdapter.LocalDisplayDevice 382 mInfo = null; in applyPendingDisplayDeviceInfoChangesLocked() 389 if (mInfo == null) { in getDisplayDeviceInfoLocked() 391 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked() 392 mInfo.width = phys.width; in getDisplayDeviceInfoLocked() 393 mInfo.height = phys.height; in getDisplayDeviceInfoLocked() 394 mInfo.modeId = mActiveModeId; in getDisplayDeviceInfoLocked() 395 mInfo.defaultModeId = mDefaultModeId; in getDisplayDeviceInfoLocked() 396 mInfo.supportedModes = getDisplayModes(mSupportedModes); in getDisplayDeviceInfoLocked() 397 mInfo.colorMode = mActiveColorMode; in getDisplayDeviceInfoLocked() [all …]
|
D | OverlayDisplayAdapter.java | 234 private DisplayDeviceInfo mInfo; field in OverlayDisplayAdapter.OverlayDisplayDevice 285 mInfo = null; in setStateLocked() 290 if (mInfo == null) { in getDisplayDeviceInfoLocked() 293 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked() 294 mInfo.name = mName; in getDisplayDeviceInfoLocked() 295 mInfo.uniqueId = getUniqueId(); in getDisplayDeviceInfoLocked() 296 mInfo.width = mode.getPhysicalWidth(); in getDisplayDeviceInfoLocked() 297 mInfo.height = mode.getPhysicalHeight(); in getDisplayDeviceInfoLocked() 298 mInfo.modeId = mode.getModeId(); in getDisplayDeviceInfoLocked() 299 mInfo.defaultModeId = mModes[0].getModeId(); in getDisplayDeviceInfoLocked() [all …]
|
D | WifiDisplayAdapter.java | 589 private DisplayDeviceInfo mInfo; field in WifiDisplayAdapter.WifiDisplayDevice 620 mInfo = null; in setNameLocked() 632 if (mInfo == null) { in getDisplayDeviceInfoLocked() 633 mInfo = new DisplayDeviceInfo(); in getDisplayDeviceInfoLocked() 634 mInfo.name = mName; in getDisplayDeviceInfoLocked() 635 mInfo.uniqueId = getUniqueId(); in getDisplayDeviceInfoLocked() 636 mInfo.width = mWidth; in getDisplayDeviceInfoLocked() 637 mInfo.height = mHeight; in getDisplayDeviceInfoLocked() 638 mInfo.modeId = mMode.getModeId(); in getDisplayDeviceInfoLocked() 639 mInfo.defaultModeId = mMode.getModeId(); in getDisplayDeviceInfoLocked() [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | RestoreFileRunnable.java | 35 private final FileMetadata mInfo; field in RestoreFileRunnable 43 mInfo = info; in RestoreFileRunnable() 58 mAgent.doRestoreFile(mSocket, mInfo.size, mInfo.type, in run() 59 mInfo.domain, mInfo.path, mInfo.mode, mInfo.mtime, in run()
|
/frameworks/native/include/input/ |
D | InputApplication.h | 53 return &mInfo; in getInfo() 57 return !mInfo.name.empty() ? mInfo.name : "<invalid>"; in getName() 61 return mInfo.token ? mInfo.dispatchingTimeout : defaultValue; in getDispatchingTimeout() 65 return mInfo.token; in getApplicationToken() 82 InputApplicationInfo mInfo; variable
|
D | InputWindow.h | 202 return &mInfo; in getInfo() 208 return mInfo.applicationInfo.token; in getApplicationToken() 212 return mInfo.token ? mInfo.name : "<invalid>"; in getName() 216 return mInfo.token ? mInfo.dispatchingTimeout : defaultValue; in getDispatchingTimeout() 245 InputWindowInfo mInfo; variable
|
/frameworks/base/services/core/java/com/android/server/ |
D | GraphicsStatsService.java | 157 active.mInfo.packageName, active.mPid), e); in onAlarm() 225 ….traceBegin(Trace.TRACE_TAG_SYSTEM_SERVER, "saving graphicsstats for " + buffer.mInfo.packageName); in saveBuffer() 228 File path = pathForApp(buffer.mInfo); in saveBuffer() 235 nSaveBuffer(path.getAbsolutePath(), buffer.mInfo.packageName, buffer.mInfo.versionCode, in saveBuffer() 236 buffer.mInfo.startTime, buffer.mInfo.endTime, buffer.mData); in saveBuffer() 283 Log.w(TAG, "Failed to copy graphicsstats from " + buffer.mInfo.packageName, e); in addToSaveQueue() 304 if (buffer.mInfo.startTime < today) { in fetchActiveBuffersLocked() 326 File path = pathForApp(buffer.mInfo); in dumpActiveLocked() 328 nAddToDump(dump, path.getAbsolutePath(), buffer.mInfo.packageName, in dumpActiveLocked() 329 buffer.mInfo.versionCode, buffer.mInfo.startTime, buffer.mInfo.endTime, in dumpActiveLocked() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | DefaultAppInfoTest.java | 58 private DefaultAppInfo mInfo; field in DefaultAppInfoTest 74 mInfo = new DefaultAppInfo(mContext, mPackageManager, 0 /* uid */, mPackageItemInfo); in initInfoWithActivityInfo_shouldLoadInfo() 75 mInfo.loadLabel(); in initInfoWithActivityInfo_shouldLoadInfo() 76 Drawable icon = mInfo.loadIcon(); in initInfoWithActivityInfo_shouldLoadInfo() 78 assertThat(mInfo.getKey()).isEqualTo(mPackageItemInfo.packageName); in initInfoWithActivityInfo_shouldLoadInfo() 87 mInfo = new DefaultAppInfo(mContext, mPackageManager, 0 /* uid */, mComponentName); in initInfoWithComponent_shouldLoadInfo() 88 mInfo.getKey(); in initInfoWithComponent_shouldLoadInfo()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionManagerServiceImpl.java | 80 final VoiceInteractionServiceInfo mInfo; field in VoiceInteractionManagerServiceImpl 141 mInfo = null; in VoiceInteractionManagerServiceImpl() 147 mInfo = info; in VoiceInteractionManagerServiceImpl() 148 if (mInfo.getParseError() != null) { in VoiceInteractionManagerServiceImpl() 149 Slog.w(TAG, "Bad voice interaction service: " + mInfo.getParseError()); in VoiceInteractionManagerServiceImpl() 157 mInfo.getSessionService()); in VoiceInteractionManagerServiceImpl() 170 mInfo.getServiceInfo().applicationInfo.uid, mHandler); in showSessionLocked() 347 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in setDisabledShowContextLocked() 356 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in getDisabledShowContextLocked() 365 int activeUid = mInfo.getServiceInfo().applicationInfo.uid; in getUserDisabledShowContextLocked() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | CellularTile.java | 161 cb = mSignalCallback.mInfo; in handleUpdateState() 253 private final CallbackInfo mInfo = new CallbackInfo(); field in CellularTile.CellSignalCallback 265 mInfo.dataSubscriptionName = mController.getMobileDataNetworkName(); in setMobileDataIndicators() 266 mInfo.dataContentDescription = in setMobileDataIndicators() 268 mInfo.activityIn = activityIn; in setMobileDataIndicators() 269 mInfo.activityOut = activityOut; in setMobileDataIndicators() 270 mInfo.roaming = roaming; in setMobileDataIndicators() 271 mInfo.multipleSubs = mController.getNumberSubscriptions() > 1; in setMobileDataIndicators() 272 refreshState(mInfo); in setMobileDataIndicators() 277 mInfo.noSim = show; in setNoSims() [all …]
|
D | WifiTile.java | 158 final CallbackInfo cb = mSignalCallback.mInfo; in handleUpdateState() 290 final CallbackInfo mInfo = new CallbackInfo(); field in WifiTile.WifiSignalCallback 297 mInfo.enabled = enabled; in setWifiIndicators() 298 mInfo.connected = qsIcon.visible; in setWifiIndicators() 299 mInfo.wifiSignalIconId = qsIcon.icon; in setWifiIndicators() 300 mInfo.ssid = description; in setWifiIndicators() 301 mInfo.activityIn = activityIn; in setWifiIndicators() 302 mInfo.activityOut = activityOut; in setWifiIndicators() 303 mInfo.wifiSignalContentDescription = qsIcon.contentDescription; in setWifiIndicators() 304 mInfo.isTransient = isTransient; in setWifiIndicators() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | PluginFragment.java | 153 private final PackageInfo mInfo; field in PluginFragment.PluginPreference 161 mInfo = info; in PluginPreference() 169 for (int i = 0; i < mInfo.services.length; i++) { in isPluginEnabled() 170 ComponentName componentName = new ComponentName(mInfo.packageName, in isPluginEnabled() 171 mInfo.services[i].name); in isPluginEnabled() 182 for (int i = 0; i < mInfo.services.length; i++) { in persistBoolean() 183 ComponentName componentName = new ComponentName(mInfo.packageName, in persistBoolean() 184 mInfo.services[i].name); in persistBoolean() 196 final String pkg = mInfo.packageName; in persistBoolean() 214 mInfo.packageName), 0); in onBindViewHolder() [all …]
|
/frameworks/base/libs/hwui/hwui/ |
D | Bitmap.cpp | 169 mInfo = mInfo.makeColorSpace(std::move(colorSpace)); in setColorSpace() 183 mInfo = validateAlpha(newInfo); in reconfigure() 187 this->android_only_reset(mInfo.width(), mInfo.height(), rowBytes); in reconfigure() 192 , mInfo(validateAlpha(info)) in Bitmap() 201 , mInfo(validateAlpha(info)) in Bitmap() 210 , mInfo(validateAlpha(info)) in Bitmap() 220 , mInfo(validateAlpha(info)) in Bitmap() 228 mInfo.alphaType(), mInfo.refColorSpace()); in Bitmap() 303 mInfo = mInfo.makeAlphaType(alphaType); in setAlphaType() 308 outBitmap->allocPixels(mInfo); in getSkBitmap() [all …]
|
D | Bitmap.h | 83 int rowBytesAsPixels() const { return rowBytes() >> mInfo.shiftPerPixel(); } in rowBytesAsPixels() 98 bool isOpaque() const { return mInfo.isOpaque(); } in isOpaque() 99 SkColorType colorType() const { return mInfo.colorType(); } in colorType() 100 const SkImageInfo& info() const { return mInfo; } in info() 144 SkImageInfo mInfo; variable
|
/frameworks/av/media/libmedia/ |
D | MediaCodecInfo.cpp | 244 mInfo->mName = name; in setName() 248 mInfo->mAliases.add(name); in addAlias() 252 mInfo->mOwner = owner; in setOwner() 257 mInfo->mAttributes = (MediaCodecInfo::Attributes)attributes; in setAttributes() 261 mInfo->mRank = rank; in setRank() 266 ssize_t ix = mInfo->getCapabilityIndex(mediaType); in addMediaType() 270 mInfo->mCaps.valueAt(ix).get())); in addMediaType() 273 mInfo->mCaps.add(AString(mediaType), caps); in addMediaType() 279 ssize_t ix = mInfo->getCapabilityIndex(mediaType); in removeMediaType() 281 mInfo->mCaps.removeItemsAt(ix); in removeMediaType() [all …]
|
/frameworks/base/core/java/android/app/servertransaction/ |
D | LaunchActivityItem.java | 53 private ActivityInfo mInfo; field in LaunchActivityItem 79 ActivityClientRecord r = new ActivityClientRecord(token, mIntent, mIdent, mInfo, in execute() 131 dest.writeTypedObject(mInfo, flags); in writeToParcel() 185 && activityInfoEqual(other.mInfo) && Objects.equals(mCurConfig, other.mCurConfig) in equals() 219 if (mInfo == null) { in activityInfoEqual() 222 return other != null && mInfo.flags == other.flags in activityInfoEqual() 223 && mInfo.maxAspectRatio == other.maxAspectRatio in activityInfoEqual() 224 && Objects.equals(mInfo.launchToken, other.launchToken) in activityInfoEqual() 225 && Objects.equals(mInfo.getComponentName(), other.getComponentName()); in activityInfoEqual() 251 return "LaunchActivityItem{intent=" + mIntent + ",ident=" + mIdent + ",info=" + mInfo in toString() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | InputDispatcher_test.cpp | 358 mInfo.dispatchingTimeout = DISPATCHING_TIMEOUT; in updateInfo() 454 mInfo.applicationInfo = *inputApplicationHandle->getInfo(); in FakeWindowHandle() 458 mInfo.token = mServerChannel ? mServerChannel->getToken() : nullptr; in updateInfo() 459 mInfo.name = mName; in updateInfo() 460 mInfo.layoutParamsFlags = mLayoutParamFlags; in updateInfo() 461 mInfo.layoutParamsType = InputWindowInfo::TYPE_APPLICATION; in updateInfo() 462 mInfo.dispatchingTimeout = DISPATCHING_TIMEOUT; in updateInfo() 463 mInfo.frameLeft = mFrame.left; in updateInfo() 464 mInfo.frameTop = mFrame.top; in updateInfo() 465 mInfo.frameRight = mFrame.right; in updateInfo() [all …]
|
/frameworks/base/media/java/android/media/ |
D | AmrInputStream.java | 39 BufferInfo mInfo; field in AmrInputStream 85 mInfo = new BufferInfo(); in AmrInputStream() 146 int index = mCodec.dequeueOutputBuffer(mInfo, 0); in read() 148 mBufIn = mInfo.size; in read() 152 if ((mInfo.flags & MediaCodec.BUFFER_FLAG_END_OF_STREAM) != 0) { in read()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetHostView.java | 85 AppWidgetProviderInfo mInfo; field in AppWidgetHostView 144 mInfo = info; in setAppWidget() 210 return mInfo; in getAppWidgetInfo() 243 + (mInfo == null ? "null" : mInfo.provider), e); in dispatchRestoreInstanceState() 573 mInfo.providerInfo.applicationInfo, in getRemoteContext() 576 Log.e(TAG, "Package name " + mInfo.providerInfo.packageName + " not found"); in getRemoteContext() 608 if (mInfo != null) { in getDefaultView() 618 int layoutId = mInfo.initialLayout; in getDefaultView() 622 int kgLayoutId = mInfo.initialKeyguardLayout; in getDefaultView() 638 Log.w(TAG, "Error inflating AppWidget " + mInfo + ": " + exception.toString()); in getDefaultView() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
D | DisplayCutoutView.java | 33 private final DisplayInfo mInfo = new DisplayInfo(); field in DisplayCutoutView 71 getDisplay().getDisplayInfo(mInfo); in update() 77 mBounds.set(mInfo.displayCutout.getBoundingRectTop()); in update() 90 final DisplayCutout displayCutout = mInfo.displayCutout; in hasCutout() 142 final DisplayCutout displayCutout = mInfo.displayCutout; in localBounds()
|
/frameworks/base/core/java/android/printservice/ |
D | PrintDocument.java | 45 private final PrintDocumentInfo mInfo; field in PrintDocument 51 mInfo = info; in PrintDocument() 61 return mInfo; in getInfo()
|