/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | DefaultManifestAttributesTest.java | 73 (getAppInfo().flags & ApplicationInfo.FLAG_SUPPORTS_SMALL_SCREENS) != 0); in testSmallScreenDefault() 80 (getAppInfo().flags & ApplicationInfo.FLAG_SUPPORTS_NORMAL_SCREENS) != 0); in testNormalScreenDefault() 85 (getAppInfo().flags & ApplicationInfo.FLAG_SUPPORTS_LARGE_SCREENS) != 0); in testLargeScreenDefault() 90 (getAppInfo().flags & ApplicationInfo.FLAG_RESIZEABLE_FOR_SCREENS) != 0); in testResizableDefault() 95 (getAppInfo().flags & ApplicationInfo.FLAG_SUPPORTS_SCREEN_DENSITIES) != 0); in testAnyDensityDefault()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | AbsSavedStateTest.java | 55 int flags = 2; in testWriteToParcel() local 56 savedState.writeToParcel(dest, flags); in testWriteToParcel() 61 assertEquals(flags, superState.getFlags()); in testWriteToParcel() 86 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 88 mFlags = flags; in writeToParcel()
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
D | ExtractedTextRequestTest.java | 28 request.flags = 1; in testExtractedTextRequest() 40 assertEquals(request.flags, target.flags); in testExtractedTextRequest()
|
D | ExtractedTextTest.java | 28 extractedText.flags = 1; in testWriteToParcel() 38 assertEquals(extractedText.flags, target.flags); in testWriteToParcel()
|
D | InputConnectionWrapperTest.java | 160 public ExtractedText getExtractedText(ExtractedTextRequest request, int flags) { in getExtractedText() argument 165 public CharSequence getTextAfterCursor(int n, int flags) { in getTextAfterCursor() argument 170 public CharSequence getTextBeforeCursor(int n, int flags) { in getTextBeforeCursor() argument 175 public CharSequence getSelectedText(int flags) { in getSelectedText() argument
|
/cts/tools/utils/ |
D | monsoon.py | 48 import gflags as flags # http://code.google.com/p/python-gflags/ namespace 52 FLAGS = flags.FLAGS 407 flags.DEFINE_boolean("status", None, "Print power meter status") 408 flags.DEFINE_integer("avg", None, 410 flags.DEFINE_float("voltage", None, "Set output voltage (0 for off)") 411 flags.DEFINE_float("current", None, "Set max output current") 412 flags.DEFINE_string("usbpassthrough", None, "USB control (on, off, auto)") 413 flags.DEFINE_integer("samples", None, "Collect and print this many samples") 414 flags.DEFINE_integer("hz", 5000, "Print this many samples/sec") 415 flags.DEFINE_string("device", None, [all …]
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | BaseRemoteTelecomTest.java | 61 MockConnectionService remoteConnectionService, int flags) throws Exception { in setupConnectionServices() argument 63 setupConnectionService(connectionService, flags); in setupConnectionServices() 64 setupRemoteConnectionService(remoteConnectionService, flags); in setupConnectionServices() 68 int flags) throws Exception { in setupRemoteConnectionService() argument 78 if ((flags & FLAG_REGISTER) != 0) { in setupRemoteConnectionService() 87 if ((flags & FLAG_ENABLE) != 0) { in setupRemoteConnectionService()
|
/cts/apps/CtsVerifier/assets/scripts/ |
D | execute_power_tests.py | 24 import gflags as flags # http://code.google.com/p/python-gflags/ namespace 51 FLAGS = flags.FLAGS 919 flags.DEFINE_boolean("status", None, "Print power meter status") 920 flags.DEFINE_integer("avg", None, 922 flags.DEFINE_float("voltage", None, "Set output voltage (0 for off)") 923 flags.DEFINE_float("current", None, "Set max output current") 924 flags.DEFINE_string("usbpassthrough", None, "USB control (on, off, auto)") 925 flags.DEFINE_integer("samples", None, "Collect and print this many samples") 926 flags.DEFINE_integer("hz", 5000, "Print this many samples/sec") 927 flags.DEFINE_string("device", None, [all …]
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/ |
D | GetAccountRemovalAllowedTx.java | 45 public void writeToParcel(Parcel out, int flags) { in writeToParcel() argument 46 out.writeParcelable(account, flags); in writeToParcel()
|
D | ConfirmCredentialsTx.java | 49 public void writeToParcel(Parcel out, int flags) { in writeToParcel() argument 50 out.writeParcelable(account, flags); in writeToParcel()
|
D | GetAuthTokenTx.java | 53 public void writeToParcel(Parcel out, int flags) { in writeToParcel() argument 54 out.writeParcelable(account, flags); in writeToParcel()
|
D | HasFeaturesTx.java | 56 public void writeToParcel(Parcel out, int flags) { in writeToParcel() argument 57 out.writeParcelable(account, flags); in writeToParcel()
|
D | UpdateCredentialsTx.java | 53 public void writeToParcel(Parcel out, int flags) { in writeToParcel() argument 54 out.writeParcelable(account, flags); in writeToParcel()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/ |
D | MyDocumentsProvider.java | 109 mCreateRoot.flags = Document.FLAG_DIR_SUPPORTS_CREATE; in resetRoots() 114 file1.flags = Document.FLAG_SUPPORTS_WRITE; in resetRoots() 122 file2.flags = Document.FLAG_SUPPORTS_WRITE; in resetRoots() 133 file3.flags = Document.FLAG_SUPPORTS_WRITE; in resetRoots() 143 file4.flags = Document.FLAG_SUPPORTS_WRITE; in resetRoots() 150 public int flags; field in MyDocumentsProvider.Doc 164 row.add(Document.COLUMN_FLAGS, flags); in include() 187 doc.flags = Document.FLAG_SUPPORTS_WRITE | Document.FLAG_SUPPORTS_RENAME; in createDocument()
|
/cts/tools/selinux/ |
D | SELinuxNeverallowTestGen.py | 17 no_comments = re.sub(r'#.+?$', r'', policy_str, flags = re.M) 19 return re.findall(r'(^neverallow\s.+?;)', no_comments, flags = re.M |re.S);
|
/cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityServiceInfoTest.java | 112 sentInfo.flags = AccessibilityServiceInfo.DEFAULT; in fullyPopulateSentAccessibilityServiceInfo() 130 assertEquals("flags not marshalled properly", sentInfo.flags, receivedInfo.flags); in assertAllFieldsProperlyMarshalled()
|
D | AccessibilityActivityTestCase.java | 55 info.flags |= AccessibilityServiceInfo.FLAG_REQUEST_TOUCH_EXPLORATION_MODE; in setUp() 56 info.flags &= ~AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS; in setUp()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeEditEncodeTest.java | 320 assertTrue((info.flags & MediaCodec.BUFFER_FLAG_CODEC_CONFIG) != 0 || in generateVideoData() 328 output.addChunk(encodedData, info.flags, info.presentationTimeUs); in generateVideoData() 333 if ((info.flags & MediaCodec.BUFFER_FLAG_END_OF_STREAM) != 0) { in generateVideoData() 481 int flags = inputData.getChunkFlags(inputChunk); in editVideoData() local 484 time, flags); in editVideoData() 487 inputBuf.position() + " flags=" + flags); in editVideoData() 526 outputData.addChunk(encodedData, info.flags, info.presentationTimeUs); in editVideoData() 531 outputDone = (info.flags & MediaCodec.BUFFER_FLAG_END_OF_STREAM) != 0; in editVideoData() 581 if ((info.flags & MediaCodec.BUFFER_FLAG_END_OF_STREAM) != 0) { in editVideoData() 675 int flags = inputData.getChunkFlags(inputChunk); in checkVideoData() local [all …]
|
D | Vp8CodecTestBase.java | 637 if ((bufferInfo.flags & MediaCodec.BUFFER_FLAG_END_OF_STREAM) != 0) { in decode() 668 outPresentationTimeUs, bufferInfo.flags); in decode() 703 public int flags; field in Vp8CodecTestBase.MediaEncoderOutput 785 out.outPresentationTimeUs, out.flags); in saveOutputFrame() 789 if ((out.flags & MediaCodec.BUFFER_FLAG_END_OF_STREAM) != 0) { in saveOutputFrame() 850 int flags = 0; 852 flags = MediaCodec.BUFFER_FLAG_END_OF_STREAM; 873 flags); 892 if ((info.flags & MediaCodec.BUFFER_FLAG_CODEC_CONFIG) != 0) { 895 if ((info.flags & MediaCodec.BUFFER_FLAG_SYNC_FRAME) != 0) { [all …]
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | FeatureGroupInfoTest.java | 98 fi.flags |= FeatureInfo.FLAG_REQUIRED; in createFeatureInfo() 110 fi.flags |= FeatureInfo.FLAG_REQUIRED; in createFeatureInfo() 170 return Integer.compare(o1.flags, o2.flags);
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
D | Preconditions.java | 40 public static int checkBitFlags(String argName, int arg, String flagsName, int flags) { in checkBitFlags() argument 41 if ((arg & flags) == 0) { in checkBitFlags()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | LocalService.java | 49 int flags) throws RemoteException { 55 return super.onTransact(code, data, reply, flags);
|
/cts/tests/app/src/android/app/cts/ |
D | LocalService.java | 49 int flags) throws RemoteException { 55 return super.onTransact(code, data, reply, flags);
|
/cts/tests/tests/net/jni/ |
D | NativeDnsJni.c | 115 int flags = NI_NAMEREQD; in Java_android_net_cts_DnsTest_testNativeDns() local 117 res = getnameinfo((const struct sockaddr*)&sa4, sizeof(sa4), buf, sizeof(buf), NULL, 0, flags); in Java_android_net_cts_DnsTest_testNativeDns() 130 res = getnameinfo((const struct sockaddr*)&sa6, sizeof(sa6), buf, sizeof(buf), NULL, 0, flags); in Java_android_net_cts_DnsTest_testNativeDns()
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_NativeCodeTest.cpp | 126 static void* mmap_syscall(void* addr, size_t len, int prot, int flags, int fd, off_t offset) in mmap_syscall() argument 129 return mmap(addr, len, prot, flags, fd, offset); in mmap_syscall() 131 return (void*) syscall(__NR_mmap2, addr, len, prot, flags, fd, offset); in mmap_syscall()
|